/* ==========================================================================
   Abermit Qualität – Frontend
   Gestaltungsprinzip: Fliese & Fuge. Kreideweiß, Fugengrau, Anthrazit,
   das Weinrot aus dem Logo nur als Akzent.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20AC; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20AC; }

:root {
  --chalk: #f6f7f5;
  --tile: #ffffff;
  --grout: #d3d7d5;
  --grout-d: #b9bfbc;
  --ink: #22272a;
  --ink-2: #181c1e;
  --slate: #56656b;
  --red: #aa2c2d;
  --red-d: #8c1f22;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --hd: var(--hd-d, 76px);
  --t: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 112%; line-height: 1.04; letter-spacing: -.02em; font-weight: 640; text-wrap: balance; }
h2 em, h1 em { font-style: normal; color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; }

/* Typo-Bausteine ------------------------------------------------------- */
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); max-width: 18ch; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.kick { font-weight: 700; color: var(--red); margin: 0 0 .9rem; font-size: .95rem; }
.sec-head { margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--slate); max-width: 56ch; margin-top: 1.1rem; }
.prose { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--red); text-underline-offset: 3px; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

/* Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font: 700 1rem/1 var(--text); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s var(--t), color .2s var(--t), border-color .2s var(--t), transform .2s var(--t); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 1.06rem; }

/* Header -------------------------------------------------------------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--grout); }
.hd-in { height: var(--hd); width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.hd-logo { display: block; flex: none; text-decoration: none; }
.hd-logo-img { width: var(--logo-w, 210px); height: auto; max-height: calc(var(--hd) - 12px); object-fit: contain; object-position: left center; }
.wordmark { font: 700 1.25rem/1 var(--display); font-stretch: 112%; display: flex; flex-direction: column; gap: 4px; }
.wordmark small { font: 500 .75rem/1 var(--text); color: var(--slate); }
.hd-nav { display: flex; gap: 4px; margin-left: auto; }
.hd-nav a { padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.hd-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--t); }
.hd-nav a:hover::after, .hd-nav a[aria-current]::after { transform: scaleX(1); }
.hd-nav-phone { display: none; }
.hd:focus { outline: none; }
.hd-call-ico { width: auto; height: 1.75em; aspect-ratio: 14 / 22; flex: none; stroke-width: 1.5; }
.hd-call-t { display: flex; flex-direction: column; }
.hd-call { display: flex; align-items: center; gap: 10px; flex-direction: row; text-decoration: none; padding: 8px 16px; border: 2px solid var(--ink); line-height: 1.15; transition: background .2s, color .2s; }
.hd-call:hover { background: var(--ink); color: #fff; }
.hd-call-l { font-size: .72rem; font-weight: 600; color: inherit; opacity: .7; }
.hd-call-n { font-weight: 800; font-size: .98rem; letter-spacing: .01em; }
.hd-burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 0; background: transparent; padding: 12px; cursor: pointer; }
.hd-burger span:not(.sr) { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .25s var(--t); }
.hd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hd-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --hd: var(--hd-m, 66px); }
  .hd-logo-img { width: var(--logo-w-m, 150px); }
  .hd-call { display: none; }
  .hd-burger { display: block; }
  .hd-nav { position: fixed; inset: var(--hd) 0 auto 0; flex-direction: column; gap: 0; background: var(--tile); border-bottom: 1px solid var(--grout); padding: 8px var(--gut) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--t), visibility 0s .2s; }
  .hd-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s var(--t); }
  .hd-nav a { padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--grout); }
  .hd-nav a::after { display: none; }
  .hd-nav-phone { display: flex; align-items: center; gap: 10px; color: var(--red); font-weight: 800; border-bottom: 0 !important; }
}

/* Hero: Fliesenwand aus Projektfotos ------------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; --s: clamp(56px, 7vw, 96px); background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: var(--s) var(--s); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; left: -25vw; top: -30vw; background: radial-gradient(closest-side, rgba(170,44,45,.28), transparent); pointer-events: none; }
.hero-grid { width: min(1440px, 100% - var(--gut) * 2); margin-inline: auto; min-height: min(calc(100svh - var(--hd)), 980px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding: clamp(40px, 6vh, 80px) 0; }
.hero-k { font-weight: 700; font-size: 1rem; margin-bottom: 1.4rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 12px; }
.hero-k::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero-h { font-size: clamp(3rem, 5.5vw, 7rem); line-height: .9; letter-spacing: -.04em; font-weight: 720; font-stretch: 120%; text-wrap: initial; }
.hero-t { max-width: 42ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); margin: 1.8rem 0 2.2rem; color: rgba(255,255,255,.78); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-phone { display: inline-flex; flex-direction: column; margin-top: 2.4rem; text-decoration: none; font: 700 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--display); font-stretch: 116%; letter-spacing: -.01em; }
.hero-phone span { font: 600 .85rem/1.4 var(--text); color: rgba(255,255,255,.6); letter-spacing: 0; }
.hero-phone:hover { color: #ffd2d2; }

.wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-areas: "a a b c" "a a d r" "e s f t"; gap: 6px; padding: 6px; background: rgba(255,255,255,.1); position: relative; }
.w { margin: 0; position: relative; overflow: hidden; aspect-ratio: 1; background: #2c3235; animation: tile-in .8s var(--t) both; }
.w-a { grid-area: a; aspect-ratio: auto; }
.w-b { grid-area: b; } .w-c { grid-area: c; } .w-d { grid-area: d; } .w-e { grid-area: e; } .w-f { grid-area: f; }
.w-r { grid-area: r; background: var(--red); display: flex; align-items: flex-end; padding: clamp(10px, 1.2vw, 18px); }
.w-r span { font: 700 clamp(.85rem, 1.05vw, 1.05rem)/1.2 var(--display); font-stretch: 108%; }
.w-s { grid-area: s; }
.w-t { grid-area: t; }
.w-img, .w .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w .ph { min-height: 0; }
.w .ph span { font-size: .8rem; }
.w-img-in { animation: tile-swap 1.2s var(--t) both; }
@keyframes tile-swap { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
/* Fliesen „setzen“ sich nacheinander – diagonal wie beim Verlegen */
.w-e { animation-delay: .05s; } .w-a { animation-delay: .12s; } .w-s { animation-delay: .2s; } .w-d { animation-delay: .28s; } .w-f { animation-delay: .34s; }
.w-b { animation-delay: .42s; } .w-r { animation-delay: .5s; } .w-t { animation-delay: .56s; } .w-c { animation-delay: .64s; }
@keyframes tile-in { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: copy-in .9s var(--t) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .3s; }
@keyframes copy-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 16px; }
  .wall { order: -1; grid-template-columns: repeat(3, 1fr); grid-template-areas: "a a b" "a a c" "d r e"; }
  .w-f, .w-s, .w-t { display: none; }
  .hero-h { font-size: clamp(3rem, 13vw, 5.4rem); }
}

