/* Trockenbau Kampf – Relaunch 2026.
   Marke aus dem Original: Logo, Teal #2f8e92, Dunkel #0f4345, Hell-Teal #5ddade, Roboto, Welle.
   Teal #2f8e92 nur dekorativ/groß; für Text und Buttons --teal-ink (AA-Kontrast auf Weiß). */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-v29-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-v29-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-v29-latin-500.woff2") format("woff2"); }

:root {
  --teal: #2f8e92;
  --teal-ink: #1c6a6d;
  --teal-light: #5ddade;
  --teal-pale: #d9efef;
  --dark: #0f4345;
  --dark-2: #0a3133;
  --dark-hover: #16585b;
  --ink: #1d3436;
  --muted: #4d6365;
  --tint: #eef5f5;
  --line: #d3e1e1;
  --white: #fff;
  --error: #b42318;
  --error-bg: #fdecea;
  --ok-bg: #e3f4ef;
  --on-dark: #e6f1f1;
  --on-dark-muted: #a9c6c7;

  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(100% - 32px, 1240px);
  --head-h: 72px;

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 72px; --space-4xl: 104px;
  --section: clamp(64px, 9vw, 120px);

  --text-sm: 0.9375rem; --text-base: 1.0625rem; --text-lg: 1.25rem;
  --text-h3: 1.25rem; --text-h2: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); --text-h1: clamp(2.25rem, 1.4rem + 4vw, 4.25rem);

  --radius: 6px;
  --shadow: 0 1px 2px rgba(10, 49, 51, 0.06), 0 8px 24px rgba(10, 49, 51, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip;
  background: var(--white); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: var(--text-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }
a { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--dark); }
b, strong { font-weight: 500; }
h1, h2, h3 { font-weight: 500; font-style: normal; color: var(--dark); margin: 0 0 var(--space-md); overflow-wrap: anywhere; min-width: 0; }
h1 { font-size: var(--text-h1); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: var(--text-h2); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.005em; }
:where(ul[role="list"], ol) { list-style: none; margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--head-h) + 16px); }

:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--dark); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 52px; padding: 12px 24px; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--teal-light); color: var(--dark); }
.btn--primary:hover { background: var(--white); color: var(--dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn--solid { background: var(--dark); color: var(--white); }
.btn--solid:hover { background: var(--dark-hover); color: var(--white); }
.btn--outline { border-color: var(--teal-ink); color: var(--teal-ink); }
.btn--outline:hover { background: var(--teal-ink); color: var(--white); }
.btn[data-state="loading"] { opacity: 0.7; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 500; text-decoration: none; color: var(--teal-ink); white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--dark); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:active::after { transform: translateX(6px); }

/* ---------- Kopfzeile ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--white); transition: box-shadow var(--dur) var(--ease-out); }
.site-head.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(10, 49, 51, 0.08); }
.site-head__bar { display: flex; align-items: center; gap: var(--space-md); height: var(--head-h); }
.logo { display: block; flex: none; margin-right: auto; }
.logo img { width: 150px; height: auto; }
.nav ul { display: flex; gap: var(--space-xs); }
.nav a { display: block; padding: 10px 14px; border-radius: var(--radius); color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.nav a:hover { background: var(--tint); color: var(--dark); }
.nav a:active { background: var(--teal-pale); }
.nav a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: var(--radius) var(--radius) 0 0; }
.head-call {
  display: inline-flex; align-items: center; gap: var(--space-xs); flex: none;
  min-height: 44px; padding: 8px 16px; border-radius: var(--radius);
  background: var(--dark); color: var(--white); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out);
}
.head-call:hover { background: var(--dark-hover); color: var(--white); }
.head-call:active { transform: translateY(1px); }
.head-call svg, .callbar svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.menu-btn:hover { background: var(--tint); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--dark); transition: transform var(--dur) var(--ease-out), opacity var(--dur); }
.menu-btn__bars { top: 21px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; left: 0; }
.menu-btn__bars::before { transform: translateY(-7px); }
.menu-btn__bars::after { transform: translateY(7px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: rotate(45deg); background: var(--dark); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: rotate(-45deg); background: var(--dark); }

@media (max-width: 959px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--head-h);
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 16px 24px rgba(10, 49, 51, 0.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; padding: var(--space-xs) 16px var(--space-md); }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 14px; }
}
@media (max-width: 599px) {
  .logo img { width: 128px; }
  .head-call { padding: 8px 12px; }
  .head-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Welle (Markenelement) ---------- */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(24px, 6vw, 88px);
  background: var(--white);
  -webkit-mask: url("../img/welle-2026.svg") center / 100% 100% no-repeat;
  mask: url("../img/welle-2026.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.wave--top { top: -1px; bottom: auto; transform: scaleY(-1); }
.section--tint + .cta .wave--top { background: var(--tint); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 136px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.hero__kicker, .page-hero__kicker { color: var(--teal-light); font-weight: 500; font-size: var(--text-sm); letter-spacing: 0.04em; margin-bottom: var(--space-md); }
.hero h1 { color: var(--white); max-width: 13ch; }
.hl { color: var(--teal-light); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 300; line-height: 1.55; max-width: 34em; color: var(--on-dark); margin-bottom: var(--space-xl); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-2xl); }
.hero__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: var(--space-lg); font-size: var(--text-sm); color: var(--on-dark-muted); }
.hero__facts b { display: block; color: var(--white); font-size: 1rem; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero__media figcaption { margin-top: var(--space-xs); font-size: 0.8125rem; color: var(--on-dark-muted); }
@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-3xl); }
  .hero__media img { aspect-ratio: 4 / 5; max-height: 74vh; }
}

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { position: relative; background: var(--dark); color: var(--on-dark); padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero__lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 300; max-width: 46em; }
.page-hero a { color: var(--teal-light); }
.page-hero a:hover { color: var(--white); }
.page-hero--plain { padding-bottom: clamp(40px, 6vw, 72px); }
.jump { margin-top: var(--space-xl); }
.jump ul { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.jump a {
  display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white); text-decoration: none; font-size: var(--text-sm); white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.jump a:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }

