/* ==========================================================================
   Praxis für Psychotherapie Deborah Akinsanya · München — v2
   Design-System 1:1 nach Vorbild jennifer-kiunka.de übernommen:
   Farben, Radien, Typografie, Navbar, Ellipsen-Divider, Reveal-Footer.
   ========================================================================== */

/* ---- Schrift (selbst gehostet, DSGVO-konform) ---------------------------- */
@font-face {
  font-family: 'Crete Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/crete-round-v16-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Crete Round';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/crete-round-v16-latin-italic.woff2') format('woff2');
}

/* ---- Design-Tokens (exakt vom Vorbild gemessen) --------------------------- */
:root {
  --bg:          #FAF9F1;                      /* Seitenhintergrund            */
  --card:        #F5F1E5;                      /* Creme-Karte                  */
  --dark:        #145452;                      /* dunkle Karte, Primär-Button  */
  --heading:     #0F3E3C;                      /* Überschriften                */
  --text:        #395B5A;                      /* Fließtext                    */
  --teal:        #23928E;                      /* Akzent (Kartentitel, Footer) */
  --brown:       #8C7154;                      /* Links im Fließtext           */
  --line:        #E1E0D8;                      /* Rahmen, Trennlinien          */
  --muted:       #A7A69B;                      /* kleine Labels                */
  --cream:       #FAF9F1;                      /* Text auf dunklem Grund       */
  --band:        rgba(65, 162, 126, 0.26);     /* Footer-Band                  */
  --border-btn:  #316866;                      /* Ghost-Button-Rahmen          */

  --font-body:    'Crete Round', 'Georgia', serif;
  --font-display: Georgia, 'Times New Roman', Times, serif;

  --radius:        15px;
  --radius-organic: 15px 150px 15px 15px;      /* große Karte                  */

  --container: 1200px;
  --gutter: 40px;
  --curve-h: clamp(40px, 6vw, 80px);           /* Höhe der Bogen-Unterkante   */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.625;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--heading);
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(44px, 6.5vw, 76px); }        /* Hero                     */
.h1-card { font-size: clamp(32px, 3.6vw, 43px); }  /* Kartentitel groß         */
h2 { font-size: 32px; font-weight: 300; line-height: 1.3; }
h3 { font-size: 28px; font-weight: 300; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brown); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--band); color: var(--heading); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(25px, 4vw, var(--gutter));
}

/* Text mit Farbverlauf (wie „Schön, dass Sie hier sind!“ beim Vorbild) */
.text-gradient {
  background: linear-gradient(135deg, var(--teal), var(--dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Kleines Label in Versalien (wie "PSYCHOLOGIN (M.SC.) …") */
.tagline {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4em;
}

/* Kartentitel mit kleinem senkrechten Balken davor */
.card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 300;
  color: var(--teal);
  margin-bottom: 0.9em;
}
.card-title::before {
  content: "";
  width: 5px;
  height: 0.85em;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.card--dark .card-title { color: var(--cream); }
/* Variante in Georgia für die Vorstellungszeile („Ich bin …“) */
.card-title--display {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--heading);
  margin-bottom: 0.35em;
}
.card-title--display::before {
  background: var(--muted);
  opacity: 1;
}

/* Fließtext in Karten: Blocksatz mit Silbentrennung wie beim Vorbild */
.card p, .prose p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* Ausnahmen: kurze Zeilen nicht spreizen */
.card .tagline, .card .notice, .card .form__status, .card .place { text-align: left; hyphens: none; }

/* ---- Buttons (Pill, 2px Rahmen, Icons) --------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 36px;
  min-height: 40px;
  padding: 0 40px;
  border-radius: 500px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { text-decoration: none; }
.btn svg { flex: none; }

.btn--primary { background: var(--dark); color: var(--cream); }
.btn--primary:hover { background: var(--heading); color: var(--cream); }

.btn--ghost { background: transparent; color: var(--heading); border-color: var(--border-btn); }
.btn--ghost:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }

.btn--block { width: 100%; }

/* ---- Header / Navbar ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
}

/* Logo als Inline-SVG: Marke + Schriftzug in fester Anordnung, bricht nie um */
.brand { display: block; line-height: 0; }
.brand__logo { height: 64px; width: auto; display: block; overflow: visible; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  position: relative;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
  color: var(--heading);
  text-decoration: none;
  padding: 10px 0;
}
.nav a:hover { color: var(--teal); text-decoration: none; }
/* aktiver Menüpunkt: kleiner Punkt darüber (wie beim Vorbild) */
.nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  translate: -50% 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--heading);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--heading);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---- Hero mit Bild und Ellipsen-Divider ------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;     /* hält das Hintergrundbild (z-index -1) im Hero      */
  min-height: 700px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 70px 25px 130px;
}
.hero--page { min-height: 400px; padding-bottom: 110px; }

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__content { text-align: center; }
.hero__content h1 {
  margin: 0;
  text-shadow:
    0 0 18px rgba(250, 249, 241, 0.95),
    0 0 55px rgba(250, 249, 241, 0.75);
}
.hero__logo { width: clamp(150px, 20vw, 220px); margin: 30px auto 0; }