/* Über uns ------------------------------------------------------------ */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 110px); align-items: start; }
.about-text .prose { margin-top: 1.8rem; font-size: 1.1rem; }
.about-fig { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.cover, .about-fig img, .feature-media img { width: 100%; height: 100%; object-fit: cover; }
.values { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--grout); border: 6px solid var(--grout); }
.values li { background: var(--tile); padding: clamp(28px, 3.4vw, 48px) clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.values-ico { width: 52px; height: 52px; color: var(--red); margin-bottom: 8px; }
.values span { max-width: 32ch; }
.values strong { font: 700 clamp(1.7rem, 3vw, 2.6rem)/1 var(--display); font-stretch: 116%; letter-spacing: -.02em; }
.values span { color: var(--slate); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-fig { aspect-ratio: 4 / 3; }
  .values { grid-template-columns: 1fr; }
}

/* Leistungen als Fliesenwand -------------------------------------------- */
.services { background: var(--tile); padding: clamp(72px, 10vw, 140px) 0; border-block: 1px solid var(--grout); }
.tilewall { list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--grout); }
.tile { background: var(--chalk); display: flex; flex-direction: column; overflow: hidden; }
.tile-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--grout); }
.tile-media .tile-img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--t); }
.tile:hover .tile-img { transform: scale(1.045); }
.tile-media .ph { min-height: 0; height: 100%; }
.tile-body { padding: clamp(18px, 2vw, 26px); flex: 1; }
.tile h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); margin-bottom: .55rem; }
.tile p { margin: 0; color: var(--slate); font-size: .97rem; line-height: 1.55; }
@media (max-width: 1100px) { .tilewall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tilewall { grid-template-columns: 1fr; } }

