/* ==========================================================================
   RK Bauklempnerei — Design System
   Palette (5 Farben):
   --ink    #1d1d1f  (Fast-Schwarz, Headlines & dunkle Sektionen)
   --white  #ffffff
   --fog    #f5f5f7  (helles Grau, Flächen)
   --grey   #6d6d6d  (Markengrau, Fließtext sekundär)
   --copper #a56b25  (Kupfer, Akzent & CTAs)
   ========================================================================== */

@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/inter-800.woff2') format('woff2'); }

:root {
  --ink:    #1d1d1f;
  --white:  #ffffff;
  --fog:    #f5f5f7;
  --grey:   #6d6d6d;
  --copper: #a56b25;
  --copper-light: #c68b45;
  --copper-dark:  #8a5716;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius: 2px;
  --radius-lg: 2px;
  --shadow-soft: none;
  --shadow-lift: 0 24px 48px rgba(29,29,31,.10);
  --nav-h: 64px;

  --hairline: 1px solid rgba(29,29,31,.14);
  --hairline-strong: 1px solid rgba(29,29,31,.4);
  --hairline-inv: 1px solid rgba(255,255,255,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: var(--copper); color: var(--white); }

/* ---------- Typografie ---------- */

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }

.display   { font-size: clamp(2.6rem, 6.5vw, 5rem);   font-weight: 800; letter-spacing: -.03em; }
.headline  { font-size: clamp(2rem, 4.5vw, 3.4rem);   font-weight: 800; letter-spacing: -.025em; }
.subhead   { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
.lead      { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--grey); font-weight: 400; line-height: 1.55; }

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}

.text-copper { color: var(--copper); }
.text-grey   { color: var(--grey); }
.text-center { text-align: center; }

/* ---------- Layout ---------- */

.container { width: min(1180px, 92vw); margin-inline: auto; }
.container-narrow { width: min(860px, 92vw); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,.72); }
.section-dark .text-grey { color: rgba(255,255,255,.6); }
.section-fog  { background: var(--fog); }

.grid-2 { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 .swap-first { order: -1; }
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: var(--hairline);
}
.nav-inner {
  width: min(1180px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: rgba(29,29,31,.66); font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  background: var(--copper); color: #fff !important; font-weight: 600;
  padding: 10px 20px; border-radius: var(--radius); font-size: .9rem;
  transition: background .2s;
}
.nav-cta:hover { background: var(--copper-dark); text-decoration: none; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(255,255,255,.98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 12px 6vw 28px;
    border-bottom: var(--hairline);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .nav.open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(29,29,31,.08); }
  .nav-links a { display: block; padding: 16px 0; font-size: 1.15rem; }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font); font-size: 1rem; font-weight: 600;
  padding: 14px 30px; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-dark); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(29,29,31,.35); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); background: rgba(29,29,31,.03); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 17px 38px; font-size: 1.06rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.link-arrow { font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: ' →'; transition: transform .2s; display: inline-block; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero V4: Typo-Statement (editorial, weiß) ---------- */

.hero-v4 {
  background: var(--white); color: var(--ink);
  padding: var(--nav-h) 0 0;
}
.hero-v4 > .container {
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
}
.hero-v4 .display-xl {
  font-size: clamp(3.2rem, 9.2vw, 7.8rem);
  line-height: .92; letter-spacing: -.045em; font-weight: 800;
  margin: 0 0 clamp(20px, 2.4vw, 34px);
}
.h-texture {
  background-image: linear-gradient(rgba(165,107,37,.18), rgba(165,107,37,.18)), url('../img/kupfer-textur.jpg');
  background-size: cover; background-position: center 30%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-v4 .eyebrow { margin-bottom: clamp(20px, 2.4vw, 34px); }

.hero-v4-wrap {
  display: grid; gap: clamp(24px, 4vw, 88px); grid-template-columns: 1fr;
  align-items: start; padding-bottom: clamp(28px, 3.2vw, 44px);
}
@media (min-width: 960px) {
  .hero-v4-wrap { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
  .hero-v4-wrap .hero-index { align-self: end; margin-bottom: 2px; }
}
.hero-v4 .lead { max-width: 560px; font-size: clamp(1.02rem, 1.35vw, 1.2rem); margin: 0 0 24px; }
.hero-v4 .btn { padding: 13px 26px; }

.hero-index { list-style: none; margin: 0; padding: 0; border-top: var(--hairline-strong); }
.hero-index li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 2px; border-bottom: var(--hairline); font-size: .95rem;
}
.hero-index li span:first-child { color: var(--grey); }
.hero-index li span:last-child { font-weight: 600; text-align: right; }

.hero-figure { margin: 0; position: relative; overflow: hidden; }
.hero-figure picture, .hero-figure img {
  display: block; width: 100%; height: clamp(340px, 62vh, 640px); object-fit: cover;
}
.hero-figure .figcap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px min(4vw, 34px); color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, transparent, rgba(29,29,31,.55));
}
.hero-figure .figcap b { color: #fff; }

/* ---------- Editoriale Sektions-Köpfe ---------- */

.sec-head {
  display: grid; grid-template-columns: auto 1fr; gap: 18px clamp(18px, 3vw, 44px);
  align-items: baseline;
  border-top: var(--hairline-strong);
  padding-top: 22px; margin-bottom: clamp(36px, 5vw, 64px);
}
.section-dark .sec-head { border-top-color: rgba(255,255,255,.4); }
.sec-num {
  font-size: .9rem; font-weight: 700; letter-spacing: .14em;
  color: var(--copper); font-variant-numeric: tabular-nums;
}
.sec-head .headline { margin-bottom: 0; }
.sec-head .lead { margin: 14px 0 0; max-width: 640px; }
.sec-head .eyebrow { margin-bottom: 6px; }

/* Sub-page hero (editorial: weiß, Hairline unten) */
.page-hero {
  background: var(--white); color: var(--ink);
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 110px)) 0 clamp(44px, 6vw, 84px);
  border-bottom: var(--hairline);
}
.page-hero .display { font-size: clamp(2.8rem, 7.5vw, 6rem); letter-spacing: -.035em; }
.page-hero .lead { max-width: 700px; }

