/* =========================================================
   Grundfarben
   ========================================================= */

:root {
  --color-navy: #14283D;
  --color-petrol: #167D7F;
  --color-petrol-light: #DCEEEE;

  --color-background: #F4F6F7;
  --color-white: #FFFFFF;

  --color-text: #263238;
  --color-text-light: #5D6971;
  --color-border: #DCE2E5;

  --container-width: 1180px;

  --shadow-soft:
    0 10px 30px rgba(20, 40, 61, 0.08);

  --radius: 8px;
}


/* =========================================================
   Reset / Grundlayout
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--color-white);
  color: var(--color-text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  font-size: 16px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-petrol);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea {
  font: inherit;
}


/* =========================================================
   Container
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container-width);

  margin-left: auto;
  margin-right: auto;

  padding-left: 24px;
  padding-right: 24px;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: relative;
  z-index: 10;

  background: var(--color-white);

  border-bottom:
    1px solid var(--color-border);
}

.nav,
.nav-wrap {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;
}


/* =========================================================
   Logo
   ========================================================= */

.logo {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--color-navy);

  font-size: 1.25rem;
  font-weight: 700;

  letter-spacing: -0.02em;

  white-space: nowrap;

  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-petrol);
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  color: var(--color-petrol);
}

.logo-mark svg {
  display: block;

  width: 24px;
  height: 24px;

  max-width: 24px;
  max-height: 24px;
}


/* =========================================================
   Navigation
   ========================================================= */

.main-nav,
nav {
  display: flex;

  align-items: center;
  justify-content: flex-end;

  gap: 24px;
}

.main-nav a,
nav a {
  color: var(--color-text);

  font-size: 0.94rem;
  font-weight: 500;

  white-space: nowrap;
}

.main-nav a:hover,
nav a:hover {
  color: var(--color-petrol);

  text-decoration: none;
}

.main-nav a[aria-current="page"],
nav a[aria-current="page"] {
  color: var(--color-petrol);
}


/* =========================================================
   Navigation CTA
   ========================================================= */

.nav-cta {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding: 0 18px;

  background: var(--color-navy);

  color: var(--color-white) !important;

  border-radius: 5px;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-petrol);

  text-decoration: none;

  transform: translateY(-1px);
}


/* =========================================================
   Mobiles Menü
   ========================================================= */

.menu-toggle {
  display: none;

  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  padding: 0;

  background: var(--color-white);

  color: var(--color-navy);

  border:
    1px solid var(--color-border);

  border-radius: 5px;

  cursor: pointer;
}


/* =========================================================
   Typografie
   ========================================================= */

h1,
h2,
h3 {
  margin-top: 0;

  color: var(--color-navy);

  line-height: 1.2;

  letter-spacing: -0.025em;
}

h1 {
  max-width: 900px;

  margin-bottom: 24px;

  font-size:
    clamp(2.5rem, 5vw, 4.4rem);

  font-weight: 700;
}

h2 {
  margin-bottom: 20px;

  font-size:
    clamp(2rem, 3.5vw, 3rem);

  font-weight: 650;
}

h3 {
  margin-bottom: 12px;

  font-size: 1.35rem;
}

p {
  margin-top: 0;
  margin-bottom: 20px;
}

.lead {
  max-width: 760px;

  color: var(--color-text-light);

  font-size: 1.2rem;

  line-height: 1.7;
}

.eyebrow {
  margin-bottom: 12px;

  color: var(--color-petrol);

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding:
    120px 0
    110px;

  background:
    var(--color-white);

  border-bottom:
    1px solid var(--color-border);
}

.hero-text {
  max-width: 760px;

  margin-bottom: 34px;

  color: var(--color-text-light);

  font-size: 1.25rem;

  line-height: 1.7;
}

.button-row {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}


/* =========================================================
   Vertrauensbereich
   ========================================================= */

.trust-bar {
  background:
    var(--color-navy);

  color:
    var(--color-white);
}

.trust-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);
}

.trust-item {
  display: flex;

  flex-direction: column;

  gap: 4px;

  padding:
    30px 24px;

  border-right:
    1px solid rgba(255, 255, 255, 0.12);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;

  border-right: none;
}

.trust-item strong {
  color: var(--color-white);

  font-size: 1.25rem;
  font-weight: 650;
}

.trust-item span {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.9rem;
}


/* =========================================================
   Sections
   ========================================================= */

.section {
  padding:
    100px 0;
}

.section-gray,
.section-light {
  background:
    var(--color-background);
}

.section-navy {
  background:
    var(--color-navy);

  color:
    var(--color-white);
}