/* Schwerpunkt Bad ------------------------------------------------------- */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); padding: clamp(72px, 11vw, 150px) 0; align-items: center; }
.feature-media { position: relative; padding: 0 0 12% 0; }
.feature-a { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; width: 82%; }
.feature-b { margin: 0; position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; border: 10px solid var(--chalk); }
.feature-text .prose { margin: 1.6rem 0; }
.checks { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--grout); }
.checks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--grout); position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--red); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Referenzen als Endlos-Bildband ------------------------------------ */
.refs { padding: clamp(64px, 9vw, 120px) 0; background: var(--ink); color: #fff; overflow: hidden; }
.refs .sec-lead { color: rgba(255,255,255,.75); }
.refs .btn-line { border-color: #fff; color: #fff; }
.refs .btn-line:hover { background: #fff; color: var(--ink); }
.band { display: grid; gap: 6px; }
.band-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; width: max-content; animation: band 90s linear infinite; }
.band-row-1 { animation-direction: reverse; animation-duration: 110s; }
.band:hover .band-row, .band:focus-within .band-row { animation-play-state: paused; }
.band-row li { flex: none; height: clamp(200px, 24vw, 340px); }
.band-row a { display: block; height: 100%; position: relative; overflow: hidden; text-decoration: none; }
.band-row img { height: 100%; width: auto; max-width: none; transition: transform .8s var(--t), filter .4s; }
.band-row a:hover img { transform: scale(1.05); }
.band-row span { position: absolute; left: 0; bottom: 0; background: var(--tile); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 10px; transform: translateY(100%); transition: transform .3s var(--t); }
.band-row a:hover span, .band-row a:focus-visible span { transform: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* Scroll-Reveal: Bild „wird verlegt“ */
.rv { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--t); }
.rv.rv-in { clip-path: inset(0 0 0 0); }

/* Ablauf --------------------------------------------------------------- */
.process { padding: clamp(72px, 11vw, 150px) 0 clamp(40px, 6vw, 80px); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(s); display: block; font: 700 clamp(2.6rem, 5vw, 4.2rem)/1 var(--display); font-stretch: 120%; color: var(--grout-d); margin-bottom: 14px; }
.steps h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.steps p { color: var(--slate); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Partner -------------------------------------------------------------- */
.partners { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 140px); }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.partners-grid .h3 { margin-bottom: 1rem; font-stretch: 105%; }
.plist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--grout); }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--grout); }
.plist span, .plist a { font: 600 clamp(1.15rem, 1.6vw, 1.4rem)/1.2 var(--display); font-stretch: 108%; text-decoration: none; }
.plist a:hover { color: var(--red); }
.plist small { color: var(--slate); font-size: .95rem; text-align: right; }
@media (max-width: 760px) { .partners-grid { grid-template-columns: 1fr; } }

