/* Bodensee Industrieservice – eine Form (die Welle aus dem Logo), zwei Blautöne, eine Schrift. */
@font-face { font-family: Roundo; src: url(/assets/fonts/roundo-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Roundo; src: url(/assets/fonts/roundo-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Roundo; src: url(/assets/fonts/roundo-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #f2f4f6;
  --tile: #e2e8ee;
  --white: #fff;
  --ink: #1d2327;
  --soft: #46525d;
  --blue: #2b5584;
  --blue-press: #234870;
  --deep: #14273d;
  --sky: #cadbeb;
  --pale: #eef3f8;
  --error: #a3271f;
  --ok: #1d6b45;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.375rem, 0.9rem + 5.6vw, 5.25rem);

  --r: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 150px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--step-body)/1.55 Roundo, ui-rounded, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--white); }
.defs { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--deep); color: var(--white); padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec-tile { background: var(--tile); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.h-section { font-size: var(--step-head); color: var(--blue); }
.h-sub, h3 { font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34em; text-wrap: pretty; }
p { text-wrap: pretty; }

/* Die Form: Welle am unteren Bildrand */
.shape, .shape img { clip-path: url(#welle); }
picture.shape img, .shape picture img { width: 100%; height: 100%; object-fit: cover; }
.wave { display: block; width: 100%; height: clamp(34px, 6vw, 90px); }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border: 0; border-radius: 999px; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 56px; padding-inline: 30px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-ghost { background: var(--tile); color: var(--ink); }
.btn-dark, .btn-ink { background: var(--deep); color: var(--white); }
.btn-light { background: var(--pale); color: var(--deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--blue-press); }
  .btn-ghost:hover { background: var(--sky); }
  .btn-dark:hover, .btn-ink:hover { background: var(--blue); }
  .btn-light:hover { background: var(--sky); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow::after { content: ""; width: 1.1em; height: 0.7em; background: currentColor; clip-path: polygon(0 38%, 62% 38%, 62% 0, 100% 50%, 62% 100%, 62% 62%, 0 62%); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(5px); } }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color 200ms ease; }
.site-header.is-stuck { background: var(--white); }
.bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; font-weight: 500; text-decoration: none; transition: background-color 160ms ease; }
.nav-link[aria-current="page"], .has-sub.is-current > .nav-link { color: var(--blue); font-weight: 600; }
.nav-sub-toggle svg { transition: transform 200ms var(--ease-out); }
.nav-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; padding: 10px; background: var(--white); border-radius: var(--r); box-shadow: 0 18px 40px rgb(20 39 61 / 0.16); display: none; opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top left; transition: opacity 160ms ease, transform 180ms var(--ease-out), display 180ms allow-discrete; }
.nav-sub.is-open { display: block; opacity: 1; transform: none; }
@starting-style { .nav-sub.is-open { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.nav-sub a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; }
.nav-sub a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-sub .nav-all { margin-top: 6px; background: var(--ground); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover, .nav-sub a:hover { background: var(--tile); }
}
.nav-mobile-extra, .menu-toggle { display: none; }
.menu-toggle { align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--tile); font-weight: 600; }
.menu-icon { position: relative; width: 20px; height: 12px; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 3px; background: currentColor; transition: transform 220ms var(--ease-out); }
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1059px) {
  .bar-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 16px var(--gutter) 32px; background: var(--white); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s 220ms; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; min-height: 56px; padding-inline: 8px; font-size: var(--step-lead); border-radius: 12px; }
  .nav-sub { position: static; display: none; min-width: 0; padding: 0 0 8px 8px; box-shadow: none; opacity: 1; transform: none; transition: none; }
  .nav-sub.is-open { display: block; }
  .nav-sub a { padding: 12px 14px; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 20px; }
  body.nav-open { overflow: hidden; }
  .site-header:has(.nav.is-open) { background: var(--white); }
}