/* ---------- Abschnitte ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section-head { max-width: 46em; margin-bottom: var(--space-2xl); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section__more { margin-top: var(--space-2xl); }

/* ---------- Vertrauen + Logo-Laufband ---------- */
.trust { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.trust__title { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); text-align: center; max-width: 40em; margin: 0 auto var(--space-xl); line-height: 1.5; }
.trust__more { text-align: center; margin-top: var(--space-xl); }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; flex: none; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px);
  min-height: 72px; animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee li { flex: none; display: flex; align-items: center; }

.logo-mark { width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.65; transition: filter var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.logo-mark--wide { height: 32px; }
.logo-mark--mid { height: 44px; }
.logo-mark--square { height: 60px; }
.logo-mark--light { filter: grayscale(1) invert(1); }
.marquee li:hover .logo-mark, .tiles li:hover .logo-mark { filter: none; opacity: 1; }
.marquee li:hover .logo-mark--light, .tiles li:hover .logo-mark--light { filter: invert(1); }
/* Sonderfälle: gering aufgelöste Raster-Logos nicht hochskalieren, flächige Logos zurücknehmen */
.logo-mark[data-slug="haus-der-kueche"], .logo-mark[data-slug="steinberger"] { height: 52px; }
.logo-mark[data-slug="straubinger-tagblatt"] { height: 26px; }
.logo-mark[data-slug="leutner-gruber"] { height: 26px; opacity: 0.45; }
.logo-mark[data-slug="citydom"] { height: 30px; }
.logo-word { font-weight: 500; font-size: 1.0625rem; color: var(--muted); white-space: nowrap; letter-spacing: -0.005em; }

/* ---------- Leistungs-Karten ---------- */
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
.card {
  position: relative; padding: var(--space-xl) var(--space-lg); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card img { width: 56px; height: 56px; margin-bottom: var(--space-md); }
.card h3 a { color: var(--dark); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:focus-visible { outline: none; }
.card:has(a:focus-visible) { outline: 3px solid var(--teal-light); outline-offset: 3px; }
.card p { color: var(--muted); font-size: 1rem; }
.card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.card:hover h3 a { color: var(--teal-ink); }
.card:active { transform: translateY(0); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Projekt-Feature ---------- */
.feature { background: var(--tint); padding: var(--section) 0; }
.feature__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); align-items: center; }
.feature__media { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.feature__big, .feature__small, .gallery__item { display: block; padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.feature__big img, .feature__small img, .gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out), opacity var(--dur); }
.feature__big:hover img, .feature__small:hover img, .gallery__item:hover img { transform: scale(1.03); }
.feature__big:active img, .feature__small:active img, .gallery__item:active img { opacity: 0.85; }
.feature__big { aspect-ratio: 4 / 3; }
.feature__small { display: none; }
@media (min-width: 960px) {
  .feature__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-4xl); }
  .feature__media { padding-right: 18%; padding-bottom: 12%; }
  .feature__small { display: block; position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 4; border: 6px solid var(--tint); }
}

