/* ==========================================================================
   KOSMARO HANDELS GMBH — Website Stylesheet
   Farbwelt: Creme · Bronze/Gold (aus dem Logo) · Anthrazit
   Keine externen Ressourcen (DSGVO-konform, keine Google-Fonts-CDN)
   ========================================================================== */

/* --- 1. Design Tokens ---------------------------------------------------- */
:root {
  /* Bronze / Gold — direkt aus dem Kosmaro-Logo */
  --bronze:        #987a44;
  --bronze-dark:   #7c6234;
  --bronze-mid:    #ab8d5b;
  --bronze-soft:   #c9b491;
  --bronze-pale:   #ece4d6;

  /* Helle Flächen */
  --paper:         #ffffff;
  --cream:         #f7f4ee;
  --cream-deep:    #f0ebe1;
  --sand:          #e7dfd1;
  --line:          #e3dbcd;
  --line-soft:     #efe9de;

  /* Dunkel */
  --ink:           #2b2825;
  --ink-deep:      #211f1c;
  --ink-mut:       #6e675d;
  --ink-faint:     #948c80;
  --on-dark:       #f4f1ea;
  --on-dark-mut:   #a9a196;
  --dark-line:     #413c35;

  /* Typografie */
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;

  /* Maße */
  --wrap:      1320px;
  --wrap-slim: 880px;
  --hdr:       84px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.018em; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--bronze); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* --- 3. Layout-Bausteine ------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.wrap--slim { max-width: var(--wrap-slim); }

.section        { padding: 96px 0; position: relative; }
.section--tight { padding: 66px 0; }
.section--cream { background: var(--cream); }
.section--deep  { background: var(--cream-deep); }
.section--dark  { background: var(--ink); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }

/* Goldene Haarlinie */
.rule { width: 62px; height: 2px; border: 0; margin: 0 0 26px; background: var(--bronze); }
.rule--center { margin-left: auto; margin-right: auto; }

/* Eyebrow */
.eyebrow {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 18px;
}
.section--dark .eyebrow { color: var(--bronze-soft); }

/* Überschriften-Skala */
.h-display { font-size: clamp(2.5rem, 5vw, 4.05rem); line-height: 1.08; letter-spacing: -.028em; }
.h-1       { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.16; letter-spacing: -.024em; }
.h-2       { font-size: clamp(1.45rem, 2.3vw, 2rem);   line-height: 1.24; }
.h-3       { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.34; }

.lead { font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.72; color: var(--ink-mut); }
.section--dark .lead { color: var(--on-dark-mut); }

.claim { font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--bronze); font-weight: 500; }

.text-center { text-align: center; }

/* Abschnittskopf mit Link rechts */
.shead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 34px;
}
.shead__t { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); }

/* --- 4. Header / Navigation ---------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .35s var(--ease);
}
.hdr.is-stuck { box-shadow: 0 8px 30px -22px rgba(43,40,37,.55); }
.hdr__inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px;
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo__img { height: 42px; width: auto; }
.logo__mark { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-size: 22px; font-weight: 600; letter-spacing: .175em;
  color: var(--ink); text-transform: uppercase;
}
.logo__claim {
  font-size: 7.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--bronze); margin-top: 6px;
}

/* Hauptnavigation */
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__link {
  position: relative;
  font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-mut); padding: 8px 0; white-space: nowrap;
  transition: color .28s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 2px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }

/* Fliesenrechner-Knopf im Header */
.hdr__calc {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; margin-left: 8px; flex-shrink: 0;
  border: 1px solid var(--bronze);
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--bronze); background: transparent;
  transition: background .32s var(--ease), color .32s var(--ease);
}
.hdr__calc svg { width: 15px; height: 15px; flex-shrink: 0; }
.hdr__calc:hover { background: var(--bronze); color: #fff; }
.hdr__calc:hover svg { stroke: #fff; }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); position: relative; flex-shrink: 0;
}
.burger span {
  position: absolute; left: 12px; width: 19px; height: 1.5px;
  background: var(--bronze); transition: transform .34s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile-Panel */
.mnav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--hdr) 24px 40px;
  opacity: 0; visibility: hidden; overflow-y: auto;
  transition: opacity .35s var(--ease), visibility .35s;
}
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__link {
  font-size: 26px; font-weight: 500; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 15px;
}
.mnav__link span { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--bronze); }
.mnav__link.is-active { color: var(--bronze); }
.mnav__calc {
  margin-top: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; background: var(--bronze); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 16px 30px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--bronze); color: var(--bronze); background: transparent;
  transition: background .32s var(--ease), color .32s var(--ease), border-color .32s var(--ease);
}
.btn:hover { background: var(--bronze); color: #fff; }
.btn--solid { background: var(--bronze); color: #fff; }
.btn--solid:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--bronze); color: var(--bronze); background: var(--paper); }
.btn--onDark { border-color: var(--bronze-soft); color: var(--bronze-soft); }
.btn--onDark:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }

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