/* ---------- Startseite: oben ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 110px); }
.hero-field { position: absolute; inset: 0 0 0 auto; width: 34vw; background: var(--blue); }
.hero-field .wave { position: absolute; bottom: -1px; left: 0; width: 100vw; transform: translateX(calc(34vw - 100vw)); fill: var(--ground); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hero-title { font-size: var(--step-display); line-height: 0.98; letter-spacing: -0.035em; color: var(--blue); }
.hero-title span { display: block; }
.hero-title span:last-child { color: var(--ink); }
.hero-lead { margin-top: 28px; max-width: 30em; }
.hero-note { margin-top: 28px; font-size: var(--step-small); color: var(--soft); }
.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: min(78vh, 760px); width: 100%; justify-self: end; background: var(--sky); border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.hero-media .slide, .frame .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1600ms ease; }
.hero-media .slide.is-on, .frame .slide.is-on { opacity: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) { .hero-title { font-size: min(var(--step-display), 5.2vw); } }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-field { inset: auto 0 0 0; width: 100%; height: min(62vw, 420px); }
  .hero-field .wave { width: 100%; transform: none; }
  .hero-media { aspect-ratio: 5 / 4; max-height: none; }
}

/* ---------- Leistungen (Kacheln) ---------- */
.svc-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.svc-head { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 12px; }
.svc a { display: block; text-decoration: none; }
.svc-wide { grid-column: span 2; }
.svc-tile { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--tile); }
.svc-wide .svc-tile { aspect-ratio: auto; height: 0; padding-bottom: calc(62.5% - 3.75px); position: relative; }
.svc-wide .svc-tile picture { position: absolute; inset: 0; }
.svc-tile picture, .svc-tile img { width: 100%; height: 100%; }
.svc-tile img { object-fit: cover; transition: transform 500ms var(--ease-out); }
.svc-name { display: block; margin-top: 14px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--blue); hyphens: auto; overflow-wrap: break-word; }
.svc-fact { display: block; margin-top: 6px; color: var(--soft); font-size: 1rem; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .svc a:hover img, .os-card:hover img, .g-link:hover img { transform: scale(1.04); } }
@media (max-width: 1099px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-head { position: static; max-width: 40em; }
}
@media (max-width: 699px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 8px; }
  .svc-wide { order: -1; }
}

/* ---------- Über uns (dunkle Fläche) ---------- */
.about { padding-top: 0; }
.panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px) 0; background: var(--deep); color: var(--pale); border-radius: var(--r); overflow: hidden; }
.panel .h-section { color: var(--white); max-width: 10em; }
.panel-pic { margin-top: clamp(28px, 4vw, 56px); width: min(100%, 560px); aspect-ratio: 1; margin-bottom: -6%; }
.panel-pic picture { width: 100%; height: 100%; }
.panel-copy { display: grid; gap: 36px; align-content: start; padding-bottom: clamp(32px, 5vw, 72px); justify-items: start; }
.panel-copy h3 { color: var(--white); margin-bottom: 10px; }
@media (max-width: 899px) {
  .panel { grid-template-columns: 1fr; }
  .panel-lead { display: contents; }
  .panel-pic { order: 3; margin-top: 0; }
  .panel-copy { padding-bottom: 0; }
}

/* ---------- Zahlen (gestufte Kacheln) ---------- */
.stats { padding-top: 0; }
.stats-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; grid-template-rows: auto 1fr; gap: 10px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r); }
.stat-num { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.stat-label { max-width: 14em; line-height: 1.35; }
.stat-a { grid-row: 1 / 3; min-height: clamp(320px, 56vh, 520px); background: var(--blue); color: var(--white); }
.stats-head { grid-column: 2 / 4; padding: 4px 8px 28px; display: grid; gap: 10px; align-content: start; }
.stats-head .h-sub { color: var(--blue); }
.stat-b { background: var(--deep); color: var(--pale); }
.stat-c { margin-top: clamp(40px, 9vh, 96px); background: var(--sky); color: var(--deep); }
@media (max-width: 799px) {
  .stats-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 8px; }
  .stats-head { grid-column: 1 / 3; grid-row: 1; padding-inline: 0; }
  .stat-a { grid-column: 1 / 3; grid-row: 2; min-height: 56vw; }
  .stat-b, .stat-c { min-height: 46vw; }
  .stat-c { margin-top: 32px; }
}

/* ---------- Galerie-Rahmen ---------- */
.showcase-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.showcase-copy { display: grid; gap: 22px; justify-items: start; max-width: 30em; }
.frame { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 4 / 5; margin-bottom: 44px; cursor: pointer; }
.frame .slide picture { height: 100%; clip-path: url(#welle); border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: var(--sky); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; top: calc(100% + 12px); left: 0; right: 0; font-size: var(--step-small); color: var(--soft); text-align: center; }
@media (max-width: 899px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .frame { width: min(100%, 420px); }
}

/* ---------- Ablauf ---------- */
.steps-head { display: grid; gap: 18px; max-width: 34em; }
.steps-fig { width: 100%; height: auto; margin-block: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 36px); }
.steps-fig .d0 { fill: var(--sky); }
.steps-fig .d1 { fill: #a9bdd2; }
.steps-fig .d2 { fill: var(--deep); }
.steps-fig .d3 { fill: var(--blue); }
.sec:not(.sec-tile) .steps-fig .d0 { fill: var(--tile); }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); }
.steps-list h3 { color: var(--blue); margin-bottom: 8px; }
.steps-list p { max-width: 24em; }
@media (max-width: 699px) {
  .steps-list { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Text mit Bild ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 80px); }
