/* ==========================================================================
   Pusteblume – kunsttherapeutisches Coaching · freies Malen
   ========================================================================== */

/* ---------- Schriften (lokal eingebunden, keine Verbindung zu Google) ---------- */

@font-face {
  font-family: 'Caveat'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url('../fonts/caveat-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Caveat'; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url('../fonts/caveat-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: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/opensans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/opensans-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;
}

:root {
  --text: #4a4248;
  --text-soft: #5e5560;
  --text-muted: #7a6c78;
  --accent: #8a3d66;
  --accent-hover: #a2467a;
  --accent-bright: #c2457f;
  --dot: #d6578c;
  --paper: #fdfbfc;
  --card: rgba(250, 246, 250, 0.88);
  --border: #cbbcca;
  --line: rgba(120, 90, 120, 0.12);
  --shadow: 0 24px 50px -22px rgba(70, 40, 70, 0.45);
  --shadow-soft: 0 20px 44px -26px rgba(70, 40, 70, 0.4);
  --font-script: 'Caveat', cursive;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --container: 1180px;
  --gutter: 28px;
  --header-h: 69px;
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --header-h: 61px; }
}

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

[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }
/* Farbe entspricht dem verschleierten Aquarell, falls irgendwo der Untergrund durchscheint */
html { background: #f3e1e9; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #f3e1e9;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.5;
}
body.nav-open { overflow: hidden; }

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

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-bright); }

input, textarea, select, button { font-family: inherit; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Hintergrund ---------- */

/* iOS 26 Safari zeichnet fixierte Elemente, die bis zum unteren Rand reichen, nicht
   unter der schwebenden Leiste, sondern füllt dort eine Volltonfarbe (sichtbarer Rand).
   Workaround: Der fixierte Container ist niedrig (< 50vh) und die Ebenen ragen
   sichtbar aus ihm heraus – so wird der Hintergrund bis ganz unten gemalt. */
.bg-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 0;
  height: 1px; overflow: visible; pointer-events: none;
}
.bg, .bg-veil, .bg-start {
  position: absolute; top: 0; left: 0; right: 0;
  height: calc(100vh + 160px); height: calc(100lvh + 160px);
}
.bg { background: url('../img/bg-aquarell-rosa.webp') center / cover no-repeat; }
.bg-veil { background: rgba(247, 242, 246, 0.68); }
.bg-start { pointer-events: none; will-change: opacity; }
.bg-start::before, .bg-start::after { content: ""; position: absolute; inset: 0; }
.bg-start::before {
  background: url('../img/bg-aquarell-orange.webp') center / cover no-repeat;
  filter: hue-rotate(-10deg) saturate(0.85) brightness(1.04);
}
.bg-start::after {
  background: radial-gradient(ellipse at 50% 55%,
    rgba(255, 247, 250, 0.75) 0%, rgba(255, 244, 248, 0.5) 50%, rgba(255, 242, 247, 0.35) 100%);
}

.page {
  position: relative; z-index: 1;
  min-height: 100vh;
  /* viewport-fit=cover: im Querformat nicht unter die Notch rutschen */
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right);
  display: flex; flex-direction: column;
}
main { flex: 1; }

/* ---------- Header & Navigation ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 240, 246, 0.78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo { display: flex; align-items: center; flex: none; transition: opacity .3s; }
.site-header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px 26px; }
.nav a {
  position: relative; padding: 8px 0; font-size: 15px; letter-spacing: 0.01em;
  color: var(--text); white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--dot); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: scaleX(1); opacity: .5; }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.nav a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
  border: none; background: none; padding: 0; cursor: pointer; color: var(--text);
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.8px; border-radius: 2px;
  background: currentColor; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav { gap: 2px 18px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 860px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(247, 241, 247, 0.96); }
  .site-header__inner { padding-top: 8px; padding-bottom: 8px; }
  .site-header__logo img { height: 38px; }
  .nav-toggle { display: block; }

  .nav {
    /* absolute statt fixed: backdrop-filter am Header wäre sonst der Bezugsrahmen */
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: rgba(246, 240, 246, 0.98);
    overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .nav.is-open { display: flex; animation: nav-in .22s ease; }
  .nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 4px; font-size: 19px; border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"]::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); flex: none;
  }
}

@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

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

