/* HundePilot – Vertriebs-Website. Eigenes Layout: warmes Leder-Braun, Petrol als Akzent, eine Pfotenspur als ruhiges Motiv.
   Keine fremden Ressourcen: Schriften lokal, keine Bilder außer eigenen Bildschirmfotos. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f3ece2;
  --ink: #231a12;
  --ink-2: #43372b;
  --muted: #66584a;
  --line: #e6dccd;
  --line-strong: #a8977f;
  --brand: #7a4a1d;
  --brand-strong: #5f3914;
  --brand-soft: #f5e8d8;
  --on-brand: #ffffff;
  --deep: #2a1a0e;
  --on-deep-2: #e6d4be;
  --accent: #4fb3a6;
  --accent-ink: #10201d;
  --accent-text: #1f6d64;
  --link: #6b3f15;
  --focus: #1f6d64;
  --trail: rgba(122, 74, 29, 0.13);
  --shadow: 0 1px 2px rgba(35, 26, 18, 0.06), 0 12px 32px rgba(35, 26, 18, 0.09);
  --radius: 12px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17120d;
    --surface: #201912;
    --surface-2: #2a2118;
    --ink: #f5efe7;
    --ink-2: #dccfbf;
    --muted: #b8a893;
    --line: #3a2e22;
    --line-strong: #6e5d49;
    --brand: #e0a868;
    --brand-strong: #ecbf8a;
    --brand-soft: #3a2a1a;
    --on-brand: #2a1806;
    --deep: #120c07;
    --on-deep-2: #e6d4be;
    --accent: #5cc4b6;
    --accent-ink: #0f1f1c;
    --accent-text: #7fd3c7;
    --link: #ecbf8a;
    --focus: #7fd3c7;
    --trail: rgba(224, 168, 104, 0.10);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* ---- Grundlagen --------------------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.14rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.3em; }
address { font-style: normal; }
code { font-family: var(--mono); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; border: 2px solid var(--focus); }
.skip:focus { top: 12px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 1rem; padding: 5px 13px 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 12px 0 0 -2px var(--accent); margin-right: 10px; flex: none; }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem); color: var(--ink-2); max-width: 62ch; }

/* Pfotenspur: versetzte Punktpaare, nach außen ausgeblendet */
.rings { position: relative; isolation: isolate; overflow: hidden; }
.rings::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -200px; pointer-events: none;
  background-image: radial-gradient(circle at 25% 30%, var(--trail) 0 9px, transparent 10px), radial-gradient(circle at 75% 80%, var(--trail) 0 9px, transparent 10px);
  background-size: 64px 64px; transform: rotate(-24deg);
  -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 68%); mask-image: radial-gradient(circle, #000 25%, transparent 68%); }

/* ---- Kopfzeile ---------------------------------------------------------------------------------------------- */

.masthead { position: sticky; top: 0; z-index: 30; background: var(--surface); background: color-mix(in srgb, var(--surface) 95%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(8px); }
.masthead::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--brand) 0 62%, var(--accent) 62% 100%); }
.masthead__bar { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.22rem; letter-spacing: -0.015em; }
.brand img { border-radius: 10px; }
.brand__by { font-weight: 500; font-size: 0.78rem; color: var(--muted); padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
.mainnav { margin-left: auto; }
.mainnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 9px 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; border-bottom: 2px solid transparent; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.menu { display: none; margin-left: auto; position: relative; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 600; color: var(--ink); background: var(--surface); }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 8px; }
.menu__panel ul { list-style: none; margin: 0; padding: 0; }
.menu__panel a:not(.btn) { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.menu__panel a:not(.btn):hover, .menu__panel a[aria-current="page"] { background: var(--brand-soft); }
@media (max-width: 1120px) { .masthead .mainnav, .masthead .masthead__cta { display: none; } .menu { display: block; } }
@media (max-width: 420px) { .brand__by { display: none; } }

/* ---- Knöpfe ------------------------------------------------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.btn--sm { min-height: 40px; padding: 8px 15px; font-size: 0.95rem; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-strong); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { filter: brightness(1.07); }
.btn--quiet { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--quiet:hover { border-color: var(--brand); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (forced-colors: active) { .btn { border-color: ButtonText; } }

/* ---- Startbereich ------------------------------------------------------------------------------------------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 84px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(2.05rem, 1.25rem + 2.4vw, 3.05rem); }
.hero h1 span { display: block; color: var(--brand); }
.hero .lead { margin-bottom: 1.6rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 1.7rem 0 0; padding: 0; color: var(--ink-2); font-size: 0.93rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.hero__facts .icon { color: var(--accent-text); }
.hero__visual { position: relative; margin: 0; padding: clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px) 28px; background: var(--brand-soft); border-radius: 28px 28px 28px 96px; }
.hero__visual .frame { margin-right: 15%; }
.hero__visual .phone { position: absolute; right: clamp(10px, 2vw, 22px); bottom: 46px; width: 25%; }
.hero__visual figcaption { margin-top: 14px; font-size: 0.82rem; color: var(--ink-2); max-width: 68%; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }

/* Bildschirmfotos */
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.frame__bar { display: flex; gap: 6px; padding: 8px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); opacity: 0.65; }
.frame img { display: block; width: 100%; }
.phone { background: #231a12; padding: 7px; border-radius: 28px; box-shadow: var(--shadow); }
.phone img { display: block; width: 100%; border-radius: 21px; }
.shot { margin: 1.6rem 0 2rem; }
.shot figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.shot--phone { max-width: 290px; }

/* ---- Abschnitte --------------------------------------------------------------------------------------------- */

.section { padding: clamp(54px, 7vw, 100px) 0; }
.section--tight { padding: 28px 0 clamp(52px, 7vw, 88px); }
.section--tint { background: var(--surface-2); }
.section__head { max-width: 780px; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head p:not(.eyebrow) { color: var(--ink-2); }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: inset 0 3px 0 var(--brand-soft); }
.card h3 { margin-top: 14px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: var(--on-brand); }
.role__who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.role__who h3 { margin: 0; }
.role .card__icon { background: var(--brand-soft); color: var(--brand); }
.role .checks { font-size: 0.95rem; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 0.55em; width: 8px; height: 5px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg); }