/* Textlink mit Pfeil */
.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); white-space: nowrap;
}
.tlink svg { width: 16px; height: 9px; transition: transform .34s var(--ease); }
.tlink:hover svg { transform: translateX(6px); }

/* --- 6. Hero ------------------------------------------------------------- */
.hero { background: var(--cream); position: relative; }
.hero__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr);
  align-items: stretch; min-height: 560px;
}
.hero__text { padding: 88px 56px 88px 40px; display: flex; flex-direction: column; justify-content: center; }
.hero__title { margin-bottom: 26px; max-width: 12ch; }
.hero__lead { max-width: 46ch; margin-bottom: 34px; }
.hero__media { position: relative; overflow: hidden; background: var(--sand); min-height: 440px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(247,244,238,.35) 12%, transparent 34%);
}

/* Seiten-Hero (Unterseiten) */
.phero { background: var(--cream); padding: 76px 0 66px; position: relative; overflow: hidden; }
.phero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 420px; height: 420px;
  background-image:
    linear-gradient(to right, var(--sand) 1px, transparent 1px),
    linear-gradient(to bottom, var(--sand) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent 72%);
  pointer-events: none;
}
.phero .wrap { position: relative; z-index: 2; }
.phero__lead { max-width: 58ch; margin-top: 22px; }

/* Breadcrumb */
.crumb { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; }
.crumb a { transition: color .28s; }
.crumb a:hover { color: var(--bronze); }
.crumb span { color: var(--bronze); margin: 0 9px; }

/* --- 7. Werteleiste (Persönlich · Europäische Qualität · …) --------------- */
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.values__i {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 34px 30px; border-left: 1px solid var(--line-soft);
}
.values__i:first-child { border-left: 0; }
.values__ico { flex-shrink: 0; width: 32px; height: 32px; stroke: var(--bronze); fill: none; stroke-width: 1.25; }
.values__h { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 4px 0 8px; }
.values__p { font-size: 14px; line-height: 1.6; color: var(--ink-mut); }

/* --- 8. Sortiments-Karten ------------------------------------------------ */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat:hover { border-color: var(--bronze-soft); transform: translateY(-4px); box-shadow: 0 20px 44px -32px rgba(43,40,37,.5); }
.cat__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-deep); }
.cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.06); }
/* Platzhaltermuster, solange kein Produktfoto hinterlegt ist.
   Musterebenen zuerst, Farbverlauf zuletzt — sonst überdeckt er das Muster. */