/* ---------- Reveal Animationen ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint .chev { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Karten / Leistungen ---------- */

.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: #fff;
  color: var(--ink);
  border: var(--hairline);
  transition: border-color .3s var(--ease);
}
.card:hover { border-color: rgba(29,29,31,.55); text-decoration: none; }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.card-body p { margin: 0 0 12px; color: var(--grey); font-size: .98rem; }
.card .link-arrow { font-size: .95rem; }

/* ---------- Zahlen / Stats ---------- */

.stats { display: grid; gap: 32px 0; grid-template-columns: repeat(2, 1fr); text-align: left; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { padding: 6px 28px 2px; border-left: var(--hairline); }
.section-dark .stats > div { border-left: var(--hairline-inv); }
.stat-num {
  font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--copper); line-height: 1;
}
.stat-label { margin-top: 12px; color: var(--grey); font-weight: 500; font-size: .95rem; max-width: 240px; }
.section-dark .stat-label { color: rgba(255,255,255,.65); }

/* ---------- Media Block (Bild + Text) ---------- */

.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: var(--hairline); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Bild mit Bildunterschrift (editorial) */
figure.media-frame, .fig { margin: 0; }
.figcap {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 2px 0; font-size: .82rem; color: var(--grey);
  letter-spacing: .02em;
}
.figcap b { font-weight: 600; color: var(--ink); }

.checklist { list-style: none; margin: 20px 0 0; padding: 0; }
.checklist li { position: relative; padding: 7px 0 7px 34px; color: var(--ink); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--copper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/100% no-repeat;
}
.section-dark .checklist li { color: rgba(255,255,255,.85); }

/* ---------- Interaktiv: Klempner-oder-Installateur ---------- */

.quiz-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.quiz-chip {
  font-family: var(--font); font-size: 1rem; font-weight: 600; cursor: pointer;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid rgba(29,29,31,.22);
  background: #fff; color: var(--ink);
  transition: all .3s var(--ease);
}
.quiz-chip:hover { border-color: var(--ink); }
.quiz-chip.is-klempner { background: var(--copper); border-color: var(--copper); color: #fff; }
.quiz-chip.is-other { background: var(--fog); border-color: transparent; color: var(--grey); text-decoration: line-through; }
.quiz-chip .tag { display: none; font-size: .78rem; font-weight: 700; margin-left: 8px; opacity: .9; }
.quiz-chip.is-klempner .tag.yes { display: inline; }
.quiz-chip.is-other .tag.no { display: inline; }
.quiz-note { margin-top: 22px; color: var(--grey); font-size: .95rem; }

/* ---------- Timeline ---------- */

.timeline { position: relative; margin-top: 50px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--copper), rgba(165,107,37,.15));
}
.tl-item { position: relative; padding: 0 0 42px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--white); border: 4px solid var(--copper);
  box-shadow: 0 0 0 4px rgba(165,107,37,.12);
}
.section-dark .tl-item::before { background: var(--ink); }
.tl-year { font-weight: 800; color: var(--copper); font-size: 1.05rem; letter-spacing: .02em; }
.tl-item h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.tl-item p { margin: 0; color: var(--grey); max-width: 640px; }
.section-dark .tl-item p { color: rgba(255,255,255,.7); }

/* ---------- Werkstoff-Explorer ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab-btn {
  font-family: var(--font); font-size: .98rem; font-weight: 600; cursor: pointer;
  padding: 11px 24px; border-radius: var(--radius); border: 1px solid rgba(29,29,31,.2);
  background: #fff; color: var(--ink); transition: all .25s var(--ease);
}
.tab-btn:hover { border-color: var(--ink); }
.tab-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: grid; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.material-swatch {
  aspect-ratio: 16/9; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.material-swatch::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%, rgba(0,0,0,.12) 100%);
}
.swatch-kupfer    { background: linear-gradient(135deg, #c9884a 0%, #a56b25 45%, #7d4e14 100%); }
.swatch-zink      { background: linear-gradient(135deg, #b8bcc0 0%, #8e9499 50%, #6d7378 100%); }
.swatch-aluminium { background: linear-gradient(135deg, #e8eaec 0%, #c4c8cc 50%, #a8adb2 100%); }
.swatch-edelstahl { background: linear-gradient(135deg, #d7dadd 0%, #9fa5aa 40%, #c9cdd1 70%, #82888e 100%); }
.swatch-verbund   { background: linear-gradient(135deg, #4a4a4c 0%, #2c2c2e 60%, #1d1d1f 100%); }

.material-facts { list-style: none; padding: 0; margin: 18px 0 0; }
.material-facts li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(29,29,31,.08); font-size: .98rem; }
.material-facts li span:first-child { color: var(--grey); }
.material-facts li span:last-child { font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid rgba(29,29,31,.1); }
.faq-item { border-bottom: 1px solid rgba(29,29,31,.1); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: var(--font); font-size: 1.12rem; font-weight: 600; text-align: left;
  background: none; border: 0; cursor: pointer; padding: 22px 4px; color: var(--ink);
}
.faq-q .faq-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--fog); position: relative; transition: transform .35s var(--ease), background .3s;
}
.faq-q .faq-icon::before, .faq-q .faq-icon::after {
  content: ''; position: absolute; inset: 0; margin: auto; background: var(--ink);
  width: 12px; height: 2px; border-radius: 2px; transition: transform .35s var(--ease), background .3s;
}
.faq-q .faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon { background: var(--copper); transform: rotate(45deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; color: var(--grey); max-width: 760px; }
.faq-a-inner p { margin: 0 0 12px; }

/* ---------- Formulare ---------- */

