/* Wicool – Startseite im Bauplan-Stil (nur body.bp).
   Papiergrund, feines Raster, Navy-Strich, Mono-Beschriftung, ein Akzent (Wicool-Blau). Orange nur für Wärme in der Zeichnung. */

.bp {
  --paper: #f5f4ef; --paper-2: #efeee7; --grid: #dcdcd3; --grid-2: #cfd0c6; --ink-2: #4f6476;
  --heat: #e9772b; --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--paper);
}
.bp .site-header { background: rgba(245, 244, 239, .96); }
.bp .site-header.is-scrolled { border-color: var(--grid); }
.bp-label { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.bp .eyebrow { font-family: var(--mono); font-weight: 600; letter-spacing: .12em; color: var(--ink-2); }
.bp .eyebrow::before { display: none; }
.bp .btn-ghost { background: transparent; --b: var(--grid-2); }
.bp .btn-ghost:hover { --b: var(--navy); }
.bp .btn-secondary:hover { background: var(--navy); }

/* ---------- Scroll-Erzählung ---------- */
.scrolly { position: relative; height: 560vh; border-bottom: 1px solid var(--grid); }
.sc-stick { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); overflow: hidden;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 100% 100%, 100% 100%; background-position: 0 100%, 0 0; background-repeat: no-repeat; }
.sc-grid { height: 100%; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; align-items: center; width: min(1400px, 100% - 2 * var(--gut)); }
.sc-left { position: relative; height: 100%; display: grid; align-items: center; }
.sc-left > * { grid-area: 1 / 1; }
.sc-intro { transition: opacity .5s, transform .5s; }
.sc-intro.is-off { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.sc-intro h1 { hyphens: manual; font-size: clamp(2.2rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 20px; }
.sc-lead { font-size: 1.1rem; color: var(--text); max-width: 520px; }
.bp .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 26px; }
.bp .hero-actions .btn-lg { min-height: 52px; padding: 0 18px; }
.sc-hint { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .92rem; margin: 0; }
.sc-hint .bp-label { padding: 4px 8px; border: 1px solid var(--grid-2); border-radius: 3px; }
.sc-steps { list-style: none; position: relative; align-self: center; }
.sc-steps li { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-40%); opacity: 0; transition: opacity .45s, transform .45s; pointer-events: none; max-width: 460px; }
.sc-steps li.is-on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.sc-steps h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing: -.03em; margin: 12px 0 14px; }
.sc-steps p:not(.bp-label) { font-size: 1.1rem; color: var(--text); }
.sc-steps .btn { margin-top: 8px; }
.sc-rail { list-style: none; position: absolute; left: 0; bottom: 28px; display: flex; gap: 0; border-top: 1px solid var(--grid-2); width: 100%; max-width: 520px; }
.sc-rail li { flex: 1; }
.sc-rail button { width: 100%; background: none; border: 0; padding: 10px 6px 0 0; text-align: left; cursor: pointer; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #93a0ab; position: relative; }
.sc-rail button span { display: block; font-weight: 700; color: inherit; }
.sc-rail button::before { content: ''; position: absolute; left: 0; right: 4px; top: -1px; height: 2px; background: transparent; transition: background .3s; }
.sc-rail .is-done { color: var(--ink-2); }
.sc-rail .is-done::before { background: var(--grid-2); }
.sc-rail .is-on { color: var(--navy); }
.sc-rail .is-on::before { background: var(--blue); }
.sc-right { height: 100%; display: flex; align-items: center; }

/* Zeichnung */
.schnitt { width: 100%; height: auto; max-height: calc(100vh - var(--head-h) - 24px); display: block; overflow: visible; --cool: 0; }
.schnitt text { font-family: var(--mono); }
.g-min { stroke: #e6e6de; stroke-width: .6; }
.g-maj { stroke: #d8d9cf; stroke-width: 1; }
.hatch { stroke: #a9b4bd; stroke-width: 1; }
.earth { opacity: .7; }
.ln { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ln.thin { stroke-width: 1; stroke: var(--ink-2); }
.ln.wall { fill-opacity: 1; }
.ln.unit { fill: #fff; fill-opacity: var(--t); }
.js .draw-in .ln { animation: bp-draw 1.8s cubic-bezier(.4, 0, .2, 1) both; }
.draw-in .ln:nth-child(n+4) { animation-delay: .25s; }
.draw-in .ln:nth-child(n+7) { animation-delay: .55s; }
.draw-in .ln:nth-child(n+9) { animation-delay: .8s; }
.js .draw-in .earth, .js .draw-in .titleblock text { animation: bp-fade .8s .9s both; }
@keyframes bp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bp-fade { from { opacity: 0; } }
.titleblock text { font-size: 9px; letter-spacing: .08em; fill: var(--ink-2); }
.sun { opacity: calc(1 - var(--cool) * .65); }
.sun circle, .sun path { fill: none; stroke: var(--heat); stroke-width: 1.6; stroke-linecap: round; }
.sun path { transform-origin: 724px 96px; animation: bp-spin 30s linear infinite; }
@keyframes bp-spin { to { transform: rotate(360deg); } }
.heat { --t: 1; opacity: var(--t); }
.heat path { fill: none; stroke: var(--heat); stroke-width: 1.6; stroke-linecap: round; animation: bp-rise 3.2s ease-in-out infinite alternate; }
@keyframes bp-rise { to { transform: translateY(-6px); } }
.teilchen circle { opacity: .75; animation: bp-drift 6s ease-in-out infinite alternate; }
.teilchen.warm circle { fill: var(--heat); }
.teilchen.kalt circle { fill: var(--blue); }
.teilchen.warm { opacity: calc(1 - var(--cool)); }
.teilchen.kalt { opacity: var(--cool); }
@keyframes bp-drift { to { transform: translate(5px, -7px); } }
.temp-n { font-size: 34px; font-weight: 700; letter-spacing: -.02em; fill: var(--heat); transition: fill .4s; }
.schnitt.is-cool .temp-n { fill: var(--blue-ink); }
.lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; fill: var(--navy); }
.lbl.sub { font-weight: 500; fill: var(--ink-2); }
.lead { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.step { --t: 0; }
.step .ln, .step .pipe, .step .pipe-in { stroke-dashoffset: calc(1 - var(--t)); }
.step .lbl-g { opacity: clamp(0, (var(--t) - .55) * 3, 1); }
.bore { fill: var(--paper); stroke: var(--navy); stroke-width: 1; opacity: var(--t); }
.ring { fill: none; stroke: var(--blue); stroke-width: 2; opacity: var(--t); }
.pipe { fill: none; stroke: var(--navy); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.pipe-in { fill: none; stroke: var(--paper); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.air { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 10 12; opacity: var(--t); animation: bp-flow 1.1s linear infinite; }
@keyframes bp-flow { to { stroke-dashoffset: -44; } }
.s6 { opacity: var(--t); }
.stamp rect { fill: rgba(245, 244, 239, .9); stroke: var(--blue); stroke-width: 2; }
.stamp text { font-size: 11px; font-weight: 700; letter-spacing: .12em; fill: var(--blue-ink); }
.stamp .big { font-size: 17px; letter-spacing: .06em; }

/* Statisch (reduzierte Bewegung / ?static): Endzustand, Schritte als Liste */
.scrolly.is-static { height: auto; }
.is-static .sc-stick { position: static; height: auto; padding: 48px 0; }
.is-static .sc-grid { align-items: start; }
.is-static .sc-left { display: block; }
.is-static .sc-intro.is-off { opacity: 1; transform: none; }
.is-static .sc-steps { margin-top: 32px; }
.is-static .sc-steps li { position: static; opacity: 1; transform: none; margin-bottom: 20px; }
.is-static .sc-steps h2 { font-size: 1.3rem; margin: 4px 0; }
.is-static .sc-rail { display: none; }
.scrolly.is-frozen { height: auto; }
.is-frozen .sc-stick { position: relative; top: 0; }
.is-frozen .draw-in .ln { animation: none; }

/* ---------- Abschnitte im Raster ---------- */
.bp-sec { padding: var(--sec) 0; border-bottom: 1px solid var(--grid); }
.bp-head { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--grid); }
.bp-head h2 { margin: 0; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); letter-spacing: -.03em; }
.bp-head > p:not(.bp-label) { margin: 0; color: var(--ink-2); }
.bp-head .bp-label { align-self: start; padding-top: 10px; }
.bp-head-tight { grid-template-columns: 1fr; gap: 12px; border: 0; padding-bottom: 0; margin-bottom: 20px; }
@media (max-width: 960px) { .bp-head { grid-template-columns: 1fr; gap: 12px; } .bp-head .bp-label { padding-top: 0; } }

.cells { list-style: none; display: grid; border-top: 1px solid var(--grid); border-left: 1px solid var(--grid); }
.cells > li { border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.cells > li::before { content: '+'; position: absolute; top: -9px; left: -5px; font-family: var(--mono); font-size: 12px; color: var(--grid-2); line-height: 1; }
.cells-4 { grid-template-columns: repeat(4, 1fr); }
.cells-3 { grid-template-columns: repeat(3, 1fr); }
.cells strong { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.cells small { color: var(--ink-2); font-size: .9rem; }
.bp-specs { padding: 0; }
.bp-specs .cells { border-top: 0; }
@media (max-width: 860px) { .cells-4, .cells-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cells-3 { grid-template-columns: 1fr; } }

/* Leistungen als Index-Liste */
.index-list { list-style: none; border-top: 1px solid var(--grid-2); }
.index-list li { border-bottom: 1px solid var(--grid-2); }
.index-list a { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) 120px 32px; gap: 24px; align-items: center; padding: 22px 6px; text-decoration: none; color: var(--text); transition: background .25s, padding .25s; }
.index-list a:hover { background: var(--paper-2); padding-left: 14px; }
.index-list strong { font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.il-text { color: var(--ink-2); font-size: .95rem; }
.il-img { width: 120px; height: 68px; overflow: hidden; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.il-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.index-list a:hover .il-img, .index-list a:focus-visible .il-img { opacity: 1; transform: none; }
.il-arrow { color: var(--blue-ink); transition: transform .25s; }
.index-list a:hover .il-arrow { transform: translateX(4px); }
@media (max-width: 860px) { .index-list a { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 4px 14px; } .il-text { grid-column: 2; } .il-img { display: none; } .il-arrow { grid-row: 1; grid-column: 3; } }

/* Datenblatt */
.sheet { border: 1px solid var(--grid-2); background: rgba(255, 255, 255, .45); }
.sheet-row { display: grid; grid-template-columns: 180px repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--grid); }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row > * { padding: 16px 20px; border-left: 1px solid var(--grid); }
.sheet-row > *:first-child { border-left: 0; }
.sheet-row ul { list-style: none; display: grid; gap: 4px; font-size: .94rem; }
.sheet-row li::before { content: '— '; color: var(--blue-ink); }
.sh-col { display: flex; flex-direction: column; gap: 4px; }
.sh-col.is-hl { background: var(--tint); box-shadow: inset 0 3px 0 var(--blue); }
.sh-img { height: 110px; display: grid; place-items: center start; margin-bottom: 8px; }
.sh-img img { height: 100px; width: auto; }
.sh-col strong { font-size: 1.5rem; color: var(--ink); }
.bp-label.hl { color: var(--blue-ink); }
.sh-price { font-size: 1.9rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.sh-dev { font-size: .9rem; color: var(--ink-2); }
.sheet-note { margin: 18px 0 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .sheet-row { grid-template-columns: 1fr; }
  .sheet-row > * { border-left: 0; padding: 10px 16px; }
  .sheet-row > [role="rowheader"] { background: var(--paper-2); }
  .sheet-top { display: none; }
  .sheet-row [role="cell"]::before { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
  .sheet-row [role="cell"]:nth-child(2)::before { content: 'Basic'; }
  .sheet-row [role="cell"]:nth-child(3)::before { content: 'Premium'; }
  .sheet-row [role="cell"]:nth-child(4)::before { content: 'Exclusive'; }
}

/* Zweispaltig mit Rahmen */
.bp-two { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 72px; align-items: center; }
.bp-two-r { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
@media (max-width: 960px) { .bp-two, .bp-two-r { grid-template-columns: 1fr; gap: 40px; } }
.frame { position: relative; margin: 0; padding: 14px; border: 1px solid var(--grid-2); background: rgba(255, 255, 255, .5); }
.frame::before, .frame::after { content: ''; position: absolute; width: 14px; height: 14px; border: 2px solid var(--blue); }
.frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.frame img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; }
.frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: .9rem; color: var(--ink); font-weight: 700; }
.frame-map .karte { margin: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--grid); margin: 24px 0; }
.specs > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--grid); }
.specs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--grid); }
.specs dd { margin: 4px 0 0; color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } .specs > div:nth-child(even) { padding-left: 0; border-left: 0; } }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 14px; }
.proof li { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.proof img { height: 34px; width: auto; }
.proof .ph-box { width: 60px; height: 34px; font-size: .55rem; }
.brands { font-size: .92rem; color: var(--ink); margin-bottom: 22px; }
.brands .bp-label { margin-right: 10px; }

/* Karte statisch auf dieser Seite (Signatur ist die Zeichnung) */
.bp .karte .k-ring circle { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; transition: none !important; }
.bp .karte .k-ort, .bp .karte .k-ring text { opacity: 1 !important; transition: none !important; }
.bp .karte .k-ring.k-r1 circle { fill: rgba(0, 148, 217, .1); }

/* Bewertungen */
.quotes blockquote { margin: 8px 0 12px; }
.quotes blockquote p { margin: 0; font-size: 1rem; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.quotes + .link-strong { display: inline-flex; margin-top: 22px; }
.bp .stars { color: var(--star); }

/* Übernommene Module auf Papier */
.bp .section.soft, .bp .faq.soft { background: var(--paper-2); }
.bp .faq, .bp .form-sec { border-bottom: 1px solid var(--grid); }
.bp .faq-list, .bp .faq-list details { border-color: var(--grid-2); }
.bp .lead-form { box-shadow: none; border-color: var(--grid-2); border-top-color: var(--navy); }
.bp .form-direct, .bp .form-direct a, .bp .fn-row { border-color: var(--grid); }
.bp .section:not(.soft) + .section:not(.soft) { padding-top: var(--sec); }

/* Mobil: Zeichnung oben, Text unten, beide kleben */
@media (max-width: 900px) {
  .scrolly { height: 620vh; }
  .sc-grid { grid-template-columns: 1fr; grid-template-rows: 42% 58%; gap: 0; }
  .sc-right { order: -1; align-items: center; padding-top: 4px; }
  .sc-steps { align-self: start; }
  .sc-intro:not(.is-off) ~ .sc-rail { opacity: 0; }
  .sc-rail { transition: opacity .3s; }
  .schnitt { max-height: 100%; }
  .sc-left { align-items: start; padding-top: 10px; }
  .sc-intro h1 { font-size: 1.85rem; margin: 10px 0 10px; }
  .sc-lead { font-size: .98rem; margin-bottom: 0; }
  .bp .hero-actions { margin: 16px 0 12px; }
  .bp .hero-actions .btn { flex: 1 1 100%; min-height: 46px; }
  .bp .hero-actions .btn-ghost, .sc-hint { display: none; }
  .sc-steps li { top: 8px; transform: translateY(8px); }
  .sc-steps li.is-on { transform: none; }
  .sc-steps h2 { font-size: 1.7rem; margin: 6px 0 8px; }
  .sc-steps p:not(.bp-label) { font-size: 1rem; }
  .sc-rail { bottom: 14px; }
  .sc-rail button { font-size: 0; padding-top: 8px; }
  .sc-rail button span { font-size: .66rem; }
  .is-static .sc-grid { grid-template-rows: auto; }
  .is-static .sc-right { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .air, .teilchen circle, .heat path, .sun path { animation: none !important; } }

@media (max-width: 760px) { .bp.sc-steps-on .mobile-bar.is-hidden { transform: none; } }
/* Niedrige Bildschirme (Laptops): Kopftext muss in die klebende Fläche passen */
@media (min-width: 901px) and (max-height: 820px) {
  .sc-intro h1 { font-size: clamp(2rem, 1.2rem + 2vw, 2.8rem); margin: 12px 0 14px; }
  .sc-lead { font-size: 1rem; }
  .bp .hero-actions { margin: 18px 0 16px; }
  .sc-hint { display: none; }
}