/* Call to Action ------------------------------------------------------- */
.cta { background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; --s: clamp(64px, 9vw, 120px); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: var(--s) var(--s); pointer-events: none; }
.cta-in { position: relative; }
.cta-has-img .cta-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta-fig { margin: 0; justify-self: end; width: 100%; max-width: 500px; }
.cta-fig .cta-img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .cta-has-img .cta-in { grid-template-columns: 1fr; } .cta-fig { max-width: 520px; } }
.cta-h { font-size: clamp(2rem, 4.4vw, 3.8rem); max-width: 20ch; }
.cta-t { color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 48ch; margin: 1.2rem 0 1.4rem; }
.cta-phone { display: inline-block; font: 700 clamp(2rem, 4.6vw, 4rem)/1 var(--display); font-stretch: 116%; letter-spacing: -.02em; text-decoration: none; color: #fff; margin: .3em 0 1em; border-bottom: 3px solid var(--red); padding-bottom: .12em; white-space: nowrap; }
.cta-phone:hover { color: #ffd9de; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-slim { padding: clamp(56px, 8vw, 100px) 0; }
.cta-slim .cta-row { margin-top: 1.6rem; }

/* Footer --------------------------------------------------------------- */
.ft { background: var(--ink-2); color: rgba(255,255,255,.78); font-size: .97rem; }
.ft-in { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; padding: 64px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft a { color: #fff; text-decoration: none; }
.ft a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-logo { width: 220px; height: auto; margin-bottom: 18px; }
.ft-name { font: 700 1.4rem/1.1 var(--display); font-stretch: 112%; color: #fff; }
.ft-brand p:last-child { max-width: 34ch; }
.ft-h { color: #fff; font-weight: 700; margin-bottom: .6rem; }
.ft-base-center { text-align: center; } .ft-base-right { text-align: right; }
.ft-base a { color: inherit; text-underline-offset: 3px; } .ft-base a:hover { color: #fff; }
.ft-base { border-top: 1px solid rgba(255,255,255,.12); width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; padding: 18px 0 28px; font-size: .88rem; color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ft-in { grid-template-columns: 1fr; } }

/* Unterseiten-Kopf ----------------------------------------------------- */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 5vw, 64px); }
.page-head .h1 { max-width: 16ch; }
.page-head.legal { padding-top: clamp(40px, 5vw, 72px); }
.legal .h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: none; }
.prose-legal { margin-top: 1.6rem; max-width: none; }
.prose-legal > h3:first-child { margin-top: 0; }
.legal-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); margin-top: 2rem; }
.legal-cols .prose-legal { margin-top: 0; }
@media (max-width: 860px) { .legal-cols { grid-template-columns: 1fr; gap: 0; } .legal-b > h3:first-child { margin-top: 1.6em; } }
.prose .small { font-size: .8rem; color: var(--slate); }
.empty-note { padding: 40px; border: 1px dashed var(--grout-d); text-align: center; color: var(--slate); }

/* Platzhalter „Bild folgt“ --------------------------------------------- */
.ph { width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; text-align: center; color: var(--slate); font-weight: 700; background-color: #e9ecea; background-image: linear-gradient(var(--grout) 2px, transparent 2px), linear-gradient(90deg, var(--grout) 2px, transparent 2px); background-size: 48px 48px; }
.ph span { background: var(--tile); padding: 10px 16px; }
.ph small { font-weight: 500; }
.hero .ph { background-color: #2d3336; background-image: linear-gradient(rgba(255,255,255,.08) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.08) 2px, transparent 2px); color: var(--ink); }

/* Referenzen-Seite ----------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.chips a { padding: 10px 16px; border: 1px solid var(--grout-d); background: var(--tile); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--ink); }
.chips small { color: var(--slate); margin-left: 4px; }
.ref-groups { padding-bottom: clamp(56px, 8vw, 110px); display: grid; gap: clamp(48px, 7vw, 96px); }
.ref-gh { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--ink); padding-top: 18px; margin-bottom: 18px; }
.ref-gh p { margin: 0; color: var(--slate); }
.ref-desc { color: var(--slate); max-width: 62ch; }
.ref-grid { columns: 3 280px; column-gap: 6px; }
.ref-item { display: block; margin: 0 0 6px; break-inside: avoid; position: relative; overflow: hidden; cursor: zoom-in; background: var(--grout); }
.ref-item img { width: 100%; transition: transform .7s var(--t), filter .3s; }
.ref-item:hover img { transform: scale(1.03); }

/* Vollbild-Feed: nahtlos scrollen, wischen, Mausrad -------------------- */
.feed { position: fixed; inset: 0; z-index: 100; background: #121516; color: #fff; }
.feed[hidden] { display: none; }
.feed-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; outline: 0; }
.feed-scroll::-webkit-scrollbar { display: none; }
.slide { position: relative; height: 100vh; height: 100dvh; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; }
.slide-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(34px) saturate(1.1) brightness(.55); }
.slide-img { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; padding: 64px 0 56px; max-height: 100dvh; box-sizing: border-box; }
.slide figcaption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: min(680px, 92vw); background: rgba(18,21,22,.72); backdrop-filter: blur(8px); padding: 10px 16px; font-size: .95rem; text-align: center; }
.slide-intro, .slide-end { background: var(--ink); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 96px 96px; }
.slide-intro-in { padding: 0 var(--gut); max-width: 900px; }
.slide-intro-k { color: #ff8a9b; font-weight: 700; margin-bottom: 1rem; }
.slide-intro h2, .slide-end h2 { font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .95; letter-spacing: -.03em; font-stretch: 118%; }
.slide-intro-s { font-size: 1.2rem; color: rgba(255,255,255,.8); margin-top: 1rem; }
.slide-intro-d { color: rgba(255,255,255,.75); max-width: 60ch; }
.slide-intro-n { margin-top: 2rem; color: rgba(255,255,255,.6); }
.slide-end .btn { margin-top: 2rem; }
.feed-bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 12px var(--gut); background: linear-gradient(rgba(18,21,22,.85), rgba(18,21,22,0)); pointer-events: none; }
.feed-bar > * { pointer-events: auto; }
.feed-proj { margin: 0; font-weight: 700; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; transition: opacity .25s; }
.feed-proj small { font-weight: 500; color: rgba(255,255,255,.7); }
.feed-proj.is-switching { opacity: 0; }
.feed-count { margin: 0 0 0 auto; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.8); font-size: .95rem; }
.feed-close { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); background: rgba(18,21,22,.5); cursor: pointer; position: relative; flex: none; }
.feed-close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: #fff; }
.feed-close span:first-child { transform: rotate(45deg); }
.feed-close span:last-child { transform: rotate(-45deg); }
.feed-close:hover { background: var(--red); border-color: var(--red); }
.feed-nav { position: absolute; z-index: 3; right: var(--gut); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.feed-nav button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); background: rgba(18,21,22,.5); color: #fff; font-size: 1.2rem; cursor: pointer; }
.feed-nav button:hover { background: #fff; color: var(--ink); }
.feed-hint { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; padding: 8px 14px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: .9rem; pointer-events: none; transition: opacity .5s; }
.feed-hint.is-gone { opacity: 0; }
@media (hover: none), (max-width: 700px) { .feed-nav { display: none; } .slide-img { padding: 58px 0 48px; } }
body.feed-open { overflow: hidden; }

/* Kontakt ------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(72px, 10vw, 140px); align-items: start; }
.contact-info { display: grid; gap: 6px; background: var(--grout); padding: 6px; }
.ci { display: flex; flex-direction: column; gap: 6px; background: var(--tile); padding: 22px 24px; text-decoration: none; }
.ci small { color: var(--slate); font-weight: 600; font-size: .9rem; }
.ci strong { font: 600 1.25rem/1.3 var(--display); font-stretch: 106%; overflow-wrap: anywhere; }
.ci-phone strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-stretch: 116%; }
a.ci:hover strong { color: var(--red); }
.ci-link { color: var(--red); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.cf-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.cf-full { grid-column: 1 / -1; }
.cf label, .cf legend { font-weight: 700; font-size: .95rem; padding: 0; }
.cf input[type=text], .cf input[type=email], .cf input[type=tel], .cf input[type=number], .cf input[type=date], .cf select, .cf textarea { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid var(--grout-d); border-radius: 0; background: var(--tile); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; }
.cf select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(163,23,45,.18); }
.cf textarea { resize: vertical; min-height: 160px; }
.cf-opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.cf-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.cf-consent { font-size: .95rem; }
.cf-consent a { color: var(--red); }
.cf-help { color: var(--slate); }
.cf-err { color: var(--red); font-weight: 700; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--red) !important; }
.req { color: var(--red); }
.cf-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cf-submit small { color: var(--slate); }
.cf-heading { font-size: 1.3rem; margin-top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-err { background: #fdecef; border-left: 4px solid var(--red); padding: 14px 18px; font-weight: 600; }
.form-ok { background: var(--tile); border-left: 6px solid #2f7a52; padding: 32px; }
.form-ok-h { font: 700 1.8rem/1.1 var(--display); font-stretch: 112%; margin-bottom: .6rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf { grid-template-columns: 1fr; } }

/* Bewegung reduzieren -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-row { animation: none; }
  .band { overflow-x: auto; }
  .rv { clip-path: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .hero-tiles { display: none; }
}
@media print {
  .hd, .ft, .cta, .feed, .hero-tiles { display: none !important; }
  body { background: #fff; }
}

/* Cookie-Banner -------------------------------------------------------- */
.cc { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: flex-start; pointer-events: none; }
.cc[hidden] { display: none; }
.cc-in { pointer-events: auto; width: min(560px, 100%); background: var(--tile); color: var(--ink); border-top: 6px solid var(--red); padding: 22px 24px; box-shadow: 0 24px 60px rgba(24,28,30,.28); animation: copy-in .5s var(--t) both; }
.cc-h { font: 700 1.25rem/1.2 var(--display); font-stretch: 110%; margin-bottom: .5rem; }
.cc-t { font-size: .95rem; color: var(--slate); }
.cc-t a { color: var(--red); }
.cc-opts { display: grid; gap: 10px; margin: 0 0 16px; }
.cc-opts[hidden], .cc-b[hidden] { display: none; }
@media (max-width: 560px) { .cc { left: 8px; right: 8px; bottom: 8px; } .cc-in { padding: 16px 18px; } .cc-t { font-size: .88rem; margin-bottom: .8em; } .cc-b { padding: 11px 14px; font-size: .9rem; } }
.cc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--chalk); cursor: pointer; }
.cc-opt input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 2px; flex: none; }
.cc-opt small { display: block; color: var(--slate); font-size: .88rem; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-b { font: 700 .95rem/1 var(--text); padding: 13px 18px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.cc-b:hover { background: var(--ink); color: #fff; }
.cc-b-main { background: var(--red); border-color: var(--red); color: #fff; }
.cc-b-main:hover { background: var(--red-d); border-color: var(--red-d); }
.cc-b-link { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; margin-right: auto; padding-left: 0; }
.cc-b-link:hover { background: none; color: var(--red); }

/* Google-Karte (lädt erst nach Zustimmung) ---------------------------- */
.map-sec { padding: 0 0 0; }
.map { position: relative; height: clamp(360px, 45vw, 520px); background-color: #e9ecea; background-image: linear-gradient(var(--grout) 2px, transparent 2px), linear-gradient(90deg, var(--grout) 2px, transparent 2px); background-size: 64px 64px; display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { background: var(--tile); padding: 28px 32px; max-width: 460px; margin: 16px; text-align: left; border-left: 6px solid var(--red); }
.map-ph-h { font: 700 1.5rem/1.1 var(--display); font-stretch: 112%; margin-bottom: .4rem; }
.map-ph-t { color: var(--slate); font-size: .92rem; }
.map-ph-t a { color: var(--red); }
.map-ph-remember { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: .9rem; color: var(--slate); }
.map-ph-remember input { accent-color: var(--red); width: 18px; height: 18px; }

/* Schwebende Buttons: Cookie-Einstellungen (links) & Nach oben (rechts) */
.fab { position: fixed; z-index: 80; bottom: calc(16px + env(safe-area-inset-bottom)); width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 6px 20px rgba(24,28,30,.25); transition: transform .25s var(--t), opacity .25s var(--t), background .2s; }
.fab[hidden] { display: none; }
.fab-cc { left: calc(16px + env(safe-area-inset-left)); background: var(--tile); color: var(--ink); border: 1px solid var(--grout); }
.fab-cc:hover { background: var(--ink); color: #fff; }
.fab-top { right: calc(16px + env(safe-area-inset-right)); background: var(--red); color: #fff; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; }
.fab-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { background: var(--red-d); }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
body.feed-open .fab, body.cc-open .fab-top { display: none; }
@media (max-width: 560px) { .fab { width: 44px; height: 44px; bottom: calc(12px + env(safe-area-inset-bottom)); } .fab-cc { left: calc(12px + env(safe-area-inset-left)); } .fab-top { right: calc(12px + env(safe-area-inset-right)); } }
@media print { .fab { display: none !important; } }
.hd-nav-phone .hd-call-ico { height: 1.25em; }
.ft a.ft-addr { color: inherit; } .ft a.ft-addr:hover { color: #fff; }