/* ---------- Über uns & Team ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); align-items: start; margin-bottom: var(--space-3xl); }
.about__img { margin: 0; }
.about__img img { width: 100%; border-radius: var(--radius); }
.about__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.about__cols h3 { color: var(--teal-ink); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-sm); background: var(--line); }
.person p { font-size: var(--text-sm); color: var(--muted); line-height: 1.45; }
.person b { display: block; color: var(--dark); font-size: 1.0625rem; }
.person__link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.person__link img { transition: opacity var(--dur) var(--ease-out); }
.person__link:hover img { opacity: 0.88; }
.person__link:active img { opacity: 0.8; }
.person__more { display: block; margin-top: 2px; color: var(--teal-ink); font-weight: 500; }
.person__link:hover .person__more { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) {
  .about { grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); gap: var(--space-3xl); }
  .about__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { max-width: 880px; gap: var(--space-xl); }
}
@media (max-width: 479px) { .team { gap: var(--space-sm); } .person p { font-size: 0.8125rem; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: var(--space-2xl); border-top: 2px solid var(--line); }
.steps li::before {
  content: counter(step); position: absolute; top: -20px; left: 0;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark); color: var(--white); font-weight: 500;
}
.steps h3 { margin-bottom: var(--space-xs); }
.steps p { color: var(--muted); font-size: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-2xl); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Kontakt-Band ---------- */
.cta { position: relative; background: var(--dark); color: var(--on-dark); padding: calc(var(--section) + 40px) 0 var(--section); }
.cta h2 { color: var(--white); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.cta__list { display: grid; gap: var(--space-sm); }
.cta__list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; }
.cta__list span { color: var(--on-dark-muted); font-size: var(--text-sm); }
.cta__list a { color: var(--white); font-size: 1.125rem; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.cta__list a:hover { color: var(--teal-light); text-decoration: underline; }
.cta .btn { justify-self: start; }
@media (min-width: 1000px) { .cta__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: var(--space-3xl); } }

/* ---------- Leistungen (Unterseite) ---------- */
.services { padding: var(--section) 0 0; display: grid; gap: clamp(64px, 9vw, 120px); padding-bottom: var(--section); }
.service { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; }
.service__icons { display: flex; gap: var(--space-xs); margin-bottom: var(--space-md); }
.service__icons img { width: 48px; height: 48px; }
.service__text > p { color: var(--muted); }
.service__media { margin: 0; }
.service__media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.service__media--icon { display: none; place-items: center; min-height: 240px; background: var(--tint); border-radius: var(--radius); }
.service__media--icon img { width: 140px; height: 140px; opacity: 0.9; }
.ticks { display: grid; gap: var(--space-xs); margin: var(--space-lg) 0; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4xl); }
  .service--flip .service__text { order: 2; }
  .service__media--icon { display: grid; min-height: 340px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-lg) 0; font-weight: 500; font-size: 1.125rem; color: var(--dark);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--teal-ink); transition: transform var(--dur) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--teal-ink); }
.faq__a { padding: 0 0 var(--space-lg); color: var(--muted); max-width: 46em; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.gallery__item { aspect-ratio: 3 / 4; }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
@media (min-width: 800px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery__item:nth-child(6), .gallery__item:nth-child(7) { grid-column: span 2; aspect-ratio: 16 / 10; }
}

/* ---------- Partner-Filter & Kacheln ---------- */
.filter { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.filter button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font: inherit; font-weight: 500; font-size: var(--text-sm); color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.filter button:hover { border-color: var(--teal); color: var(--teal-ink); }
.filter button:active { transform: translateY(1px); }
.filter button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--white); }
.filter .filter__all { background: transparent; border-style: dashed; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.tiles li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: opacity var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.tiles li > a, .tiles li > .tile__logo:only-child { text-decoration: none; }
.tiles li > a, .tiles li > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 128px; padding: var(--space-md); text-align: center; height: 100%; }
.tiles li > a > .tile__logo, .tiles li > .tile__logo { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0; }
.tiles li > .tile__logo { min-height: 128px; padding: var(--space-md); }
.tiles li:has(> .tile__name) { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-md); min-height: 128px; gap: var(--space-xs); }
.tiles li:has(> .tile__name) > .tile__logo { min-height: 0; padding: 0; }
.tile__name { font-size: 0.8125rem; color: var(--muted); line-height: 1.3; }
.tiles .logo-word { white-space: normal; font-size: 1rem; color: var(--ink); }
.tiles a:hover .logo-word { color: var(--teal-ink); }
.tiles li:hover { border-color: var(--teal); }
.tiles.is-filtered li:not(.selected) { opacity: 0.3; }
.tiles.is-filtered li.selected { border-color: var(--teal); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Kontakt-Seite ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3xl); align-items: start; }
.contact-cards { display: grid; gap: var(--space-sm); margin-bottom: var(--space-2xl); }
.contact-card {
  display: block; padding: var(--space-lg); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.contact-card span { display: block; font-size: var(--text-sm); color: var(--muted); }
.contact-card b { display: block; font-size: clamp(1.125rem, 1rem + 1vw, 1.5rem); color: var(--dark); overflow-wrap: anywhere; }
.contact-card:hover { border-color: var(--teal); background: var(--tint); }
.contact-card:active { background: var(--teal-pale); }
.contact-card--primary { position: relative; border: 2px solid var(--teal-ink); background: var(--tint); }
.contact-card--primary b { color: var(--teal-ink); font-size: clamp(1.375rem, 1.1rem + 1.4vw, 1.875rem); }
.contact-card--primary small { display: block; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--muted); line-height: 1.45; }
.contact-card__badge { display: inline-block !important; margin-bottom: var(--space-xs); padding: 2px 10px; border-radius: 999px; background: var(--teal-ink); color: var(--white) !important; font-size: 0.8125rem !important; font-weight: 500; letter-spacing: 0.02em; }
.address h2 { font-size: 1.25rem; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-4xl); } }

