/* Bausteine für die Leistungs-Unterseiten. Baut auf tokens/base/components
   und home.css auf (Kacheln, Bento, FAQ, Pills werden wiederverwendet). */

/* Brotkrumen */
.crumbs { margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; opacity: .5; }
.crumbs a { color: var(--ink); font-weight: 600; }
.crumbs a:hover { color: var(--orange-deep); }
.crumbs [aria-current] { color: var(--orange-deep); font-weight: 600; }

/* Seiten-Hero */
.phero { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0 clamp(64px, 8vw, 104px); background: var(--paper); }
.phero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 12, .16), transparent 70%); }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.phero__title { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
.phero__lead { margin-top: 26px; max-width: 56ch; font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.phero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1.08; box-shadow: 14px 16px 0 #e4dfd8; }
.phero__media > img { width: 100%; height: 100%; object-fit: cover; }
.phero__chip { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-md); font-size: 13px; color: var(--muted); }
.phero__chip img { width: 84px; height: auto; }
.phero__chip strong { display: block; color: var(--ink); font-size: 15px; }
.phero__chip-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: var(--white); }

/* Unterseiten-Hero */
.shero { position: relative; min-height: max(700px, 92svh); display: flex; flex-direction: column; justify-content: flex-end; background: var(--anthra); color: var(--white); overflow: hidden; isolation: isolate; }
.shero__media { position: absolute; inset: 0; z-index: -3; }
.shero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 45%; animation: heroZoom 18s var(--ease-out) both; }
/* Nur so viel Abdunklung, wie der weisse Text zum Lesen braucht: links ein
   schmaler Verlauf, der nach rechts auslaeuft, dazu ein flacher Verlauf von
   unten fuer Lead und Buttons. Kein flaechiger Filter ueber dem ganzen Bild. */
.shero__shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(28, 27, 26, .88) 0%, rgba(28, 27, 26, .80) 32%, rgba(28, 27, 26, .58) 52%, rgba(28, 27, 26, .24) 70%, rgba(28, 27, 26, 0) 84%),
  linear-gradient(0deg, rgba(28, 27, 26, .62) 0%, rgba(28, 27, 26, .16) 32%, rgba(28, 27, 26, 0) 50%),
  radial-gradient(50% 60% at 15% 70%, rgba(232, 93, 12, .12), transparent 70%); }
/* Großer Winkel aus dem Logo-„L“, zeichnet sich beim Laden auf */
.shero__text { position: relative; }
.shero__text::before { content: ""; position: absolute; z-index: -1; left: 0; top: -22px; bottom: -34px; width: calc(100% + 48px); border-left: 4px solid var(--orange); border-bottom: 4px solid var(--orange); border-bottom-left-radius: 26px; pointer-events: none; clip-path: inset(0 100% 0 0); animation: markDraw 1.4s var(--ease-out) .2s forwards; }
@keyframes markDraw { 0% { clip-path: inset(0 100% 0 0); } 30% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.shero__content { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .6fr); align-items: end; gap: 64px; padding-top: 136px; padding-bottom: 72px; }
.shero__text { padding-left: clamp(22px, 2.6vw, 40px); }
.shero .crumbs ol { color: rgba(255, 255, 255, .6); }
.shero .crumbs a { color: var(--white); }
.shero .crumbs [aria-current] { color: var(--orange); }
.shero__title { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1; letter-spacing: -.045em; max-width: 15ch; }
.shero__lead { margin-top: 22px; max-width: 56ch; font-size: var(--fs-lg); line-height: 1.55; color: rgba(255, 255, 255, .82); }
/* Weicher Schatten statt dunklerem Verlauf: haelt den Text auch ueber hellen
   Bildstellen lesbar, ohne das Foto flaechig abzudunkeln. */
.shero__title, .shero__lead, .shero .crumbs, .shero__text .pill { text-shadow: 0 2px 20px rgba(28, 27, 26, .6); }
.shero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.shero__index { align-self: end; padding: 22px; border-radius: var(--r-lg); background: rgba(28, 27, 26, .5); border: 1px solid var(--line-dark); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.shero__index > p { font-size: 13px; font-weight: 700; color: var(--muted-dark); margin-bottom: 10px; }
.shero__index ol { list-style: none; display: grid; margin: 0; padding: 0; }
.shero__index a { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--line-dark); font-size: 15px; font-weight: 700; transition: color var(--ui) var(--ease), padding var(--ui) var(--ease-out); }
.shero__index li:first-child a { border-top: 0; }
.shero__index a span { font-size: 12px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.shero__index a .icon { margin-left: auto; width: 16px; height: 16px; color: var(--orange); opacity: 0; translate: -6px 0; transition: opacity var(--ui) var(--ease), translate var(--ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .shero__index a:hover { color: var(--orange); padding-left: 10px; }
  .shero__index a:hover .icon { opacity: 1; translate: 0 0; }
}
.shero__bar .kl-hero__bar-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shero__bar .hbar:first-child { padding-left: clamp(18px, 2.4vw, 36px); }
@media (max-width: 1080px) {
  .shero__content { grid-template-columns: 1fr; }
  .shero__index { display: none; }
  .shero__bar .kl-hero__bar-inner { grid-template-columns: 1fr 1fr; }
  .shero__bar .hbar:nth-child(3) { border-left: 0; }
  .shero__bar .hbar:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 640px) {
  /* Wie der Hero auf der Startseite: zuerst das Foto, das nach unten ausblendet,
     darunter der Textblock auf Anthrazit. Kein Verlauf noetig, weil der Text
     nicht mehr auf dem Bild liegt. */
  .shero { min-height: auto; justify-content: flex-start; background: var(--anthra); }
  .shero__media { order: 1; position: relative; inset: auto; z-index: 0; height: min(92vw, 440px); margin-top: 84px; }
  .shero__media img {
    height: 100%;
    animation: none;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  /* Rechts ausgerichtete Fotos: seitliche Maske weg, dafuer dieselbe nach unten */
  .shero__media--right img {
    object-position: 50% 12% !important;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%) !important;
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%) !important;
  }
  .shero__shade { display: none; }
  .shero__content { order: 2; padding-top: 0; margin-top: -40px; position: relative; padding-bottom: 30px; }
  .shero__bar { order: 3; margin-top: 30px; }
  .shero__cta .btn { width: 100%; }
  .shero__bar .hbar { padding: 14px 0 14px 12px; font-size: 12px; }
  .shero__bar .hbar:first-child, .shero__bar .hbar:nth-child(3) { padding-left: 0; }
  .shero__bar .hbar__ic { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .shero__text::before { animation: none; clip-path: none; } }

/* Kurz erklärt (Antwort-Box) */
/* Abstand oben zum Hero, unten uebernimmt die Folge-Section den Rest (12.11.) */
.answer-sec { padding-top: clamp(40px, 4.6vw, 68px); padding-bottom: clamp(20px, 2.2vw, 32px); }
.answer-sec + .section { padding-top: clamp(40px, 4.6vw, 68px); }
.answer { padding: clamp(26px, 3.4vw, 46px); border-radius: var(--r-xl); background: var(--white); box-shadow: 12px 14px 0 #e4dfd8; }
.answer__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.answer__head h2 { font-size: var(--fs-xl); letter-spacing: -.03em; }
.answer__ic { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--orange); color: var(--white); }
.answer__ic .icon { width: 26px; height: 26px; }
.answer__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.answer__list div { padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); }
.answer__list dt { font-size: 13px; font-weight: 800; color: var(--orange-deep); margin-bottom: 4px; }
.answer__list dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }

/* Ausgangspunkt wählen */
.choose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.choose__card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: clamp(26px, 2.8vw, 36px); border-radius: var(--r-xl); color: var(--white); transition: translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out), opacity var(--reveal) var(--ease-out); }
.choose__card--dark { background: linear-gradient(150deg, var(--anthra-2), var(--ink)); }
.choose__card--dark::after { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 12, .35), transparent); }
.choose__card--orange { background: linear-gradient(160deg, #f0670f, var(--orange) 45%, var(--orange-deep)); }
.choose__card--img { justify-content: flex-end; }
.choose__card--img > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.choose__card--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(28, 27, 26, .92) 15%, rgba(28, 27, 26, .15) 75%); }
.choose__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); margin-bottom: auto; }
.choose__ic .icon { width: 24px; height: 24px; }
.choose__card--dark .choose__ic { background: var(--orange); }
.choose__q { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.85rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.choose__a { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.choose__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 700; font-size: 15px; }
.choose__go .icon { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--white); color: var(--orange); transition: translate var(--ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .choose__card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); }
  .choose__card:hover .choose__go .icon { translate: 4px 0; }
  .choose__card--img:hover > img { scale: 1.06; }
}

/* Schritte mit Wasserzeichen-Ziffern */
.steps-sec { position: relative; overflow: hidden; }
.steps-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 50%, rgba(232, 93, 12, .16), transparent 70%); pointer-events: none; }
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; counter-reset: none; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; overflow: hidden; isolation: isolate; padding: 26px 22px; border-radius: var(--r-lg); background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-dark); transition: border-color var(--ui) var(--ease), translate var(--ui) var(--ease-out), opacity var(--reveal) var(--ease-out); }
.step__no { position: absolute; z-index: -1; right: 10px; top: -10px; font-size: 104px; font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--orange); opacity: .16; pointer-events: none; }
.step__ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--orange); color: var(--white); margin-bottom: 40px; }
.step h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.step h3 a:hover { color: var(--orange); }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted-dark); }
@media (hover: hover) and (pointer: fine) { .step:hover { border-color: rgba(232, 93, 12, .45); translate: 0 -4px; } }

/* Bild-Text-Abschnitte (Aufmaß, VR) */
.msplit-sec { scroll-margin-top: 80px; }
.msplit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.msplit--rev .msplit__media { order: 2; }
.msplit__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1.1 / 1; box-shadow: var(--shadow-lg); }
.msplit__media img { width: 100%; height: 100%; object-fit: cover; }
.msplit__badge { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-md); }
.msplit__badge .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--orange); color: var(--white); }
.msplit__text > p { margin-top: 18px; color: var(--muted); font-size: var(--fs-md, 17px); line-height: 1.65; }
.section--dark .msplit__text > p { color: var(--muted-dark); }
.msplit__promise { margin-top: 24px !important; padding: 18px 20px; border-radius: var(--r-md); background: var(--orange-soft); color: var(--ink) !important; font-size: 15px !important; }
.msplit__promise strong { color: var(--orange-deep); }

/* Häkchen-Listen */
.checks { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.checks .icon { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--orange); color: var(--white); stroke-width: 3; }
.checks--dark li { color: var(--white); }
.checks--light .icon { background: var(--white); color: var(--orange); }

/* Mitbringen / Bekommen */
.bring { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bring__card { padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: var(--white); box-shadow: 12px 14px 0 #e4dfd8; transition: opacity var(--reveal) var(--ease-out), translate var(--reveal) var(--ease-out); }
.bring__card h3 { font-size: var(--fs-xl); letter-spacing: -.03em; }
.bring__card--orange { background: linear-gradient(160deg, #f0670f, var(--orange) 45%, var(--orange-deep)); color: var(--white); }

/* Fachautor */
/* Zitat und Name mittig, der ganze Block zentriert. Das Bild bleibt unveraendert
   rund und steht weiter davor (13.11.). */
.expert { display: flex; align-items: center; justify-content: center; text-align: center; gap: 26px; margin-top: 48px; padding: 26px 30px; border-radius: var(--r-xl); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--white); }
.expert img { width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); }
.expert__quote { font-size: var(--fs-lg); font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
.expert__who { margin-top: 8px; font-size: 14px; color: var(--muted-dark); }
.expert__who strong { color: var(--white); }

/* Abschluss-Band */
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--3 + .cta-band { margin-top: clamp(64px, 8vw, 104px); }
/* Folgt das Band direkt auf ein Kartenraster, braucht es Luft dazwischen. */
.pain-grid + .cta-band, .steps + .cta-band, .tiles + .cta-band { margin-top: clamp(44px, 5vw, 76px); }
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; padding: clamp(32px, 4.6vw, 64px); border-radius: var(--r-xl); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--white); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 12, .35), transparent); }
.cta-band .pill { margin-bottom: 16px; }
.cta-band h2 { font-size: var(--fs-2xl); }
/* Ausformulierte Einladung: eine Stufe kleiner, damit die lange Zeile ruhig bleibt */
.cta-band h2.cta-band__title--lang { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.75rem); line-height: 1.1; }
.cta-band p { margin-top: 14px; color: var(--muted-dark); font-size: var(--fs-md, 17px); }
.cta-band__person { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; color: var(--muted-dark); }
.cta-band__person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; flex: none; }
.cta-band__person strong { display: block; color: var(--white); font-size: 16px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-self: end; }

/* Responsiv */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answer__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .phero { padding-top: 116px; }
  .phero__grid, .msplit, .bring, .cta-band { grid-template-columns: 1fr; }
  .msplit--rev .msplit__media { order: 0; }
  .choose, .tiles--3 { grid-template-columns: 1fr; }
  .choose__card { min-height: 280px; }
  .cta-band__actions { justify-self: start; }
}
@media (max-width: 640px) {
  .steps, .steps--4, .steps--3, .answer__list { grid-template-columns: 1fr; }
  .phero__media { box-shadow: 8px 10px 0 #e4dfd8; }
  .expert { flex-direction: column; align-items: center; }
  .bring__card, .answer { box-shadow: 6px 8px 0 #e4dfd8; }
}

/* Markenraster (Elektrogeräte) */
.brands-sec { position: relative; overflow: hidden; }
.brands-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 40%, rgba(232, 93, 12, .14), transparent 70%); pointer-events: none; }
.brandgrid { position: relative; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.brandgrid__item { aspect-ratio: 1.4 / 1; display: grid; place-items: center; padding: 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: background-color var(--ui) var(--ease), border-color var(--ui) var(--ease), opacity var(--reveal) var(--ease-out), translate var(--reveal) var(--ease-out); }
.brandgrid__item a { display: grid; place-items: center; width: 100%; height: 100%; }
.brandgrid__item img { width: 100%; height: 100%; object-fit: contain; opacity: .85; }
.brandgrid__item--tall img { scale: .78; }
.brandgrid__item--box img { scale: .86; }
@media (hover: hover) and (pointer: fine) { .brandgrid__item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(232, 93, 12, .45); } }