.eyebrow {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.script-title {
  margin: 0; font-family: var(--font-script); font-weight: 600;
  font-size: clamp(44px, 7vw, 60px); line-height: 1.05; color: var(--text);
}
.lead { margin: 0; font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.lead--strong { font-size: 18px; font-weight: 600; }

.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--tight { gap: 16px; }
.stack .eyebrow + .script-title,
.stack .eyebrow + .kt-title { margin-top: -6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 1.5px solid var(--accent); background: var(--accent); color: #fff;
  padding: 11px 24px; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; line-height: 1.3;
  cursor: pointer; text-align: center; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--pill { border-radius: 999px; min-height: 42px; padding: 8px 22px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.photo-frame {
  background: #f7f3f6; padding: 10px;
  box-shadow: 0 24px 50px -20px rgba(70, 40, 70, 0.45);
}
.photo-frame img { width: 100%; height: auto; }

.section {
  max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter) 110px;
}
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px; align-items: start;
}
.split--center { align-items: center; }
/* Einspaltig: Bilder nicht über die ganze Breite aufblähen */
@media (max-width: 904px) {
  .split > .photo-frame, .split > .art-frame { width: calc(100% - 12px); max-width: 520px; justify-self: center; }
}
.measure { max-width: 760px; }

@media (max-width: 860px) {
  .section { padding: 40px var(--gutter) 72px; }
  .split { gap: 36px; }
  .lead { font-size: 16px; line-height: 1.7; hyphens: auto; -webkit-hyphens: auto; }
  .lead--strong { font-size: 17px; }
  .stack { gap: 18px; }
}

@media (max-width: 520px) {
  .btn-row .btn, .cta-box .btn, .price-footer .btn, .form button[type="submit"] { width: 100%; }
}

/* ---------- Startseite ---------- */

.hero {
  /* Volle Bildschirmhöhe inkl. Bereich hinter der Browserleiste (lvh), damit darunter
     nichts hervorschaut; der Inhalt wird per padding im sichtbaren Bereich (svh) zentriert. */
  min-height: calc(100vh - var(--header-h)); min-height: calc(100lvh - var(--header-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px 0 60px; padding-bottom: calc(60px + 100lvh - 100svh);
  position: relative; overflow: hidden;
}
.hero__content {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 16px 24px; margin-top: 6vh;
  width: min(940px, 92vw, 98vh);
  will-change: transform, opacity;
}
.hero__art { position: relative; width: 100%; aspect-ratio: 100 / 70; }
.hero__painting {
  position: absolute; top: 0; left: 43%; width: 42%;
  background: #fbf8fa; padding: 1.1%;
  box-shadow: 0 30px 60px -20px rgba(60, 30, 60, 0.55), 0 6px 16px rgba(60, 30, 60, 0.18);
}
.hero__painting img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero__logo { position: absolute; left: 0; top: 34%; width: 92%; }
.hero__tagline {
  margin: 0; font-weight: 400;
  font-size: clamp(15px, 2.2vw, 22px); letter-spacing: 0.03em; color: #4f4650; text-align: center;
}
/* Handy: weniger Rand, Bild und Logo füllen die Breite besser aus */
@media (max-width: 640px) {
  .hero__content { width: 100%; padding: 8px 10px; gap: 16px; }
  .hero__art { aspect-ratio: 100 / 79; }
  .hero__painting { left: 41%; width: 55%; }
  .hero__logo { top: 45%; width: 100%; }
}
.hero__scroll {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
}

/* Scroll-Effekt direkt im Browser (läuft ruckelfrei auf dem Compositor-Thread).
   Die Klasse setzt main.js nur auf der Startseite; ohne Unterstützung übernimmt JS. */
@supports (animation-timeline: scroll()) {
  .scroll-anim .hero__content,
  .scroll-anim .hero__scroll,
  .scroll-anim .site-header__logo,
  .scroll-anim .bg-start {
    animation-timeline: scroll(root);
    animation-fill-mode: both;
    animation-duration: auto;
  }
  .scroll-anim .hero__content { animation-name: hero-out; animation-timing-function: ease-in-out; animation-range: 0 60vh; }
  .scroll-anim .hero__scroll { animation-name: fade-out; animation-timing-function: ease-in-out; animation-range: 0 60vh; }
  .scroll-anim .site-header__logo { animation-name: fade-in; animation-timing-function: ease-in-out; animation-range: 0 60vh; transition: none; }
  .scroll-anim .bg-start { animation-name: fade-out; animation-timing-function: linear; animation-range: 0 90vh; }
}
@keyframes hero-out { to { opacity: 0; transform: translateY(-260px) scale(0.92); } }
@keyframes hero-fade { to { opacity: 0; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }


.offers { max-width: 1080px; margin: 0 auto; padding: 40px var(--gutter) 96px; }
.offers__title {
  font-family: var(--font-script); font-weight: 600; font-size: clamp(48px, 8vw, 64px);
  line-height: 1; text-align: center; margin: 0 0 56px;
}
.offers__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 48px); }

.offer {
  position: relative; width: min(440px, max(300px, calc(50% - 24px)));
  aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; background: var(--paper);
}
.offer__head {
  position: relative; flex: 0 0 38%;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 14% 18px; border-bottom: 1.5px solid var(--accent);
}
.offer__bg, .offer__head::after { position: absolute; inset: 0; }
.offer__bg { background-size: cover; background-position: center; }
.offer__head::after { content: ""; background: linear-gradient(180deg, rgba(70, 40, 70, 0.25), rgba(70, 40, 70, 0.55)); }
.offer__head h3 {
  position: relative; z-index: 1; margin: 0; font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700; line-height: 1.2; color: #fff; text-align: center; text-wrap: balance;
}
.offer__body {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 22px 17% 0;
}
.offer__body p { margin: 0; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.offer__body .offer__note { font-size: 14px; font-weight: 700; color: var(--accent); }
.offer__body .btn { margin-top: 4px; }

/* Unterhalb von 920px werden aus den Kreisen abgerundete Karten */
@media (max-width: 920px) {
  .offers { padding-top: 64px; padding-bottom: 72px; }
  .offers__title { margin-bottom: 32px; }
  .offers__grid { gap: 24px; align-items: stretch; }
  .offer { width: calc(50% - 12px); max-width: 440px; aspect-ratio: auto; border-radius: 28px; }
  .offer__head { flex: none; min-height: 132px; padding: 0 24px 18px; }
  .offer__head h3 { font-size: 23px; }
  .offer__body { padding: 22px 26px 28px; gap: 12px; }
  .offer__body p { font-size: 15.5px; }
  .offer__body .btn { margin-top: auto; }
}
@media (max-width: 640px) {
  .offer { width: 100%; }
}

.closing {
  text-align: center; margin: 80px 0 0; text-wrap: balance;
  font-family: var(--font-script); font-size: clamp(34px, 5vw, 44px); font-weight: 600; line-height: 1.15;
}
@media (max-width: 640px) { .closing { margin-top: 56px; } }

/* ---------- Kunsttherapie ---------- */

.kt-title { margin: 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.25; font-weight: 700; text-wrap: balance; }
.kt-quote { margin: 0; font-family: var(--font-script); font-size: clamp(29px, 4vw, 34px); line-height: 1.2; color: var(--text-soft); }

.dot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dot-list li { display: flex; gap: 14px; align-items: baseline; font-size: 17px; line-height: 1.6; }
.dot-list li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot);
  flex: none; transform: translateY(-1px);
}
@media (max-width: 860px) { .dot-list li { font-size: 16px; } }

.cta-box {
  margin-top: 10px; padding: 22px 26px; background: rgba(250, 246, 250, 0.8);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.cta-box strong { display: block; font-size: 17px; }
.cta-box span { font-size: 15px; color: var(--text-soft); }
@media (max-width: 520px) { .cta-box { padding: 20px; } }

.art-frame {
  background: var(--paper); padding: 22px;
  border: 1px solid rgba(138, 61, 102, 0.35); outline: 8px solid #b98aa3;
  box-shadow: 0 26px 50px -24px rgba(70, 40, 70, 0.4);
  margin: 8px;
}
@media (min-width: 905px) { .art-frame { position: sticky; top: calc(var(--header-h) + 40px); } }
@media (max-width: 860px) { .art-frame { padding: 14px; outline-width: 6px; margin: 6px; } }
.art-frame img { width: 100%; height: auto; }

.signature { font-family: var(--font-script); font-size: 36px; color: var(--accent); margin-top: 6px; }

/* ---------- Termine ---------- */

.termine { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; max-width: 860px; }
.termin {
  background: var(--card); box-shadow: 0 12px 30px -20px rgba(70, 40, 70, 0.4);
  padding: 22px 26px; display: grid; grid-template-columns: 64px 1fr auto; gap: 18px 28px; align-items: center;
}
.termin__date { display: flex; flex-direction: column; align-items: center; }
.termin__day { font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.termin__month { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }
.termin__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.termin__title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.termin__meta { font-size: 15px; color: var(--text-soft); }
.termin__seats { font-size: 13px; font-weight: 600; color: var(--dot); }
.termine__empty { background: var(--card); padding: 26px; font-size: 16px; line-height: 1.7; margin: 0; }

@media (max-width: 600px) {
  .termin { grid-template-columns: 52px 1fr; gap: 16px 16px; padding: 20px; }
  .termin__day { font-size: 28px; }
  .termin .btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Preise ---------- */

.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 36px; margin: 40px 0 32px;
}
.price-card { background: var(--card); box-shadow: var(--shadow-soft); padding: 30px 30px 14px; }
.price-card h2 {
  margin: 0 0 14px; font-family: var(--font-script); font-size: 44px; line-height: 1;
  font-weight: 600; color: var(--accent);
}
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-top: 1px solid rgba(138, 61, 102, 0.18);
}
.price-list .name { display: block; font-size: 16px; font-weight: 600; }
.price-list .info { display: block; font-size: 14px; color: var(--text-soft); }
.price-list .price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.price-footer { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.price-footer p { margin: 0; font-size: 14px; color: var(--text-soft); }

@media (max-width: 600px) {
  .price-grid { gap: 20px; margin-top: 28px; }
  .price-card { padding: 24px 20px 8px; }
  .price-card h2 { font-size: 40px; }
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start;
}
.contact__title { font-size: clamp(52px, 8vw, 64px); }
.contact__sub { margin: 0; font-size: 26px; }
.contact__details { display: flex; flex-direction: column; gap: 10px; font-size: 16px; margin-top: 8px; }
.contact__details a { overflow-wrap: anywhere; }
.contact__logo { width: 240px; margin-top: 24px; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact__sub { font-size: 22px; margin-top: -6px; }
  .contact__logo { display: none; }
}

.card { background: var(--card); box-shadow: var(--shadow-soft); padding: 32px; }
@media (max-width: 600px) { .card { padding: 24px 20px; } }

.form { display: flex; flex-direction: column; gap: 18px; }
.form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft);
}
.form input, .form select, .form textarea {
  font-size: 16px; padding: 12px; border: 1px solid var(--border); background: #fff;
  color: var(--text); border-radius: 0; width: 100%; min-height: 48px;
  -webkit-appearance: none; appearance: none;
}
.form select {
  padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238a3d66' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.form textarea { resize: vertical; line-height: 1.5; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--dot); outline-offset: 0; border-color: transparent; }
.form .checkbox {
  flex-direction: row; align-items: flex-start; gap: 12px; cursor: pointer;
  font-weight: 400; letter-spacing: 0; font-size: 14px; line-height: 1.55;
}
.form .checkbox input {
  -webkit-appearance: auto; appearance: auto;
  width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none;
  accent-color: var(--accent); cursor: pointer;
}
.form .hp { display: none; }
.form button[type="submit"] { align-self: flex-start; padding: 13px 28px; font-size: 15px; min-height: 50px; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form__error { margin: 0; color: #b0303f; font-size: 14px; line-height: 1.6; }

.thanks { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; }
.thanks h2 { margin: 0; font-family: var(--font-script); font-size: 44px; color: var(--accent); line-height: 1; font-weight: 600; outline: none; }
.thanks p { margin: 0; font-size: 17px; line-height: 1.7; }
.link-btn {
  align-self: flex-start; border: none; background: none; color: var(--accent); padding: 4px 0;
  font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
}

/* ---------- Rechtliches ---------- */

.legal > * { max-width: 760px; }
.legal .script-title { margin: 8px 0 12px; }
.legal h2 { font-size: 20px; line-height: 1.35; margin: 36px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal a { overflow-wrap: anywhere; }
.legal .todo { background: #fff3c4; color: inherit; padding: 2px 6px; }
.legal__date { margin-top: 40px !important; color: var(--text-soft); }

@media (max-width: 860px) {
  .legal h2 { font-size: 18px; margin-top: 30px; }
  .legal p, .legal li { font-size: 15.5px; hyphens: auto; -webkit-hyphens: auto; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: rgba(150, 140, 155, 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-footer__inner {
  max-width: var(--container); margin: 0 auto; padding: 26px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center;
  font-size: 14px; color: #3f383e;
}
.site-footer__links { display: flex; gap: 6px 22px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .site-footer { -webkit-backdrop-filter: none; backdrop-filter: none; background: #d9d1dc; }
  .site-footer__inner {
    flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  }
  .site-footer__links a { padding: 4px 0; }
  .site-footer__links a:first-child { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content { will-change: opacity; }
  .scroll-anim .hero__content { animation-name: hero-fade; }
  .nav, .nav a::after, .nav-toggle span { transition: none !important; }
}