.split.has-media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.split.is-flip .split-copy { order: 2; }
.split:not(.has-media) .split-copy { max-width: 46em; }
.split-copy { display: grid; gap: 18px; }
.split-copy > p { max-width: 62ch; }
.split-copy .h-section { margin-bottom: 10px; }
.split-list-intro { font-weight: 600; margin-top: 8px; }
.split-media { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; background: var(--sky); border-radius: var(--r) var(--r) 0 0; clip-path: url(#welle); overflow: hidden; }
.split-media picture { width: 100%; height: 100%; }
.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.ticks li { position: relative; padding: 14px 16px 14px 46px; background: var(--white); border-radius: 14px; line-height: 1.35; }
.sec-tile .ticks li { background: var(--ground); }
.ticks li::before { content: ""; position: absolute; left: 14px; top: 19px; width: 22px; height: 10px; background: var(--blue); clip-path: path("M0 5.2C3 1.5 6 0.4 9.5 3.2s6.5 3.4 12.5 0V10H0z"); }
@media (max-width: 899px) {
  .split.has-media { grid-template-columns: 1fr; }
  .split.is-flip .split-copy { order: 0; }
  .split-media { position: static; aspect-ratio: 5 / 4; }
}

/* ---------- Kacheln ---------- */
.points-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
.points-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.point { display: grid; gap: 10px; align-content: start; min-height: 200px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); }
.point.t0 { background: var(--blue); color: var(--white); }
.point.t1 { background: var(--deep); color: var(--pale); }
.point.t2 { background: var(--sky); color: var(--deep); }
.points-list[data-n="6"] .point:nth-child(n + 4).t0 { background: var(--sky); color: var(--deep); }
.points-list[data-n="6"] .point:nth-child(n + 4).t1 { background: var(--blue); color: var(--white); }
.points-list[data-n="6"] .point:nth-child(n + 4).t2 { background: var(--deep); color: var(--pale); }
@media (max-width: 799px) { .points-list { grid-template-columns: 1fr; } .point { min-height: 0; } }

/* ---------- Häufige Fragen ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-grid .h-section { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--tile); border-radius: var(--r); transition: background-color 200ms ease, color 200ms ease; }
.sec-tile .faq-item { background: var(--ground); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 16px 24px; cursor: pointer; list-style: none; border-radius: var(--r); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 3px; background: currentColor; transition: transform 220ms var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] { background: var(--blue); color: var(--white); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 24px; max-width: 54ch; }
.faq-item[open] .faq-a { animation: faq-in 260ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 899px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .h-section { position: static; }
  .faq-item summary { min-height: 64px; padding: 14px 20px; }
  .faq-a { padding: 0 20px 20px; }
}

/* ---------- Anfrage: Abschnitt zum Abtrennen ---------- */
.coupon { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--sky); color: var(--deep); border-radius: var(--r); }
.coupon::before, .coupon::after { content: ""; position: absolute; left: calc(41.666% - 15px); width: 30px; height: 30px; border-radius: 50%; background: var(--ground); }
.coupon::before { top: -15px; }
.coupon::after { bottom: -15px; }
.sec-tile .coupon::before, .sec-tile .coupon::after { background: var(--tile); }
.coupon-copy { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 4vw, 56px); border-right: 5px dotted var(--ground); }
.coupon-copy .h-section { color: var(--deep); }
.coupon-form { padding: clamp(24px, 4vw, 56px); }
.cta-facts { display: grid; gap: 14px; margin-top: auto; padding-top: 16px; }
.cta-facts dt { font-size: var(--step-small); font-weight: 600; }
.cta-facts a { text-decoration: none; font-weight: 600; }
.cta-phone { font-size: var(--step-lead); }
@media (max-width: 899px) {
  .coupon { grid-template-columns: 1fr; }
  .coupon::before, .coupon::after { display: none; }
  .coupon-copy { border-right: 0; border-bottom: 5px dotted var(--ground); }
}

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .picks legend { font-size: 1rem; font-weight: 600; }
.picks legend { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 2px solid transparent; border-radius: 14px; background: var(--white); font-size: 1.0625rem; transition: border-color 160ms ease; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.45; }
.field input::placeholder { color: #6b7782; }
.field input:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: var(--step-small); color: var(--soft); min-height: 2.6em; transition: opacity 200ms ease; }
.field-error { font-size: var(--step-small); font-weight: 600; color: var(--error); }
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: 1rem; font-weight: 500; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.pick input:checked + span { background: var(--deep); color: var(--white); }
.pick input:active + span { transform: scale(0.97); }
.pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field-check { grid-template-columns: 26px 1fr; gap: 6px 12px; align-items: start; }
.field-check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--blue); }
.field-check label { font-size: var(--step-small); font-weight: 400; line-height: 1.45; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.field-captcha { min-height: 0; }
.captcha:not(:empty) { min-height: 65px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form-alt, .form-note { font-size: var(--step-small); }
.form-status { padding: 14px 18px; border-radius: 14px; font-weight: 600; background: var(--white); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--error); }
.form.is-sent > :not(.form-status) { display: none; }
@media (max-width: 599px) { .field-row { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* ---------- Unterseiten: Kopf ---------- */
.page-hero { position: relative; background: var(--sky); color: var(--deep); padding-top: clamp(20px, 3vw, 40px); }
.ph-grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero.has-media .ph-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ph-copy { max-width: 46em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: clamp(20px, 3vw, 40px); font-size: var(--step-small); }
.crumbs li + li::before { content: "/"; margin-inline: 8px; opacity: 0.5; }
.crumbs a { text-underline-offset: 0.2em; }
.page-hero h1 { font-size: var(--step-head); color: var(--blue); hyphens: auto; }
@media (min-width: 900px) { .page-hero h1 { font-size: min(var(--step-display), 5.2vw); letter-spacing: -0.035em; line-height: 1; } }
.ph-kicker { margin-top: 14px; font-size: var(--step-lead); font-weight: 600; line-height: 1.25; }
.page-hero .lead { margin-top: 18px; font-size: var(--step-body); line-height: 1.55; }
.page-hero .btn-ghost { background: var(--white); }
.ph-media { aspect-ratio: 5 / 4; background: var(--white); border-radius: var(--r) var(--r) 0 0; clip-path: url(#welle); overflow: hidden; }
.ph-media picture { width: 100%; height: 100%; }
.page-hero .wave { fill: var(--ground); margin-bottom: -1px; }
.nf-links { display: grid; gap: 10px; margin-top: 32px; }
@media (max-width: 899px) { .page-hero.has-media .ph-grid { grid-template-columns: 1fr; } }

/* ---------- Alle Leistungen ---------- */
.work-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); max-width: 44em; }
.sl { display: grid; gap: clamp(48px, 7vw, 110px); }
.sl-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.sl-row.is-flip .sl-media { order: 2; }
.sl-media { display: block; aspect-ratio: 5 / 4; background: var(--sky); border-radius: var(--r) var(--r) 0 0; clip-path: url(#welle); overflow: hidden; }
.sl-media picture { width: 100%; height: 100%; }
.sl-copy { display: grid; gap: 16px; justify-items: start; max-width: 34em; }
.sl-copy h3 { font-size: var(--step-head); letter-spacing: -0.025em; line-height: 1.05; color: var(--blue); }
.sl-copy h3 a { text-decoration: none; }
@media (max-width: 799px) { .sl-row { grid-template-columns: 1fr; } .sl-row.is-flip .sl-media { order: 0; } }

/* ---------- Weitere Leistungen ---------- */
.other-services { padding-top: 0; }
.other-services .h-section { margin-bottom: clamp(24px, 3vw, 40px); }
.os-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.os-card { display: block; text-decoration: none; }
.os-card picture { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--tile); }
.os-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.os-name { display: block; margin-top: 10px; font-weight: 600; line-height: 1.25; color: var(--blue); }
@media (max-width: 899px) { .os-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; } }

/* ---------- Galerie ---------- */
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--tile); font-weight: 500; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--deep); color: var(--white); }
.chip-n { opacity: 0.7; font-variant-numeric: tabular-nums; }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g-item[hidden], .g-grid:not(.is-all) .g-item[data-more] { display: none; }
.g-link { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--tile); }
.g-link picture, .g-link img { width: 100%; height: 100%; }
.g-link img { object-fit: cover; transition: transform 500ms var(--ease-out); }
.g-more { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 1099px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(12 22 34 / 0.96); color: var(--white); }
.lightbox::backdrop { background: rgb(12 22 34 / 0.6); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lb-in 220ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.98); } }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 64px 16px 8px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) 20px; font-size: var(--step-small); }
.lb-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: var(--white); transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.lb-btn:active { transform: scale(0.94); }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-nav { display: flex; gap: 8px; }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: rgb(255 255 255 / 0.26); } }