/* Angebotskarten (Ausstellungsküchen) */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--white); box-shadow: 10px 12px 0 #e4dfd8; transition: translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out), opacity var(--reveal) var(--ease-out); }
.offer__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
/* Solange die Fotos der Ausstellungskuechen fehlen: gestreifte Flaeche statt falschem Bild */
.offer__img--leer { display: grid; place-items: center; font-size: 13px; color: var(--muted); background: repeating-linear-gradient(135deg, var(--paper-2), var(--paper-2) 12px, var(--paper) 12px, var(--paper) 24px); }
.offer__badge { position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 12.5px; font-weight: 800; box-shadow: var(--shadow-orange); }
.offer__body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.offer__body h3 { font-size: var(--fs-lg); letter-spacing: -.02em; margin-bottom: 16px; }
.offer__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 20px; }
.offer__specs div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper); }
.offer__specs dt { font-size: 12px; color: var(--muted); }
.offer__specs dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.offer__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer__price span { display: block; font-size: 12.5px; color: var(--muted); }
.offer__price strong { font-size: var(--fs-lg); letter-spacing: -.02em; color: var(--orange-deep); }
@media (hover: hover) and (pointer: fine) {
  .offer:hover { translate: -4px -4px; box-shadow: 14px 16px 0 #e4dfd8; }
  .offer:hover .offer__img img { scale: 1.05; }
}
@media (max-width: 1080px) { .brandgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .offers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .brandgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brandgrid__item { padding: 14px; } .offers { grid-template-columns: 1fr; } }

/* Events */
.ev-loading, .ev-error { text-align: center; color: var(--muted); padding: 40px 0; }
.ev-feature { display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--white); box-shadow: var(--shadow-lg); }
.ev-feature__img { position: relative; min-height: 460px; }
.ev-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-date { display: grid; justify-items: center; align-content: center; width: 92px; height: 104px; border-radius: 20px; background: var(--orange); color: var(--white); line-height: 1; box-shadow: var(--shadow-orange); flex: none; }
.ev-date b { font-size: 40px; letter-spacing: -.04em; }
.ev-date span { margin-top: 4px; font-size: 15px; font-weight: 800; }
.ev-date i { margin-top: 4px; font-style: normal; font-size: 12px; opacity: .8; }
.ev-feature__img .ev-date { position: absolute; left: 22px; top: 22px; }
.ev-count { position: absolute; left: 22px; bottom: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(28, 27, 26, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; }
.ev-feature__body { display: flex; flex-direction: column; padding: clamp(28px, 3.6vw, 52px); }
.ev-feature__top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ev-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(39, 174, 96, .16); color: #4cd38a; font-size: 12.5px; font-weight: 800; }
.ev-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ev-chip--full { background: rgba(232, 93, 12, .18); color: var(--orange); }
.ev-chip--off { background: rgba(255, 255, 255, .1); color: var(--muted-dark); }
.ev-chip--ph { background: rgba(255, 255, 255, .1); color: var(--white); }
.ev-chip--ph::before { display: none; }
.ev-feature h3 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); line-height: 1.05; letter-spacing: -.04em; }
.ev-meta { list-style: none; display: grid; gap: 8px; margin: 20px 0 0; padding: 0; }
.ev-meta li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.ev-meta .icon { width: 18px; height: 18px; color: var(--orange); flex: none; }
.ev-feature__text { margin-top: 20px; color: var(--muted-dark); font-size: 15.5px; line-height: 1.65; }
.ev-feature__cta { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ev-ics { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--white); opacity: .85; }
.ev-ics:hover { opacity: 1; color: var(--orange); }
.ev-ics .icon { width: 18px; height: 18px; }

.ev-more { margin-top: 48px; }
.ev-more__h { font-size: var(--fs-xl); letter-spacing: -.03em; margin-bottom: 18px; }
/* Jeder weitere Termin als eigene Karte, drei nebeneinander.
   Aufbau wie die große Karte oben, nur hochkant. */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.ev-grid.is-collapsed > .ev-card:nth-child(n+4) { display: none; }

.ev-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--anthra-2), var(--ink));
  color: var(--white); box-shadow: var(--shadow-md);
  transition: translate var(--ui) var(--ease), box-shadow var(--ui) var(--ease);
}
.ev-card:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.ev-card__img { position: relative; aspect-ratio: 16 / 10; }
.ev-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-card__img .ev-date { position: absolute; left: 16px; top: 16px; width: 72px; height: 82px; border-radius: 16px; }
.ev-card__img .ev-date b { font-size: 30px; }
.ev-card__img .ev-date span { font-size: 13px; }

.ev-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.ev-card__top { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.ev-card h3 { font-size: 1.35rem; line-height: 1.12; letter-spacing: -.03em; }
.ev-card .ev-meta { gap: 6px; margin-top: 14px; }
.ev-card .ev-meta li { font-size: 14px; }
.ev-card .ev-meta .icon { width: 16px; height: 16px; }
.ev-card__text {
  margin-top: 14px; color: var(--muted-dark); font-size: 14.5px; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.ev-card__cta { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ev-card__cta .btn { flex: 1 1 auto; justify-content: center; }
.ev-card .ev-ics { font-size: 13px; }

.ev-empty { text-align: center; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); background: var(--white); box-shadow: 12px 14px 0 #e4dfd8; }
.ev-empty__ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; background: var(--orange); color: var(--white); }
.ev-empty__ic .icon { width: 30px; height: 30px; }
.ev-empty h3 { font-size: var(--fs-xl); letter-spacing: -.03em; }
.ev-empty p { margin: 12px auto 24px; max-width: 46ch; color: var(--muted); }


@media (max-width: 900px) {
  .ev-feature { grid-template-columns: 1fr; }
  .ev-feature__img { min-height: 280px; }
}
@media (max-width: 1080px) {
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-grid.is-collapsed > .ev-card:nth-child(n+3) { display: none; }
}
@media (max-width: 640px) {
  .ev-grid { grid-template-columns: 1fr; }
  .ev-grid.is-collapsed > .ev-card:nth-child(n+3) { display: none; }
  .ev-feature__cta .btn { width: 100%; }
}

/* Küchenkonfigurator */
.plan-sec { scroll-margin-top: 80px; }
.plan-sec .head p { margin: 16px auto 0; max-width: 52ch; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.plan-card {
  --card: var(--orange);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 22px clamp(22px, 2.4vw, 34px) clamp(24px, 2.6vw, 34px);
  border-radius: 30px;
  background: linear-gradient(160deg, #f0670f, var(--orange) 45%, var(--orange-deep));
  color: var(--white);
  box-shadow: 12px 14px 0 #e4dfd8;
  transition: opacity var(--reveal) var(--ease-out), translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out);
}
.plan-card__tag {
  align-self: flex-end; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.plan-card__art { position: relative; height: clamp(210px, 19vw, 280px); margin: 6px 0 22px; }
.plan-art {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  fill: var(--orange); stroke: var(--white); stroke-width: .26; stroke-linejoin: round; stroke-linecap: round;
  transition: translate 700ms var(--ease-out), scale 700ms var(--ease-out);
}
.plan-art .d { fill: none; }
/* Linien zeichnen sich beim Einblenden */
.plan-art polygon, .plan-art line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
.plan-art polygon { fill-opacity: 0; transition: stroke-dashoffset 1.6s var(--ease-out), fill-opacity .6s .5s var(--ease); }
.plan-card.is-in .plan-art polygon, .plan-card.is-in .plan-art line { stroke-dashoffset: 0; }
.plan-card.is-in .plan-art polygon { fill-opacity: 1; }
.plan-card h3 { font-size: clamp(1.3rem, 1rem + .8vw, 1.7rem); letter-spacing: -.02em; color: var(--white); }
.plan-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.plan-card__btn {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto;
  translate: 0 0; padding: 13px 22px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: background-color var(--ui) var(--ease), color var(--ui) var(--ease);
}
.plan-card p { margin-bottom: 26px; }
.plan-card__btn .icon { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .plan-card:hover { translate: -4px -4px; box-shadow: 16px 18px 0 #e4dfd8; }
  .plan-card:hover .plan-art { translate: 0 -6px; scale: 1.04; }
  .plan-card:hover .plan-card__btn { background: var(--white); color: var(--orange-deep); }
}
.plan-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.plan-custom {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  margin-top: 48px; padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--r-xl); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--white);
}
.plan-custom::after { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 12, .35), transparent); }
.plan-custom__ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--orange); }
.plan-custom__ic .icon { width: 30px; height: 30px; }
.plan-custom h3 { font-size: var(--fs-xl); letter-spacing: -.03em; color: var(--orange); }
.plan-custom p { margin-top: 8px; max-width: 58ch; color: var(--muted-dark); }
.plan-custom__cta { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-custom { grid-template-columns: auto 1fr; }
  .plan-custom__cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .plan-grid { grid-template-columns: 1fr; gap: 22px; }
  .plan-custom { grid-template-columns: 1fr; }
  .plan-custom__cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-art polygon, .plan-art line { stroke-dashoffset: 0; fill-opacity: 1; transition: none; }
}