/* =========================================================
   Zwei Spalten
   ========================================================= */

.two-column {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 80px;

  align-items: start;
}


/* =========================================================
   Intro
   ========================================================= */

.intro-text {
  max-width: 820px;
}

.intro-text h2 {
  max-width: 800px;
}


/* =========================================================
   Info Box
   ========================================================= */

.info-box {
  display: flex;

  flex-direction: column;

  gap: 8px;

  margin-top: 32px;

  padding:
    22px 24px;

  background:
    var(--color-petrol-light);

  border-left:
    4px solid var(--color-petrol);

  color:
    var(--color-text);
}

.info-box strong {
  color:
    var(--color-navy);
}

.info-box span {
  color:
    var(--color-text-light);
}


/* =========================================================
   Section Heading
   ========================================================= */

.section-heading {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.75fr);

  gap: 60px;

  align-items: end;

  margin-bottom: 50px;
}

.section-heading > p {
  color:
    var(--color-text-light);
}


/* =========================================================
   Karten
   ========================================================= */

.card-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}

.card {
  position: relative;

  padding:
    34px;

  background:
    var(--color-white);

  border:
    1px solid var(--color-border);

  border-radius:
    var(--radius);

  box-shadow:
    0 4px 16px rgba(20, 40, 61, 0.04);
}

.card-number {
  display: block;

  margin-bottom: 22px;

  color:
    var(--color-petrol);

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 0.1em;
}

.card h3 {
  margin-bottom: 14px;
}

.card p {
  color:
    var(--color-text-light);
}

.text-link {
  display: inline-block;

  margin-top: 8px;

  color:
    var(--color-petrol);

  font-weight: 600;
}

.text-link:hover {
  text-decoration: none;
  color: var(--color-navy);
}

.center-button {
  margin-top: 36px;

  text-align: center;
}


/* =========================================================
   Callout / Navy-Bereich
   ========================================================= */

.callout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.8fr);

  gap: 80px;

  align-items: center;
}

.callout h2 {
  color:
    var(--color-white);
}

.callout p {
  color:
    rgba(255, 255, 255, 0.78);
}


/* =========================================================
   Erfahrung
   ========================================================= */

.experience-teaser {
  align-items: center;
}

.big-number {
  margin-bottom: 10px;

  color:
    var(--color-petrol);

  font-size:
    clamp(4rem, 8vw, 7rem);

  font-weight: 700;

  line-height: 1;
  letter-spacing: -0.05em;
}


/* =========================================================
   Technologie-Bereich
   ========================================================= */

.technology-list {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin:
    28px 0;
}

.technology-list span {
  display: inline-flex;

  align-items: center;

  min-height: 38px;

  padding:
    6px 14px;

  color:
    var(--color-navy);

  background:
    var(--color-petrol-light);

  border:
    1px solid #C7E2E2;

  border-radius: 5px;

  font-size: 0.9rem;
}


/* =========================================================
   Drei Spalten
   ========================================================= */

.three-column {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 40px;
}

.simple-feature {
  padding-top: 24px;

  border-top:
    2px solid var(--color-petrol);
}

.simple-feature strong {
  display: block;

  margin-bottom: 10px;

  color:
    var(--color-navy);

  font-size: 1.1rem;
}

.simple-feature p {
  color:
    var(--color-text-light);
}


/* =========================================================
   Zentrierter Bereich
   ========================================================= */

.centered {
  text-align: center;
}

.centered > p {
  max-width: 650px;

  margin-left: auto;
  margin-right: auto;

  color:
    rgba(255, 255, 255, 0.78);
}


/* =========================================================
   Buttons
   ========================================================= */

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    0 24px;

  border:
    1px solid transparent;

  border-radius: 5px;

  font-size: 0.95rem;
  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  text-decoration: none;

  transform: translateY(-1px);
}

.button-primary {
  background:
    var(--color-petrol);

  color:
    var(--color-white);
}

.button-primary:hover {
  background:
    #12696B;

  color:
    var(--color-white);
}

.button-secondary {
  background:
    var(--color-white);

  color:
    var(--color-navy);

  border-color:
    var(--color-border);
}

.button-secondary:hover {
  background:
    var(--color-background);

  border-color:
    var(--color-navy);

  color:
    var(--color-navy);
}

.button-light {
  background:
    var(--color-white);

  color:
    var(--color-navy);
}

.button-light:hover {
  background:
    var(--color-petrol-light);

  color:
    var(--color-navy);
}


/* =========================================================
   Leistungen – Content Grid
   ========================================================= */

.content-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 72px;

  align-items: center;
}