.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(29,29,31,.15);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(165,107,37,.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--grey); margin-top: 6px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--grey); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--copper); flex: 0 0 auto; }

.form-status { margin-top: 18px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1a7f37; }
.form-status.err { display: block; color: #b3261e; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Bewerbungs-Funnel ---------- */

.funnel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: clamp(26px, 4vw, 48px); }
.funnel-progress { display: flex; gap: 8px; margin-bottom: 34px; }
.funnel-progress span { flex: 1; height: 5px; border-radius: 3px; background: rgba(29,29,31,.1); transition: background .4s; }
.funnel-progress span.done { background: var(--copper); }

.funnel-step { display: none; }
.funnel-step.active { display: block; animation: fadein .45s var(--ease); }

.choice-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 700px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice {
  position: relative; cursor: pointer; border-radius: var(--radius); border: 1.5px solid rgba(29,29,31,.14);
  padding: 22px 20px; background: #fff; transition: all .25s var(--ease);
}
.choice:hover { border-color: var(--ink); transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .choice-title { font-weight: 700; font-size: 1.05rem; display: block; margin-bottom: 4px; }
.choice .choice-sub { font-size: .9rem; color: var(--grey); }
.choice.selected { border-color: var(--copper); background: rgba(165,107,37,.06); box-shadow: 0 0 0 3px rgba(165,107,37,.15); }

.funnel-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }

/* ---------- Kantteil-Konfigurator ---------- */

.konfig { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: clamp(26px, 4vw, 48px); }
.profil-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .profil-grid { grid-template-columns: repeat(4, 1fr); } }
.profil {
  cursor: pointer; border-radius: var(--radius); border: 1.5px solid rgba(29,29,31,.14);
  padding: 18px 14px; text-align: center; background: #fff; transition: all .25s var(--ease);
}
.profil:hover { border-color: var(--ink); transform: translateY(-2px); }
.profil.selected { border-color: var(--copper); background: rgba(165,107,37,.06); box-shadow: 0 0 0 3px rgba(165,107,37,.15); }
.profil svg { width: 100%; height: 74px; margin-bottom: 10px; }
.profil svg path, .profil svg polyline { stroke: var(--ink); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.profil.selected svg path, .profil.selected svg polyline { stroke: var(--copper); }
.profil .p-name { font-weight: 600; font-size: .92rem; }

.konfig-row { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 26px; }
@media (min-width: 800px) { .konfig-row { grid-template-columns: repeat(3, 1fr); } }

.konfig-summary {
  margin-top: 28px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--fog); font-size: .98rem;
}
.konfig-summary strong { color: var(--copper); }

/* ---------- Kontakt-Info-Karten ---------- */

.info-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.info-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.info-card p { margin: 8px 0 0; color: var(--grey); }
.info-card a { font-weight: 600; }
.info-icon {
  width: 38px; height: 38px; border-radius: 12px; background: rgba(165,107,37,.12);
  display: inline-flex; align-items: center; justify-content: center; color: var(--copper); font-size: 1.1rem;
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid rgba(29,29,31,.07); font-size: .98rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 36px; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo img { height: 30px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .88rem;
  color: rgba(255,255,255,.5);
}

/* ---------- CTA Band ---------- */

.cta-band { text-align: center; }
.cta-band .headline { max-width: 800px; margin-inline: auto; }
.cta-band .lead { max-width: 620px; margin: 18px auto 34px; }

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-60 { margin-bottom: 60px; }
.divider-copper { width: 64px; height: 4px; border-radius: 2px; background: var(--copper); border: 0; margin: 26px 0; }
.center .divider-copper { margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow .sec-num { margin-right: 10px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 58px); }
.rule { border-top: var(--hairline-strong); }
.section-dark.rule, .rule-inv { border-top: 1px solid rgba(255,255,255,.35); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--copper); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   V3 — "Design-Chef"-Ausbau: Kinetik, Explorer, Patina, Consent
   ========================================================================== */

/* ---------- Zeilen-Reveal (Hero-Typo) ---------- */
.h-line { display: block; overflow: hidden; }
.h-line > span { display: inline-block; transform: translateY(110%); }
.no-js .h-line > span, .anim-done .h-line > span { transform: none; }
.h-copper { color: var(--copper-light); }

/* ---------- Marquee (Referenz-Ticker, editorial) ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden; white-space: nowrap;
  background: var(--white);
  border-top: var(--hairline); border-bottom: var(--hairline);
  padding: 16px 0;
}
.marquee-track { display: inline-block; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-block; margin-right: 3.2rem;
  font-size: .92rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(29,29,31,.5);
}
.marquee-track span b { color: var(--copper); font-weight: 700; margin-right: 3.2rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Statement (Scrub-Text) ---------- */
.statement {
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -.025em;
  line-height: 1.25; max-width: 1000px;
}
.statement .w { opacity: .14; display: inline-block; transition: opacity .3s linear; }
.statement .w.on { opacity: 1; }
.statement .w.copper { color: var(--copper); }

/* ---------- Gebäude-Explorer ---------- */
.explorer { position: relative; }
.explorer-stage {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #26262a 0%, #1d1d1f 100%);
  overflow: hidden; box-shadow: var(--shadow-lift);
}
.explorer-stage svg { display: block; width: 100%; height: auto; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--copper); color: #fff; font-weight: 800; font-size: 1rem; font-family: var(--font);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), background .2s;
  box-shadow: 0 0 0 0 rgba(165,107,37,.5);
  animation: pulse 2.6s infinite;
}
.hotspot:hover { transform: translate(-50%,-50%) scale(1.15); background: var(--copper-light); }
.hotspot.active { background: #fff; color: var(--copper); animation: none; box-shadow: 0 0 0 6px rgba(255,255,255,.25); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(165,107,37,.55); }
  70% { box-shadow: 0 0 0 16px rgba(165,107,37,0); }
  100% { box-shadow: 0 0 0 0 rgba(165,107,37,0); }
}
@media (prefers-reduced-motion: reduce) { .hotspot { animation: none; } }