/* Ellipsen-Divider: flacher Bogen wie das YOOtheme-Original */
.divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.divider svg { width: 100%; height: clamp(45px, 7vw, 95px); display: block; }
.divider path { fill: var(--bg); }

/* ---- Sektionen & Karten-Raster ------------------------------------------------------ */
.page {
  /* liegt über dem Reveal-Footer; Hintergrund liegt auf main,
     damit die Bogen-Unterkante (.page__curve) transparent auslaufen kann */
  position: relative;
  z-index: 1;
}
.page main { background: var(--bg); }

/* Bogen als Unterkante des Inhalts-Panels: oberhalb der Kurve Creme,
   darunter transparent – dahinter wird der Footer sichtbar */
.page__curve { line-height: 0; }
.page__curve svg { width: 100%; height: var(--curve-h); display: block; }
.page__curve path { fill: var(--bg); }

.section { padding-block: 70px; }
.section--flush { padding-top: 0; }

.grid {
  display: grid;
  gap: var(--gutter);
  align-items: stretch;
}
.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--6-6 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(30px, 4.5vw, 50px);
}
.card--organic { border-radius: var(--radius-organic); padding: clamp(35px, 5vw, 60px) clamp(30px, 4.5vw, 50px); }
.card--dark { background: var(--dark); color: var(--cream); }
.card--dark h1, .card--dark h2, .card--dark h3, .card--dark h4 { color: var(--cream); }
.card--dark a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.card--dark a:hover { color: #cde5db; }
.card--dark .tagline { color: rgba(250, 249, 241, 0.6); }

/* Bilder mit einer stark gerundeten Ecke – Position variiert wie beim Vorbild */
.media { border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--curve-br { border-radius: 15px 15px 150px 15px; }
.media--curve-bl { border-radius: 15px 15px 15px 150px; }
.media--curve-tr { border-radius: 15px 150px 15px 15px; }
/* Hochformat-Zuschnitt per CSS (Quellbilder sind Querformat).
   width + align-self verhindern den Konflikt aus Grid-Stretch und
   aspect-ratio (sonst wächst das Bild über die Spalte hinaus) */
.media--portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  align-self: end;      /* bündig mit der Kartenunterkante, wie beim Vorbild */
}
.profile .media { aspect-ratio: 5 / 4; }

/* ---- Listen mit Blatt-Icons ----------------------------------------------------------- */
.leaf-list {
  list-style: none;
  margin: 0 0 1.3em;
  padding: 0;
  display: grid;
  gap: 14px;
}
.leaf-list--2col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 40px; }
.leaf-list li { position: relative; padding-left: 34px; }
/* Blatt aus dem Logo (gefüllte Petal-Form, 45° gedreht) als Aufzählungszeichen */
.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1 C14.5 6.5 15.5 13 10 19 C4.5 13 5.5 6.5 10 1 Z' fill='%232E6B5C' transform='rotate(45 10 10)'/%3E%3C/svg%3E") no-repeat center / contain;
}
.card--dark .leaf-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1 C14.5 6.5 15.5 13 10 19 C4.5 13 5.5 6.5 10 1 Z' fill='%23A9C4A4' transform='rotate(45 10 10)'/%3E%3C/svg%3E");
}

/* Kontaktzeilen mit Icon (Anfahrt, Footer) */
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.icon-list li { display: flex; align-items: flex-start; gap: 14px; }
.icon-list svg { flex: none; margin-top: 4px; }

/* Honorar-Zeilen (Kosten-Karte) */
.fee { margin: 0 0 1.3em; }
.fee dt { font-weight: 400; color: var(--cream); margin-bottom: 2px; }
.fee dd {
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.fee dd em { font-style: italic; }
.fee .small { font-size: 14px; line-height: 1.5; }

/* Hinweis „freie Plätze“ */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--teal);
  font-style: italic;
  margin-bottom: 1.2em;
}
/* Datumszeile unter dem Hinweis: klein, nüchtern, abgesetzt */
.notice__stand {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.card--dark .notice__stand { color: rgba(250, 249, 241, 0.55); }
.notice .dot {
  width: 9px;
  height: 9px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35, 146, 142, 0.4); }
  50%      { box-shadow: 0 0 0 7px rgba(35, 146, 142, 0); }
}