/* Ratgeber: Übersicht und Beitrag */
/* Übersicht: Filter, hervorgehobener Beitrag, Karten */
.rg-list { scroll-margin-top: 70px; }
.rg-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; scroll-margin-top: 110px; }
.rg-chip { padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color var(--ui) var(--ease), border-color var(--ui) var(--ease), color var(--ui) var(--ease); }
.rg-chip:hover { border-color: var(--ink); }
.rg-chip.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.rg-chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.rg-feature { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; margin-bottom: 36px; border-radius: var(--r-xl); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--white); box-shadow: 12px 14px 0 #e4dfd8; scroll-margin-top: 110px; transition: opacity var(--reveal) var(--ease-out), translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out); }
.rg-feature__img { position: relative; min-height: 360px; overflow: hidden; }
.rg-feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.rg-feature__badge { position: absolute; left: 20px; top: 20px; padding: 7px 14px; border-radius: 999px; background: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rg-feature__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 3.6vw, 52px); }
.rg-feature h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.12; letter-spacing: -.03em; color: var(--orange); }
.rg-feature p { color: var(--muted-dark); }
.rg-feature .btn { margin-top: 8px; }
.rg-feature .rg-card__meta { color: var(--muted-dark); }

.rg-grid, .rg-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rg-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--white); box-shadow: 10px 12px 0 #e4dfd8; transition: opacity var(--reveal) var(--ease-out), translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out); }
.rg-card[hidden], .rg-feature[hidden] { display: none; }
.rg-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.rg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.rg-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 70px; }
.rg-card__cat { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rg-feature .rg-card__cat { background: rgba(232, 93, 12, .18); color: #ff9a5c; }
.rg-card h3 { font-size: var(--fs-lg); line-height: 1.22; letter-spacing: -.02em; }
.rg-card p { font-size: 15px; color: var(--muted); }
.rg-card__meta { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.rg-card__go { position: absolute; right: 20px; bottom: 20px; }
.rg-card__go .icon { display: block; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--orange); color: var(--white); transition: scale var(--ui) var(--ease-out); }
.rg-none { margin-top: 24px; text-align: center; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .rg-card:hover, .rg-feature:hover { translate: -4px -4px; box-shadow: 16px 18px 0 #e4dfd8; }
  .rg-card:hover .rg-card__img img, .rg-feature:hover .rg-feature__img img { scale: 1.05; }
  .rg-card:hover .rg-card__go .icon { scale: 1.08; }
}
.rg-card:focus-visible, .rg-feature:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* Beitrag als Preview-Card (Overlay, URL = /ratgeber/<slug>/) */
html.rg-lock { overflow: hidden; }
.rg-modal { position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 4vh, 48px) clamp(12px, 3vw, 40px); border: 0; background: transparent; overflow-y: auto; overscroll-behavior: contain; color: var(--text); }
.rg-modal:not([open]) { display: none; }
.rg-modal::backdrop { background: rgba(20, 19, 18, .72); backdrop-filter: blur(6px); }
/* Fallback ohne showModal (Seite direkt geöffnet, JavaScript aus) */
.rg-modal[open]:not(:modal) { background: rgba(20, 19, 18, .8); }
.rg-modal__frame { max-width: 1200px; margin: 0 auto; }
.rg-modal__close { position: fixed; z-index: 3; right: clamp(14px, 2.4vw, 32px); top: clamp(14px, 2.4vw, 28px); width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--white); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: scale var(--ui) var(--ease-out), background-color var(--ui) var(--ease); }
.rg-modal__close .icon { width: 22px; height: 22px; }
.rg-modal__close:hover { scale: 1.06; background: var(--orange-deep); }
.rg-modal__close:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.rg-modal[open] .rg-panel { animation: rgIn 520ms var(--ease-out) both; }
.rg-modal.is-closing .rg-panel { animation: rgOut 240ms var(--ease) both; }
.rg-modal.is-closing::backdrop { opacity: 0; transition: opacity 240ms; }
@keyframes rgIn { from { opacity: 0; translate: 0 48px; scale: .98; } }
@keyframes rgOut { to { opacity: 0; translate: 0 32px; } }
.rg-loading { display: grid; place-items: center; min-height: 60vh; border-radius: var(--r-xl); background: var(--paper); }
.rg-loading::after { content: ""; width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--orange-soft); border-top-color: var(--orange); animation: rgSpin .8s linear infinite; }
@keyframes rgSpin { to { rotate: 360deg; } }

.rg-panel { overflow: clip; border-radius: var(--r-xl); background: var(--paper); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .6); }
.rg-panel__head { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(28px, 4vw, 56px); padding: clamp(32px, 4.4vw, 60px); background: var(--anthra); color: var(--white); }
.rg-panel__head::after { content: ""; position: absolute; z-index: -1; right: -180px; top: -220px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 12, .24), transparent); }
.rg-panel__title { margin-top: 16px; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); line-height: 1.07; letter-spacing: -.035em; }
.rg-panel__lead { margin-top: 18px; max-width: 58ch; font-size: var(--fs-md); color: var(--muted-dark); }
.rg-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.rg-meta img { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.rg-meta p { display: grid; font-size: 14px; line-height: 1.35; }
.rg-meta p span { color: var(--muted-dark); }
.rg-meta ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 auto; list-style: none; padding: 0; }
.rg-meta li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13px; font-weight: 600; color: #e9e5e0; }
.rg-meta li .icon { width: 15px; height: 15px; color: var(--orange); }
.rg-panel__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); box-shadow: 12px 14px 0 rgba(232, 93, 12, .9); }
.rg-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.rg-panel .rg-layout { padding: clamp(32px, 4vw, 56px) clamp(20px, 4.4vw, 60px); }
.rg-panel .rg-side { top: 24px; }
.rg-panel .rg-prose h2, .rg-panel .rg-faq { scroll-margin-top: 24px; }
.rg-panel__foot { padding: clamp(32px, 4vw, 52px) clamp(20px, 4.4vw, 60px); border-top: 1px solid var(--line); background: var(--white); }
.rg-panel__more-h { margin-bottom: 22px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }
.rg-panel__cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 36px; padding: 24px 28px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--muted-dark); }
.rg-panel__cta strong { display: block; font-size: var(--fs-lg); color: var(--orange); }
.rg-panel__cta div { display: flex; flex-wrap: wrap; gap: 10px; }

/* Beitrag: Spalten */
.rg-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rg-main { max-width: 760px; min-width: 0; }
.rg-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.rg-toc { padding: 22px; border-radius: var(--r-lg); background: var(--white); box-shadow: 8px 10px 0 #e4dfd8; }
.rg-toc summary { list-style: none; cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }
.rg-toc summary::-webkit-details-marker { display: none; }
.rg-toc ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.rg-toc li { counter-increment: toc; }
.rg-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 8px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--muted); text-decoration: none; transition: background-color var(--ui) var(--ease), color var(--ui) var(--ease); }
.rg-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 800; color: #c7c0b8; padding-top: 1px; }
.rg-toc a:hover { color: var(--ink); background: var(--paper); }
.rg-toc a.is-active { color: var(--ink); background: var(--orange-soft); }
.rg-toc a.is-active::before { color: var(--orange); }
.rg-side__cta { padding: 22px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: var(--white); }
.rg-side__h { font-weight: 800; font-size: 17px; color: var(--orange); }
.rg-side__cta p:not(.rg-side__h) { margin: 6px 0 14px; font-size: 14px; color: var(--muted-dark); }

.rg-sum { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: var(--white); box-shadow: 10px 12px 0 #e4dfd8; border-left: 5px solid var(--orange); }
.rg-sum__h { display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.02em; color: var(--orange); }
.rg-sum__h .icon { width: 24px; height: 24px; }
.rg-sum ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rg-sum li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 600; line-height: 1.5; }
.rg-sum li .icon { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--orange); color: var(--white); }

/* Beitrag: Fließtext */
.rg-prose { margin-top: clamp(36px, 4vw, 52px); font-size: 17.5px; line-height: 1.75; color: var(--text); }
.rg-prose > * + * { margin-top: 1.1em; }
.rg-prose h2 { margin-top: 2.3em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); line-height: 1.15; letter-spacing: -.03em; scroll-margin-top: 110px; }
.rg-prose h3 { margin-top: 1.8em; font-size: var(--fs-lg); letter-spacing: -.02em; color: var(--ink); }
.rg-prose h2 + *, .rg-prose h3 + * { margin-top: .7em; }
.rg-prose strong { color: var(--ink); }
.rg-prose a:not(.btn) { color: var(--orange-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.rg-prose ul, .rg-prose ol { padding: 0; list-style: none; display: grid; gap: .55em; }
.rg-prose ul li { position: relative; padding-left: 28px; }
.rg-prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.rg-prose ol { counter-reset: li; }
.rg-prose ol li { position: relative; padding-left: 40px; counter-increment: li; }
.rg-prose ol li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); font-size: 14px; font-weight: 800; line-height: 1; }