/* Grundsatz */
.principle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 68px); align-items: start; }
.principle h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.55rem); }
.notlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.notlist li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.notlist .icon { color: var(--brand); }
.principle__points { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.principle__points li { counter-increment: p; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 58px 18px 18px; }
.principle__points li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 700 1.5rem/1 var(--mono); color: var(--accent-text); }
.principle__points h3 { margin-bottom: 0.3em; }
.principle__points p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 900px) { .principle { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .principle__points { grid-template-columns: 1fr; } }

/* Warum jede Kommune */
.reasons { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.reasons li::before { content: counter(r); grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand); font-weight: 700; font-size: 1.15rem; }
.reasons h3 { margin: 4px 0 0.35em; }
.reasons p { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) { .reasons { grid-template-columns: 1fr; } }

/* Ablauf als Spur */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 20px; border-top: 3px dotted var(--brand); opacity: 0.55; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; box-shadow: 0 0 0 6px var(--paper); }
.section--tint .steps li::before { box-shadow: 0 0 0 6px var(--surface-2); }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 1000px) {
  .steps, .steps--4 { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { left: 20px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 3px dotted var(--brand); }
  .steps li { padding: 6px 0 0 64px; min-height: 42px; }
}

/* Vergleich */
.compare th[scope="row"] { font-weight: 600; white-space: nowrap; }
.compare td:last-child { background: color-mix(in srgb, var(--accent) 12%, transparent); }
@media (max-width: 700px) { .compare th[scope="row"] { white-space: normal; } }

/* Funktionen mit Bild */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(22px, 3.4vw, 40px) 0; }
.feature + .feature { border-top: 1px dashed var(--line-strong); }
.feature--flip .feature__media { order: 2; }
.feature--phone { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); }
.feature--phone .feature__media { background: var(--brand-soft); border-radius: 28px; padding: 24px; }
.feature--phone .shot { margin-inline: auto; }
.feature__media .shot { margin: 0; }
.feature__text h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); font-weight: 700; }
@media (max-width: 900px) { .feature, .feature--phone { grid-template-columns: 1fr; } .feature--flip .feature__media { order: 0; } }