/* ---- Formular (wie das Original: transparente Felder, 1px Rahmen, eckig) ------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  height: 40px;
  padding: 0 12px;
  transition: border-color 0.2s ease;
}
.field textarea { height: auto; min-height: 160px; padding: 10px 12px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--teal); }
.field ::placeholder { color: var(--muted); }

.field--consent { display: flex; align-items: flex-start; gap: 12px; }
.field--consent input {
  width: 17px;
  height: 17px;
  margin-top: 5px;
  accent-color: var(--dark);
  flex: none;
}
.field--consent label { margin: 0; }

.form hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.field--hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status { margin: 0; min-height: 1.5em; color: var(--teal); font-style: italic; }

/* ---- Reveal-Footer (Herzstück: Inhalt schiebt sich beim Scrollen darüber weg) -------- */
.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 0;             /* liegt hinter .page (z-index: 1)                    */
  /* flacher Footer schiebt sich unter die Bogen-Unterkante des Panels */
  margin-top: calc(-1 * var(--curve-h));
}
.site-footer__band {
  background: linear-gradient(var(--band), var(--band)), var(--bg);
  padding: calc(var(--curve-h) + 20px) 0 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 40px;
  align-items: center;
  padding-block: 30px;
}
.site-footer__logo { width: min(230px, 60%); margin-inline: auto; }

.site-footer h4 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 18px;
}
.site-footer h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(35, 146, 142, 0.45);
}

.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__menu a { color: var(--heading); font-size: 17px; }
.site-footer__menu a:hover { color: var(--teal); text-decoration: none; }

.site-footer .place {
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 14px;
}
.site-footer .icon-list { gap: 10px; }
.site-footer .icon-list a { color: var(--heading); }
.site-footer .icon-list a:hover { color: var(--teal); text-decoration: none; }

/* großer Namenszug mit Farbverlauf (background-clip: text);
   wächst beim Enthüllen des Footers (JS setzt --footer-progress 0→1) */
.site-footer__name {
  margin: 30px 0 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 55px);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--teal), var(--dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scale(calc(0.7 + 0.3 * var(--footer-progress, 1)));
  transform-origin: center bottom;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__name { transform: none; }
}

.site-footer__legal {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 15px;
}
.site-footer__legal a { color: var(--heading); }
.site-footer__legal a:hover { color: var(--teal); }

/* ---- Kein Scroll-Fade: Inhalte stehen statisch wie beim Vorbild ------------------------ */
/* (.reveal-Klassen im Markup bleiben wirkungslos) */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .notice .dot { animation: none; }
}

/* ---- Responsive -------------------------------------------------------------------------- */
/* Hamburger-Navigation bereits unterhalb der Container-Breite:
   fünf Menüpunkte + Logo brauchen ~1200px, sonst wird das Menü abgeschnitten */
