/* =========================================================================
   Boutique Belgique — Stylesheet
   Umsetzung des Design-Handoffs "design_handoff_boutique_belgique".
   Aufbau: Tokens · Basis · Layout-Helfer · Komponenten · Sektionen · Footer
   Die Werte für 1360 px (Desktop) und 390 px (Mobile) stammen 1:1 aus dem
   Design; dazwischen wird über clamp() interpoliert.
   ========================================================================= */

/* ---------- Tokens ------------------------------------------------------ */

:root {
  /* Farben */
  --ink: #171214;
  --text-body: #3E3338;
  --text-muted: #56474E;
  --text-faint: #B5A6AC;
  --footer-dim: #7C6E74;
  --accent: #C4176B;
  --accent-hover: #FF8A3D;
  --brand-pink: #EE4F9B;
  --brand-orange: #F79A6A;
  --footer-link: #F19FC4;
  --blush: #FDEFF5;
  --hairline: #F0E6EA;
  --line: #E6D8DE;
  --bullet: #E9C6D8;
  --menu-divider: #F7EFF3;
  --white: #FFFFFF;

  /* Schrift */
  --font-display: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Typo-Skala: mobil (390 px) → Desktop (1360 px) */
  --fs-h1: clamp(38px, 29.96px + 2.062vw, 58px);
  --fs-h2: clamp(34px, 29.18px + 1.237vw, 46px);
  --fs-h2-card: clamp(30px, 27.59px + 0.619vw, 36px);
  --fs-body: clamp(17px, 16.20px + 0.206vw, 19px);
  --fs-kicker: clamp(13px, 12.20px + 0.206vw, 15px);
  --ls-kicker: .22em;

  /* Maße */
  --maxw: 1360px;
  --pad-x: clamp(20px, 2.31px + 4.54vw, 64px);
  /* Innenabstand, der bündig zur zentrierten Inhaltsspalte liegt – für
     Elemente, die selbst über die volle Breite laufen (Galerie-Track). */
  --edge: max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x)));

  --radius-pill: 999px;
  --radius-card: 6px;
  --radius-img: 4px;

  --shadow-card: 0 20px 50px rgba(120, 60, 90, .16);
  --shadow-card-sm: 0 16px 40px rgba(120, 60, 90, .14);
  --shadow-menu: 0 20px 40px rgba(120, 60, 90, .12);

  --transition: 170ms ease;
}

@media (min-width: 960px) {
  :root { --ls-kicker: .24em; }
}

/* ---------- Basis ------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height: auto ist nötig, weil die Bilder width/height-Attribute tragen
   (verhindert Layout-Shift) – sonst wird die Höhe nicht mitskaliert. */
img,
svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition),
              border-color var(--transition);
}

a:hover { color: var(--accent-hover); }

h1, h2, h3, p { margin: 0; }

button { font: inherit; }

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

::placeholder { color: #B7A6AE; opacity: 1; }

/* Sprungmarken landen nicht direkt unter der Oberkante. */
[id] { scroll-margin-top: 24px; }

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

/* ---------- Layout-Helfer ----------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 50;
  transform: translate(-50%, -200%);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--white);
}

/* Inhaltsflags: Sektionen, die der Kunde später freischaltet.
   Umschalten über data-brands / data-form am <body>. */
body[data-brands="off"] [data-requires="brands"],
body[data-form="off"]   [data-requires="form"] { display: none !important; }

/* ---------- Typografie-Bausteine ---------------------------------------- */

.kicker {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-kicker);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--accent);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* Gleicher Hover wie beim gefüllten Button: pinke Fläche, weiße Schrift,
   Rahmen in derselben Farbe. */
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ---------- Bild-Platzhalter -------------------------------------------- */
/* Steht dort, wo der Kunde noch Fotos liefert. Zum Ersetzen den Block durch
   <img class="photo" src="…" alt="…" width="…" height="…" loading="lazy">
   austauschen – siehe README. */

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.photo-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  background: var(--blush);
  border-radius: var(--radius-img);
  text-align: center;
  padding: 24px;
}

.photo-slot img {
  width: 64px;
  opacity: .45;
}

.photo-slot span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================================================
   1 — Header / Navigation
   ========================================================================= */

.header {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}

.header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, -0.09px + 4.12vw, 56px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo img { height: 15px; width: auto; }

.header__nav,
.header__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}

.header__nav a,
.header__actions a { color: var(--ink); }

/* Die Telefon-Pille ist ausgenommen – sie bringt ihren eigenen Hover mit.
   Ohne das :not() würde diese Regel (höhere Spezifität) deren Schriftfarbe
   überschreiben und pinke Schrift auf pinker Fläche erzeugen. */