/* ---------- Kontaktkarten ---------- */
.visit-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
.visit-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.visit-card { display: grid; gap: 14px; align-content: start; justify-items: start; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); }
.visit-card.t0 { background: var(--blue); color: var(--white); }
.visit-card.t1 { background: var(--deep); color: var(--pale); }
.visit-card.t2 { background: var(--sky); color: var(--deep); }
.visit-card a:not(.btn) { font-weight: 600; }
@media (max-width: 799px) { .visit-cards { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px) var(--sec); }
.prose { max-width: 46em; }
.prose h2 { margin: 2em 0 0.5em; font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.2; color: var(--blue); }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }

/* ---------- Fußzeile ---------- */
.site-footer .wave { fill: var(--deep); margin-bottom: -1px; }
.footer-field { background: var(--deep); color: var(--pale); padding-block: clamp(24px, 4vw, 48px) 28px; }
.footer-mark { display: flex; align-items: flex-end; gap: 4px; height: clamp(110px, 22vw, 300px); font-weight: 600; font-size: clamp(2.2rem, 9vw, 9rem); line-height: 1; letter-spacing: 0; }
.footer-mark span { flex: 1; display: flex; align-items: flex-end; justify-content: center; height: var(--h); padding-bottom: 0.08em; border-radius: clamp(8px, 1.4vw, 20px) clamp(8px, 1.4vw, 20px) 0 0; }
.footer-mark .m0 { background: var(--blue); color: var(--white); }
.footer-mark .m1 { background: var(--sky); color: var(--deep); }
.footer-mark .m2 { background: var(--pale); color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(36px, 5vw, 64px); }
.f-head { margin-bottom: 14px; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--white); }
.f-col ul { display: grid; gap: 8px; }
.f-col p + p { margin-top: 12px; }
.f-col a { text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(36px, 5vw, 64px); font-size: var(--step-small); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { text-decoration: underline; } }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Anrufleiste (Handy) ---------- */
.callbar { display: none; }
@media (max-width: 699px) {
  .callbar { position: fixed; z-index: 40; left: 8px; right: 8px; bottom: 8px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; transform: translateY(calc(100% + 16px)); transition: transform 320ms var(--ease-out); }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .callbar-call { background: var(--sky); color: var(--deep); }
  .callbar-cta { background: var(--blue); color: var(--white); }
  .site-footer { padding-bottom: 0; }
  .footer-field { padding-bottom: 84px; }
}

