/* Bausanierung Patay – Stylesheet
   Farben: Kalkstein-Papier, Granit-Anthrazit, Ziegelrot aus dem Logo.
   Schriften: Bricolage Grotesque (Überschriften), Inter (Text), lokal gehostet. */

:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --paper-3: #e1dacd;
  --white: #fffdf9;
  --ink: #1c1f21;
  --ink-2: #4a4f53;
  --ink-3: #74797c;
  --line: #d8d1c4;
  --line-dark: #34383b;
  --red: #a3271f;
  --red-dark: #861d16;
  --red-tint: #f3e3df;
  --dark: #17191a;
  --dark-2: #222527;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 31, 33, .06), 0 8px 24px rgba(28, 31, 33, .08);
  --head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--body); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; font-family: var(--head); font-weight: 650; line-height: 1.08; letter-spacing: -.022em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); font-variation-settings: "opsz" 72; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -.012em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.textlink { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.textlink:hover { color: var(--red-dark); }

/* ---------- Eyebrow mit Körnungs-Chip ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px; flex: none;
  background: url(/assets/img/muster/steinteppich-grau-weiss.webp) center/60px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.eyebrow-light { color: rgba(255,255,255,.8); }
.eyebrow-red::before { background: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(244, 241, 235, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(28,31,33,.05); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 46px; height: 32px; color: var(--red); flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-1 { font: 600 11.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.logo-2 { font: 700 23px/1 var(--head); letter-spacing: -.01em; margin-top: 4px; }
.logo-light { color: #fff; }
.logo-light .logo-1 { color: rgba(255,255,255,.65); }
.logo-light .logo-mark { color: #e0574c; }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 12px; font-weight: 500; font-size: 15.5px; text-decoration: none; border-radius: 8px; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current] { color: var(--red); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 30px; margin-left: -8px; background: none; border: 0; cursor: pointer; padding: 0; }
.sub-toggle svg { width: 10px; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.sub a:hover, .sub a[aria-current] { background: var(--paper); color: var(--red); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; color: var(--red); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: .25s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav-mobile-cta { display: none; }

@media (max-width: 1180px) { .header-phone span { display: none; } }
@media (max-width: 1040px) {
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .header-phone, .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--paper); padding: 16px var(--gutter) 120px;
    overflow-y: auto; opacity: 0; visibility: hidden; transition: .25s; margin: 0;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 16px 0; font: 600 22px/1.2 var(--head); }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub-toggle svg { width: 14px; transition: transform .2s; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 12px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .sub a { padding: 10px 0; font-size: 17px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 28px; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter würde das fixe Menü auf Header-Höhe einsperren */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
}

/* ---------- Brotkrumen ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: #e9e5dd; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: rgba(255,255,255,.7); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 12px 64px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--ink-2); max-width: 60ch; font-size: 18px; }
.section-dark .section-head p { color: rgba(233,229,221,.78); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .section-head.split p { margin-bottom: .6em; }
}
.lead { font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

/* ---------- Home-Hero ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); flex: none; transform: translateY(-2px); }
.hero-media { position: relative; }
.hero-media .ba-frame { border-radius: 20px; max-height: min(78vh, 720px); }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px; z-index: 3; background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; max-width: 270px; font-size: 14px; line-height: 1.35;
}
.hero-badge img { width: 44px; height: 44px; border-radius: 10px; }
.hero-badge strong { display: block; font: 650 15px/1.2 var(--head); }
@media (max-width: 959px) { .hero-badge { left: 12px; bottom: 12px; } }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); }
.page-hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.page-hero .hero-img, .page-hero .ba-frame { border-radius: 18px; }
.page-hero .hero-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; max-height: 640px; }
.page-hero-simple { padding-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Vertrauens-Leiste ---------- */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust li { background: var(--paper); padding: 24px clamp(16px, 2vw, 28px); }
.trust strong { display: block; font: 650 clamp(1.6rem, 2.8vw, 2.3rem)/1 var(--head); letter-spacing: -.02em; margin-bottom: 8px; }
.trust span { color: var(--ink-2); font-size: 15px; line-height: 1.45; display: block; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Vorher/Nachher-Regler ---------- */
.ba { margin: 0; }
.ba-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); user-select: none; touch-action: pan-y; width: 100%; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.25); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 0 2px 2px; margin-top: -5px; }
.ba-handle span::before { left: 12px; transform: rotate(45deg); }
.ba-handle span::after { right: 12px; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle span, .ba-frame:focus-within .ba-handle span { outline: 3px solid var(--red); }
.ba-tag { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(23,25,26,.72); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; background: var(--red); }
.ba figcaption, .fig figcaption { font-size: 14.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(4, 1fr); } }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); text-decoration: none;
  background: var(--white); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; min-height: 230px;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.svc-more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--red); }