.rg-key { position: relative; margin-block: 1.6em !important; padding: 4px 0 4px 26px; border-left: 4px solid var(--orange); font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.rg-note, .rg-tip { position: relative; margin-block: 1.6em !important; padding: 22px 24px 22px 26px; border-radius: var(--r-lg); font-size: 16.5px; }
.rg-note { background: var(--white); border: 1.5px solid var(--line); }
.rg-tip { background: linear-gradient(150deg, var(--anthra-2), var(--ink)); color: #e9e5e0; }
.rg-tip strong { color: var(--white); }
.rg-note__label, .rg-tip__label { margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }
.rg-tip__label { display: flex; align-items: center; gap: 10px; color: var(--orange); }
.rg-tip__label::before { content: ""; width: 26px; height: 26px; flex: none; background: url("../../assets/logo-kuechen-lohse.png") left center / auto 100% no-repeat; clip-path: inset(0 calc(100% - 26px) 0 0); }
.rg-note p + p, .rg-tip p + p { margin-top: .7em; }

.rg-check { margin-block: 1.8em !important; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: linear-gradient(160deg, #f0670f, var(--orange) 45%, var(--orange-deep)); color: var(--white); box-shadow: 12px 14px 0 #e4dfd8; }
.rg-check__label { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rg-check h3 { margin-top: 12px !important; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); color: var(--white); }
.rg-check ol { margin-top: 18px; gap: 12px; }
.rg-check ol li { padding: 14px 16px 14px 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.rg-check ol li::before { left: 14px; top: 14px; background: var(--white); color: var(--orange-deep); }
.rg-check strong { display: block; color: var(--white); }

.rg-table { overflow-x: auto; margin-block: 1.6em !important; border-radius: var(--r-lg); background: var(--white); box-shadow: 8px 10px 0 #e4dfd8; }
.rg-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.rg-table th { padding: 14px 16px; background: var(--anthra); color: var(--white); text-align: left; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.rg-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.rg-table td:first-child { font-weight: 800; color: var(--ink); }
.rg-table tr:nth-child(even) td { background: #faf8f5; }

.rg-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-block: 2.2em !important; padding: 24px; border-radius: var(--r-xl); background: var(--orange-soft); border: 1.5px solid rgba(232, 93, 12, .25); }
.rg-cta__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--orange); color: var(--white); }
.rg-cta__ic .icon { width: 26px; height: 26px; }
.rg-cta p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.rg-cta .rg-cta__h { font-size: 17px; font-weight: 800; color: var(--ink); }
.rg-cta .btn { white-space: nowrap; }

.rg-faq { margin-top: clamp(48px, 5vw, 72px); scroll-margin-top: 110px; }
.rg-faq h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); letter-spacing: -.03em; }
.rg-src { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rg-src__h { margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.rg-src ul { padding: 0; list-style: none; display: grid; gap: 4px; }
.rg-src a { color: var(--orange-deep); }
.rg-author { margin-top: 40px; }
.rg-author__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.rg-author .expert__who { margin-top: 4px; font-size: 15px; }
.rg-author__bio { margin-top: 8px; font-size: 15px; color: var(--muted-dark); }
.rg-more .tile { aspect-ratio: auto; min-height: 100%; }

@media (max-width: 1100px) {
  .rg-layout { grid-template-columns: minmax(0, 1fr); }
  .rg-side { position: static; }
  .rg-side__cta { display: none; }
  .rg-main { max-width: none; }
}
@media (max-width: 1000px) {
  .rg-grid, .rg-more { grid-template-columns: 1fr 1fr; }
  .rg-feature { grid-template-columns: 1fr; }
  .rg-feature__img { min-height: 280px; }
  .rg-panel__head { grid-template-columns: 1fr; }
  .rg-panel__img { max-width: 560px; }
}
@media (max-width: 640px) {
  .rg-grid, .rg-more { grid-template-columns: 1fr; }
  .rg-meta ul { margin-left: 0; }
  .rg-prose { font-size: 16.5px; }
  .rg-cta { grid-template-columns: 1fr; }
  .rg-cta .btn { width: 100%; justify-content: center; white-space: normal; }
  .rg-check ol li { padding-left: 50px; }
  .rg-more .tile { aspect-ratio: 1 / 1; }
  /* Handy: Card fährt als Vollbild-Sheet von unten hoch */
  .rg-modal { padding: 0; padding-top: 10px; }
  .rg-panel { border-radius: 24px 24px 0 0; min-height: 100%; }
  .rg-panel__head { padding: 64px 18px 30px; }
  .rg-panel__img { box-shadow: 8px 10px 0 rgba(232, 93, 12, .9); margin-right: 8px; }
  .rg-modal__close { width: 46px; height: 46px; top: 18px; right: 14px; }
  .rg-panel__cta div, .rg-panel__cta .btn { width: 100%; justify-content: center; }
}
.rg-toc summary { display: flex; align-items: center; justify-content: space-between; }
.rg-toc summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate var(--ui) var(--ease); }
.rg-toc[open] summary::after { rotate: 225deg; translate: 0 2px; }
@media (min-width: 1101px) { .rg-toc summary { pointer-events: none; } .rg-toc summary::after { display: none; } }

/* Rechtliches (Impressum, Datenschutz) und 404 */
.legal-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(130px, 14vw, 170px) 0 clamp(48px, 6vw, 72px); background: var(--anthra); color: var(--white); }
.legal-hero::after { content: ""; position: absolute; z-index: -1; right: -200px; top: -240px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 93, 12, .22), transparent); }
.legal-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -.035em; line-height: 1.06; }
.legal-hero p { margin-top: 14px; max-width: 62ch; color: var(--muted-dark); font-size: var(--fs-md); }
.legal-hero .crumbs ol { color: var(--muted-dark); }
.legal-hero .crumbs a { color: var(--white); }
.legal-hero--404 { min-height: 80svh; display: flex; align-items: center; }
.legal-hero__code { margin: 0 0 8px !important; font-size: clamp(5rem, 3rem + 8vw, 10rem) !important; font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--orange) !important; }
.legal-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.legal__body { max-width: 820px; }
.legal__body h2 { margin-top: 2em; font-size: var(--fs-lg); letter-spacing: -.02em; }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p { margin-top: .7em; line-height: 1.7; color: var(--text); }
.legal__body a { color: var(--orange-deep); font-weight: 700; }
.legal__date { margin-top: 2.4em !important; font-size: 14px; color: var(--muted) !important; }


/* Hochkant-Foto im Unterseiten-Hero rechts platzieren (Leistungen, November 2026) */
@media (min-width: 721px) {
  .shero__media--right { left: 52%; }
  .shero__media--right img { object-position: 50% 0% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
}
@media (max-width: 720px) {
  .shero__media--right img { object-position: 50% 0% !important; }
}

/* Über uns */

/* Film, lädt erst auf Klick */
.film-sec { overflow: hidden; }
.film-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.film-grid .pill { margin-bottom: 22px; }

.film-head { margin: 0 0 24px; font-size: clamp(27px, 3vw, 40px); line-height: 1.15; letter-spacing: -.035em; color: var(--white); }

.film-grid__lead { color: var(--muted-dark); font-size: var(--fs-sm); line-height: 1.7; max-width: 46ch; }

.film-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); }
.film-facts b { display: block; font-size: 30px; line-height: 1; letter-spacing: -.03em; color: var(--orange); }
.film-facts span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted-dark); }
.film-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.film__start { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid var(--line-dark); border-radius: var(--r-xl); cursor: pointer; background: var(--anthra-2); box-shadow: var(--shadow-lg); }
.film__start img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.film__meta { margin: 14px 2px 0; font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -.01em; }