.header__nav a:hover,
.header__actions a:not(.header__phone):hover { color: var(--accent); }

.header__phone {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
}

.header__phone:hover,
.header__phone:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Burger */
.burger {
  width: 46px;
  height: 46px;
  margin-left: -12px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}

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

/* Runder Anruf-Button (mobil) */
.header__call {
  width: 46px;
  height: 46px;
  margin-right: -6px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__call svg { width: 19px; height: 19px; fill: currentColor; }

.header__call:hover,
.header__call:focus-visible { background: var(--accent); color: var(--white); }

/* Ausklapp-Menü */
.menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 15;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-menu);
  padding: 10px 16px 20px;
  display: flex;
  flex-direction: column;
}

.menu[hidden] { display: none; }

.menu a {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--menu-divider);
}

.menu a:last-child { border-bottom: none; }
.menu a:hover { color: var(--accent); }

@media (min-width: 960px) {
  .header__inner {
    height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .header__logo img { height: 19px; }
  .header__actions { justify-content: flex-end; }
  .burger,
  .header__call,
  .menu { display: none; }
}

@media (max-width: 959px) {
  .header__nav,
  .header__actions { display: none; }
}

/* =========================================================================
   2 — Hero
   ========================================================================= */

.hero { overflow: hidden; }

.hero__inner {
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero__text {
  padding: 40px var(--pad-x) 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__text .kicker { margin-bottom: 16px; }
.hero__text .h1 { margin-bottom: 18px; }
.hero__text .lead { line-height: 1.7; }

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__meta {
  border-top: 1px solid var(--hairline);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__meta i { color: var(--line); font-style: normal; }

.hero__media {
  position: relative;
  height: 420px;
  background: var(--blush);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Im Design sind die Hero-Buttons auf Mobil bewusst nicht enthalten –
   Anruf-Button im Header und Info-Band decken dieselben Aktionen ab. */
@media (max-width: 959px) {
  .hero__buttons,
  .hero__meta { display: none; }
}

@media (min-width: 960px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }

  .hero__text { padding: 96px var(--pad-x); }
  .hero__text .kicker { margin-bottom: 22px; }
  .hero__text .h1 { margin-bottom: 26px; line-height: 1.08; }
  .hero__text .lead { max-width: 420px; line-height: 1.75; }

  .hero__media { height: auto; min-height: 660px; }
}

/* Ab der Design-Breite läuft das Hero-Foto bis an den rechten Rand. */
@media (min-width: 1360px) {
  .hero__media { margin-right: calc((var(--maxw) - 100vw) / 2); }
}

/* =========================================================================
   3 — Info-Band
   ========================================================================= */

.infoband {
  background: var(--blush);
  font-family: var(--font-display);
  font-weight: 500;
}

.infoband__inner {
  padding-block: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  text-align: center;
}

.infoband a { color: var(--ink); font-weight: 700; }
.infoband a:hover { color: var(--accent); }
.infoband i { color: var(--bullet); font-style: normal; }

@media (max-width: 959px) {
  .infoband i { display: none; }
}

@media (min-width: 960px) {
  .infoband__inner {
    padding-block: 34px;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    font-size: 19px;
  }
}

/* =========================================================================
   4 — Store-Text
   ========================================================================= */

.store { padding-block: 56px; }

.store__head .kicker { margin-bottom: 14px; }
.store__head .h2 { line-height: 1.12; }

.store__image {
  height: 260px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.store__copy p {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-body);
  text-wrap: pretty;
}

.store__copy p + p { margin-top: 18px; }

@media (min-width: 960px) {
  .store {
    padding-block: 104px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
  }

  .store__head { min-width: 0; }
  .store__head .kicker { margin-bottom: 20px; }
  .store__image { height: 420px; margin-top: 34px; margin-bottom: 0; }
  .store__copy p + p { margin-top: 22px; }
}

/* =========================================================================
   5 — Marken (per Flag deaktiviert)
   ========================================================================= */

.brands {
  padding-block: 48px;
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.brands .kicker { margin-bottom: 24px; }

.brands__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
}

.brands__list li {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .1em;
  color: #000;
}

@media (min-width: 960px) {
  .brands { padding-block: 72px; }
  .brands .kicker { margin-bottom: 34px; }
  .brands__list { gap: 16px 30px; }
  .brands__list li { font-size: 15px; }
}

/* =========================================================================
   6 — Galerie
   ========================================================================= */

.gallery { padding-block: 56px; }

.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.gallery__nav { display: flex; gap: 8px; }

.gallery__btn {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), opacity var(--transition);
}

.gallery__btn svg { width: 18px; height: 18px; }

.gallery__btn:hover:not(:disabled) { border-color: var(--ink); }

.gallery__btn:disabled {
  opacity: .35;
  cursor: default;
}

.gallery__track {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--edge);
  /* Ohne scroll-padding würde das erste Slide am Rand des Scrollports
     einrasten und der linke Innenabstand weggescrollt. */
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery__track::-webkit-scrollbar { height: 0; width: 0; }

.gallery__track > li {
  flex: 0 0 clamp(290px, 237.7px + 13.40vw, 420px);
  min-width: 0;
  height: clamp(380px, 315.7px + 16.50vw, 540px);
  scroll-snap-align: start;
}

/* Auslöser für die Lightbox: ein Button, damit das Vergrößern auch per
   Tastatur geht. Der Name kommt aus dem alt-Text des Bildes. */
.gallery__track button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

@media (min-width: 960px) {
  .gallery { padding-block: 88px 104px; }
  .gallery__head { margin-bottom: 34px; }
  .gallery__nav { gap: 10px; }
  .gallery__btn { width: 50px; height: 50px; }
  .gallery__btn svg { width: 20px; height: 20px; }
  .gallery__track { gap: 16px; }
}

/* ---------- Lightbox ---------------------------------------------------- */
/* <dialog> mit showModal(): Escape, Fokusfalle und das Stilllegen des
   Hintergrunds übernimmt der Browser. */

.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lightbox__img {
  max-width: min(1180px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-img);
  box-shadow: 0 30px 80px rgba(120, 60, 90, .28);
}

.lightbox__close {
  position: fixed;
  top: clamp(12px, 2.2vw, 28px);
  right: clamp(12px, 2.2vw, 28px);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition);
}

.lightbox__close svg { width: 20px; height: 20px; }

/* Bewusst nur :hover — beim Öffnen setzt der Browser den Fokus automatisch
   auf diesen Button, eine Einfärbung sähe dann wie ein Dauerzustand aus. */
.lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Seite hinter der Lightbox nicht mitscrollen lassen */
html.is-locked { overflow: hidden; }

/* Der Browser vergibt rund um die Lightbox zweimal selbst den Fokus: beim
   Öffnen auf das ×, beim Schließen zurück auf die angeklickte Kachel. Bei
   Mausbedienung wirkt der Fokusrahmen dort wie ein versehentlicher Rand,
   deshalb nur an diesen beiden Stellen ausgeblendet. Wer mit der Tastatur
   navigiert (data-input="keyboard"), sieht ihn weiterhin — ohne ihn wäre
   nicht erkennbar, wo man sich befindet. */
html[data-input="pointer"] .gallery__track button:focus-visible,
html[data-input="pointer"] .lightbox__close:focus-visible { outline: none; }

/* =========================================================================
   7 — Social
   ========================================================================= */

.social { border-top: 1px solid var(--hairline); }

.social__inner {
  padding-block: 48px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.social__hearts { width: 76px; }
.social .kicker { margin-top: 4px; }
.social p { line-height: 1.7; color: var(--text-muted); max-width: 820px; }

.social__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  margin-top: 8px;
}

.social__buttons .btn--primary { font-size: 17px; padding: 17px 24px; }

.social__row { display: flex; gap: 10px; }
.social__row .btn { flex: 1; padding: 15px 12px; }

@media (min-width: 960px) {
  .social__inner {
    padding-block: 88px 104px;
    gap: 20px;
  }

  .social__hearts { width: 96px; }
  .social .kicker { margin-top: 8px; }

  .social__buttons {
    flex-direction: row;
    justify-content: center;
    align-self: auto;
    gap: 12px;
    margin-top: 10px;
  }

  .social__buttons .btn--primary { font-size: 16px; padding: 15px 32px; }
  .social__row { display: contents; }
  .social__row .btn { flex: none; padding: 15px 32px; }
}

/* =========================================================================
   8 — Anfahrt
   ========================================================================= */

.directions { background: var(--blush); }

.directions__inner { padding-block: 48px; }

.directions__map {
  width: 100%;
  margin-bottom: 28px;
  border-radius: var(--radius-img);
}

.directions__card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-card-sm);
}