.cat__ph { position: absolute; inset: 0; }
.cat__ph--fliesen { background:
  repeating-linear-gradient(0deg,  transparent 0 33px, rgba(124,98,52,.34) 33px 35px),
  repeating-linear-gradient(90deg, transparent 0 33px, rgba(124,98,52,.34) 33px 35px),
  linear-gradient(135deg, #efe9de, #ddd2bd); }
.cat__ph--parkett { background:
  repeating-linear-gradient(90deg, rgba(124,98,52,.3) 0 2px, transparent 2px 38px),
  repeating-linear-gradient(0deg,  rgba(124,98,52,.16) 0 1px, transparent 1px 26px),
  linear-gradient(135deg, #eee2cd, #ddc9a8); }
.cat__ph--vinyl { background:
  repeating-linear-gradient(58deg, rgba(124,98,52,.26) 0 2px, transparent 2px 34px),
  linear-gradient(135deg, #efe9de, #d8ccb9); }
.cat__ph--teppich { background:
  repeating-linear-gradient(45deg,  rgba(124,98,52,.2) 0 5px, transparent 5px 10px),
  repeating-linear-gradient(-45deg, rgba(124,98,52,.2) 0 5px, transparent 5px 10px),
  linear-gradient(135deg, #eae5db, #d3cabb); }
.cat__ph--technik { background:
  repeating-linear-gradient(0deg, rgba(124,98,52,.28) 0 2px, transparent 2px 15px),
  linear-gradient(135deg, #efeae1, #d9cfbe); }
.cat__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat__head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.cat__ico { width: 19px; height: 19px; stroke: var(--bronze); fill: none; stroke-width: 1.3; flex-shrink: 0; }
.cat__title { font-size: 11.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--ink); }
.cat__text { font-size: 13.8px; line-height: 1.6; color: var(--ink-mut); flex: 1; }
.cat__arrow {
  margin-top: 18px; align-self: flex-end;
  width: 22px; height: 10px; stroke: var(--bronze); fill: none; stroke-width: 1.4;
  transition: transform .34s var(--ease);
}
.cat:hover .cat__arrow { transform: translateX(6px); }

/* --- 9. Referenz-Karten -------------------------------------------------- */
.refs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.refs--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.refs--3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ref {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line-soft);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ref:hover { border-color: var(--bronze-soft); transform: translateY(-4px); box-shadow: 0 20px 44px -32px rgba(43,40,37,.5); }
.ref__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-deep); }
.ref__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .95s var(--ease); }
.ref:hover .ref__media img { transform: scale(1.055); }
.ref__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--cream-deep) 0 18px, var(--sand) 18px 36px);
}
.ref__ph::after { content: "KOSMARO"; font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--bronze-soft); }
.ref__body { padding: 18px 20px 22px; }
.ref__loc { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 7px; }
.ref__name { display: block; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.32; }
.ref__meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink-mut); }
.ref__meta b { color: var(--bronze); font-weight: 600; }

/* Kapitelnummer vor dem Eyebrow */
.eyebrow--num::before { content: attr(data-num); color: var(--bronze-soft); margin-right: 12px; }

/* Hervorgehobene Wortmarke in Überschriften */
.gold-text { color: var(--bronze); }

/* --- 9b. Referenztabelle ------------------------------------------------- */
.rtable-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rtable { width: 100%; border-collapse: collapse; min-width: 660px; }
.rtable thead th {
  text-align: left; font-size: 10.5px; font-weight: 700;
  letter-spacing: .19em; text-transform: uppercase; color: var(--bronze);
  padding: 0 22px 15px 0; border-bottom: 2px solid var(--bronze);
}
.rtable tbody td { padding: 19px 22px 19px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: baseline; }
.rtable tbody tr { transition: background .3s var(--ease); }
.rtable tbody tr:hover { background: var(--cream); }
.rtable td:first-child { color: var(--ink-mut); font-size: 13.5px; letter-spacing: .04em; white-space: nowrap; }
.rtable td:nth-child(2) { font-size: 16px; font-weight: 500; }
.rtable td:last-child { text-align: right; padding-right: 0; white-space: nowrap; color: var(--bronze); font-weight: 600; font-size: 14px; }

/* --- 10. Herstellerleiste ------------------------------------------------ */
.mrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.mrow li { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--ink); opacity: .58; transition: opacity .3s, color .3s; }
.mrow li:hover { opacity: 1; color: var(--bronze); }