.svc-chip { width: 54px; height: 54px; border-radius: 12px; margin-bottom: 22px; object-fit: cover; }
.svc-main { background: var(--dark); color: #fff; border-color: var(--dark); overflow: hidden; isolation: isolate; justify-content: flex-end; min-height: 380px; }
.svc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.svc-main:hover .svc-bg { transform: scale(1.04); }
.svc-main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,25,26,0) 25%, rgba(23,25,26,.9) 80%); }
.svc-cta { background: var(--red-tint); border-color: #e9cbc5; }
.services-3 { }
@media (min-width: 1000px) { .services-3 { grid-template-columns: repeat(3, 1fr); } }
.svc-main p { color: rgba(255,255,255,.75); }
.svc-main .svc-more { color: #f08a80; }
@media (min-width: 1000px) {
  .svc-main { grid-column: span 2; grid-row: span 2; padding: 40px; justify-content: flex-end; min-height: 480px; overflow: hidden; isolation: isolate; }
  .svc-cta { grid-column: span 2; }
  .svc-main h3 { font-size: 2.4rem; }
  .svc-main p { font-size: 17px; max-width: 40ch; }
  .svc-main .svc-more { margin-top: 12px; }
}

/* ---------- Text + Bild ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split-rev > :first-child { order: 2; }
  .split-top { align-items: start; }
}
.fig { margin: 0; }
.fig img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.fig-land img { aspect-ratio: 3/2; }

/* ---------- Fließtext ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
.prose a:not(.btn) { color: var(--red); text-underline-offset: 3px; }
.prose strong { font-weight: 650; }
.prose .fig, .prose .ba { margin: 2em 0; }
.content-grid { display: grid; gap: 48px; }
.content-grid > *, .split > *, .page-hero-grid > *, .hero-grid > * { min-width: 0; }
@media (min-width: 1040px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; } }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-card h2 { font-size: 1.4rem; }
.aside-card p { color: var(--ink-2); font-size: 15.5px; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.aside-card li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.aside-card li a:hover { color: var(--red); }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23a3271f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.cols-2 { display: grid; gap: 0 40px; }
@media (min-width: 700px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* Info-Karten */
.cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.card-num { font: 650 14px/1 var(--head); color: var(--red); display: block; margin-bottom: 18px; letter-spacing: .06em; }
.section-dark .card { background: var(--dark-2); border-color: var(--line-dark); }
.section-dark .card p { color: rgba(233,229,221,.75); }

/* Tabelle */
.table-wrap { overflow-x: auto; margin: 1.5em 0 2em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 13px/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td strong { white-space: nowrap; }
.note { font-size: 14.5px; color: var(--ink-3); border-left: 3px solid var(--red); padding: 4px 0 4px 16px; margin: 1.4em 0; }

/* ---------- Prozess ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.process li { background: var(--dark); padding: 32px 28px; }
.process h3 { color: #fff; margin: 18px 0 10px; }
.process p { color: rgba(233,229,221,.72); font-size: 15.5px; margin: 0; }
.step-no { font: 650 15px/1 var(--head); color: #f08a80; letter-spacing: .06em; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.section-alt .process, .section .process.light { background: var(--line); }

/* ---------- Projekte ---------- */
.pairs { display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .pairs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pairs { grid-template-columns: repeat(3, 1fr); } }
.pair { margin: 0; }
.pair-open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; border-radius: var(--radius); overflow: hidden; }
.pair-img { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--paper-3); }
.pair-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pair-open:hover .pair-img img { transform: scale(1.04); }
.pair-tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(23,25,26,.72); color: #fff; }
.pair-tag-after { background: var(--red); }
.pair figcaption { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; }
.section-dark .pair figcaption { color: rgba(233,229,221,.7); }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .photos { grid-template-columns: repeat(4, 1fr); } }
.photo { margin: 0; }
@media (min-width: 800px) { .design-grid .photos { grid-template-columns: repeat(3, 1fr); } }
.photo-open { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-3); cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/4; }
.photo-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-open:hover img { transform: scale(1.04); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter button { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-cat].is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,13,14,.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox-body { width: min(1100px, 100%); max-height: 100%; }
.lightbox-body .ba-frame { max-height: calc(100vh - 120px); margin: 0 auto; }
.lightbox-body > img { max-height: calc(100vh - 100px); width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-body figcaption { color: rgba(255,255,255,.75); text-align: center; }
.lightbox-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }

/* ---------- Farbmuster ---------- */
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (min-width: 700px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .swatches { grid-template-columns: repeat(6, 1fr); } }
.swatches li { font-size: 14px; font-weight: 600; }
.swatches img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: transform .3s; }
.swatches li:hover img { transform: scale(1.04); }