.explorer-panel {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-soft); min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
}
.explorer-panel.swapping { opacity: 0; transform: translateY(6px); }
.explorer-panel { transition: opacity .18s ease, transform .18s ease; }
.explorer-panel .ep-num { font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--copper); text-transform: uppercase; }
.explorer-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 8px 0 10px; }
.explorer-panel p { color: var(--grey); margin: 0 0 18px; }
.explorer-hint { margin-top: 16px; color: var(--grey); font-size: .92rem; text-align: center; }

/* ---------- Patina-Slider ---------- */
.patina { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.patina-swatch {
  height: clamp(220px, 32vw, 380px); position: relative;
  background: linear-gradient(135deg, #d98e46, #a56b25 60%, #8a5716);
  transition: background 400ms linear;
}
.patina-swatch::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 35%, rgba(0,0,0,.15) 100%);
}
.patina-label {
  position: absolute; left: 24px; bottom: 20px; z-index: 2;
  color: #fff; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-shadow: 0 2px 14px rgba(0,0,0,.35); letter-spacing: -.02em;
}
.patina-controls { background: #fff; padding: 26px clamp(20px, 3vw, 36px) 30px; }
.patina-controls label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 12px; }
input[type="range"].patina-range {
  width: 100%; height: 5px; border-radius: 3px; -webkit-appearance: none; appearance: none;
  background: rgba(29,29,31,.14);
  outline: none;
}
input[type="range"].patina-range:focus-visible { box-shadow: 0 0 0 4px rgba(165,107,37,.2); }
input[type="range"].patina-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--copper); cursor: grab;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
input[type="range"].patina-range::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--copper); cursor: grab;
}

/* ---------- Referenz-Rail (horizontal) ---------- */
.rail-wrap { overflow: hidden; }
.rail { display: flex; gap: 22px; will-change: transform; padding: 10px 4px 26px; }
.rail-card {
  flex: 0 0 min(420px, 82vw);
  background: #2a2a2e; border-radius: var(--radius-lg); padding: 34px 30px 30px;
  color: #fff; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
}
.rail-card .rc-year {
  font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35);
}
.rail-card h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.rail-card p { color: rgba(255,255,255,.65); margin: 0; font-size: .97rem; }
.rail-card .rc-tag {
  display: inline-block; margin-top: 18px; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--copper-light);
}
.rail-card.highlight { background: linear-gradient(160deg, #b07730 0%, #8a5716 100%); }
.rail-card.highlight .rc-year { -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.rail-card.highlight p { color: rgba(255,255,255,.85); }
.rail-card.highlight .rc-tag { color: #fff; }
.rail-hint { text-align: center; color: rgba(255,255,255,.5); font-size: .92rem; margin-top: 6px; }
/* Fallback ohne JS/GSAP: nativ horizontal scrollen */
.no-gsap .rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.no-gsap .rail-card { scroll-snap-align: start; }

/* ---------- Trust-Band ---------- */
.trust-band { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--grey); font-size: .98rem; }
.trust-item::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); flex: 0 0 auto;
}

/* ---------- Parallax-Media ---------- */
[data-parallax] { overflow: hidden; }
[data-parallax] img { will-change: transform; scale: 1.12; }

/* ---------- Cookie-Consent ---------- */
.consent {
  position: fixed; z-index: 3000; left: 16px; right: 16px; bottom: 16px;
  margin-inline: auto; max-width: 560px;
  background: rgba(29,29,31,.92);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: #fff; border-radius: 20px; padding: 24px 26px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.1);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), opacity .45s;
}
.consent.show { transform: none; opacity: 1; pointer-events: auto; }
.consent h3 { font-size: 1.05rem; margin: 0 0 8px; }
.consent p { font-size: .88rem; color: rgba(255,255,255,.7); margin: 0 0 16px; line-height: 1.5; }
.consent p a { color: var(--copper-light); }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-btns .btn { padding: 10px 20px; font-size: .92rem; }
.btn-consent-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn-consent-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }

/* ---------- Kleinere Politur ---------- */
.card { border: 1px solid rgba(29,29,31,.05); }
.section-dark .headline, .page-hero .display { text-wrap: balance; }
.eyebrow { font-size: .8rem; }
.footer-links-inline { display: flex; gap: 18px; flex-wrap: wrap; }
.footer button.linklike {
  background: none; border: 0; padding: 0; color: rgba(255,255,255,.85);
  font: inherit; cursor: pointer;
}
.footer button.linklike:hover { color: #fff; text-decoration: underline; }

/* V3-Fixes */
.patina-controls { color: var(--ink); }
.hotspot:focus { outline: none; }
.hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ==========================================================================
   V4 — Architektur-Editorial
   ========================================================================== */

/* Geister-Nummern (Kapitelzahlen) */
.ghost-num {
  display: block; line-height: 1; font-weight: 800;
  font-size: clamp(3.6rem, 8vw, 7rem); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(29,29,31,.16);
  margin-bottom: 14px; user-select: none;
}
.section-dark .ghost-num, .section-fog.dark .ghost-num { -webkit-text-stroke-color: rgba(255,255,255,.22); }

/* Sticky-Anker-Index (Leistungen) */
.toc {
  position: sticky; top: var(--nav-h); z-index: 900;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: var(--hairline);
}
.toc-inner {
  width: min(1180px, 92vw); margin-inline: auto;
  display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.toc-inner::-webkit-scrollbar { display: none; }
.toc a {
  flex: 0 0 auto; padding: 13px 14px; font-size: .88rem; font-weight: 600;
  color: rgba(29,29,31,.6); border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.active { color: var(--ink); border-bottom-color: var(--copper); }
.toc a .toc-n { color: var(--copper); margin-right: 7px; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Konfigurator-App (Kantteil-Anfrage) – volle Breite, drei Zonen
   ========================================================================== */
.ka-sektion {
  background: var(--fog);
  border-top: var(--hairline); border-bottom: var(--hairline);
  padding: clamp(32px, 4vw, 56px) 0;
}
.ka-wrap {
  width: min(1180px, 94vw); margin-inline: auto;
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: clamp(18px, 2.5vw, 40px);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.ka-wrap .ka-bib, .ka-wrap .ka-panel { background: var(--fog); border-color: rgba(29,29,31,.1); }
.ka-wrap .sketch { background: #fff; }

/* Schritt 2 in der Box */
.ka-zurueck {
  background: none; border: 0; cursor: pointer; padding: 0 0 18px;
  font-family: var(--font); font-weight: 600; font-size: .95rem; color: var(--grey);
}
.ka-zurueck:hover { color: var(--ink); }
.ka-schritt2-inhalt { max-width: 860px; margin-inline: auto; }
.ka-schritt2-inhalt .funnel { border: var(--hairline); }
.ka-kopf {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px; margin-bottom: clamp(20px, 2.5vw, 34px);
}
.ka-kopf .headline { margin-bottom: 0; }
.ka-kopf-hint { margin: 0 0 6px; color: var(--grey); font-size: .95rem; }

.ka-grid { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) {
  .ka-grid { grid-template-columns: 224px minmax(0, 1fr) 290px; }
}

.ka-titel { font-size: 1.02rem; margin: 0 0 12px; }

/* Bibliothek links */
.ka-bib {
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 16px 14px;
}
.ka-bib .sv-karten {
  grid-template-columns: repeat(2, 1fr); max-height: 460px;
}
@media (max-width: 1099px) {
  .ka-bib .sv-karten { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); max-height: 190px; }
}

/* Bühne Mitte */
.ka-buehne .sketch { border-radius: var(--radius); }
.ka-buehne .sketch-toolbar {
  position: absolute; top: 12px; left: 12px; right: auto; z-index: 6;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: var(--hairline); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 6px 20px rgba(29,29,31,.08);
}
.ka-buehne #skizze-canvas { border-radius: var(--radius) var(--radius) 0 0; }

/* Bestell-Panel rechts */
.ka-panel {
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 18px 16px;
  position: sticky; top: calc(var(--nav-h) + 16px);
}
.ka-panel .field { margin-bottom: 12px; }
.ka-panel .field label { font-size: .85rem; }
.ka-panel .field input, .ka-panel .field select { padding: 11px 13px; }

.ka-stepper { display: flex; align-items: stretch; gap: 6px; }
.ka-stepper input { text-align: center; }
.ka-stepper button {
  flex: 0 0 46px; font-family: var(--font); font-size: 1.3rem; font-weight: 700;
  border: var(--hairline); border-radius: var(--radius); background: var(--fog);
  color: var(--ink); cursor: pointer; transition: background .2s;
}
.ka-stepper button:hover { background: #e8e8ea; }

.ka-teile { margin-top: 18px; border-top: var(--hairline-strong); padding-top: 14px; }
.ka-teile h4 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin: 0 0 10px; }
.ka-teil {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; margin-bottom: 8px; cursor: pointer;
  border: 1px solid rgba(29,29,31,.14); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.ka-teil:hover { border-color: rgba(29,29,31,.45); }
.ka-teil.active { border-color: var(--copper); box-shadow: 0 0 0 2px rgba(165,107,37,.22); }
.ka-teil svg { flex: 0 0 52px; height: 38px; }
.ka-teil svg polyline {
  fill: none; stroke: var(--ink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.ka-teil.active svg polyline { stroke: var(--copper); }
.ka-teil-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ka-teil-text strong { font-size: .88rem; line-height: 1.25; }
.ka-teil-text span { font-size: .76rem; color: var(--grey); line-height: 1.3; }
.ka-teil-x {
  margin-left: auto; flex: 0 0 auto; color: var(--grey); cursor: pointer;
  padding: 4px 6px; font-size: .82rem;
}
.ka-teil-x:hover { color: #b3261e; }
.ka-teil-plus {
  width: 100%; padding: 11px; margin-top: 2px; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: .9rem;
  border: 1px dashed rgba(29,29,31,.3); border-radius: var(--radius);
  background: transparent; color: var(--ink); transition: border-color .2s, color .2s;
}
.ka-teil-plus:hover { border-color: var(--copper); color: var(--copper); }
.ka-weiter { width: 100%; margin-top: 16px; }

/* Profil-Popup (Kantteile-Seite: CTAs fragen zuerst nach dem Profil) */
.profil-popup {
  position: fixed; inset: 0; z-index: 3500;
  background: rgba(29,29,31,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.pp-panel {
  position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
}
.pp-x {
  position: absolute; top: 14px; right: 14px; background: none; border: 0;
  font-size: 1.1rem; color: var(--grey); cursor: pointer; padding: 6px;
}
.pp-x:hover { color: var(--ink); }
.pp-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin: 0 0 6px; }
.pp-sub { color: var(--grey); margin: 0 0 20px; font-size: .95rem; }
.pp-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .pp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .pp-grid { grid-template-columns: repeat(4, 1fr); } }
.pp-karte {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px 12px; text-align: center;
  border: 1px solid rgba(29,29,31,.16); border-radius: var(--radius);
  color: var(--ink) !important; font-size: .8rem; font-weight: 600; line-height: 1.25;
  transition: border-color .2s, box-shadow .2s;
}
.pp-karte:hover { border-color: var(--copper); box-shadow: 0 0 0 2px rgba(165,107,37,.2); text-decoration: none; }
.pp-karte svg { width: 44px; height: 34px; color: var(--copper); }
.pp-fuss { border-top: var(--hairline); margin-top: 18px; padding-top: 16px; text-align: center; }
.pp-fuss a { font-weight: 600; font-size: .95rem; }

/* Mega-Menüs (Desktop) */
.nav-links > li.has-mega { position: relative; }
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 18px; display: none; z-index: 1200;
}
@media (min-width: 901px) {
  .has-mega:hover .mega-menu, .has-mega:focus-within .mega-menu { display: block; }
}
.mega-panel {
  width: 460px; background: #fff; border: var(--hairline); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(29,29,31,.16); overflow: hidden;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; gap: 2px; }
.mega-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--radius);
  color: var(--ink) !important; font-size: .92rem; font-weight: 600;
  transition: background .15s;
}
.mega-item:hover { background: var(--fog); text-decoration: none; }
.mega-item svg { flex: 0 0 32px; height: 26px; color: var(--copper); }
.mega-fuss {
  display: flex; flex-wrap: wrap; gap: 4px 22px;
  border-top: var(--hairline); background: var(--fog); padding: 12px 20px;
}
.mega-fuss { align-items: center; justify-content: space-between; }
.mega-fuss a { font-size: .88rem; font-weight: 600; color: var(--ink) !important; }
.mega-fuss a:hover { color: var(--copper) !important; text-decoration: none; }
.mega-fuss a.mega-btn {
  background: var(--copper); color: #fff !important;
  padding: 9px 16px; border-radius: var(--radius);
}
.mega-fuss a.mega-btn:hover { background: var(--copper-dark); color: #fff !important; }
@media (max-width: 900px) { .mega-menu { display: none !important; } }

/* Profil-Lexikon (Kantteile-Hub) */
.lex-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lex-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lex-grid { grid-template-columns: repeat(3, 1fr); } }
.lex-karte {
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  padding: 22px 22px 20px; transition: border-color .25s;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.lex-karte:hover { border-color: rgba(29,29,31,.45); }
.lex-karte svg { width: 72px; height: 52px; color: var(--copper); margin-bottom: 10px; }
.lex-karte h3 { font-size: 1.12rem; margin: 0 0 2px; }
.lex-syn { font-size: .8rem; color: var(--grey); margin: 0 0 10px; letter-spacing: .02em; }
.lex-karte p { font-size: .95rem; color: var(--grey); margin: 0 0 12px; }
.lex-karte .link-arrow { font-size: .92rem; }

/* CTA-Riegel (Kupfer-Zwischenruf) */
.cta-riegel { background: var(--copper); color: #fff; padding: clamp(22px, 3vw, 34px) 0; }
.cta-riegel .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.cta-riegel p { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.cta-riegel .btn-copper { background: #fff; color: var(--copper); }
.cta-riegel .btn-copper:hover { background: var(--ink); color: #fff; }

/* CTA-Menü (Zwei-Wege-Auswahl unterm Nav-Button) */
.cta-menu {
  position: fixed; z-index: 1600; width: min(360px, 92vw);
  background: #fff; border: var(--hairline); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(29,29,31,.18);
  overflow: hidden;
}
.cta-menu a {
  display: block; padding: 16px 18px; color: var(--ink); text-decoration: none;
  border-bottom: var(--hairline); transition: background .15s;
}
.cta-menu a:last-child { border-bottom: 0; }
.cta-menu a:hover { background: var(--fog); text-decoration: none; }
.cta-menu strong { display: block; font-size: .98rem; margin-bottom: 3px; }
.cta-menu a:first-child strong { color: var(--copper); }
.cta-menu span { display: block; font-size: .84rem; color: var(--grey); line-height: 1.4; }

/* Zwei-Wege-Einstieg (Startseite) */
.einstieg-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .einstieg-grid { grid-template-columns: 1fr 1fr; } }
.einstieg-karte {
  display: block; padding: clamp(24px, 3vw, 40px);
  border: var(--hairline); border-radius: var(--radius);
  color: var(--ink); background: #fff;
  transition: border-color .25s, transform .25s;
}
.einstieg-karte:hover { border-color: rgba(29,29,31,.5); text-decoration: none; }
.einstieg-karte h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 4px 0 8px; letter-spacing: -.02em; }
.einstieg-karte p { color: var(--grey); margin: 0 0 14px; max-width: 440px; }
.einstieg-karte .eyebrow { margin-bottom: 4px; }
.einstieg-kupfer { background: linear-gradient(135deg, rgba(165,107,37,.09), rgba(165,107,37,.02)); border-color: rgba(165,107,37,.4); }
.einstieg-kupfer:hover { border-color: var(--copper); }

/* Ablauf in 3 Schritten */
.ablauf-grid { display: grid; gap: 28px 0; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ablauf-grid { grid-template-columns: repeat(3, 1fr); } }
.ablauf-grid > div { padding: 6px 28px 2px; border-left: var(--hairline); }
.ablauf-num {
  display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--copper); line-height: 1; margin-bottom: 10px;
}
.ablauf-grid h3 { font-size: 1.1rem; margin-bottom: 6px; }
.ablauf-grid p { margin: 0; color: var(--grey); font-size: .95rem; max-width: 280px; }

/* Zitat (Team-Stimme) */
.zitat {
  margin: 0; padding: 8px 0 8px clamp(24px, 4vw, 44px);
  border-left: 3px solid var(--copper);
}
.zitat p {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -.015em;
  line-height: 1.4; margin: 0 0 14px; color: var(--ink);
}
.zitat footer { color: var(--grey); font-size: .95rem; font-weight: 600; }

/* Anfrage-Umschalter (Kontakt / Kantteil) */
.anfrage-switch .toc-inner { justify-content: center; gap: 0; }
.anfrage-switch a {
  flex: 0 1 340px; text-align: center; font-size: 1rem; padding: 15px 14px;
  border-bottom-width: 3px;
}
.anfrage-switch a.active { font-weight: 700; }

/* Leistungs-Blöcke (editorial) */
.svc { border-top: var(--hairline-strong); padding-top: 26px; }
.svc .grid-2 { align-items: center; }
.svc-meta { list-style: none; margin: 26px 0 0; padding: 0; border-top: var(--hairline); }
.svc-meta li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 2px; border-bottom: var(--hairline); font-size: .93rem;
}
.svc-meta li span:first-child { color: var(--grey); }
.svc-meta li span:last-child { font-weight: 600; text-align: right; }

/* CTA-Band editorial */
.cta-band { border-top: var(--hairline); }

/* Consent-Karte an die Kanten-Sprache angleichen */
.consent { border-radius: var(--radius); }

/* Karten: Bild-Zoom bleibt, Body kompakter */
.card-body { padding: 20px 22px 24px; }

/* Rail-Karten: scharfe Kanten */
.rail-card { border-radius: var(--radius); }

/* Statement: ruhigerer Einstiegszustand */
.statement .w { opacity: .18; }

/* ---------- V5: Mobile CTA-Leiste ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.15);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    flex: 1; text-align: center; padding: 16px 8px; font-weight: 700; font-size: 1rem;
    color: #fff; text-decoration: none;
  }
  .mobile-cta a + a { background: var(--copper); }
  .consent { bottom: calc(74px + env(safe-area-inset-bottom)); }
}

/* ---------- V5: Öffnungszeiten-Badge ---------- */
.offen-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.offen-badge::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%; background: #34a853; flex: 0 0 auto;
}
.offen-badge.zu::before { background: rgba(128,128,128,.8); }

/* ---------- V5: FAQ-Suche ---------- */
.faq-suche {
  width: 100%; font-family: var(--font); font-size: 1.02rem; color: var(--ink);
  padding: 14px 16px 14px 44px; border-radius: var(--radius); border: var(--hairline);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6d6d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") 14px center/18px no-repeat;
  margin-bottom: 22px;
}
.faq-suche:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(165,107,37,.14); }
.faq-leer { display: none; color: var(--grey); padding: 18px 4px; }

/* ---------- V5: Dachrinnen-Rechner ---------- */
.rechner-ergebnis {
  margin-top: 22px; padding: 20px 24px; border-radius: var(--radius);
  background: var(--fog); border-left: 3px solid var(--copper); font-size: .98rem;
}
.rechner-ergebnis strong { color: var(--copper); }

/* ---------- V5: Prozess-Scrollytelling (Kantteile) ---------- */
.prozess-wrap { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .prozess-wrap { grid-template-columns: 1fr 1fr; align-items: start; } }
.prozess-buehne {
  position: sticky; top: calc(var(--nav-h) + 24px);
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #26262a 0%, #1d1d1f 100%);
  box-shadow: var(--shadow-lift); padding: clamp(20px, 3vw, 40px);
}
.prozess-buehne svg { display: block; width: 100%; height: auto; }
.prozess-schritt { padding: clamp(28px, 6vh, 64px) 0; border-bottom: var(--hairline); }
.prozess-schritt:last-child { border-bottom: 0; }
.prozess-schritt h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 6px 0 10px; }
.prozess-schritt p { color: var(--grey); margin: 0; max-width: 480px; }
.prozess-schritt .ep-num { font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--copper); text-transform: uppercase; }
.prozess-schritt { opacity: .35; transition: opacity .4s var(--ease); }
.prozess-schritt.aktiv { opacity: 1; }
.no-gsap .prozess-schritt { opacity: 1; }
.no-gsap .prozess-buehne { position: static; }

/* ---------- V5: Material-Alterungs-Vergleich ---------- */
.mat-vergleich { background: #fff; border: var(--hairline); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); }
.mat-spalten { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .mat-spalten { grid-template-columns: repeat(3, 1fr); } }
.mat-spalte .mat-swatch {
  height: clamp(140px, 18vw, 210px); border-radius: var(--radius); position: relative; overflow: hidden;
  transition: background 300ms linear; border: var(--hairline);
}
.mat-spalte .mat-swatch::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 38%, rgba(0,0,0,.12) 100%);
}
.mat-spalte h4 { margin: 12px 0 2px; font-size: 1.02rem; }
.mat-spalte .mat-note { font-size: .85rem; color: var(--grey); }
.mat-slider { margin-top: 26px; }
.mat-slider label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 12px; }

/* ---------- Karriere: Bild-Band ---------- */
.karriere-band { position: relative; overflow: hidden; }
.karriere-band picture, .karriere-band img {
  display: block; width: 100%; height: clamp(420px, 62vh, 640px); object-fit: cover;
}
.karriere-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,29,31,.15) 0%, rgba(29,29,31,.72) 100%);
}
.karriere-band-text {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); z-index: 2;
  color: #fff;
}
.karriere-band-text .headline { color: #fff; }
.karriere-band-text .lead { color: rgba(255,255,255,.85); max-width: 640px; }
.karriere-band-text .eyebrow { color: var(--copper-light); }

/* Funnel/Konfigurator: Hairline statt Weichzeichner */
.funnel, .konfig { border: var(--hairline); }

/* ---------- Interaktive Arbeitsgebiet-Karte ---------- */
.karte-stage {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #26262a 0%, #1d1d1f 100%);
  overflow: hidden; box-shadow: var(--shadow-lift);
  padding: clamp(18px, 2.5vw, 34px);
}
.karte-stage svg { display: block; width: 100%; height: auto; max-height: 560px; margin-inline: auto; }
.karte-land {
  fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.45); stroke-width: 1.5;
  cursor: pointer; transition: fill .25s var(--ease);
  outline: none;
}
.karte-land:hover { fill: rgba(165,107,37,.35); }
.karte-land:focus-visible { stroke: #fff; stroke-width: 2.5; }
.karte-land.aktiv { fill: rgba(165,107,37,.75); stroke: #c9884a; }
.karte-land.kontext { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.2); cursor: default; pointer-events: none; }
.karte-stadt, .karte-hq, .karte-hq-puls { pointer-events: none; }
.karte-stadt { fill: rgba(255,255,255,.75); }
.karte-label { fill: rgba(255,255,255,.65); font-family: var(--font); font-size: 22px; font-weight: 500; pointer-events: none; }
.karte-label-hq { fill: #fff; font-weight: 700; }
.karte-hq { fill: var(--copper-light); }
.karte-hq-puls { fill: rgba(165,107,37,.45); animation: hqpuls 2.6s infinite var(--ease); transform-origin: center; transform-box: fill-box; }
@keyframes hqpuls { 0% { opacity: .9; transform: scale(.7); } 70% { opacity: 0; transform: scale(2.4); } 100% { opacity: 0; transform: scale(2.4); } }
@media (prefers-reduced-motion: reduce) { .karte-hq-puls { animation: none; } }
.karte-wrap { align-items: stretch; }
.karte-hint { margin-top: 16px; color: var(--grey); font-size: .92rem; text-align: center; }
.section-dark .karte-hint { color: rgba(255,255,255,.55); }

/* ---------- Skizzen-Tool (Kontakt) ---------- */
.sketch { border: var(--hairline); border-radius: var(--radius); background: #fff; overflow: hidden; }
.sketch-toolbar {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 10px; border-bottom: var(--hairline); background: var(--fog);
}
.sk-btn {
  font-family: var(--font); font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: 8px 13px; border-radius: var(--radius); border: 1px solid rgba(29,29,31,.2);
  background: #fff; color: var(--ink); transition: all .2s var(--ease);
}
.sk-btn:hover { border-color: var(--ink); }
.sk-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sk-btn.sk-done {
  background: var(--copper); border-color: var(--copper); color: #fff;
  position: absolute; bottom: 54px; left: 50%; transform: translateX(-50%); z-index: 5;
  padding: 13px 26px; font-size: .98rem;
  box-shadow: 0 8px 24px rgba(29,29,31,.25);
}
.sketch { position: relative; }
.sk-sep { width: 1px; height: 22px; background: rgba(29,29,31,.16); margin: 0 4px; }
.sketch-teile {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 10px 10px 8px; border-bottom: var(--hairline); background: #fff;
}
.sk-tab.active { background: var(--copper); border-color: var(--copper); color: #fff; }
.sk-tab-plus { border-style: dashed; font-weight: 700; }
.sk-tab-x {
  border: 0; background: none; cursor: pointer; color: var(--grey);
  font-size: .8rem; padding: 4px 2px 4px 0; margin-right: 6px; margin-left: -4px;
}
.sk-tab-x:hover { color: #b3261e; }

.sketch-vorlagen {
  padding: 10px 10px 12px; border-bottom: var(--hairline); background: var(--fog);
}
.sketch-vorlagen .sv-label, .sketch-teile .sv-label { display: block; font-size: .82rem; font-weight: 600; color: var(--grey); margin: 0 4px 8px 2px; }
.sketch-teile .sv-label { display: inline; margin-right: 8px; }
.sv-karten {
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  max-height: 172px; overflow-y: auto;
}
.sv-karte {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 6px; cursor: pointer;
  background: #fff; border: 1px solid rgba(29,29,31,.16); border-radius: var(--radius);
  font-family: var(--font); font-size: .74rem; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  text-align: center; line-height: 1.25;
}
.sv-karte:hover { border-color: var(--copper); }
.sv-karte.active { border-color: var(--copper); box-shadow: 0 0 0 2px rgba(165,107,37,.25); }
.sv-karte svg { width: 56px; height: 40px; }
.sv-karte svg polyline {
  fill: none; stroke: var(--ink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
.sv-karte.active svg polyline, .sv-karte:hover svg polyline { stroke: var(--copper); }
#skizze-canvas { display: block; touch-action: none; cursor: crosshair; }
.sketch .hint, .field .hint { font-size: .85rem; color: var(--grey); }
.sketch .hint { margin: 0; padding: 9px 12px; border-top: var(--hairline); background: var(--fog); }
.field > .hint { margin-top: 7px; }

.datei-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.datei-liste li { font-size: .88rem; padding: 6px 2px; border-bottom: var(--hairline); }
.datei-liste li.zu-gross { color: #b3261e; font-weight: 600; }
input[type="file"] {
  width: 100%; font-family: var(--font); font-size: .92rem; color: var(--ink);
  padding: 12px; border-radius: var(--radius); border: 1px dashed rgba(29,29,31,.3); background: #fff;
}
input[type="file"]::file-selector-button {
  font-family: var(--font); font-weight: 600; font-size: .88rem; cursor: pointer;
  margin-right: 12px; padding: 8px 14px; border-radius: var(--radius);
  border: 0; background: var(--ink); color: #fff;
}