.content-grid-reverse {
  grid-template-areas:
    "image text";
}

.content-grid-reverse
.content-grid-text {
  grid-area: text;
}

.content-grid-reverse
.content-grid-image {
  grid-area: image;
}

.content-grid-text {
  max-width: 570px;
}

.content-grid-text h2 {
  margin-bottom: 24px;
}

.content-grid-text p {
  color:
    var(--color-text-light);
}


/* =========================================================
   Bilder
   ========================================================= */

.content-grid-image {
  position: relative;

  min-width: 0;
}

.content-grid-image img {
  display: block;

  position: relative;
  z-index: 1;

  width: 100%;
  height: auto;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius:
    var(--radius);

  box-shadow:
    var(--shadow-soft);
}

.content-grid-image::before {
  content: "";

  position: absolute;

  width: 70%;
  height: 70%;

  right: -18px;
  bottom: -18px;

  background:
    var(--color-petrol-light);

  border-radius:
    var(--radius);

  z-index: 0;
}


/* =========================================================
   Checkliste
   ========================================================= */

.check-list {
  margin:
    28px 0 0;

  padding: 0;

  list-style: none;
}

.check-list li {
  position: relative;

  padding-left: 30px;

  margin-bottom: 10px;

  color:
    var(--color-text);
}

.check-list li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0.62em;

  width: 9px;
  height: 9px;

  background:
    var(--color-petrol);

  border-radius: 50%;
}


/* =========================================================
   CTA Box
   ========================================================= */

.section-cta {
  padding:
    80px 0;
}

.cta-box {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;

  padding:
    52px;

  background:
    var(--color-petrol-light);

  border:
    1px solid #C7E2E2;

  border-radius:
    var(--radius);
}

.cta-box h2 {
  margin-bottom: 14px;
}

.cta-box p:not(.eyebrow) {
  max-width: 650px;

  margin-bottom: 0;

  color:
    var(--color-text-light);
}


/* =========================================================
   Kontakt
   ========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 80px;

  align-items: start;
}

.contact-details {
  margin-top: 40px;

  padding-top: 30px;

  border-top:
    1px solid var(--color-border);
}

.contact-details p {
  margin-bottom: 24px;
}


/* =========================================================
   Formular
   ========================================================= */

.contact-form {
  display: flex;

  flex-direction: column;

  min-width: 0;
}

.contact-form label {
  margin-bottom: 7px;

  color:
    var(--color-navy);

  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  margin-bottom: 20px;

  padding:
    12px 14px;

  background:
    var(--color-white);

  color:
    var(--color-text);

  border:
    1px solid var(--color-border);

  border-radius:
    5px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input {
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;

  min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color:
    var(--color-petrol);

  box-shadow:
    0 0 0 3px rgba(22, 125, 127, 0.12);
}

.form-note {
  margin-top: 0;
  margin-bottom: 20px;

  color:
    var(--color-text-light);

  font-size: 0.85rem;

  line-height: 1.6;
}


/* =========================================================
   Rechtliche Seiten
   ========================================================= */

.legal-content {
  max-width: 850px;
}

.legal-content h2 {
  margin-top: 48px;

  font-size: 1.55rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color:
    var(--color-text-light);
}

.legal-content strong {
  color:
    var(--color-text);
}


/* =========================================================
   Footer
   ========================================================= */

footer {
  background:
    var(--color-navy);

  color:
    rgba(255, 255, 255, 0.7);
}

.footer-main {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 80px;

  padding:
    56px 0;
}

.footer-brand {
  max-width: 500px;
}

.logo-footer {
  color:
    var(--color-white);
}

.logo-footer:hover {
  color:
    var(--color-white);
}

.footer-brand p {
  max-width: 480px;

  margin-top: 18px;
  margin-bottom: 0;

  color:
    rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:
    10px 30px;

  align-content: start;
}

.footer-links a {
  color:
    rgba(255, 255, 255, 0.75);

  font-size: 0.9rem;
}

.footer-links a:hover {
  color:
    var(--color-white);

  text-decoration: none;
}

.footer-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding:
    20px 0;

  border-top:
    1px solid rgba(255, 255, 255, 0.12);

  color:
    rgba(255, 255, 255, 0.55);

  font-size: 0.85rem;
}

.footer-bottom a {
  color:
    rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color:
    var(--color-white);

  text-decoration: none;
}


/* =========================================================
   Kompatibilität mit vorherigem Footer
   ========================================================= */

.site-footer {
  padding:
    28px 0;

  background:
    var(--color-navy);

  color:
    rgba(255, 255, 255, 0.7);
}