/* ---------- Karte & Regionen ---------- */
.map { margin: 0; }
.map svg { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.map figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.map-bg { fill: var(--paper-2); }
.country { font: 700 13px var(--body); letter-spacing: .3em; fill: #b9b1a2; }
.rhine { fill: none; stroke: #9cb7c4; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.rhine-l { font: italic 500 12px var(--body); fill: #6f8f9e; }
.ring { fill: none; stroke: var(--red); stroke-opacity: .28; stroke-width: 1.2; stroke-dasharray: 4 5; }
.ring-l { font: 600 11px var(--body); fill: var(--red); fill-opacity: .7; }
.town { fill: var(--ink-2); }
.town-l { font: 500 12px var(--body); fill: var(--ink-2); }
.home { fill: var(--red); }
.home-ring { fill: none; stroke: var(--red); stroke-width: 2; opacity: .45; }
.home-l { font: 700 17px var(--head); fill: var(--ink); }
.reg rect { fill: var(--ink); transition: fill .2s; }
.reg text { font: 600 13px var(--body); fill: #fff; }
.reg:hover rect, .reg:focus rect { fill: var(--red); }
.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .regions { grid-template-columns: repeat(2, 1fr); } }
.regions a { display: block; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .2s, transform .2s; }
.regions a:hover { border-color: var(--red); transform: translateY(-2px); }
.regions strong { display: block; font: 650 17px/1.25 var(--head); }
.regions span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.towns li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17.5px/1.35 var(--head); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--red), var(--red)) center/14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center/2px 14px no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq-item > div p:last-child { margin: 0; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--red); color: #fff; padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/assets/img/muster/steinteppich-graphit.webp) center/240px; opacity: .08; mix-blend-mode: multiply; }
.cta-inner { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: 64px; } }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 58ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Über / Zitat ---------- */
.quote { font: 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.35 var(--head); letter-spacing: -.012em; margin: 0 0 24px; text-wrap: pretty; }
.quote-by { font-size: 15px; color: var(--ink-3); }
.section-dark .quote-by { color: rgba(233,229,221,.6); }

/* ---------- Ratgeber ---------- */
.posts { display: grid; gap: 20px; }
@media (min-width: 800px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post div { padding: 24px; }
.post h3 { margin-bottom: 8px; }
.post p { color: var(--ink-2); font-size: 15px; margin: 0; }
.meta { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--body); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[type="file"] { padding: 11px; background: var(--paper); border-style: dashed; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 380px; gap: 72px; align-items: start; } }
.contact-card { background: var(--dark); color: #e9e5dd; border-radius: var(--radius); padding: 32px; }
.contact-card h2 { color: #fff; font-size: 1.5rem; }
.contact-card a { color: #fff; }
.contact-line { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.contact-line span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(233,229,221,.55); }
.contact-line a, .contact-line strong { font: 600 19px/1.35 var(--head); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(233,229,221,.75); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 48px; } }
.footer-brand p { margin: 18px 0; max-width: 36ch; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }
.site-footer h2 { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(233,229,221,.55); }
.footer-credit { margin-left: auto; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 699px) { .footer-credit { margin-left: 0; width: 100%; } }

/* ---------- Mobile Schnellkontakt ---------- */
.quickbar { display: none; }
@media (max-width: 1040px) {
  .quickbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--paper); }
  .quickbar svg { width: 18px; color: var(--red); }
  .quickbar .quickbar-main { background: var(--red); color: #fff; }
  .site-footer { padding-bottom: 80px; }
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Hilfsklassen ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }

/* Prozess auf hellem Grund */
.process.light { background: var(--line); }
.process.light li { background: var(--white); }
.process.light h3 { color: var(--ink); }
.process.light p { color: var(--ink-2); }
.process.light .step-no { color: var(--red); }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
}
.prose .cards { margin: 1.4em 0 1.6em; }
.design-grid .photo:nth-child(3) img { object-position: 4% 50%; }