/* Abspielen: schmaler Ring statt oranger Scheibe */
.film__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .85); background: rgba(28, 27, 26, .25); backdrop-filter: blur(6px); transition: background-color var(--ui) var(--ease), border-color var(--ui) var(--ease), scale var(--ui) var(--ease); }
.film__play svg { width: 30px; height: 30px; fill: var(--white); margin-left: 3px; transition: fill var(--ui) var(--ease); }

.film__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 24px; text-align: left; font-size: 13px; color: var(--muted-dark); }
.film__cap strong { display: block; color: var(--white); font-size: 16px; margin-bottom: 3px; letter-spacing: -.01em; }

@media (hover: hover) and (pointer: fine) {
  .film__start:hover img { scale: 1.035; }
  .film__start:hover .film__play { scale: 1.07; background: var(--orange); border-color: var(--orange); }
}
.film__start:focus-visible .film__play { background: var(--orange); border-color: var(--orange); }
.film iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-xl); display: block; }
.film__note { margin: 14px 2px 0; font-size: 12.5px; line-height: 1.6; color: var(--muted-dark); opacity: .8; }
.film__note a { color: var(--orange); }

/* Die Menschen */
.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.crew__lead { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(165deg, var(--anthra-2), var(--ink)); color: var(--white); box-shadow: var(--shadow-lg); }
.crew__lead-img { aspect-ratio: 4 / 3.2; overflow: hidden; }
.crew__lead-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.crew__lead-body { padding: clamp(24px, 2.6vw, 38px); display: flex; flex-direction: column; }
.crew__lead-body h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; margin-bottom: 16px; }
.crew__lead .crew__text { color: var(--muted-dark); }
.crew__lead .ruler { margin: auto 0 0; padding-top: 26px; }
.crew__lead .ruler li { background: rgba(255, 255, 255, .06); }

.crew__role { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.crew__say { font-size: var(--fs-md, 17px); font-weight: 700; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 14px; }
.crew__text { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }

.crew__card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease); }
.crew__img { aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--paper-2); }
/* Die Portraits sind bis dicht an den Kopf beschnitten. Der Ausschnitt wird
   deshalb oben buendig gesetzt: abgeschnitten wird allenfalls unten. */
.crew__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: scale 800ms var(--ease-out); }
.crew__img--leer { display: grid; place-items: center; font-size: 13px; color: var(--muted); background: repeating-linear-gradient(135deg, var(--paper-2), var(--paper-2) 12px, var(--paper) 12px, var(--paper) 24px); }
.crew__body { padding: 22px 24px 26px; }
.crew__body h3 { font-size: var(--fs-lg); margin-bottom: 10px; letter-spacing: -.02em; }
.crew__card .crew__role { color: var(--orange-deep); }

@media (hover: hover) and (pointer: fine) {
  .crew__card:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
  .crew__card:hover .crew__img img { scale: 1.05; }
}


@media (max-width: 1080px) {
  .film-grid { grid-template-columns: 1fr; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew__lead { grid-column: 1 / -1; grid-row: auto; }
  .crew__lead-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .crew { grid-template-columns: 1fr; }
  .film__play { width: 60px; height: 60px; }
  .film__play svg { width: 24px; height: 24px; }
  .film-facts { gap: 18px 28px; }
}

/* Hero "Ueber uns"
   Grundsatz: Der Hero bekommt GENAU das Seitenverhaeltnis des Fotos (1774:887).
   Dadurch schneidet object-fit nichts ab, egal wie breit das Fenster ist.
   Die drei Personen stehen deshalb immer an derselben Stelle im Bild
   (ab 52 Prozent der Breite), und ein einziger Verlauf passt fuer alle
   Fenstergroessen. Kein Zoomfahren, kein Nachschieben je Breite. */

/* Der Hero steht immer im Blick. Sein Inhalt darf deshalb nicht davon
   abhaengen, dass eine Scroll-Animation ausgeloest wird: Bleibt die aus,
   weil das Skript spaet kommt, der Beobachter nicht greift oder das Fenster
   niedrig ist, waere der Hero sonst leer. Darum ist der Text hier von
   Anfang an sichtbar; die Animation laeuft nur noch als Zugabe. */
.shero--trio .shero__text .reveal,
.shero--trio .shero__text.reveal { opacity: 1; translate: 0 0; }
.shero--trio .shero__title .w > span { translate: 0 0; }
.shero--trio .shero__text .reveal.pill::before { scale: 1; }

.shero--trio { aspect-ratio: 1774 / 887; min-height: 0; }
.shero--trio .shero__media img { animation: none; object-position: 50% 50%; }

/* Minimaler Verlauf nur links, bei 48 Prozent unsichtbar. Die erste Person
   beginnt bei 52 Prozent, der Verlauf beruehrt also niemanden. Nur so dunkel,
   dass der weisse Text lesbar bleibt — kein flaechiger schwarzer Filter. */
.shero--trio .shero__shade { background: linear-gradient(90deg,
  rgba(28, 27, 26, .62) 0%,
  rgba(28, 27, 26, .52) 18%,
  rgba(28, 27, 26, .34) 30%,
  rgba(28, 27, 26, .14) 40%,
  rgba(28, 27, 26, 0) 48%); }

/* Textspalte endet vor dem Verlaufsende */
.shero--trio .shero__content { padding-top: clamp(96px, 7vw, 150px); padding-bottom: clamp(36px, 3vw, 60px); }
.shero--trio .shero__text { max-width: 520px; }
.shero--trio .shero__title { font-size: clamp(30px, 3.4vw, 68px); }
.shero--trio .shero__lead { font-size: clamp(15px, 1.05vw, 21px); }

/* --- Bis 1500px: wie die anderen Unterseiten-Heros — Text liegt auf dem Bild.
   Das Seitenverhaeltnis wird aufgegeben, damit der Hero hoch genug fuer den
   Text ist; das Bild wird dafuer seitlich beschnitten. object-position haelt
   die drei Personen (rechte Bildhaelfte) im Ausschnitt, der Verlauf links und
   unten macht den Text lesbar. --- */
@media (max-width: 1500px) {
  .shero--trio { aspect-ratio: auto; min-height: max(640px, 88svh); }
  .shero--trio .shero__media img { object-position: 72% 42%; }
  .shero--trio .shero__shade { background:
    linear-gradient(90deg, rgba(28, 27, 26, .68) 0%, rgba(28, 27, 26, .50) 25%, rgba(28, 27, 26, .20) 42%, rgba(28, 27, 26, 0) 55%); }
  .shero--trio .shero__text { max-width: 560px; }
  .shero--trio .shero__title { font-size: clamp(30px, 4.6vw, 52px); }
}
@media (max-width: 640px) {
  /* Das Teamfoto behaelt sein eigenes Seitenverhaeltnis, damit alle drei
     drauf bleiben. Die Maske blendet nur den letzten Rand aus. */
  .shero--trio { min-height: auto; }
  .shero--trio .shero__media { height: auto; aspect-ratio: 1774 / 887; }
  .shero--trio .shero__media img {
    object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 84%, transparent 100%);
  }
}

/* RATGEBER · YouTube-Sektion
   Die Kacheln kommen aus api/youtube.php. Vorschaubilder liegen bei uns,
   YouTube wird erst beim Klick geladen (siehe Hinweis unter der Sektion). */
.yt-sec { overflow: hidden; }
.yt-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 3.4vw, 52px); }
.yt-head .pill { margin-bottom: 20px; }
.yt-head h2 { color: var(--white); }
.yt-head__aside p { color: var(--muted-dark); font-size: var(--fs-sm); line-height: 1.7; margin-bottom: 22px; max-width: 46ch; }

.yt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
/* Alle Kacheln gleich gross: YouTube-Vorschaubilder tragen Schrift, die ein
   Zuschnitt abschneiden wuerde. Das neueste Video markiert nur das Badge. */

/* Bild oben, Text darunter auf eigener Flaeche: So liegt keine Schrift auf
   dem Vorschaubild, das ja selbst schon Titel traegt. */
