/*
Theme Name: JF-Melder
Theme URI: https://jf-melder.de/
Description: Produkt-Theme für den JF-Melder (Florian Portal UG). Child-Theme von Twenty Twenty-Five: Kino-Hero mit Teaser, Bento-Features, dunkle Leitstellen-Sektion, Preiskarten. Eine Akzentfarbe (Signalrot), warme Neutralfamilie, Archivo Variable lokal.
Author: Florian Portal UG (haftungsbeschränkt)
Template: twentytwentyfive
Version: 1.3.1
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jf-melder
*/

/* Tokens wie auf jf-melder.de: eine Akzentfarbe (Signalrot), eine warme
   Neutralfamilie, 12-px-Radius für Flächen, Pill für Bedienelemente. */
:root {
  --bg: #f4f1ec;
  --bg-2: #ece8e1;
  --surface: #fbfaf7;
  --ink: #1b1917;
  --ink-2: #4d4842;
  --ink-3: #7b746b;
  --line: #ddd7cd;
  --line-2: #cfc8bc;
  --accent: #c73a2f;
  --accent-ink: #a52b22;
  --accent-soft: #f9e4e0;
  --ok: #2b8a5a;
  --warn: #b8791a;
  --warn-soft: #f8ecd6;
  --dark: #15181d;
  --dark-2: #1c2128;
  --dark-line: #2b323b;
  --dark-ink: #e9ecf1;
  --dark-ink-2: #98a1ad;
  --cine: #0a0a0a;
  --r: 12px;
  --r-pill: 999px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4.5rem, 9vw, 8rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow: 0 1px 2px rgba(60, 45, 30, 0.06), 0 12px 32px -12px rgba(60, 45, 30, 0.18);
}