.form { background: var(--tint); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form__intro { color: var(--muted); margin-bottom: var(--space-xl); }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 500; font-size: var(--text-sm); color: var(--dark); margin-bottom: var(--space-xs); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #a9bfc0; border-radius: var(--radius); background: var(--white);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 144px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px var(--teal-light); }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--tint); cursor: not-allowed; opacity: 0.7; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); background: var(--error-bg); }
.field__err { color: var(--error); font-size: var(--text-sm); margin: var(--space-xs) 0 0; }
.form__note { font-size: var(--text-sm); color: var(--muted); margin: var(--space-lg) 0; }
.form__status { padding: var(--space-md); border-radius: var(--radius); font-size: var(--text-sm); }
.form__status[data-state="ok"] { background: var(--ok-bg); color: var(--dark); }
.form__status[data-state="error"] { background: var(--error-bg); color: var(--error); }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }

/* Karte (2-Klick) */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); height: clamp(380px, 50vw, 560px); }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; gap: var(--space-md); padding: var(--space-xl); text-align: center; max-width: 620px; margin: auto; color: var(--muted); }
.map__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 404 / Rechtliches ---------- */
.notfound { display: grid; gap: var(--space-md); font-size: 1.125rem; }
.legal { padding: var(--section) 0; max-width: 820px; }
.legal h2 { font-size: 1.375rem; margin-top: var(--space-2xl); }
.legal h3 { font-size: 1.125rem; margin-top: var(--space-lg); }
.legal p, .legal li { color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--dark-2); color: var(--on-dark-muted); padding: var(--space-3xl) 0 var(--space-lg); font-size: var(--text-sm); }
.foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.foot__brand img { width: 170px; background: var(--white); padding: 10px 14px; border-radius: var(--radius); margin-bottom: var(--space-md); box-sizing: content-box; }
.foot__brand p { color: var(--on-dark); }
.foot__since { color: var(--on-dark-muted) !important; }
.foot__h { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-sm); }
.foot__list { display: grid; gap: var(--space-xs); }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--teal-light); text-decoration: underline; }
.foot__copy { padding-top: var(--space-lg); margin: 0 auto; font-size: 0.8125rem; }
@media (min-width: 640px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }

/* ---------- Mobile Schnellkontakt ---------- */
.callbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: 64px; }
  .callbar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--line);
    box-shadow: 0 -4px 16px rgba(10, 49, 51, 0.12); padding-bottom: env(safe-area-inset-bottom);
  }
  .callbar__btn { display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 56px; background: var(--white); color: var(--dark); font-weight: 500; text-decoration: none; white-space: nowrap; }
  .callbar__btn:active { background: var(--tint); }
  .callbar__btn--call { background: var(--dark); color: var(--white); }
  .callbar__btn--call:active { background: var(--dark-hover); }
}

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(6, 26, 27, 0.94); }
.lightbox[open] { display: grid; place-items: center; animation: fade 250ms var(--ease-out); }
.lightbox figure { margin: 0; display: grid; place-items: center; gap: 12px; padding: 56px 64px 24px; max-height: 100dvh; }
.lightbox img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { text-align: center; }
.lb-btn { position: fixed; z-index: 2; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); width: 48px; height: 48px; cursor: pointer; display: grid; place-items: center; transition: background-color var(--dur) var(--ease-out); }
.lb-btn:hover { background: var(--teal); }
.lb-btn:active { transform: scale(0.96); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
.lightbox[data-single] .lb-prev, .lightbox[data-single] .lb-next { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .lightbox figure { padding: 64px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; flex: 1 1 auto; padding: 0 16px; row-gap: var(--space-xl); }
  .marquee__track[aria-hidden="true"] { display: none; }
  .card:hover { transform: none; }
}
