/* ==========================================================
       1) DESIGN-TOKENS
       Ändern Sie hier Farben, Radien, Schatten und Maximalbreite.
       ========================================================== */
    :root {
      --navy: #08294b;
      --navy-2: #0d3b67;
      --navy-3: #071d34;
      --ink: #0e2440;
      --muted: #5f7084;
      --line: #dbe3eb;
      --soft: #f4f7fa;
      --white: #ffffff;
      --yellow: #ffc800;
      --yellow-2: #ffdb45;
      --success: #0a7d4f;
      --radius: 16px;
      --radius-sm: 10px;
      --shadow: 0 14px 36px rgba(7, 29, 52, 0.10);
      --max: 1180px;
      --header-h: 88px;
    }

    /* ==========================================================
       2) BASIS / RESET
       ========================================================== */
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                   "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; }
    :focus-visible {
      outline: 3px solid rgba(255, 200, 0, .65);
      outline-offset: 3px;
    }

    .container {
      width: min(calc(100% - 40px), var(--max));
      margin-inline: auto;
    }

    .eyebrow {
      margin: 0 0 8px;
      color: var(--yellow);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    h1, h2, h3 {
      line-height: 1.08;
      margin-top: 0;
      letter-spacing: -.025em;
    }
    h1 { font-size: clamp(2.45rem, 5vw, 5rem); }
    h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); }
    h3 { font-size: 1.16rem; }
    p { margin-top: 0; }

    .section {
      padding: 74px 0;
    }
    .section--soft { background: var(--soft); }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 30px;
    }
    .section-head p {
      max-width: 620px;
      margin-bottom: 0;
      color: var(--muted);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      padding: 0 20px;
      border: 1px solid transparent;
      border-radius: 8px;
      font-weight: 800;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn--yellow {
      background: var(--yellow);
      color: #0a1c31;
      box-shadow: 0 8px 22px rgba(255, 200, 0, .22);
    }
    .btn--yellow:hover { background: var(--yellow-2); }
    .btn--outline {
      border-color: rgba(255,255,255,.65);
      color: white;
      background: rgba(4,22,40,.18);
      backdrop-filter: blur(6px);
    }
    .btn--navy {
      color: white;
      background: var(--navy);
    }

    /* ==========================================================
       3) HEADER / NAVIGATION
       ========================================================== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      height: var(--header-h);
      background: rgba(255,255,255,.96);
      border-bottom: 1px solid rgba(8, 41, 75, .08);
      backdrop-filter: blur(14px);
    }
    .nav {
      height: 100%;
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
    }
    .brand img {
      width: 190px;
      height: auto;
      object-fit: contain;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      margin-left: auto;
      font-size: .95rem;
      font-weight: 700;
    }
    .nav-links a {
      position: relative;
      padding: 12px 0;
    }
    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: 3px;
      height: 3px;
      background: var(--yellow);
      transition: right .2s ease;
    }
    .nav-links a:hover::after,
    .nav-links a[aria-current="page"]::after { right: 0; }

    .nav-cta { margin-left: 8px; }
    .menu-toggle {
      display: none;
      margin-left: auto;
      width: 46px;
      height: 46px;
      border: 0;
      background: transparent;
      color: var(--navy);
      border-radius: 8px;
    }
    .menu-toggle span {
      display: block;
      width: 26px;
      height: 3px;
      margin: 5px auto;
      background: currentColor;
      border-radius: 2px;
    }

    /* ==========================================================
       4) HERO – optisch am letzten Mockup orientiert
       ========================================================== */
    .hero {
      color: white;
      background:
        linear-gradient(90deg, rgba(6, 31, 56, .98) 0%, rgba(8, 41, 75, .96) 41%, rgba(8, 41, 75, .18) 67%, rgba(8, 41, 75, .06) 100%),
        url("../img/hero-exguide.jpg") right center / cover no-repeat;
      min-height: 610px;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, transparent 80%, rgba(4,22,40,.35));
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      padding: 64px 0 70px;
    }
    .hero-copy { max-width: 610px; }
    .hero h1 {
      margin-bottom: 20px;
      max-width: 760px;
    }
    .hero .lead {
      max-width: 590px;
      font-size: clamp(1.08rem, 1.8vw, 1.35rem);
      color: rgba(255,255,255,.9);
      margin-bottom: 28px;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 32px;
    }
    .hero-points {
      display: flex;
      flex-wrap: wrap;
      gap: 24px 34px;
      color: rgba(255,255,255,.9);
      font-size: .95rem;
    }
    .hero-point {
      display: inline-flex;
      gap: 10px;
      align-items: center;
    }
    .hero-point svg { width: 23px; height: 23px; flex: 0 0 auto; }

    /* ==========================================================
       5) LEISTUNGEN
       ========================================================== */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 16px;
    }
    .service-card {
      min-height: 270px;
      padding: 24px 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: white;
      display: flex;
      flex-direction: column;
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }
    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: rgba(8, 41, 75, .22);
    }
    .icon-box {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      margin-bottom: 22px;
      border-radius: 50%;
      background: #eef4f9;
      color: var(--navy);
    }
    .icon-box svg { width: 28px; height: 28px; }
    .service-card h3 { margin-bottom: 10px; }
    .service-card p {
      color: var(--muted);
      font-size: .95rem;
      margin-bottom: 18px;
    }
    .text-link {
      margin-top: auto;
      color: var(--navy-2);
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    /* ==========================================================
       6) PROJEKTPROZESS
       ========================================================== */
    .process {
      background: linear-gradient(180deg, #f8fafc, #eef4f8);
    }
    .process-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
    }
    .process-step {
      position: relative;
      padding: 0 22px 0 0;
    }
    .process-step:not(:last-child)::after {
      content: "→";
      position: absolute;
      top: 5px;
      right: 8px;
      color: #8fa1b5;
      font-size: 1.6rem;
    }
    .step-no {
      display: inline-grid;
      place-items: center;
      width: 42px;
      height: 42px;
      margin-bottom: 14px;
      border-radius: 50%;
      color: white;
      background: var(--navy);
      font-weight: 900;
    }
    .process-step p {
      color: var(--muted);
      font-size: .92rem;
    }

    /* ==========================================================
       7) SICHERE ZUSAMMENARBEIT
       Hinweis: Diese Punkte sind Leistungsversprechen / Zielbild.
       Technische Umsetzung erfordert Backend/Portal.
       ========================================================== */
    .security-band {
      background: var(--navy);
      color: white;
      padding: 28px 0;
    }
    .security-grid {
      display: grid;
      grid-template-columns: 1.35fr repeat(5, 1fr);
      gap: 14px;
      align-items: stretch;
    }
    .security-lead {
      padding: 10px 22px 10px 0;
      border-right: 1px solid rgba(255,255,255,.16);
    }
    .security-lead h2 {
      font-size: 1.8rem;
      margin-bottom: 4px;
    }
    .security-item {
      padding: 10px 12px;
      font-size: .86rem;
      color: rgba(255,255,255,.8);
    }
    .security-item strong {
      display: block;
      color: white;
      margin: 6px 0 3px;
      font-size: .92rem;
    }
    .security-item svg { width: 25px; height: 25px; color: var(--yellow); }

    /* ==========================================================
       8) SCHULUNGEN
       ========================================================== */
    .training-layout {
      display: grid;
      grid-template-columns: .88fr 1.12fr;
      gap: 34px;
      align-items: stretch;
    }
    .training-photo {
      min-height: 360px;
      border-radius: var(--radius);
      background:
        linear-gradient(180deg, rgba(7,29,52,.04), rgba(7,29,52,.18)),
        url("../img/training-exguide.jpg") center / cover no-repeat;
      box-shadow: var(--shadow);
    }
    .training-content {
      display: grid;
      gap: 22px;
      align-content: center;
    }
    .training-copy p { color: var(--muted); }
    .topic-columns {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      padding: 24px;
      border-radius: var(--radius);
      background: var(--soft);
      border: 1px solid var(--line);
    }
    .topic-columns h3 { margin-bottom: 12px; }
    .topic-columns ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .topic-columns li {
      position: relative;
      padding: 5px 0 5px 22px;
      color: #34495e;
      font-size: .92rem;
    }
    .topic-columns li::before {
      content: "✓";
      position: absolute;
      left: 0;
      color: var(--navy);
      font-weight: 900;
    }

    /* ==========================================================
       9) WARUM EXGUIDE
       ========================================================== */
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }
    .benefit {
      padding: 24px;
      border-left: 4px solid var(--yellow);
      background: white;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      box-shadow: 0 8px 24px rgba(8,41,75,.06);
    }
    .benefit p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: .94rem;
    }

    /* ==========================================================
       10) GRÜNDER / ANSPRECHPARTNER
       Das Foto ist aktuell als Base64 eingebettet.
       Austausch-Hinweise siehe Anpassungsanleitung.
       ========================================================== */
    .founder-section {
      padding: 74px 0;
      background: white;
    }
    .founder-card {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 40px;
      align-items: center;
      padding: 34px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    }
    .founder-photo-wrap {
      display: flex;
      justify-content: center;
    }
    .founder-photo {
      width: 210px;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 50%;
      border: 6px solid white;
      box-shadow: 0 12px 28px rgba(8,41,75,.16);
      background: #111;
    }
    .founder-copy h2 {
      margin-bottom: 10px;
    }
    .founder-role {
      margin: 0 0 18px;
      color: var(--navy-2);
      font-weight: 800;
    }
    .founder-copy p {
      color: var(--muted);
      max-width: 760px;
    }
    .founder-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 24px;
      margin-top: 18px;
      font-size: .95rem;
      font-weight: 700;
    }
    .founder-meta a {
      color: var(--navy-2);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    /* ==========================================================
       11) FOOTER
       ========================================================== */
    footer {
      color: white;
      background: var(--navy-3);
      padding: 42px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
      gap: 34px;
      padding-bottom: 28px;
    }
    .footer-logo {
      width: 190px;
      padding: 10px 14px;
      border-radius: 8px;
      background: white;
      margin-bottom: 16px;
    }
    .footer-title {
      color: rgba(255,255,255,.7);
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    footer p, footer li, footer a {
      color: rgba(255,255,255,.82);
      font-size: .92rem;
    }
    footer ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }
    footer li { margin: 6px 0; }
    footer a:hover { color: var(--yellow); }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,.12);
      color: rgba(255,255,255,.56);
      font-size: .82rem;
    }

    /* ==========================================================
       12) MOBIL
       ========================================================== */
    @media (max-width: 1040px) {
      .services-grid { grid-template-columns: repeat(3, 1fr); }
      .security-grid { grid-template-columns: repeat(3, 1fr); }
      .security-lead { grid-column: 1 / -1; border-right: 0; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 820px) {
      :root { --header-h: 76px; }
      .container { width: min(calc(100% - 28px), var(--max)); }
      .menu-toggle { display: block; }
      .nav-cta { display: none; }
      .nav-links {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        padding: 20px 24px 26px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: white;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
      }
      .nav-links.is-open { display: flex; }
      .nav-links a { padding: 13px 4px; }
      .brand img { width: 154px; }

      .hero {
        min-height: 640px;
        background:
          linear-gradient(90deg, rgba(6,31,56,.98) 0%, rgba(8,41,75,.9) 65%, rgba(8,41,75,.34) 100%),
          url("../img/hero-exguide.jpg") 67% center / cover no-repeat;
      }
      .hero-copy { max-width: 92%; }

      .services-grid { grid-template-columns: 1fr 1fr; }
      .process-grid { grid-template-columns: 1fr; gap: 24px; }
      .process-step { padding-left: 56px; }
      .process-step .step-no { position: absolute; left: 0; top: 0; }
      .process-step:not(:last-child)::after {
        content: "↓";
        left: 14px;
        top: 42px;
        right: auto;
      }

      .security-grid { grid-template-columns: 1fr 1fr; }
      .training-layout { grid-template-columns: 1fr; }
      .training-photo { min-height: 330px; }
      .founder-card { grid-template-columns: 1fr; text-align: center; }
      .founder-copy p { margin-inline: auto; }
      .founder-meta { justify-content: center; }
      .benefits-grid { grid-template-columns: 1fr 1fr; }
      .section-head { align-items: start; flex-direction: column; }
    }

    @media (max-width: 560px) {
      .section { padding: 54px 0; }
      .services-grid,
      .security-grid,
      .benefits-grid,
      .topic-columns,
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .service-card { min-height: auto; }
      .hero { min-height: 680px; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-actions .btn { width: 100%; }
      .footer-bottom { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
      }
    }