html, body {
  overflow-x: clip;
}
body {
  letter-spacing: 0;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  hyphens: auto;
}
main img { max-width: 100%; height: auto; }
/* Papierkorn wie auf der Kampagnenseite, ohne eigenes Markup */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h1 { letter-spacing: -0.03em; }
h3 { letter-spacing: -0.015em; line-height: 1.2; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.measure { max-width: 66ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
/* Schmale Absätze bleiben linksbündig, auch im "constrained"-Layout von WordPress */
.is-layout-constrained > .lede,
.is-layout-constrained > .plan-note { margin-left: 0 !important; margin-right: 0 !important; }
.head h2 + p { margin-top: 1.1rem; }
.sec { padding-block: var(--sec); }
.sec.sec-tight { padding-top: 0; }
svg.i { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons (WordPress-Blöcke in Kampagnen-Optik) ---------- */
.wp-block-button__link, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.wp-block-button__link:active, .btn:active { transform: scale(0.97); }
.wp-block-button__link { background: var(--accent); color: #fff; }
.is-style-outline .wp-block-button__link,
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.is-style-outline .wp-block-button__link { border-width: 1px; }
.btn-light, .wp-block-button.btn-light .wp-block-button__link { background: var(--surface); color: var(--ink); }
.on-dark .is-style-outline .wp-block-button__link { border-color: #3a3835; color: #f2f1ef; }
@media (hover: hover) {
  .wp-block-button__link:hover { background: var(--accent-ink); color: #fff; }
  .is-style-outline .wp-block-button__link:hover { background: transparent; border-color: var(--ink-3); color: var(--ink); }
  .on-dark .is-style-outline .wp-block-button__link:hover { border-color: #f2f1ef; color: #fff; }
  .wp-block-button.btn-light .wp-block-button__link:hover, .cta .btn-light:hover { background: #fff; color: var(--ink); }
}

/* ---------- Header ---------- */
.site-head {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.site-head .nav-bar { min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 640; letter-spacing: -0.01em; color: inherit; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; flex: none; }
.brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-weight: 480; font-size: 0.78rem; color: var(--ink-3); line-height: 1.1; letter-spacing: 0; }
.site-head .wp-block-navigation a { padding: 0.6rem 0.85rem; border-radius: var(--r-pill); font-weight: 520; color: var(--ink-2); text-decoration: none; }
.site-head .wp-block-navigation a:hover { color: var(--ink); background: var(--bg-2); }
.site-head .wp-block-navigation .current-menu-item > a { color: var(--ink); font-weight: 620; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--surface); }
@media (max-width: 420px) { .brand small { display: none; } }

/* ---------- Kino-Hero ---------- */
.cine { background: var(--cine); color: #f2f1ef; text-align: center; }
.cine .cine-inner { padding: clamp(3rem, 8vh, 6rem) var(--pad) clamp(3rem, 8vh, 5rem); }
.cine h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; color: #fff; }
.cine .lede { color: #a6a39e; margin: 1.5rem auto 2rem; max-width: 40ch; }
.cine .wp-block-buttons { justify-content: center; }
.cine-video { width: min(100%, 1100px); margin: clamp(2rem, 5vh, 3.5rem) auto 0; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9); }
.cine-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Faktenleiste ---------- */
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: space-between; padding-block: 1.5rem; }
.hero-facts > div { display: grid; gap: 0.1rem; }
.hero-facts b { font-size: 1.3rem; font-weight: 640; letter-spacing: -0.02em; line-height: 1; }
.hero-facts span { font-size: 0.9rem; color: var(--ink-3); }
.hero-facts-bar { border-bottom: 1px solid var(--line); }

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 1.25rem; border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { white-space: nowrap; font-weight: 560; color: var(--ink-2); display: inline-flex; align-items: center; gap: 0.6rem; }
.marquee-track span svg { color: var(--accent-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Statement ---------- */
.statement h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.statement h2 em { font-style: italic; color: var(--accent-ink); }
.statement img { border-radius: var(--r); }

/* ---------- Bedienung (Knopf / Ton / Aufgabe) ---------- */
.triad .wp-block-column { border-top: 2px solid var(--line-2); padding-top: 1.3rem; }
.triad h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.triad p { color: var(--ink-2); }

/* ---------- Zustände (vier Karten) ---------- */
.states { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.state-card { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.state-card img { width: 100%; }
.state-card h3 { font-size: 1.3rem; }
.state-card p { margin: 0.6rem 0 0; color: var(--ink-2); font-size: 1rem; }
.state-card .tone { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; padding: 0.4rem 0.8rem; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-2); }
@media (max-width: 900px) { .states { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .state-card { grid-template-columns: 1fr; } .state-card img { max-width: 300px; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.cell { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; position: relative; overflow: hidden; }
.cell h3 { font-size: 1.25rem; }
.cell p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.cell svg.i { width: 26px; height: 26px; color: var(--accent-ink); }
.cell-wide { grid-column: span 4; }
.cell-mid { grid-column: span 3; }
.cell-narrow { grid-column: span 2; }
.cell-tint { background: var(--accent-soft); border-color: #f0cfc9; }
.cell-dark { background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }
.cell-dark p { color: var(--dark-ink-2); }
.cell-dark svg.i { color: #ff6b5e; }
.cell-photo { padding: 0; min-height: 300px; background: var(--bg-2); }
.cell-photo img { width: 100%; height: 230px; object-fit: contain; object-position: center 60%; padding: 1.5rem 2rem 0; }
.cell-photo .cap { margin-top: auto; padding: 1rem 1.6rem 1.6rem; }
.cell-photo h3 { font-size: 1.2rem; }
.cell .big { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 660; letter-spacing: -0.03em; line-height: 1; margin-top: auto; }
.cell .big small { display: block; font-size: 0.95rem; font-weight: 480; letter-spacing: 0; color: var(--ink-3); margin-top: 0.4rem; }
.cell-dark .big small { color: var(--dark-ink-2); }
@media (max-width: 900px) { .cell-wide, .cell-mid, .cell-narrow { grid-column: span 6; } .bento { grid-auto-rows: auto; } }
@media (min-width: 640px) and (max-width: 900px) { .cell-narrow, .cell-mid { grid-column: span 3; } }

/* ---------- Dunkle Leitstellen-Sektion ---------- */
.dark-sec { background: var(--dark); color: var(--dark-ink); }
.dark-sec .lede, .dark-sec .muted { color: var(--dark-ink-2); }
.dark-sec .head h2, .dark-sec h2 { color: #fff; }
.shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--dark-line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); background: var(--dark-2); }
.shot img { width: 100%; display: block; }
.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.legend > div { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--dark-2); border: 1px solid var(--dark-line); }
.legend i { width: 12px; height: 34px; border-radius: 3px; margin-top: 0.15rem; }
.legend b { display: block; font-weight: 620; }
.legend span { font-size: 0.95rem; color: var(--dark-ink-2); }
@media (max-width: 900px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .legend { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.plan.is-featured { background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }
.plan.is-featured .muted { color: var(--dark-ink-2); }
.plan .name { font-size: 0.95rem; font-weight: 600; color: var(--ink-3); }
.plan.is-featured .name { color: #ff8a7f; }
.plan .price { font-size: clamp(2.4rem, 3.4vw, 3rem); font-weight: 660; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 480; letter-spacing: 0; color: var(--ink-3); margin-left: 0.3rem; }
.plan.is-featured .price small { color: var(--dark-ink-2); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.plan li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; }
.plan li svg { color: var(--ok); margin-top: 0.15em; width: 1.1em; height: 1.1em; }
.plan.is-featured li svg { color: #5fd39a; }
.plan .btn, .plan .wp-block-button { margin-top: auto; }
.plan .wp-block-button__link { width: 100%; }
.plan-note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--ink-3); max-width: 70ch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Mietablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1rem; counter-reset: s; }
.step { padding: 1.4rem 0 0; border-top: 2px solid var(--line-2); position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -1px; left: 0; transform: translateY(-100%); padding-bottom: 0.5rem; font-weight: 640; font-size: 0.9rem; color: var(--accent-ink); }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0.5rem 0 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ (Details-Blöcke) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq .wp-block-details { border-bottom: 1px solid var(--line); margin: 0; }
.faq .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.08rem; }
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after { content: ""; width: 0.65em; height: 0.65em; flex: none; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 250ms var(--ease-out); margin-right: 0.2em; }
.faq .wp-block-details[open] summary::after { transform: rotate(225deg); }
.faq .wp-block-details p { margin: 0 0 1.25rem; color: var(--ink-2); max-width: 66ch; }

/* ---------- CTA-Block ---------- */
.cta { border-radius: 20px; background: var(--accent); color: #fff; padding: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: #ffd9d4; margin: 0.8rem 0 0; max-width: 46ch; }
.cta > * { position: relative; z-index: 1; }
.cta > img { position: absolute; z-index: 0; right: 4%; top: -28%; width: 19%; opacity: 0.22; pointer-events: none; transform: rotate(-14deg); }
.cta .btn-light { color: var(--accent-ink); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta > img { display: none; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: 0.95rem; color: var(--ink-2); }
.site-foot h4 { margin-bottom: 0.8rem; font-size: 1.05rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-foot a { text-decoration: none; color: inherit; }
.site-foot a:hover { text-decoration: underline; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.88rem; color: var(--ink-3); }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(3rem, 8vh, 6rem) clamp(2rem, 5vh, 3.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-head .lede { margin-top: 1.25rem; }

.gallery { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: auto auto; gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; padding: 2rem; position: relative; overflow: hidden; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure img { width: min(100%, 420px); }
.gallery figure.wide img { width: 100%; max-width: 640px; }
.gallery figcaption { position: absolute; left: 1rem; bottom: 0.9rem; font-size: 0.85rem; color: var(--ink-3); }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } .gallery figure:first-child { grid-row: auto; } }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem; }
.specs dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.25rem; align-content: start; }
.specs dt { color: var(--ink-3); font-size: 0.95rem; padding-top: 0.1rem; }
.specs dd { margin: 0; font-weight: 560; }
.specs h3 { grid-column: 1 / -1; margin-bottom: 0.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr; gap: 2rem; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split img { border-radius: var(--r); }
.split img.plain { border-radius: 0; }
.split ul { padding-left: 1.2rem; color: var(--ink-2); }
.split li + li { margin-top: 0.4rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.tones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tone-card { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.4rem; }
.tone-card .bar { height: 6px; border-radius: 3px; background: var(--line-2); margin-bottom: 1rem; position: relative; overflow: hidden; }
.tone-card .bar i { position: absolute; top: 0; bottom: 0; background: var(--accent); border-radius: 3px; }
.tone-card h3 { font-size: 1.15rem; }
.tone-card p { margin: 0.4rem 0 0; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 720px) { .tones { grid-template-columns: 1fr; } }

.callout { border-radius: var(--r); background: var(--warn-soft); border: 1px solid #ecd6ad; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.callout svg { color: var(--warn); margin-top: 0.15rem; }
.callout p { margin: 0; }

/* ---------- Vergleich ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.98rem; margin: 0; }
.cmp th, .cmp td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); border-left: 0; border-right: 0; border-top: 0; }
.cmp thead th { font-size: 0.9rem; color: var(--ink-3); font-weight: 600; background: var(--bg-2); }
.cmp thead th.us { color: var(--accent-ink); }
.cmp tbody th { font-weight: 600; width: 22%; }
.cmp td.us { background: color-mix(in oklab, var(--accent-soft) 45%, var(--surface)); font-weight: 540; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp .yes, .cmp .no, .cmp .part { display: inline-flex; align-items: flex-start; gap: 0.4rem; }
.cmp .yes svg { color: var(--ok); } .cmp .no svg { color: var(--ink-3); } .cmp .part svg { color: var(--warn); }
.cmp sup a { text-decoration: none; color: var(--accent-ink); font-weight: 600; }
.sources { font-size: 0.9rem; color: var(--ink-3); }
.sources ol { padding-left: 1.4rem; display: grid; gap: 0.35rem; }
.sources a { word-break: break-all; color: inherit; }
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why article { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; }
.why article:nth-child(4n+1) { background: var(--accent-soft); border-color: #f0cfc9; }
.why h3 { font-size: 1.2rem; }
.why p { margin: 0.6rem 0 0; color: var(--ink-2); }
@media (max-width: 720px) { .why { grid-template-columns: 1fr; } }

/* ---------- Formular ---------- */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; }
.form label small { font-weight: 480; color: var(--ink-3); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 0.75rem 0.9rem; min-height: 48px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form .check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.form .check input { width: 20px; height: 20px; min-height: 0; margin-top: 0.2rem; flex: none; accent-color: var(--accent); }
.form .actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form .hint { font-size: 0.9rem; color: var(--ink-3); }
.form button.btn-primary { background: var(--accent); color: #fff; border: 0; }
.form-ok { display: none; border-radius: var(--r); background: #dff1e6; border: 1px solid #bfe3cd; padding: 1.25rem 1.5rem; }
.form-ok[data-show] { display: block; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-side { display: grid; gap: 1.25rem; }
.contact-side .card { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.4rem; }
.contact-side .card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-side .card p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.55rem; margin-top: 2.75rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal address { font-style: normal; }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
.legal td, .legal th { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal .stand { color: var(--ink-3); font-size: 0.92rem; }