/* ---------- Bewegung ---------- */
[data-reveal].pre { opacity: 0; transform: translateY(24px); }
[data-reveal] { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.hero-copy > * { animation: rise 800ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 80ms; }
.hero-copy > :nth-child(3) { animation-delay: 160ms; }
.hero-copy > :nth-child(4) { animation-delay: 240ms; }
.hero-media { animation: rise 900ms var(--ease-out) 120ms both; }
.ph-copy > * { animation: rise 700ms var(--ease-out) both; }
.ph-copy > :nth-child(2) { animation-delay: 60ms; }
.ph-copy > :nth-child(3) { animation-delay: 120ms; }
.ph-copy > :nth-child(4) { animation-delay: 180ms; }
.ph-copy > :nth-child(5) { animation-delay: 240ms; }
.ph-media { animation: rise 800ms var(--ease-out) 120ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal].pre { opacity: 1; transform: none; }
  .nav-sub { transition: none; }
  [data-reveal] { transition: opacity 300ms ease; }
  .hero-copy > *, .hero-media, .ph-copy > *, .ph-media, .lightbox[open], .faq-item[open] .faq-a { animation: none; }
  .hero-media .slide, .frame .slide { transition: none; }
  .svc-tile img, .os-card img, .g-link img, .btn, .callbar { transition: none; }
}

@media print {
  .site-header, .callbar, .cta, .site-footer .wave, .footer-mark { display: none; }
  body { background: #fff; }
}
