@font-face {
      font-family: "Bricolage Grotesque";
      font-style: normal;
      font-weight: 400 700;
      font-display: swap;
      src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
    }
    @font-face {
      font-family: "Archivo";
      font-style: normal;
      font-weight: 400 600;
      font-display: swap;
      src: url("../fonts/archivo-latin.woff2") format("woff2");
    }

    :root {
      --paper: #F6F3EC;
      --paper-deep: #EEE9DE;
      --ink: #1B1A17;
      --ink-soft: #55524A;
      --line: #D8D2C4;
      --accent: #2E4FC4;
      --accent-ink: #22399A;
      --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
      --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--paper);
      color: var(--ink);
      font-family: var(--font-body);
      font-size: 17px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    ::selection { background: var(--accent); color: var(--paper); }

    .wrap {
      max-width: 1060px;
      margin: 0 auto;
      padding: 0 24px;
    }

    a { color: var(--accent-ink); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* ---------- Header ---------- */
    header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: color-mix(in srgb, var(--paper) 88%, transparent);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }
    .headerInner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
    }
    .brand {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 18px;
      letter-spacing: 0.02em;
      color: var(--ink);
    }
    .brand:hover { text-decoration: none; }
    .brand .dot { color: var(--accent); }
    nav ul {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    nav a {
      color: var(--ink-soft);
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    nav a:hover { color: var(--accent-ink); text-decoration: none; }

    /* ---------- Hero ---------- */
    .hero {
      padding: 110px 0 90px;
      border-bottom: 1px solid var(--line);
      position: relative;
      overflow: hidden;
    }
    .hero::after {
      content: "";
      position: absolute;
      right: -180px;
      top: -180px;
      width: 480px;
      height: 480px;
      border-radius: 50%;
      border: 1px solid var(--line);
      pointer-events: none;
    }
    .hero::before {
      content: "";
      position: absolute;
      right: -80px;
      top: -80px;
      width: 480px;
      height: 480px;
      border-radius: 50%;
      border: 1px solid var(--line);
      pointer-events: none;
    }
    .kicker {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 26px;
      animation: rise 0.7s ease both;
    }
    .hero h1 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(38px, 6.4vw, 66px);
      line-height: 1.06;
      letter-spacing: -0.025em;
      max-width: 15em;
      animation: rise 0.7s 0.08s ease both;
    }
    .hero h1 em {
      font-style: normal;
      color: var(--accent-ink);
    }
    .hero p.lede {
      margin-top: 30px;
      max-width: 34em;
      font-size: 19px;
      color: var(--ink-soft);
      animation: rise 0.7s 0.16s ease both;
    }
    .heroActions {
      margin-top: 40px;
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      animation: rise 0.7s 0.24s ease both;
    }
    .btn {
      display: inline-block;
      padding: 14px 28px;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.03em;
      border: 1px solid var(--ink);
      border-radius: 999px;
      color: var(--ink);
      transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .btn:hover { text-decoration: none; }
    .btn.primary {
      background: var(--ink);
      color: var(--paper);
    }
    .btn.primary:hover { background: var(--accent); border-color: var(--accent); }
    .btn.ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

    .heroGrid {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 72px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .heroPortrait {
      margin: 0;
      animation: rise 0.7s 0.2s ease both;
    }

    @keyframes rise {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: none; }
    }

    /* ---------- Sections ---------- */
    section { padding: 90px 0; border-bottom: 1px solid var(--line); }
    .sectionHead {
      display: flex;
      align-items: baseline;
      gap: 18px;
      margin-bottom: 54px;
    }
    .sectionHead h2 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(28px, 4vw, 40px);
      letter-spacing: -0.02em;
    }

    /* ---------- Leistungen ---------- */
    .services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
    }
    .service {
      background: var(--paper);
      padding: 36px 30px 42px;
      transition: background 0.25s;
    }
    .service:hover { background: var(--paper-deep); }
    .service h3 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 21px;
      margin-bottom: 14px;
      line-height: 1.3;
    }
    .service p { font-size: 15.5px; color: var(--ink-soft); }

    /* ---------- Profil ---------- */
    .profileGrid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 64px;
      align-items: start;
    }
    .portrait {
      position: relative;
    }
    .portrait img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 999px 999px 14px 14px;
      border: 1px solid var(--line);
    }
    .portrait figcaption {
      margin-top: 14px;
      text-align: center;
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 15px;
      color: var(--ink-soft);
    }
    .profileGrid .intro p + p { margin-top: 18px; }
    .profileGrid .intro p { color: var(--ink-soft); }
    .profileGrid .intro p strong { color: var(--ink); font-weight: 600; }

    .timeline { list-style: none; }
    .timeline li {
      padding: 22px 0;
      border-top: 1px solid var(--line);
    }
    .timeline li:first-child { border-top: none; padding-top: 0; }
    .timeline .period {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
    }
    .timeline h4 {
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 18px;
      margin: 6px 0 6px;
    }
    .timeline p { font-size: 15px; color: var(--ink-soft); }


    /* ---------- Referenzen ---------- */
    .clientsLede {
      max-width: 40em;
      color: var(--ink-soft);
      margin-bottom: 44px;
    }
    .clients {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }
    .clients span {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: 18px;
      letter-spacing: -0.01em;
      padding: 12px 24px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--paper-deep);
    }
    .clients span.featured {
      border-color: var(--accent);
      color: var(--accent-ink);
      background: transparent;
    }

    /* ---------- Kontakt ---------- */
    #kontakt, #contact { text-align: center; }
    #kontakt .sectionHead, #contact .sectionHead { justify-content: center; }
    #kontakt h3, #contact h3 {
      font-family: var(--font-display);
      font-weight: 500;
      font-size: clamp(26px, 4vw, 38px);
      max-width: 18em;
      margin: 0 auto 30px;
      line-height: 1.25;
    }
    .contactLinks {
      display: flex;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    /* ---------- Legal ---------- */
    #legal { padding: 60px 0; font-size: 14px; color: var(--ink-soft); }
    #legal summary {
      cursor: pointer;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 17px;
      color: var(--ink);
      list-style: none;
    }
    #legal summary::-webkit-details-marker { display: none; }
    #legal summary::after { content: " +"; color: var(--accent); }
    #legal details[open] summary::after { content: " –"; }
    #legal details { border-top: 1px solid var(--line); padding: 20px 0; }
    #legal h4 { margin: 22px 0 8px; color: var(--ink); font-size: 15px; }
    #legal p { margin-bottom: 10px; }

    footer {
      padding: 34px 0 44px;
      font-size: 14px;
      color: var(--ink-soft);
      display: block;
    }
    footer .wrap {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }

    /* ---------- Responsive ---------- */
    .brand { white-space: nowrap; }

    @media (max-width: 1100px) {
      .headerInner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0 16px;
      }
      nav ul { flex-wrap: wrap; row-gap: 8px; }
    }

    @media (max-width: 860px) {
      .services { grid-template-columns: 1fr; }
      .profileGrid { grid-template-columns: 1fr; gap: 44px; }
      .heroGrid { grid-template-columns: 1fr; gap: 44px; }
      .heroPortrait { max-width: 240px; }
      .hero { padding: 70px 0 60px; }
      nav ul { gap: 18px; }
    }
    @media (max-width: 520px) {
      nav a { font-size: 12px; }
      body { font-size: 16px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .kicker, .hero h1, .hero p.lede, .heroActions, .heroPortrait { animation: none; }
      html { scroll-behavior: auto; }
    }