.yt-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-lg); background: var(--anthra-2); color: var(--white); text-align: left; cursor: pointer; isolation: isolate; transition: translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out); }
.yt-card__media { position: relative; display: block; overflow: hidden; flex: 1 1 auto; min-height: 0; }
.yt-card img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale 900ms var(--ease-out); }
/* Fehlt ein Vorschaubild, bleibt die Flaeche dunkel stehen. */
.yt-card__leer { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--anthra-2), var(--ink)); }
.yt-card__body { flex: 0 0 auto; padding: 16px 18px 18px; border-top: 1px solid var(--line-dark); }
.yt-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 15px; line-height: 1.35; letter-spacing: -.015em; }
.yt-card__meta { margin-top: 7px; font-size: 12.5px; color: var(--muted-dark); }
.yt-card__play { position: absolute; z-index: 1; left: 16px; top: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .85); background: rgba(28, 27, 26, .3); backdrop-filter: blur(6px); transition: background-color var(--ui) var(--ease), border-color var(--ui) var(--ease), scale var(--ui) var(--ease); }
.yt-card__play svg { width: 20px; height: 20px; fill: var(--white); margin-left: 2px; }
.yt-card__badge { position: absolute; z-index: 1; right: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .yt-card:hover { translate: 0 -3px; box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .7); }
  .yt-card:hover img { scale: 1.05; }
  .yt-card:hover .yt-card__play { background: var(--orange); border-color: var(--orange); }
}
.yt-card:focus-visible .yt-card__play { background: var(--orange); border-color: var(--orange); }
.yt-grid iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); display: block; }
.yt-note { margin-top: 26px; font-size: 12.5px; line-height: 1.6; color: var(--muted-dark); max-width: 70ch; }

@media (max-width: 1080px) {
  .yt-head { grid-template-columns: 1fr; align-items: start; }
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .yt-grid { grid-template-columns: 1fr; }
  .yt-card__play { left: 16px; top: 16px; }
}

/* Franks Begruendung zur Uebernahme: etwas ruhiger als das Eingangszitat. */
.crew__say--warum { margin-top: 18px; font-size: var(--fs-md, 17px); font-weight: 600; line-height: 1.55; color: var(--muted); }

/* Referenzen */

/* Ein Projekt */
.refp { margin-top: clamp(48px, 5vw, 86px); padding-top: clamp(34px, 3.4vw, 54px); border-top: 1px solid var(--line); }
.refp:first-of-type { margin-top: clamp(34px, 3.6vw, 58px); }

/* Kopf wie eine Section-Headline: Eyebrow, orange Headline, Text darunter, alles mittig */
.refp__intro { max-width: 780px; margin-inline: auto; text-align: center; }
.refp__title { margin-top: 20px; font-size: clamp(27px, 2.9vw, 42px); line-height: 1.06; letter-spacing: -.032em; color: var(--orange); }
.refp__text { margin-top: 20px; font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); }

.refp__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 10px; margin-top: clamp(24px, 2.2vw, 34px); }
.refp__facts li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 650; }
.refp__facts .icon { width: 17px; height: 17px; color: var(--orange); }

/* Bildraster */
/* 6 Spalten: die beiden Totalen nehmen je eine halbe Zeile, der Rest laeuft zu dritt.
   Bei acht Bildern geht die Rechnung ohne Rest auf: 3+3, 2+2+2, 2+2+2. */
.refp__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.refp__grid > .refp__shot { grid-column: span 2; }
.refp__grid > .refp__shot:nth-child(1),
.refp__grid > .refp__shot:nth-child(2) { grid-column: span 3; }

.refp__shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.refp__shot img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale 600ms var(--ease-out); }
.refp__grid > .refp__shot:nth-child(1) img,
.refp__grid > .refp__shot:nth-child(2) img { aspect-ratio: 16 / 10; }

.refp__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(28, 27, 26, .55); color: var(--white); opacity: 0; translate: 0 8px; transition: opacity var(--ui) var(--ease), translate var(--ui) var(--ease); }
.refp__zoom .icon { width: 16px; height: 16px; rotate: -45deg; }

@media (hover: hover) and (pointer: fine) {
  .refp__shot:hover img { scale: 1.04; }
  .refp__shot:hover .refp__zoom { opacity: 1; translate: 0 0; }
}
.refp__shot:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Eingeklappt sind nur die ersten beiden Zeilen zu sehen: die zwei Totalen und drei Kacheln */
.refp__grid.is-collapsed > .refp__shot:nth-child(n+6) { display: none; }

.refp__moreline { display: flex; justify-content: center; margin-top: 22px; }
.refp__more { display: inline-flex; align-items: center; gap: 10px; padding: 13px 15px 13px 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); cursor: pointer; transition: background-color var(--ui) var(--ease), color var(--ui) var(--ease), border-color var(--ui) var(--ease); }
.refp__more .icon { width: 18px; height: 18px; color: var(--orange); transition: rotate 300ms var(--ease-out), color var(--ui) var(--ease); }
.refp__more[aria-expanded="true"] .icon { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) {
  .refp__more:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
  .refp__more:hover .icon { color: var(--white); }
}

/* Vorher und nachher: ein Bild, ein Schieberegler */
.ba { max-width: 860px; margin: clamp(30px, 3vw, 48px) auto 0; }
.ba__stage { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; touch-action: pan-y; }
.ba__img { display: block; width: 100%; height: auto; }
/* Das Vorher-Bild liegt deckungsgleich darueber und wird von rechts her abgeschnitten */
.ba__img--before { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }

.ba__tag { position: absolute; top: 16px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgba(16, 15, 14, .62); backdrop-filter: blur(4px); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); pointer-events: none; }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; color: var(--orange-hover); }

.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 3; display: flex; align-items: center; justify-content: center; width: 3px; translate: -50% 0; background: var(--white); box-shadow: 0 0 0 1px rgba(16, 15, 14, .18); pointer-events: none; }
.ba__handle::before { content: ""; position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md); }
.ba__handle .icon { position: relative; flex: none; width: 17px; height: 17px; max-width: none; color: var(--orange); }
.ba__handle .icon:first-of-type { rotate: 180deg; margin-right: 1px; }

/* Der Regler liegt unsichtbar ueber dem ganzen Bild: ziehen und klicken funktioniert ueberall */
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
/* Schmaler Griff, damit der Regler genau der Mausposition folgt */
.ba__range::-webkit-slider-runnable-track { height: 100%; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 100%; }
.ba__range::-moz-range-track { height: 100%; }
.ba__range::-moz-range-thumb { width: 2px; height: 100%; border: 0; border-radius: 0; }
.ba__stage:has(.ba__range:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }

.ba__cap { margin-top: 16px; text-align: center; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted-dark); }


/* Bilder in den Schrittkarten bleiben anklickbar */
.weg-step__img .refp__shot { display: block; width: 100%; height: 100%; border-radius: 0; background: none; cursor: zoom-in; }
.weg-step__img .refp__shot img { aspect-ratio: auto; }

/* Gleich große Kacheln */
.refp__grid--even { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.refp__grid--even > .refp__shot,
.refp__grid--even > .refp__shot:nth-child(1),
.refp__grid--even > .refp__shot:nth-child(2) { grid-column: span 1; }
.refp__grid--even > .refp__shot img,
.refp__grid--even > .refp__shot:nth-child(1) img,
.refp__grid--even > .refp__shot:nth-child(2) img { aspect-ratio: 4 / 3; }
.refp__grid--even.is-collapsed > .refp__shot:nth-child(n+4) { display: none; }
.refp__grid--even .refp__shot { background: rgba(255, 255, 255, .06); }

.refp__more--dark { border-color: var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--white); box-shadow: none; }

.umbau__foot { max-width: 76ch; margin: clamp(32px, 3vw, 52px) auto 0; text-align: center; font-size: var(--fs-sm); line-height: 1.7; color: var(--muted-dark); }