.footer-wrap {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------------------------------------------------------
   Große Monitore
   --------------------------------------------------------- */

@media (min-width: 1400px) {

  :root {
    --container-width: 1280px;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 130px;
  }

  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}


/* ---------------------------------------------------------
   Kleine Desktops / Tablets
   --------------------------------------------------------- */

@media (max-width: 1100px) {

  .nav,
  .nav-wrap {
    gap: 20px;
  }

  .main-nav,
  nav {
    gap: 16px;
  }

  .main-nav a,
  nav a {
    font-size: 0.9rem;
  }

  .two-column,
  .contact-grid {
    gap: 50px;
  }

  .content-grid {
    gap: 50px;
  }

  .callout {
    gap: 50px;
  }

  .section-heading {
    gap: 40px;
  }

  .card {
    padding: 28px;
  }
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .nav,
  .nav-wrap {
    min-height: 72px;
  }


  /* Mobile Menü aktivieren */

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;

    width: 100%;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding-top: 12px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;

    text-align: center;

    border-top:
      1px solid var(--color-border);
  }

  .main-nav .nav-cta {
    margin-top: 8px;
  }


  /* Hero */

  .hero {
    padding:
      90px 0;
  }


  /* Trust */

  .trust-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .trust-item {
    padding: 24px;
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:first-child {
    padding-left: 24px;
  }

  .trust-item:last-child {
    padding-right: 24px;
  }


  /* Zwei Spalten */

  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  /* Section Heading */

  .section-heading {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-bottom: 40px;
  }


  /* Karten */

  .card-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  /* Callout */

  .callout {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  /* Drei Spalten */

  .three-column {
    grid-template-columns: 1fr;

    gap: 35px;
  }


  /* Content Grid */

  .content-grid,
  .content-grid-reverse {
    grid-template-columns: 1fr;

    grid-template-areas:
      "text"
      "image";

    gap: 40px;
  }

  .content-grid-text {
    max-width: none;
  }


  /* CTA */

  .cta-box {
    flex-direction: column;

    align-items: flex-start;

    gap: 25px;
  }


  /* Footer */

  .footer-main {
    grid-template-columns: 1fr;

    gap: 40px;
  }
}


/* ---------------------------------------------------------
   Smartphone
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }


  /* Header */

  .nav,
  .nav-wrap {
    min-height: 64px;

    padding:
      14px 0;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-mark {
    width: 32px;
    height: 32px;

    flex-basis: 32px;
  }

  .logo-mark svg {
    width: 22px;
    height: 22px;
  }


  /* Typografie */

  body {
    font-size: 15px;
  }

  h1 {
    font-size:
      clamp(2.2rem, 11vw, 3.2rem);

    line-height: 1.1;

    margin-bottom: 20px;
  }

  h2 {
    font-size:
      clamp(1.8rem, 9vw, 2.5rem);

    line-height: 1.15;
  }

  h3 {
    font-size: 1.25rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-text {
    font-size: 1.05rem;

    line-height: 1.65;
  }


  /* Hero */

  .hero {
    padding:
      65px 0
      60px;
  }


  /* Sections */

  .section {
    padding:
      65px 0;
  }

  .section-cta {
    padding:
      55px 0;
  }


  /* Trust */

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    padding:
      20px 0;

    border-right: none;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-item:last-child {
    border-bottom: none;
  }


  /* Karten */

  .card-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .card {
    padding: 25px;
  }


  /* Buttons */

  .button-row {
    width: 100%;

    flex-direction: column;

    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .button {
    width: 100%;

    min-height: 50px;
  }


  /* Bilder */

  .content-grid-image::before {
    right: -8px;
    bottom: -8px;
  }


  /* CTA */

  .cta-box {
    padding:
      30px 24px;
  }


  /* Technologie */

  .technology-list {
    gap: 7px;
  }

  .technology-list span {
    min-height: 36px;

    padding:
      5px 11px;

    font-size: 0.85rem;
  }


  /* Footer */

  .footer-main {
    padding:
      45px 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    padding:
      18px 0;
  }
}


/* ---------------------------------------------------------
   Sehr kleine Smartphones
   --------------------------------------------------------- */

@media (max-width: 380px) {

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-mark {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding:
      50px 0;
  }

  .card {
    padding: 22px;
  }

  .cta-box {
    padding:
      25px 20px;
  }
}


/* ---------------------------------------------------------
   Touch-Geräte
   --------------------------------------------------------- */

@media (hover: none) {

  .button:hover,
  .nav-cta:hover {
    transform: none;
  }
}


/* ---------------------------------------------------------
   Weniger Animationen bei entsprechender Systemeinstellung
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}