.directions__card .kicker { margin-bottom: 14px; }

.directions__card .h2 {
  font-size: var(--fs-h2-card);
  line-height: 1.15;
  letter-spacing: normal;
  margin-bottom: 16px;
}

.directions__card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.directions__card .btn {
  display: flex;
  width: 100%;
  font-size: 16px;
  padding: 16px 20px;
}

@media (min-width: 960px) {
  .directions__inner {
    padding-block: 72px;
    display: grid;
    grid-template-columns: 1fr 452px;
    gap: 56px;
    align-items: center;
  }

  .directions__map {
    max-width: 620px;
    margin: 0 auto;
    justify-self: center;
  }

  .directions__card { padding: 56px 50px; box-shadow: var(--shadow-card); }
  .directions__card .kicker { margin-bottom: 18px; }
  .directions__card .h2 { margin-bottom: 20px; }
  .directions__card p { font-size: 17px; margin-bottom: 28px; }

  .directions__card .btn {
    display: inline-flex;
    width: auto;
    font-size: 15px;
    padding: 14px 26px;
  }
}

/* =========================================================================
   9 — Kontakt
   ========================================================================= */

.contact__inner { padding-block: 56px; }

.contact .kicker { margin-bottom: 14px; }
.contact .h2 { margin-bottom: 16px; }
.contact .lead { margin-bottom: 22px; }