/* Vollständiges Herstellerraster */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.brands li {
  padding: 19px 20px; font-size: 13.5px; color: var(--on-dark-mut);
  border-bottom: 1px solid var(--dark-line); border-right: 1px solid var(--dark-line);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.brands li:hover { color: var(--bronze-soft); background: #322e2a; }

/* --- 10b. Herstellerstreifen ---------------------------------------------
   Schmales Band mit den Herstellerlogos, einfarbig schwarz.
   Wird innerhalb bestehender Abschnitte eingesetzt – keine eigene Seite.
   Fehlt eine Logodatei, blendet main.js sie aus; die Leiste bleibt intakt. */
.lband {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 26px 44px;
}
.lband li { display: flex; align-items: center; justify-content: center; height: 44px; }
.lband img {
  max-height: 44px; max-width: 142px; width: auto; height: auto;
  opacity: .72;
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.lband li:hover img { opacity: 1; transform: scale(1.05); }
@media (max-width: 760px) {
  .lband { gap: 22px 30px; }
  .lband li { height: 32px; }
  .lband img { max-height: 32px; max-width: 108px; }
}

.strip {
  border: 1px solid var(--line); background: var(--paper);
  padding: 26px 30px;
}
.section--cream .strip, .section--deep .strip { background: var(--paper); }
.strip__lbl {
  display: block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 16px;
}
.strip__list {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 7px 0;
  font-size: 14px; line-height: 1.5;
}
.strip__list li { display: inline-flex; align-items: baseline; color: var(--ink-mut); white-space: nowrap; }
.strip__list li::after {
  content: ""; display: inline-block;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--bronze-soft);
  margin: 0 13px; transform: translateY(-3px);
}
.strip__list li:last-child::after { display: none; }
.strip__list li:hover { color: var(--bronze); }
.strip__note { margin-top: 18px; font-size: 12.5px; color: var(--ink-faint); }

@media (max-width: 760px) {
  .strip { padding: 22px 20px; }
  .strip__list { font-size: 13.2px; }
  .strip__list li::after { margin: 0 9px; }
}

/* --- 11. Split / Karten / Leistungen ------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.18fr); gap: 68px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line-soft); padding: 34px 30px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { border-color: var(--bronze-soft); transform: translateY(-4px); box-shadow: 0 20px 44px -32px rgba(43,40,37,.5); }
.card__num { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.card__title { font-size: 1.18rem; margin-bottom: 11px; }
.card__text { font-size: 14.5px; color: var(--ink-mut); line-height: 1.66; }
.section--dark .card { background: #322e2a; border-color: var(--dark-line); }
.section--dark .card__text { color: var(--on-dark-mut); }

/* Leistungsliste */
.svc { border-top: 1px solid var(--line); }
.svc__item {
  display: grid; grid-template-columns: 74px minmax(0,1fr) minmax(0,1.55fr);
  gap: 30px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding .35s var(--ease);
}
.svc__item:hover { background: var(--cream); padding-left: 20px; padding-right: 20px; }
.svc__num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--bronze); }
.svc__title { font-size: 1.2rem; font-weight: 500; }
.svc__text { font-size: 14.8px; color: var(--ink-mut); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 12.5px; padding: 8px 16px;
  border: 1px solid var(--line); color: var(--ink-mut); background: var(--paper);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.chip:hover { border-color: var(--bronze); color: var(--ink); }
.section--dark .chip { background: transparent; border-color: var(--dark-line); color: var(--on-dark-mut); }
.section--dark .chip:hover { border-color: var(--bronze); color: var(--bronze-soft); }
.section--cream .chip, .section--deep .chip { background: var(--paper); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats > div { background: var(--paper); padding: 34px 22px; text-align: center; }
.stats__val { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; font-weight: 500; color: var(--bronze); letter-spacing: -.02em; }
.stats__lbl { display: block; margin-top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--ink-mut); }
.section--dark .stats { background: var(--dark-line); border-color: var(--dark-line); }
.section--dark .stats > div { background: var(--ink); }
.section--dark .stats__lbl { color: var(--on-dark-mut); }

/* --- 12. Doppel-CTA (Fliesenrechner + Projektanfrage) -------------------- */
.dual {
  display: grid; grid-template-columns: 1fr 1fr 0.92fr;
  background: var(--cream-deep); border: 1px solid var(--line);
}
.dual__cell { padding: 46px 40px; border-right: 1px solid var(--line); }
.dual__cell:last-child { border-right: 0; padding: 0; }
.dual__badge {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--bronze-soft); background: var(--paper); margin-bottom: 20px;
}
.dual__badge svg { width: 24px; height: 24px; stroke: var(--bronze); fill: none; stroke-width: 1.25; }
.dual__h { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.dual__p { font-size: 14.5px; color: var(--ink-mut); line-height: 1.66; margin-bottom: 22px; }
.dual__media { position: relative; overflow: hidden; background: var(--sand); min-height: 240px; }
.dual__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Dekorfläche, solange kein eigenes Foto hinterlegt ist — bewusst anderes
   Muster als bei den Sortimentskacheln, damit sich nichts wiederholt. */
.dual__deco {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(124,98,52,.3) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(45deg,  rgba(124,98,52,.3) 0 2px, transparent 2px 46px),
    linear-gradient(150deg, #ece5d8, #d5c9b3);
}

/* --- 13. Kontakt / Formular ---------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 10.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-mut); margin-bottom: 9px; }
.field .req { color: var(--bronze); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  padding: 13px 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--bronze) 50%), linear-gradient(135deg, var(--bronze) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px;
}
.field textarea { resize: vertical; min-height: 138px; line-height: 1.66; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); }
.field input::placeholder, .field textarea::placeholder { color: #b3ab9f; }

.consent { display: flex; gap: 13px; align-items: flex-start; font-size: 13.8px; color: var(--ink-mut); line-height: 1.6; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--bronze); flex-shrink: 0; }
.consent a { color: var(--bronze); border-bottom: 1px solid currentColor; }

/* Honeypot */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.note { padding: 18px 24px; border-left: 3px solid var(--bronze); background: var(--cream); font-size: 14.5px; color: var(--ink-mut); }
.note--ok  { border-left-color: #5b8a5f; }
.note--err { border-left-color: #a8564c; }

/* Kontakt-Infoblock */
.cinfo { border-top: 1px solid var(--line); }
.cinfo__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.cinfo__lbl { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }
.cinfo__val { font-size: 16px; line-height: 1.6; }
.cinfo__val a:hover { color: var(--bronze); }

/* --- 14. CTA-Band -------------------------------------------------------- */
.cta { background: var(--ink); color: var(--on-dark); padding: 92px 0; }
.cta .lead { color: var(--on-dark-mut); }
.cta h1, .cta h2, .cta h3 { color: var(--on-dark); }
.cta .eyebrow { color: var(--bronze-soft); }

/* Umrandete Buttons auf dunklem Grund brauchen mehr Kontrast */
.cta .btn:not(.btn--solid),
.section--dark .btn:not(.btn--solid) { border-color: var(--bronze-soft); color: var(--bronze-soft); }
.cta .btn:not(.btn--solid):hover,
.section--dark .btn:not(.btn--solid):hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }

/* --- 15. Footer ---------------------------------------------------------- */
.ftr { background: var(--cream); color: var(--ink-mut); padding: 68px 0 0; font-size: 14.3px; border-top: 1px solid var(--line); }
.ftr__top { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.2fr; gap: 46px; padding-bottom: 54px; }
.ftr__h { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin: 0 0 20px; }
.ftr__list li { margin-bottom: 10px; }
.ftr__list a { transition: color .28s var(--ease); }
.ftr__list a:hover { color: var(--bronze); }
.ftr__about { max-width: 330px; line-height: 1.7; margin-top: 20px; }
.ftr__bot {
  border-top: 1px solid var(--line); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12.5px;
}
.ftr__bot a:hover { color: var(--bronze); }

/* Platzhalter-Markierung für noch fehlende Daten */
.ph-mark { color: var(--bronze); border-bottom: 1px dashed var(--bronze-soft); font-style: normal; }

/* --- 16. Scroll-Reveal ---------------------------------------------------
   Wichtig: Die Inhalte werden NUR ausgeblendet, wenn JavaScript aktiv ist
   (<html class="js">). Ohne JavaScript bleibt die gesamte Seite sichtbar. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

/* --- 17. Responsive ------------------------------------------------------ */
@media (max-width: 1280px) {
  .cats, .refs { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 20px; }
  .nav__link { font-size: 11px; letter-spacing: .1em; }
}
@media (max-width: 1080px) {
  .nav, .hdr__calc { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__text { padding: 62px 24px 54px; }
  .hero__media { min-height: 320px; }
  .hero__media::after { background: linear-gradient(180deg, var(--cream) 0%, transparent 22%); }
  .split, .split--even { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr 1fr; }
  .values__i:nth-child(3) { border-left: 0; }
  .values__i:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .dual { grid-template-columns: 1fr 1fr; }
  .dual__cell:nth-child(2) { border-right: 0; }
  .dual__cell:last-child { grid-column: 1 / -1; min-height: 220px; border-top: 1px solid var(--line); }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 38px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .hdr__inner { padding: 0 20px; }
  .section { padding: 62px 0; }
  .section--tight { padding: 46px 0; }
  .cats, .refs, .refs--3, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values__i { border-left: 0; border-top: 1px solid var(--line-soft); }
  .values__i:first-child { border-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc__item { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .svc__item:hover { padding-left: 0; padding-right: 0; }
  .form__row { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
  .dual__cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px 24px; }
  .ftr__top { grid-template-columns: 1fr; gap: 34px; }
  .shead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .phero { padding: 48px 0 44px; }
  .logo__img { height: 36px; }
  .logo__name { font-size: 19px; }
}

/* --- 18. Bewegungsreduktion & Druck -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
@media print {
  .hdr, .mnav, .cta, .burger, .dual { display: none !important; }
  body { color: #000; background: #fff; }
  .section--dark, .ftr { background: #fff !important; color: #000 !important; }
}