/* Bildbetrachter */
body.lbox-open { overflow: hidden; }
.lbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(16px, 4vw, 54px); background: rgba(16, 15, 14, .93); backdrop-filter: blur(6px); }
.lbox[hidden] { display: none; }
.lbox__fig { max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 14px; }
.lbox__fig img { display: block; max-width: 100%; max-height: calc(100vh - 170px); margin-inline: auto; object-fit: contain; border-radius: var(--r-md); background: #100f0e; }
.lbox__fig figcaption { text-align: center; font-size: var(--fs-sm); line-height: 1.5; color: rgba(255, 255, 255, .72); }

.lbox__close,
.lbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background-color var(--ui) var(--ease); }
.lbox__close { top: clamp(14px, 2vw, 26px); right: clamp(14px, 2vw, 26px); }
.lbox__nav { top: 50%; translate: 0 -50%; }
.lbox__nav--prev { left: clamp(10px, 2vw, 26px); }
.lbox__nav--next { right: clamp(10px, 2vw, 26px); }
.lbox__nav--prev .icon { rotate: 180deg; }
.lbox__close:hover,
.lbox__nav:hover { background: var(--orange); }
.lbox__close:focus-visible,
.lbox__nav:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Umbrüche */
@media (max-width: 1080px) {
  .refp__grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refp__grid--even.is-collapsed > .refp__shot:nth-child(n+3) { display: none; }
  .refp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refp__grid > .refp__shot,
  .refp__grid > .refp__shot:nth-child(1),
  .refp__grid > .refp__shot:nth-child(2) { grid-column: span 1; }
  .refp__grid > .refp__shot:nth-child(1) img,
  .refp__grid > .refp__shot:nth-child(2) img { aspect-ratio: 4 / 3; }
  .refp__grid.is-collapsed > .refp__shot:nth-child(n+5) { display: none; }
}
@media (max-width: 640px) {
  .ba__tag { top: 10px; padding: 6px 11px; font-size: 11px; }
  .ba__tag--l { left: 10px; }
  .ba__tag--r { right: 10px; }
  .ba__handle::before { width: 46px; height: 46px; }
  .refp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .refp__facts { gap: 6px 8px; }
  .refp__facts li { padding: 6px 11px 6px 9px; font-size: 12.5px; }
  .lbox__nav { width: 42px; height: 42px; }
  .lbox__fig img { max-height: calc(100vh - 200px); }
}

/* EVENTS · Rückblick als eigene Bereiche statt vieler Kacheln
   Kopf und Aufklappen wie bei den Projekten auf der Referenzen-Seite,
   die Kacheln sind quadratisch, weil die Fotos quer und hoch gemischt sind. */
.evb { margin-top: clamp(48px, 5vw, 86px); padding-top: clamp(34px, 3.4vw, 54px); border-top: 1px solid var(--line); }
.evb:first-of-type { margin-top: clamp(26px, 3vw, 46px); }

/* Vier schmale Kacheln im Hochformat: Die Fotos sind nur 360 px breit und
   640 px hoch. Kleine Kacheln im Hochformat verkleinern sie, statt sie
   hochzurechnen, und schneiden nichts von der Hoehe weg. */
.evb__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 2.4vw, 34px); }
.evb__grid > .refp__shot img { aspect-ratio: 3 / 4; object-position: 50% 35%; }
/* Eingeklappt steht eine Zeile, der Rest kommt ueber die Schaltflaeche */
.evb__grid.is-collapsed > .refp__shot:nth-child(n+5) { display: none; }

.evb__older { max-width: 72ch; margin: clamp(40px, 4vw, 68px) auto 0; padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid var(--line); text-align: center; font-size: var(--fs-sm); line-height: 1.7; color: var(--muted); }

@media (max-width: 1080px) {
  .evb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evb__grid.is-collapsed > .refp__shot:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .evb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* Zwei Spalten, zwei Zeilen: die vierte Kachel aus der Tablet-Regel zurueckholen */
  .evb__grid.is-collapsed > .refp__shot:nth-child(4) { display: block; }
  .evb__grid.is-collapsed > .refp__shot:nth-child(n+5) { display: none; }
}

/* Kundendienst: Servicestellen der Hersteller */
.kd-lead { max-width: 62ch; margin: 18px auto 0; color: var(--muted-dark); font-size: var(--fs-md, 17px); line-height: 1.6; }
/* Immer vier Karten je Zeile, damit keine Zeile halb leer bleibt. */
.kd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(34px, 4vw, 52px); }
.kd-card {
  position: relative; display: grid; align-content: start; gap: 10px;
  padding: 20px 52px 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  color: var(--white);
  transition: background-color var(--ui) var(--ease), border-color var(--ui) var(--ease), translate var(--ui) var(--ease);
}
/* Die Logos liegen alle mittig in einer quadratischen Flaeche, aber mit sehr
   unterschiedlich viel Luft darum. --lh je Karte gleicht das aus, damit jede
   Wortmarke gleich gross wirkt. Der Rahmen schneidet die Luft weg. */
.kd-card__logo { position: relative; height: 34px; overflow: hidden; }
.kd-card__logo img { position: absolute; top: 50%; left: 0; translate: 0 -50%; height: var(--lh, 96px); width: auto; max-width: none; }
.kd-card__what { font-size: 14px; line-height: 1.45; color: var(--muted-dark); }
.kd-card__go {
  position: absolute; top: 50%; right: 18px; translate: 0 -50%;
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: rgba(255, 255, 255, .09); color: var(--orange-hover);
  transition: background-color var(--ui) var(--ease), color var(--ui) var(--ease);
}
.kd-card__go .icon { width: 14px; height: 14px; }
.kd-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--muted-dark); }

@media (hover: hover) and (pointer: fine) {
  .kd-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(232, 93, 12, .55); translate: 0 -2px; }
  .kd-card:hover .kd-card__go { background: var(--orange); color: var(--white); }
}
@media (max-width: 1080px) { .kd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .kd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .kd-grid { grid-template-columns: 1fr; } }

/* Abverkauf ueber ausstellungskuechen.com: eine Karte plus Hinweiskasten */
/* Bewusst schmaler als die drei Kuechenkarten: eine einzelne Karte soll
   die Seite nicht dominieren. */
.sale { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 340px); gap: 24px; align-items: start; justify-content: center; }
.sale__card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--white); color: inherit;
  box-shadow: 10px 12px 0 #e4dfd8;
  transition: translate var(--ui) var(--ease-out), box-shadow var(--ui) var(--ease-out), opacity var(--reveal) var(--ease-out);
}
.sale__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.sale__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.sale__badge { position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--orange); color: var(--white); font-size: 12.5px; font-weight: 800; box-shadow: var(--shadow-orange); }
.sale__body { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.sale__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
.sale__title { font-size: var(--fs-md, 18px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sale__text { font-size: 14px; line-height: 1.55; color: var(--muted); }
.sale__foot { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.sale__price { display: flex; align-items: baseline; gap: 10px; }
.sale__price s { font-size: 15px; color: var(--muted); text-decoration-thickness: 1px; }
.sale__price strong { font-size: var(--fs-lg); letter-spacing: -.02em; color: var(--orange-deep); }

.sale__side { padding: clamp(22px, 2.2vw, 28px); border-radius: 28px; background: linear-gradient(160deg, var(--anthra-2), var(--ink)); color: var(--white); }
.sale__side-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(232, 93, 12, .18); color: var(--orange-hover); margin-bottom: 16px; }
.sale__side-ic .icon { width: 19px; height: 19px; }
.sale__side h3 { font-size: var(--fs-md, 18px); letter-spacing: -.02em; }
.sale__side p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted-dark); }
.sale__side .btn { margin-top: 20px; }
.sale__hinweis { margin-top: 20px; font-size: 12.5px; line-height: 1.5; }

@media (hover: hover) and (pointer: fine) {
  .sale__card:hover { translate: 0 -4px; box-shadow: 14px 18px 0 #ded8d0; }
  .sale__card:hover .sale__img img { scale: 1.04; }
}
@media (max-width: 860px) {
  .sale { grid-template-columns: minmax(0, 420px); }
}