@media (max-width: 1199px) {
  .site-header__inner { min-height: 84px; }
  .brand__logo { height: 52px; }

  /* dunkles Panel im Stil der dunklen Karten */
  .nav {
    position: fixed;
    inset: 0;
    top: 84px;
    background: linear-gradient(165deg, #1A625A 0%, var(--dark) 55%, #0E4340 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 28px clamp(25px, 7vw, 60px) 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0.24, 1);
    z-index: 90;
  }
  /* Blätterkreis als dezentes Wasserzeichen */
  .nav::after {
    content: "";
    position: fixed;
    right: -70px;
    bottom: -70px;
    width: 300px;
    height: 300px;
    background: url('../img/logo-invert.svg') center / contain no-repeat;
    opacity: 0.1;
    pointer-events: none;
  }
  .nav.is-open { transform: none; }

  .nav > a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--cream);
    padding: 17px 0;
    border-bottom: 1px solid rgba(250, 249, 241, 0.14);
    /* gestaffeltes Einblenden */
    opacity: 0;
    translate: 24px 0;
    transition: opacity 0.35s ease, translate 0.35s ease, color 0.2s ease;
  }
  .nav > a:hover { color: var(--sage, #A9C4A4); }
  .nav.is-open > a { opacity: 1; translate: 0 0; }
  .nav.is-open > a:nth-child(1) { transition-delay: 0.06s; }
  .nav.is-open > a:nth-child(2) { transition-delay: 0.11s; }
  .nav.is-open > a:nth-child(3) { transition-delay: 0.16s; }
  .nav.is-open > a:nth-child(4) { transition-delay: 0.21s; }
  .nav.is-open > a:nth-child(5) { transition-delay: 0.26s; }

  /* aktive Seite: Logo-Blatt statt Punkt */
  .nav > a[aria-current="page"]::before {
    content: "";
    position: static;
    translate: none;
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1 C14.5 6.5 15.5 13 10 19 C4.5 13 5.5 6.5 10 1 Z' fill='%23A9C4A4' transform='rotate(45 10 10)'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* Kontakt-Schnellzugriff unten im Menü */
  .nav__cta {
    display: grid;
    gap: 12px;
    margin-top: 32px;
    opacity: 0;
    translate: 0 16px;
    transition: opacity 0.35s ease 0.3s, translate 0.35s ease 0.3s;
  }
  .nav.is-open .nav__cta { opacity: 1; translate: 0 0; }
  .nav__cta .btn--light {
    background: var(--bg);
    color: var(--heading);
    border-color: transparent;
  }
  .nav__cta .btn--outline {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250, 249, 241, 0.45);
  }

  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Kontakt-Schnellzugriff existiert nur im Mobilmenü */
@media (min-width: 1200px) {
  .nav__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav, .nav > a, .nav__cta { transition: none; }
}

@media (max-width: 960px) {
  .grid--7-5, .grid--5-7, .grid--6-6 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* wie beim Vorbild: gestapelt kommt erst der Text, dann das Bild */
  .grid > .media { order: 1 }
  /* Ausnahme Über mich: Profilkarte (Bild) vor dem Vorstellungstext */
  .grid > .profile { order: -1 }
  .grid { gap: 25px; }
  .stack { gap: 25px; }
  .site-footer__grid { grid-template-columns: 1fr; text-align: left; gap: 30px; }
  .site-footer__logo { margin: 0 auto; }
  .hero { min-height: 520px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  h2 { font-size: 27px; }
  .card-title { font-size: 24px; }
  .card-title--display { font-size: 27px; }

  .section { padding-block: 40px; }
  /* Bilder mobil kompakter beschneiden (wie die Bildkacheln des Vorbilds) */
  .media img { max-height: 320px; }
  /* Porträt: Container der gedeckelten Bildhöhe folgen lassen (keine Lücke) */
  .media--portrait { aspect-ratio: auto; }
  .media--portrait img { max-height: 380px; height: auto; }

  .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .btn { padding: 0 28px; }

  /* kurze Zeilen nicht spreizen (Blocksatz-Lücken vermeiden) */
  .stations dd { text-align: left; }

  /* Namenszug bleibt einzeilig */
  .site-footer__name { font-size: clamp(18px, 7vw, 34px); letter-spacing: 0.5px; white-space: nowrap; }

  /* Reveal-Footer abschalten, wenn er höher als der Viewport werden kann */
  .site-footer { position: static; }
}

@media (max-width: 480px) {
  /* volle Breite = bequeme Tap-Ziele auf dem Telefon */
  .card .btn, .card--dark .btn { width: 100%; }
}

/* ---- Profilkarte (Über mich) ------------------------------------------------------------ */
.profile .media { border-radius: 15px 150px 0 0; }
.profile__body {
  background: var(--dark);
  color: var(--cream);
  border-radius: 0 0 15px 15px;
  padding: 28px 34px 34px;
}
.profile__body h3 { color: var(--cream); font-size: 27px; margin-bottom: 10px; }
.profile__body .tagline { color: rgba(250, 249, 241, 0.6); margin: 0; line-height: 1.6; }

/* ---- Qualifikations-Kacheln (Über mich) -------------------------------------------------- */
.tile {
  display: flex;
  flex-direction: column;
  border-radius: 15px 15px 15px 60px;
  overflow: hidden;
  background: var(--dark);
  text-align: center;
}
.tile > img { width: 100%; height: 170px; object-fit: cover; }
.tile__body { padding: 26px 22px 32px; }
.tile__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}
.tile__body p { color: rgba(250, 249, 241, 0.78); margin: 0; text-align: center; }

/* ---- Stationen-Liste (Über mich) ---------------------------------------------------------- */
.stations { margin: 0; }
.stations dt {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 20px;
}
.stations dt:first-of-type { margin-top: 0; }
.stations dd { margin: 3px 0 0; text-align: justify; hyphens: auto; }

/* gestapelte Spalte (Karte + Bild untereinander) */
.stack { display: grid; gap: var(--gutter); align-content: start; }
