/* ---------------------------------------------------------------
   Lokale Schriften (DSGVO: keine Daten an Google) – Fraunces & Inter
   Variable Fonts, decken den genutzten Gewichtsbereich ab.
--------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

    :root {
      /* Cool blue base – abgeleitet vom Logo (#7ca8c5) */
      --c-off-white:  #f6fafc;
      --c-blue:       #7ca8c5;  /* Logo-Blau */
      --c-blue-soft:  #c5dbe8;
      --c-blue-tint:  #e8f1f6;
      --c-mid-blue:   #4f7491;
      --c-deep-blue:  #2f4d62;  /* Headings / Buttons */
      --c-ink:        #1d2e39;

      /* Accents */
      --c-accent-deep:#3a5f78;
      --c-accent:     #7ca8c5;

      /* Semantic */
      --bg:         var(--c-off-white);
      --bg-alt:     var(--c-blue-tint);
      --bg-dark:    var(--c-deep-blue);
      --text:       var(--c-ink);
      --text-muted: #5b6f7b;
      --line:       #d7e5ee;
      --line-strong:#b7cedd;
      --accent:     var(--c-blue);

      /* Type */
      --f-display: "Fraunces", Georgia, "Times New Roman", serif;
      --f-body:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

      /* Rhythm */
      --maxw:        1280px;
      --maxw-narrow: 960px;
      --pad-x:       clamp(20px, 4vw, 56px);

      --radius-sm: 4px;
      --radius-md: 10px;
      --radius-lg: 22px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      font-family: var(--f-body);
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -webkit-tap-highlight-color: rgba(124, 168, 197, 0.25);
    }

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

    h1, h2, h3, h4 {
      font-family: var(--f-display);
      font-weight: 300;
      line-height: 0.98;
      letter-spacing: -0.01em;
      color: var(--c-deep-blue);
      margin: 0;
      text-wrap: balance;
    }
    h1 { font-size: clamp(44px, 7vw, 100px); }
    h2 { font-size: clamp(32px, 5vw, 64px); }
    h3 { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.05; }

    p { margin: 0; }

    a { color: var(--c-deep-blue); }

    /* Layout */
    .container {
      width: 100%;
      max-width: var(--maxw);
      margin: 0 auto;
      padding-inline: var(--pad-x);
    }
    .container.narrow { max-width: var(--maxw-narrow); }

    section { padding: clamp(48px, 6vw, 96px) 0; }

    /* Eyebrow label */
    .eyebrow {
      font-family: var(--f-body);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--c-mid-blue);
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
    }
    .eyebrow::before {
      content: "";
      width: 24px;
      height: 1px;
      background: var(--c-mid-blue);
    }

    .lead {
      font-size: clamp(18px, 1.6vw, 22px);
      line-height: 1.55;
      color: var(--text);
      max-width: 58ch;
    }

    /* Signature bar – ruhiger Blau-/Teal-Verlauf passend zum Logo */
    .bar {
      height: 5px;
      width: 100%;
      border: 0;
      margin: 0;
      background: linear-gradient(
        90deg,
        #2f4d62 0%, #3a5f78 20%, #4f7491 40%,
        #7ca8c5 64%, #9fc6c9 82%, #c5dbe8 100%
      );
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 26px;
      border-radius: 999px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      border: 1.5px solid var(--c-deep-blue);
      color: var(--c-deep-blue);
      background: transparent;
      cursor: pointer;
      text-decoration: none;
      transition: transform .2s ease, background-color .2s ease, color .2s ease;
    }
    .btn .arr { transition: transform .2s ease; }
    .btn:hover {
      background: var(--c-deep-blue);
      color: var(--c-off-white);
      transform: translateY(-2px);
    }
    .btn:hover .arr { transform: translateX(3px); }
    .btn--solid {
      background: var(--c-deep-blue);
      color: var(--c-off-white);
    }
    .btn--solid:hover { background: var(--c-ink); }
    .btn--light {
      border-color: var(--c-off-white);
      color: var(--c-off-white);
    }
    .btn--light:hover {
      background: var(--c-off-white);
      color: var(--c-deep-blue);
    }

    /* Header / nav */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
      transition: box-shadow .3s ease, background-color .3s ease;
    }
    .nav.is-scrolled {
      box-shadow: 0 4px 24px -12px rgba(0,0,0,.18);
      background: rgba(246, 250, 252, 0.82);
      backdrop-filter: blur(10px) saturate(1.1);
      -webkit-backdrop-filter: blur(10px) saturate(1.1);
    }
    .nav__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 18px 0;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding-left: clamp(8px, 1.5vw, 20px);
      text-decoration: none;
      white-space: nowrap;
    }
    .brand__mark {
      height: 36px;
      width: auto;
      border-radius: 7px;
      display: block;
      box-shadow: 0 2px 8px -3px rgba(47, 77, 98, .4);
    }
    .brand__name {
      font-family: var(--f-display);
      font-weight: 400;
      font-size: 22px;
      letter-spacing: -0.01em;
      color: var(--c-deep-blue);
    }
    .nav__links {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    .nav__links a {
      font-family: var(--f-body);
      font-size: 14px;
      letter-spacing: 0.01em;
      text-decoration: none;
      color: var(--c-mid-blue);
      transition: color .2s ease;
    }
    .nav__links a:hover { color: var(--c-deep-blue); }
    .nav__cta { margin-left: 4px; }

    @media (max-width: 760px) {
      .nav__inner { flex-wrap: wrap; justify-content: center; gap: 12px 20px; padding: 14px 0; }
      .nav__links { flex-wrap: wrap; justify-content: center; gap: 14px 20px; }
      .nav__cta { display: none; }
    }

    /* Hero */
    .hero {
      position: relative;
      min-height: min(86vh, 820px);
      overflow: hidden;
      color: #fff;
      display: flex;
      align-items: flex-end;
      isolation: isolate;
    }
    .hero__bg {
      position: absolute;
      inset: 0;
      z-index: -2;
      /* Platzhalter: später durch ein echtes Foto ersetzen (background-image) */
      background:
        radial-gradient(120% 120% at 70% 20%, #7ca8c5 0%, #4f7491 45%, #25404f 100%);
    }
    .hero__bg::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.75) 100%);
    }
    .hero__inner { padding-bottom: clamp(40px, 6vw, 80px); padding-top: 120px; }
    .hero .eyebrow { color: rgba(255,255,255,.85); }
    .hero .eyebrow::before { background: rgba(255,255,255,.7); }
    .hero h1 { color: #fff; max-width: 16ch; }
    .hero__lead {
      margin-top: 22px;
      max-width: 48ch;
      font-size: clamp(17px, 1.5vw, 21px);
      line-height: 1.55;
      color: rgba(255,255,255,.9);
    }
    .hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
    .hero__note {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      padding: 14px var(--pad-x);
      font-size: 12px;
      letter-spacing: 0.04em;
      color: rgba(255,255,255,.65);
      text-transform: uppercase;
    }

    /* Mission / Über mich */
    .mission { background: var(--bg); }
    .mission__grid {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: clamp(32px, 5vw, 72px);
      align-items: start;
    }
    .mission__media {
      aspect-ratio: 4 / 5;
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, var(--c-blue-tint), var(--c-blue-soft));
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--c-mid-blue);
      font-size: 13px;
      letter-spacing: 0.04em;
      position: sticky;
      top: 96px;
    }
    .mission__body { color: var(--text-muted); font-size: 17px; line-height: 1.7; }
    .mission__body p + p { margin-top: 20px; }
    .mission__intro {
      font-family: var(--f-display);
      font-weight: 300;
      font-size: clamp(22px, 2.4vw, 30px);
      line-height: 1.3;
      letter-spacing: -0.01em;
      color: var(--c-deep-blue);
    }
    @media (max-width: 820px) {
      .mission__grid { grid-template-columns: 1fr; gap: 28px; }
      .mission__media { position: static; aspect-ratio: 4 / 3; max-width: 460px; }
    }

    /* Schwerpunkte / Services */
    .services { background: var(--bg-alt); }
    .services__head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: clamp(32px, 4vw, 56px);
    }
    .cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
    }
    .service {
      position: relative;
      background: var(--c-off-white);
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
    }
    .service:hover {
      border-color: var(--line-strong);
      transform: translateY(-3px);
      box-shadow: 0 18px 40px -24px rgba(74,69,64,.5);
    }
    .service__media {
      aspect-ratio: 4 / 3;
      background: linear-gradient(135deg, var(--c-blue-tint), var(--c-blue-soft));
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--c-mid-blue);
      font-size: 12px;
      letter-spacing: 0.04em;
    }
    .service__body {
      padding: 26px 28px 30px;
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 12px;
    }
    .service__body p { color: var(--text-muted); font-size: 15.5px; line-height: 1.6; }
    @media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

    /* Behandlungsraum */
    .room { background: var(--bg); }
    .room__figure { margin: 0; }
    .room__img {
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, var(--c-blue-tint), var(--c-blue-soft));
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--c-mid-blue);
      font-size: 13px;
      letter-spacing: 0.04em;
    }
    .room__cap {
      margin-top: 18px;
      text-align: center;
      color: var(--text-muted);
      font-family: var(--f-display);
      font-style: italic;
      font-size: clamp(17px, 1.6vw, 21px);
    }

    /* Kontakt */
    .contact { background: var(--bg-dark); color: var(--c-off-white); }
    .contact h2 { color: var(--c-off-white); }
    .contact .eyebrow { color: rgba(255,248,242,.7); }
    .contact .eyebrow::before { background: rgba(255,248,242,.5); }
    .contact__grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: clamp(32px, 5vw, 72px);
      align-items: start;
      margin-top: 8px;
    }
    .contact__lead { color: rgba(255,248,242,.82); font-size: 18px; line-height: 1.6; max-width: 44ch; margin: 22px 0 30px; }
    .contact__small { display: inline-block; margin-top: 6px; font-size: 15px; color: rgba(255,248,242,.62); }
    .contact__list { list-style: none; padding: 0; margin: 0; }
    .contact__list li {
      padding: 18px 0;
      border-top: 1px solid rgba(255,248,242,.16);
    }
    .contact__list li:last-child { border-bottom: 1px solid rgba(255,248,242,.16); }
    .contact__list .label {
      display: block;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,248,242,.55);
      margin-bottom: 6px;
    }
    .contact__list a, .contact__list span.val { color: var(--c-off-white); text-decoration: none; }
    .contact__list a:hover { text-decoration: underline; }
    @media (max-width: 820px) {
      .contact__grid { grid-template-columns: 1fr; gap: 28px; }
    }

    /* Footer */
    .footer {
      background: var(--c-ink);
      color: rgba(255,248,242,.6);
      font-size: 13px;
      padding: 28px 0;
    }
    .footer__inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .footer a { color: rgba(255,248,242,.7); text-decoration: none; }
    .footer a:hover { color: var(--c-off-white); }

    @media (max-width: 480px) {
      .btn { width: 100%; justify-content: center; }
      .hero__actions { flex-direction: column; align-items: stretch; }
    }

    /* ───────────── Rechtstexte (Impressum / Datenschutz) ───────────── */
    .legal { padding: clamp(40px, 6vw, 88px) 0; }
    .legal__inner { max-width: 760px; }
    .legal h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 28px; }
    .legal h2 {
      font-size: clamp(22px, 2.6vw, 30px);
      margin-top: 44px;
      margin-bottom: 14px;
    }
    .legal h3 { font-size: 19px; margin-top: 26px; margin-bottom: 8px; }
    .legal p, .legal li { color: var(--text); font-size: 16.5px; line-height: 1.7; }
    .legal p + p { margin-top: 14px; }
    .legal ul { padding-left: 20px; margin: 12px 0; }
    .legal li { margin-bottom: 6px; }
    .legal a { color: var(--c-mid-blue); }
    .legal .muted { color: var(--text-muted); }
    .legal address { font-style: normal; line-height: 1.7; }
    .legal__back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--c-mid-blue);
      text-decoration: none;
      margin-bottom: 28px;
    }
    .legal__back:hover { color: var(--c-deep-blue); }
    .legal__updated { margin-top: 40px; font-size: 14px; color: var(--text-muted); }