.contact__direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 17px;
}

.contact__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}

.contact__phone:hover { color: var(--accent); }

/* Kontaktformular (per Flag deaktiviert) */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 34px;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
  border: none;
  border-bottom: 1.5px solid var(--line);
  padding: 14px 2px;
  font-family: var(--font-body);
  font-size: 16px;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}

.form textarea { resize: vertical; }

.form input:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #6E6167;
  line-height: 1.6;
}

.form__consent input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex: none;
}

.form .btn { font-size: 17px; padding: 17px 24px; }

@media (min-width: 960px) {
  .contact__inner {
    padding-block: 104px;
    /* Im Design ist die Spalte 760 px breit – inklusive der 64 px
       Innenabstand, die hier schon am .wrap hängen. */
    max-width: calc(760px - 2 * var(--pad-x));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
  }

  .contact__text { width: 100%; }
  .contact .kicker { margin-bottom: 20px; }
  .contact .h2 { margin-bottom: 22px; }
  .contact .lead { margin-bottom: 34px; }
  .contact__direct { gap: 10px; font-size: 18px; }
  .contact__phone { font-size: 26px; }

  .form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    margin-top: 0;
    width: 100%;
  }

  .form textarea,
  .form__consent,
  .form .btn { grid-column: span 2; }

  .form input[type="text"],
  .form input[type="email"],
  .form textarea { padding: 12px 2px; font-size: 17px; }

  .form__consent input { width: 16px; height: 16px; }

  .form .btn {
    justify-self: start;
    font-size: 16px;
    padding: 16px 34px;
  }
}

/* =========================================================================
   10 — Footer
   ========================================================================= */

.footer {
  background: var(--ink);
  color: #F3E7EC;
}

.footer__inner { padding-block: 48px 0; }

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.footer__brand img { height: 16px; width: auto; margin-bottom: 18px; }

.footer__col p,
.footer__col ul {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-faint);
}

.footer__col h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  line-height: 1.9;
}

.footer__col a { color: var(--footer-link); }
.footer__col a:hover { color: var(--white); }

.footer__pair { display: flex; gap: 28px; }

/* Nur padding-block setzen – der seitliche Abstand kommt von .wrap. */
.footer__legal {
  padding-block: 34px 48px;
  font-size: 14px;
  color: var(--footer-dim);
}

@media (min-width: 960px) {
  .footer__inner { padding-block: 64px; }

  .footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .footer__pair { display: contents; }
  .footer__brand img { height: 19px; margin-bottom: 22px; }
  .footer__col h2 { margin-bottom: 10px; }
  .footer__legal { padding-block: 0 34px; }
}

/* =========================================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================================= */

.legal-page {
  background: var(--blush);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}






.legal-main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(48px, 20px + 7.2vw, 88px) clamp(20px, 0px + 5.1vw, 40px)
           clamp(72px, 40px + 8.2vw, 120px);
}

.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 28.4px + 1.44vw, 48px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.legal-main h2 + p { margin-bottom: 40px; }

/* Folgt direkt auf den Titel eine Überschrift statt eines Absatzes, muss der
   Abstand hier entstehen (12 px vom h1 + 48 px = wie im Design). */
.legal-main > h1 + h2 { margin-top: 48px; }

.legal-main p {
  font-size: clamp(17px, 16.6px + 0.1vw, 18px);
  line-height: 1.85;
  color: var(--text-muted);
}

.legal-main > p:last-child { margin-bottom: 0; }




/* ---------- Druck -------------------------------------------------------- */

@media print {
  .header, .skip-link, .gallery__nav, .footer { display: none; }
  body { font-size: 12pt; }
}
