/* Startseite im Design B (Neudesign 2026-11-30): Kopfbereich mit Video, Ideen-Liste, „Schicht für Schicht“.
   Kopf und Druck-Abschnitt sind immer dunkel (Werkstatt-Bänder), die Ideen-Liste folgt Hell/Dunkel. */
.startseite{overflow-x:clip}
.startseite .wrap-wide{overflow:visible}

/* ---- 1 Kopfbereich ---- */
.hero.hero-b{display:block; position:relative; isolation:isolate; overflow:hidden;
  margin:0 calc(50% - 50vw) 0; padding:0; min-height:min(88svh,860px); color:#f3eee7; background:#0f0e0d;
  display:flex; align-items:flex-end; border-radius:0}
.hero-b .hb-video{position:absolute; inset:0; z-index:-2}
.hero-b .hb-video video{position:absolute; top:0; height:100%; left:22%; width:78%; object-fit:cover; object-position:50% 55%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24%); mask-image:linear-gradient(90deg,transparent 0,#000 24%)}
.hero-b .hb-shade{position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(90deg,rgba(15,14,13,.96) 0%,rgba(15,14,13,.7) 38%,rgba(15,14,13,.08) 70%),
             linear-gradient(0deg,rgba(15,14,13,.9) 0%,rgba(15,14,13,0) 42%)}
.hero-b .hb-inhalt{position:relative; width:100%; max-width:1280px; margin:0 auto; padding:clamp(110px,16vh,170px) max(20px,4vw) clamp(40px,7vh,72px);
  display:grid; gap:22px}
.hero-b .hero-titel{font-family:var(--f-display); font-weight:850; font-stretch:104%; font-size:clamp(46px,7.2vw,140px);
  line-height:.92; letter-spacing:-.025em; margin:0; color:#f3eee7}
.hero-b .hero-titel .accent-line{display:block; color:#d9a44f; background:none; -webkit-text-fill-color:currentColor}
.hero-b p.lead{margin:0; max-width:44ch; font-size:clamp(16px,1.4vw,19px); line-height:1.6; color:#c9c0b5}
.hero-b p.lead strong{color:#f3eee7; font-weight:600}
.hero-b .hero-ctas{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.hero-b .btn-primary{background:#d9a44f !important; color:#1b1510 !important; box-shadow:0 10px 28px rgba(217,164,79,.28)}
.hero-b .btn-primary:hover{background:#f0c77a !important}
.hero-b .btn-secondary{background:rgba(15,14,13,.35); color:#f3eee7; border:1px solid rgba(243,238,231,.28)}
.hero-b .btn-secondary:hover{border-color:#d9a44f; color:#f0c77a}
.hero-b .btn-link, :root[data-theme] .hero-b .btn-link{color:#d8cfc4}
.hero-b .btn-link:hover, :root[data-theme] .hero-b .btn-link:hover{color:#f0c77a}
.hero-b .hero-vertrauen{color:#a79f95}
.hero-b .hero-vertrauen b{color:#f3eee7}
.hero-b .hero-pille{justify-self:start; background:rgba(15,14,13,.55)}
.hero-b .hb-inhalt > *{animation:hbRein .9s cubic-bezier(.23,1,.32,1) backwards}
.hero-b .hb-inhalt > :nth-child(2){animation-delay:.08s}
.hero-b .hb-inhalt > :nth-child(3){animation-delay:.16s}
.hero-b .hb-inhalt > :nth-child(4){animation-delay:.24s}
.hero-b .hb-inhalt > :nth-child(5){animation-delay:.32s}
@keyframes hbRein{from{opacity:0; transform:translateY(22px); filter:blur(6px)}}
@media (max-width:760px){
  .hero.hero-b{min-height:auto}
  .hero-b .hb-video{position:relative; height:46svh; min-height:260px}
  .hero-b .hb-video video{left:0; width:100%; object-position:47% 50%; -webkit-mask-image:linear-gradient(0deg,transparent 0,#000 30%); mask-image:linear-gradient(0deg,transparent 0,#000 30%)}
  .hero-b .hb-shade{display:none}
  .hero.hero-b{display:block}
  .hero-b .hb-inhalt{padding:0 18px 40px; margin-top:-70px}
}

/* ---- 2 Ideen-Liste ---- */
.ideen-b{padding:clamp(80px,16vh,170px) 0 clamp(60px,12vh,130px); max-width:1180px; margin:0 auto}
.ideen-b h2{font-family:var(--f-display); font-weight:800; font-stretch:108%; font-size:clamp(28px,3.2vw,46px); color:var(--accent);
  margin:0 0 clamp(24px,5vh,52px); letter-spacing:-.01em}
.ideen-b ol{list-style:none; margin:0; padding:0; display:grid; gap:.22em}
.ideen-b li{font-family:var(--f-display); font-weight:720; font-stretch:104%; font-size:clamp(24px,4.3vw,60px); line-height:1.1;
  color:var(--muted); opacity:.36; transition:opacity .45s ease,color .45s ease,transform .45s cubic-bezier(.23,1,.32,1)}
.ideen-b li.on{opacity:1; color:var(--text); transform:translateX(.25em)}
.ideen-b li:last-child.on{color:var(--accent)}
.ideen-b .ideen-cta{margin-top:clamp(28px,5vh,48px); display:flex; gap:12px; flex-wrap:wrap}

/* ---- 3 Schicht für Schicht (immer dunkel) ---- */
.druck-b{position:relative; height:250vh; margin:0 calc(50% - 50vw); background:#0f0e0d; color:#f3eee7}
.druck-b .stick{position:sticky; top:0; height:100svh; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center; max-width:1280px; margin:0 auto; padding:72px max(20px,4vw) 24px; gap:24px}
.druck-b::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(45% 40% at 72% 52%,rgba(217,164,79,.16),rgba(217,164,79,0) 70%)}
.druck-b h2{font-family:var(--f-display); font-weight:820; font-stretch:106%; font-size:clamp(34px,4.4vw,72px); line-height:.98; margin:0 0 18px; color:#f3eee7}
.druck-b p{margin:0 0 22px; max-width:40ch; color:#c9c0b5; font-size:clamp(15px,1.3vw,18px); line-height:1.6}
.druck-b .ctrl{display:grid; gap:12px; max-width:420px; padding:16px 18px; border:1px solid #2e2a26; border-radius:16px; background:rgba(25,24,22,.7)}
.druck-b .ctrl strong{font-size:14px; color:#f0c77a; font-weight:600}
.druck-b .ctrl label{display:grid; grid-template-columns:76px 1fr 44px; align-items:center; gap:10px; font-size:14px; color:#c9c0b5}
.druck-b .ctrl input[type=range]{width:100%; accent-color:#d9a44f}
.druck-b .ctrl output{font-variant-numeric:tabular-nums; color:#f3eee7; text-align:right}
.druck-b .pcanvas{position:relative; height:min(78svh,720px)}
.druck-b canvas{width:100%; height:100%; display:block}
.druck-b .readout{grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px 28px; margin:0; font-family:"Cascadia Mono",Consolas,ui-monospace,monospace; font-size:13px}
.druck-b .readout div{display:flex; gap:8px}
.druck-b .readout dt{color:#a79f95}
.druck-b .readout dd{margin:0; color:#f3eee7; font-variant-numeric:tabular-nums}
.druck-b .readout dd.hot{color:#f0c77a}
.druck-b .fertig{position:absolute; right:max(20px,4vw); bottom:64px; margin:0; display:flex; gap:12px; align-items:center; flex-wrap:wrap;
  opacity:0; transform:translateY(10px); transition:opacity .5s ease,transform .5s cubic-bezier(.23,1,.32,1); pointer-events:none}
.druck-b .fertig.zeigen{opacity:1; transform:none; pointer-events:auto}
.druck-b .fertig span{font-family:var(--f-display); font-weight:750; font-size:clamp(20px,2vw,28px); color:#f0c77a}
.druck-b .fertig a{display:inline-flex; align-items:center; min-height:44px; padding:0 20px; border-radius:999px; background:#d9a44f; color:#1b1510; font-weight:600; text-decoration:none}
.druck-b .fertig a:hover{background:#f0c77a}
@media (max-width:760px){
  .druck-b{height:220vh}
  .druck-b .stick{grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr) auto; align-content:stretch; padding:calc(var(--nav-hoehe,150px) + 8px) 18px 92px; gap:6px}
  .druck-b h2{font-size:32px; margin-bottom:8px}
  .druck-b p{display:none}
  .druck-b .ctrl{padding:12px 14px; gap:8px}
  .druck-b .ctrl strong{display:none}
  .druck-b .pcanvas{height:auto; min-height:0}
  .druck-b .fertig{left:18px; right:auto; bottom:150px}
  .druck-b .readout{font-size:12px; gap:4px 16px}
}

/* Wörter der Überschriften erscheinen nacheinander */
.worte .w{display:inline-block; opacity:0; filter:blur(6px); translate:-.8em 0; rotate:-6deg; transform-origin:left bottom;
  transition:opacity .7s cubic-bezier(.23,1,.32,1),filter .7s cubic-bezier(.23,1,.32,1),translate .7s cubic-bezier(.23,1,.32,1),rotate .7s cubic-bezier(.23,1,.32,1);
  transition-delay:calc(var(--i) * 45ms)}
.worte.da .w{opacity:1; filter:none; translate:0 0; rotate:0deg}

@media (prefers-reduced-motion: reduce){
  .hero-b .hb-inhalt > *{animation:none}
  .ideen-b li{transition:none}
  .worte .w{opacity:1; filter:none; translate:0 0; rotate:0deg; transition:none}
  .druck-b{height:auto}
  .druck-b .stick{position:relative; height:auto; min-height:90svh}
  .druck-b .fertig{position:static; opacity:1; transform:none; pointer-events:auto; grid-column:1/-1}
}


/* ---- Alte Startseiten-Blöcke, die Design B ersetzt (Unterseiten über das Menü bleiben) ---- */
.startseite #produktGalleryKopf, .startseite #produktCarouselWrap, .startseite .start-info #leistungen, .startseite .start-info .leistungen, .startseite .start-info #ablaufHeading,
.startseite .start-info .ablauf, .startseite #beispieleHeading, .startseite #beispieleGrid, .startseite #communityHeading, .startseite #communityGrid,
.startseite .hero-badge{display:none !important}

/* ---- 4 Aus dem Shop (Liste mit echten Produkten) ---- */
.shop-b{padding:clamp(70px,14vh,150px) 0 clamp(40px,8vh,80px); max-width:1180px; margin:0 auto}
.shop-b-kopf, .werk-b-kopf{display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:16px; margin-bottom:34px}
.shop-b h2, .werk-b h2{font-family:var(--f-display); font-size:clamp(36px,5vw,76px); font-weight:850; font-stretch:112%; line-height:.95; margin:0; color:var(--text)}
.shop-b-kopf p, .werk-b-kopf p{margin:0; color:var(--muted); max-width:38ch; font-size:16px}
.shop-b-liste{display:grid; border-bottom:1px solid var(--line)}
.shop-b-liste:empty{min-height:120px}
.zeile-b{display:grid; grid-template-columns:120px minmax(0,1.1fr) minmax(0,1.4fr) auto; align-items:center; gap:28px; padding-block:22px;
  border-top:1px solid var(--line); text-decoration:none; color:var(--text); cursor:pointer; background:transparent; transition:background-color .25s ease}
.zeile-b .art{width:120px; aspect-ratio:1; border-radius:12px; background:var(--panel-2); display:grid; place-items:center; position:relative; overflow:hidden;
  transition:transform .35s cubic-bezier(.23,1,.32,1); font-size:46px}
.zeile-b .art img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .6s ease}
.zeile-b .art img.an{opacity:0}
.zeile-b .art.leuchtet img.an{opacity:1}
.zeile-b h3{font-family:var(--f-display); font-size:clamp(24px,2.6vw,38px); font-weight:780; font-stretch:108%; letter-spacing:-.01em; margin:0; line-height:1.05}
.zeile-b p{margin:0; color:var(--muted); font-size:16px; max-width:42ch; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden}
.zeile-b .go{font-size:15px; font-weight:600; color:var(--accent); display:inline-flex; gap:10px; align-items:center; white-space:nowrap}
.zeile-b .go::after{content:""; width:18px; height:1.5px; background:currentColor; transition:width .3s ease}
@media (hover:hover){.zeile-b:hover{background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 8%,transparent),transparent 70%)}
  .zeile-b:hover .art{transform:rotate(-3deg) scale(1.04)} .zeile-b:hover .art img.an{opacity:1} .zeile-b:hover .go::after{width:32px}}
.zeile-b:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.shop-b-alle{margin:22px 0 0; text-align:right}
.shop-b-alle a, .tueren-alt a{color:var(--accent); font-weight:600}

/* ---- 5 Schon gedruckt ---- */
.werk-b{padding:clamp(60px,12vh,130px) 0 4vh; max-width:1180px; margin:0 auto}
.galerie-b{columns:3 260px; column-gap:16px}
.galerie-b figure{break-inside:avoid; margin:0 0 16px; position:relative; overflow:hidden; border-radius:14px; background:var(--panel)}
.galerie-b img{display:block; width:100%; height:auto; transition:scale .9s cubic-bezier(.23,1,.32,1)}
.galerie-b figcaption{position:absolute; left:0; right:0; bottom:0; padding:32px 16px 14px; background:linear-gradient(rgba(15,14,13,0),rgba(15,14,13,.88)); color:#f3eee7; font-weight:600; font-size:15px}
.galerie-b figure.rein{opacity:0; translate:0 24px; transition:opacity .8s ease,translate .8s cubic-bezier(.23,1,.32,1)}
.galerie-b figure.rein.da{opacity:1; translate:0 0}
@media (hover:hover){.galerie-b figure:hover img{scale:1.045}}

/* ---- 6 Material + Ablauf ---- */
.mat-b{padding:clamp(80px,16vh,170px) 0 clamp(60px,12vh,130px); max-width:1180px; margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,96px)}
.mat-b h2{font-family:var(--f-display); font-size:clamp(30px,3.6vw,52px); font-weight:800; font-stretch:108%; line-height:1; margin:0 0 24px; color:var(--text)}
.tabs-b{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px}
.tabs-b button{font:600 15px var(--f-text); min-height:44px; padding:0 18px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--text); cursor:pointer; transition:background-color .2s ease,color .2s ease}
.tabs-b button[aria-selected=true]{background:var(--accent); color:#1b1510; border-color:var(--accent)}
.mpanel-b p{margin:0 0 22px; max-width:44ch; color:var(--text)}
.bars-b{display:grid; gap:12px; max-width:420px}
.bar-b{display:grid; grid-template-columns:110px 1fr; align-items:center; gap:14px; font-size:14px; color:var(--muted)}
.seg-b{display:grid; grid-template-columns:repeat(5,1fr); gap:4px}
.seg-b i{height:8px; border-radius:2px; background:var(--line); transform-origin:left center; transition:background-color .3s ease}
.seg-b i.f{background:var(--accent); animation:segRein .5s cubic-bezier(.23,1,.32,1) backwards; animation-delay:calc(var(--i) * 30ms)}
@keyframes segRein{from{transform:scaleX(0)}}
.steps-b{list-style:none; margin:0; padding:0; display:grid; border-left:1px solid var(--line)}
.steps-b li{position:relative; padding:0 0 30px 30px}
.steps-b li::before{content:""; position:absolute; left:-5px; top:9px; width:9px; height:9px; border-radius:50%; background:var(--accent)}
.steps-b .n{font-family:"Cascadia Mono",Consolas,ui-monospace,monospace; font-size:12px; color:var(--accent)}
.steps-b h3{font-family:var(--f-display); font-size:22px; font-weight:700; margin:2px 0 4px; color:var(--text)}
.steps-b p{margin:0; color:var(--muted)}

/* ---- 7 Zwei Türen ---- */
.tueren-wrap{max-width:1180px}
.tueren-b{padding:6vh 0 clamp(50px,9vh,100px)}
.tueren{display:flex; gap:14px; min-height:min(78svh,720px)}
.tuer{flex:1 1 0; position:relative; overflow:hidden; border-radius:18px; text-decoration:none; display:flex; flex-direction:column; justify-content:flex-end; gap:12px;
  padding:clamp(22px,3vw,40px); border:1px solid var(--line); color:var(--text); transition:flex-grow .55s cubic-bezier(.2,.7,.2,1),border-color .3s ease}
.tuer:hover, .tuer:focus-visible{flex-grow:1.45; border-color:var(--accent)}
.tuer-shop{background:var(--panel)}
.tuer-make{background:linear-gradient(160deg,color-mix(in srgb,var(--accent) 16%,var(--panel)),var(--panel) 60%)}
.tuer .vis{position:absolute; inset:0 0 46% 0; display:grid; place-items:center}
.tuer .vis canvas{width:100%; height:100%}
.tuer .glyphs{display:grid; grid-template-columns:repeat(3,64px); gap:18px; opacity:.9}
.tuer .glyphs img, .tuer .glyphs span{width:64px; height:64px; object-fit:cover; border-radius:12px; display:grid; place-items:center; background:var(--panel-2); font-size:30px}
.tuer .k{order:5; font:500 13px Consolas,ui-monospace,monospace; color:var(--muted); position:relative}
.tuer h2{position:relative; font-family:var(--f-display); font-size:clamp(34px,4.4vw,68px); font-weight:850; font-stretch:112%; line-height:.95; margin:0}
.tuer p{position:relative; margin:0; color:var(--muted); max-width:36ch}
.tuer-btn{position:relative; align-self:flex-start; margin-top:6px; display:inline-flex; align-items:center; min-height:48px; padding:0 22px; border-radius:999px;
  background:var(--accent); color:#1b1510; font-weight:600}
.tueren-alt{text-align:center; color:var(--muted); margin:28px 0 0}

/* Abschnitts-Überschriften der übrigen Startseite im B-Stil */
.startseite .section-heading span{font-family:var(--f-display); font-size:clamp(26px,3vw,40px); font-weight:800; font-stretch:108%; text-transform:none; letter-spacing:-.01em; color:var(--text)}

@media (max-width:760px){
  .zeile-b{grid-template-columns:84px minmax(0,1fr); gap:4px 16px; padding-block:18px}
  .zeile-b .art{width:84px; grid-row:span 3; font-size:34px}
  .zeile-b h3{font-size:22px}
  .zeile-b p{font-size:14px; -webkit-line-clamp:2}
  .galerie-b{columns:2; column-gap:10px}
  .galerie-b figure{margin-bottom:10px; border-radius:10px}
  .galerie-b figcaption{font-size:12px; padding:24px 10px 8px}
  .mat-b{grid-template-columns:1fr}
  .tueren{flex-direction:column; min-height:0}
  .tuer{min-height:480px}
  .tuer .vis{inset:0 0 54% 0}
}
@media (prefers-reduced-motion: reduce){ .galerie-b figure.rein{opacity:1; translate:0 0; transition:none} .seg-b i.f{animation:none} .tuer{transition:none} }