/* Themenkarten */
.topic { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); text-decoration: none; border-bottom: 4px solid var(--brand-soft); }
.topic:hover { border-bottom-color: var(--accent); box-shadow: var(--shadow); }
.topic__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: var(--on-brand); margin-bottom: 14px; }
.topic h3 { margin-bottom: 0.35em; }
.topic p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 1rem; }
.topic__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--link); }

/* Argumente */
.argue { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.argue li { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); border-left: 5px solid var(--accent); }
.argue strong { font-size: 1.05rem; }
.argue span { color: var(--ink-2); }
@media (max-width: 760px) { .argue { grid-template-columns: 1fr; } }

/* Häufige Fragen */
.faq { display: grid; gap: 10px; max-width: 920px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; background: var(--brand); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq__answer { padding: 0 20px 18px; color: var(--ink-2); }
.faq__answer p { margin: 0; }

/* Aufruf zum Kontakt */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border-radius: 22px 22px 22px 80px; padding: clamp(26px, 4vw, 46px); }
.cta h2 { color: #fff; margin-bottom: 0.4em; }
.cta p { margin: 0; color: var(--on-deep-2); max-width: 60ch; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
.on-deep { background: var(--deep); color: #fff; }
.on-deep.rings { --trail: rgba(79, 179, 166, 0.16); }
.on-deep a:not(.btn) { color: #fff; }

/* ---- Unterseiten -------------------------------------------------------------------------------------------- */

.pagehead { padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 58px); background: var(--brand-soft); }
.pagehead h1 { max-width: 24ch; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.9rem; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout__aside { position: sticky; top: 96px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .layout__aside { position: static; } }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ol li { margin-bottom: 0.5em; }
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: inset 0 4px 0 var(--accent); }
.glance h2 { font-size: 1.15rem; }
.glance .btn { width: 100%; }
.related { margin-top: clamp(40px, 6vw, 72px); }
.related h2 { font-size: 1.4rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; align-items: start; margin-bottom: 1.6rem; }
.split .phone { margin-top: 6px; }
.split .shot { margin-top: 0; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } .split .phone { max-width: 260px; } }

.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
caption { text-align: left; padding: 14px 16px 4px; font-weight: 600; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; min-height: 46px; }
.field textarea { resize: vertical; }
.field--short input { max-width: 160px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--brand); }
.field--check label { font-weight: 400; }
.form__note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-weight: 500; }
.alert ul { margin: 6px 0 0; }
.alert--ok { background: var(--brand-soft); color: var(--ink); border: 1px solid var(--brand); }
.alert--err { background: #fbe9e6; color: #6a1b10; border: 1px solid #c24a33; }
@media (prefers-color-scheme: dark) { .alert--err { background: #3a1d17; color: #ffd9d0; } }
.address { margin-bottom: 1rem; }
.contact aside .glance { margin-top: 1.5rem; }

/* Rechtliches */
.legal { max-width: 800px; }
.legal h2 { margin-top: 2rem; font-size: 1.45rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.4rem; font-size: 1.08rem; }

/* 404 */
.notfound { padding: clamp(60px, 10vw, 120px) 0; }

/* ---- Fußzeile ----------------------------------------------------------------------------------------------- */

.sitefoot { padding: clamp(42px, 6vw, 66px) 0 28px; font-size: 0.95rem; border-top: 4px solid var(--accent); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.foot-brand img { border-radius: 8px; }
.sitefoot p { color: var(--on-deep-2); }
.sitefoot h2 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8em; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.sitefoot a { color: #fff; text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: var(--on-deep-2); font-size: 0.88rem; }

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

@media print {
  .masthead, .menu, .sitefoot, .cta, .skip, .layout__aside .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero, .pagehead { padding: 16px 0; background: none; }
  .rings::before { display: none; }
  .hero__visual { background: none; }
  a { color: #000; }
}
