/* Goalstone – Webseite. Weiß, ruhig, klar. */
@font-face{font-family:'DM Sans';src:url('../fonts/DMSans.ttf') format('truetype');font-weight:100 1000;font-style:normal;font-display:swap}

:root{
  --ink:#111113;
  --sub:#6b6b70;
  --line:#e9e9e7;
  --soft:#f5f5f3;
  --white:#fff;
  --dot:#8ca552;
  --r:22px;
  --font:'DM Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:600;letter-spacing:-.04em;line-height:1.02}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--sub)}
.lead{font-size:clamp(18px,2vw,21px);color:var(--sub);max-width:34em}
.dot{color:var(--dot)}
.muted{color:var(--sub)}

/* ---------- Kopfzeile ---------- */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.82);backdrop-filter:saturate(1.6) blur(16px);-webkit-backdrop-filter:saturate(1.6) blur(16px);border-bottom:1px solid transparent;transition:border-color .2s}
.header.scrolled{border-bottom-color:var(--line)}
.header .wrap{height:68px;display:flex;align-items:center;gap:28px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;font-size:22px;letter-spacing:-.04em}
.logo img{width:32px;height:32px;border-radius:9px;border:1px solid var(--line)}
.nav{display:flex;gap:6px;margin-left:auto}
.nav a{text-decoration:none;font-size:15px;font-weight:500;color:var(--sub);padding:10px 14px;border-radius:999px;transition:color .15s,background .15s}
.nav a:hover{color:var(--ink);background:var(--soft)}
.nav a[aria-current="page"]{color:var(--ink)}
.cart-btn{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--white);border-radius:999px;height:44px;padding:0 16px;font-size:15px;font-weight:600}
.cart-btn:hover{border-color:#cfcfcc}
.cart-count{min-width:22px;height:22px;border-radius:99px;background:var(--ink);color:#fff;font-size:12px;display:grid;place-items:center;padding:0 6px}
.cart-count[data-n="0"]{background:var(--soft);color:var(--sub)}
.menu-btn{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;background:#fff;align-items:center;justify-content:center}
@media (max-width:820px){
  .header .wrap{gap:10px}
  .nav{display:none;position:absolute;top:68px;left:0;right:0;flex-direction:column;background:#fff;padding:8px 16px 18px;border-bottom:1px solid var(--line);margin:0}
  .nav.open{display:flex}
  .nav a{font-size:18px;padding:14px 12px}
  .menu-btn{display:flex;margin-left:auto}
  .cart-btn .cart-label{display:none}
}

/* ---------- Knöpfe ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:54px;padding:0 28px;border-radius:999px;border:1px solid var(--ink);background:var(--ink);color:#fff;text-decoration:none;font-weight:600;font-size:16px;transition:transform .15s,background .15s,opacity .15s;white-space:nowrap}
.btn:hover{transform:translateY(-1px);background:#2a2a2e}
.btn.ghost{background:transparent;color:var(--ink);border-color:#d6d6d3}
.btn.ghost:hover{background:var(--soft)}
.btn.wide{width:100%}
.btn svg{width:18px;height:18px}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:2px}
.link-arrow svg{width:18px;height:18px;flex:none}
.actions{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Abschnitte ---------- */
section{position:relative}
.sec{padding:120px 0}
.sec.tight{padding:80px 0}
.sec-head{display:flex;flex-direction:column;gap:16px;margin-bottom:56px}
.sec-head.center{align-items:center;text-align:center}
.sec-head h2{font-size:clamp(38px,5.6vw,72px)}
.soft-bg{background:var(--soft)}
@media (max-width:700px){.sec{padding:84px 0}.sec-head{margin-bottom:40px}}

/* ---------- Startseite: Hero ---------- */
.hero{padding:56px 0 32px;text-align:center;overflow:hidden}
.hero h1{font-size:clamp(52px,10vw,138px);letter-spacing:-.055em;line-height:.95}
.hero .lead{margin:22px auto 0}
.hero-stage{position:relative;height:min(62vh,620px);min-height:340px;margin:8px auto 0;max-width:1100px}
.hero-stage canvas{width:100%;height:100%;display:block;cursor:grab}
.hero-stage canvas.is-dragging{cursor:grabbing}
.hero-hint{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);font-size:13px;color:var(--sub);display:flex;gap:8px;align-items:center;pointer-events:none}
.hero .actions{justify-content:center;margin-top:26px}
@media (max-width:600px){.hero-stage{height:300px;min-height:0}.row-stones{height:300px}}

canvas{opacity:0;transition:opacity .8s ease}
canvas.is-ready{opacity:1}
canvas.no-webgl{opacity:1;background:url('../img/steine-foto.webp') center/contain no-repeat}

/* Farbauswahl */
.swatches{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.swatch{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px 0 8px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;font-weight:600;color:var(--sub);transition:border-color .15s,color .15s}
.swatch i{width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.swatch[aria-pressed="true"]{border-color:var(--ink);color:var(--ink)}
.swatch:hover{color:var(--ink)}
.swatches.compact .swatch{padding:0;width:44px;justify-content:center}
.swatches.compact .swatch span{display:none}

/* Fakten-Leiste */
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fact{padding:30px 24px;display:flex;flex-direction:column;gap:4px}
.fact + .fact{border-left:1px solid var(--line)}
.fact strong{font-size:22px;letter-spacing:-.03em;font-weight:600}
.fact span{font-size:15px;color:var(--sub)}
@media (max-width:820px){.facts{grid-template-columns:repeat(2,minmax(0,1fr))}.fact:nth-child(3){border-left:0}.fact:nth-child(n+3){border-top:1px solid var(--line)}}

/* 3 Schritte */
.steps3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.step3{display:flex;flex-direction:column;gap:22px}
.step3 .shot{background:var(--soft);border-radius:var(--r);padding:36px 0 0;display:flex;justify-content:center;overflow:hidden;height:440px}
.step3 .shot .phone{width:250px;margin-bottom:-120px}
.step3 h3{font-size:26px;display:flex;gap:12px;align-items:baseline}
.step3 h3 .n{font-size:14px;color:var(--sub);font-weight:600;letter-spacing:0}
.step3 p{color:var(--sub)}
@media (max-width:900px){.steps3{grid-template-columns:1fr;gap:48px}.step3 .shot{height:400px}}

/* Handy-Rahmen */
.phone{position:relative;width:300px;max-width:100%;border-radius:46px;background:#0f0f10;padding:9px;box-shadow:0 30px 60px -20px rgba(0,0,0,.28),0 0 0 1px rgba(0,0,0,.06)}
.phone img{border-radius:38px;width:100%;height:auto;aspect-ratio:390/844;object-fit:cover;object-position:top;background:#F6F6EF}

/* Ziele-Kacheln */
.goals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.goal{border:1px solid var(--line);border-radius:var(--r);padding:28px 24px;display:flex;flex-direction:column;gap:32px;min-height:220px;background:#fff}
.goal .q{font-size:24px;letter-spacing:-.03em;line-height:1.15;font-weight:600}
.goal .m{margin-top:auto;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--sub)}
.goal .m svg{width:20px;height:20px}
@media (max-width:900px){.goals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.goals{grid-template-columns:1fr}.goal{min-height:0}}

/* Foto */
.photo{border-radius:28px;overflow:hidden;background:#f2f2f0}
.photo img{width:100%;height:auto}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.split h2{font-size:clamp(38px,5vw,64px)}
.split p{color:var(--sub);margin-top:18px;max-width:30em}
@media (max-width:900px){.split{grid-template-columns:1fr;gap:36px}}

/* Teaser Inneres */
.teaser{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);border-radius:32px;background:var(--soft);overflow:hidden;align-items:center}
.teaser .txt{padding:64px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.teaser h2{font-size:clamp(36px,4.6vw,60px)}
.teaser p{color:var(--sub)}
.teaser .vis{height:460px}
.teaser .vis canvas{width:100%;height:100%;display:block}
@media (max-width:900px){.teaser{grid-template-columns:1fr}.teaser .txt{padding:40px 28px 0}.teaser .vis{height:340px}}

/* CTA groß */
.cta{text-align:center;display:flex;flex-direction:column;align-items:center;gap:22px}
.cta h2{font-size:clamp(44px,7vw,96px);letter-spacing:-.05em}
.row-stones{height:min(36vw,360px);min-height:200px;width:100%}
.row-stones canvas{width:100%;height:100%;display:block}

/* ---------- Fußzeile ---------- */
.footer{border-top:1px solid var(--line);padding:56px 0 40px;margin-top:40px}
.footer .wrap{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
.footer p{color:var(--sub);font-size:15px;margin-top:12px;max-width:22em}
.footer h4{margin:0 0 12px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--sub);font-weight:600}
.footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.footer ul a{text-decoration:none;font-size:15px}
.footer ul a:hover{text-decoration:underline}
.footer .legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:24px;margin-top:16px;font-size:13px;color:var(--sub);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
@media (max-width:700px){.footer .wrap{grid-template-columns:1fr 1fr}.footer .brandcol{grid-column:1/-1}}

/* ---------- Unterseiten-Kopf ---------- */
.page-head{padding:72px 0 40px}
.page-head h1{font-size:clamp(52px,9vw,120px);letter-spacing:-.055em;line-height:.95}
.page-head .lead{margin-top:20px}

/* ---------- Shop ---------- */
.products{display:flex;flex-direction:column;gap:28px}
.product{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);border:1px solid var(--line);border-radius:32px;overflow:hidden;background:#fff}
.product .stage{background:var(--soft);min-height:520px;position:relative}
.product .stage canvas{position:absolute;inset:0;width:100%;height:100%;cursor:grab}
.product .stage .badge{position:absolute;top:22px;left:22px;z-index:2;background:#fff;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600}
.product .info{padding:48px;display:flex;flex-direction:column;gap:22px}
.product h2{font-size:clamp(36px,4vw,52px)}
.product .tagline{color:var(--sub);margin-top:-10px}
.price{font-size:28px;font-weight:600;letter-spacing:-.03em}
.price small{font-size:14px;color:var(--sub);font-weight:500;letter-spacing:0;margin-left:6px}
.opt-label{font-size:14px;font-weight:600;margin-bottom:10px;display:flex;justify-content:space-between}
.opt-label span{color:var(--sub);font-weight:500}
.product .swatches{justify-content:flex-start}
.checks{list-style:none;margin:0;padding:18px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px;font-size:15px}
.checks li{display:flex;gap:10px;align-items:flex-start}
.checks svg{width:18px;height:18px;flex:none;margin-top:3px}
.buy{display:flex;gap:10px}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;height:54px}
.qty button{width:44px;height:52px;border:0;background:none;font-size:20px}
.qty output{min-width:22px;text-align:center;font-weight:600}
.buy .btn{flex:1;min-width:0;padding:0 18px}
@media (max-width:900px){.product{grid-template-columns:minmax(0,1fr)}.product .stage{min-height:360px}.product .info{padding:28px 24px 32px}}

.note-box{border-radius:var(--r);background:var(--soft);padding:24px 28px;display:flex;gap:16px;align-items:flex-start;color:var(--sub);font-size:15px}
.note-box strong{color:var(--ink)}

/* Warenkorb */
.drawer-bg{position:fixed;inset:0;background:rgba(17,17,19,.32);opacity:0;pointer-events:none;transition:opacity .25s;z-index:90}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);background:#fff;z-index:100;transform:translateX(100%);transition:transform .3s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}
.cart-open .drawer{transform:none}
.cart-open .drawer-bg{opacity:1;pointer-events:auto}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-size:26px}
.icon-btn{width:44px;height:44px;border-radius:999px;border:1px solid var(--line);background:#fff;display:grid;place-items:center}
.icon-btn svg{width:18px;height:18px}
.drawer-body{flex:1;overflow:auto;padding:8px 24px}
.cart-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}
.cart-item .sw{display:flex}
.cart-item .sw i{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.cart-item .sw i + i{margin-left:-12px;box-shadow:0 0 0 2px #fff,inset 0 0 0 1px rgba(0,0,0,.12)}
.cart-item .t{flex:1}
.cart-item .t strong{display:block;font-size:16px}
.cart-item .t span{font-size:14px;color:var(--sub)}
.cart-item .p{font-weight:600;text-align:right}
.cart-item .rm{background:none;border:0;color:var(--sub);font-size:13px;text-decoration:underline;padding:6px 0;min-height:32px}
.cart-empty{padding:48px 0;text-align:center;color:var(--sub)}
.drawer-foot{padding:20px 24px 28px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px}
.drawer-foot .sum{display:flex;justify-content:space-between;font-size:18px;font-weight:600}
.drawer-foot small{color:var(--sub);text-align:center}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:14px 22px;border-radius:999px;font-size:15px;font-weight:500;opacity:0;transition:all .25s;z-index:200;pointer-events:none;white-space:nowrap}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- So funktioniert's ---------- */
.quick{list-style:none;margin:32px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.quick a{display:flex;align-items:center;gap:10px;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:6px 16px 6px 6px;font-size:15px;font-weight:600;min-height:44px}
.quick a:hover{border-color:var(--ink)}
.quick b{width:30px;height:30px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-size:13px}
.flow-step{scroll-margin-top:90px}
.flow{display:flex;flex-direction:column;gap:20px}
.flow-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;background:var(--soft);border-radius:32px;padding:56px 64px;overflow:hidden}
.flow-step:nth-child(even) .flow-txt{order:2}
.flow-txt{display:flex;flex-direction:column;gap:16px;max-width:30em}
.flow-num{width:44px;height:44px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:600;font-size:16px}
.flow-step h2{font-size:clamp(34px,4vw,52px)}
.flow-step p{color:var(--sub);font-size:18px}
.flow-vis{display:flex;justify-content:center;gap:18px;height:500px;align-items:flex-start}
.flow-vis .phone{width:260px}
.flow-vis .phone.back{transform:translateY(40px);opacity:.98}
.flow-vis.single .phone{width:270px}
.pill-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.pill{border:1px solid #dcdcd9;background:#fff;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:600}
@media (max-width:900px){
  .flow-step{grid-template-columns:1fr;padding:40px 24px 0;gap:32px}
  .flow-step:nth-child(even) .flow-txt{order:0}
  .flow-vis{height:420px;overflow:hidden}
  .flow-vis .phone{width:230px}
  .flow-vis .phone.back{display:none}
}

.methods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.method{border:1px solid var(--line);border-radius:var(--r);padding:28px 24px;display:flex;flex-direction:column;gap:12px;background:#fff}
.method .ic{width:48px;height:48px;border-radius:14px;background:var(--soft);display:grid;place-items:center}
.method .ic svg{width:22px;height:22px}
.method h3{font-size:22px;letter-spacing:-.02em}
.method .tap{font-size:15px}
.method .tap b{font-weight:600}
.method .ex{font-size:14px;color:var(--sub);margin-top:auto;padding-top:12px;border-top:1px solid var(--line)}
@media (max-width:1000px){.methods{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.methods{grid-template-columns:1fr}}

.faq{max-width:820px;margin:0 auto;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:24px 0;font-size:20px;font-weight:600;letter-spacing:-.02em;display:flex;justify-content:space-between;gap:20px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:12px;height:12px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg) translateY(-4px);transition:transform .2s;flex:none}
.faq details[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.faq details p{padding:0 0 24px;color:var(--sub);max-width:40em}

/* ---------- Im Inneren (Explosion) ---------- */
.xp{height:420vh;position:relative}
.xp-sticky{position:sticky;top:68px;height:calc(100vh - 68px);height:calc(100svh - 68px);overflow:hidden}
.xp-sticky canvas{position:absolute;inset:0;width:100%;height:100%}
.xp-title{position:absolute;left:0;right:0;top:6vh;text-align:center;pointer-events:none;padding:0 24px}
.xp-title h1{font-size:clamp(44px,8vw,110px);letter-spacing:-.055em;line-height:.95;transition:opacity .4s}
.xp-title p{margin-top:14px;color:var(--sub);font-size:18px;transition:opacity .4s}
.xp-scroll{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;font-size:13px;color:var(--sub);transition:opacity .3s}
.xp-scroll .mouse{width:24px;height:38px;border:2px solid #cfcfcc;border-radius:14px;position:relative}
.xp-scroll .mouse::after{content:"";position:absolute;left:50%;top:7px;width:4px;height:8px;border-radius:2px;background:var(--sub);transform:translateX(-50%);animation:wheel 1.6s infinite}
@keyframes wheel{0%{opacity:0;transform:translate(-50%,0)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,12px)}}
.xp-label{position:absolute;left:0;top:0;pointer-events:none;opacity:0;transition:opacity .35s;will-change:transform}
.xp-label .ln{position:absolute;height:1px;background:var(--ink);transform-origin:0 0}
.xp-label .dotp{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--ink);transform:translate(-50%,-50%);box-shadow:0 0 0 4px rgba(255,255,255,.9)}
.xp-label .card{position:absolute;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 16px;width:230px;box-shadow:0 14px 34px -14px rgba(0,0,0,.18)}
.xp-label .card strong{display:block;font-size:16px;letter-spacing:-.01em}
.xp-label .card span{font-size:14px;color:var(--sub);line-height:1.4;display:block;margin-top:2px}
.xp-progress{position:absolute;right:24px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px}
.xp-progress i{width:8px;height:8px;border-radius:50%;background:#d9d9d6;transition:background .3s,transform .3s}
.xp-progress i.on{background:var(--ink);transform:scale(1.2)}
.specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line)}
.spec{padding:32px 24px 32px 0;display:flex;flex-direction:column;gap:6px}
.spec span{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--sub);font-weight:600}
.spec strong{font-size:clamp(22px,2.4vw,30px);letter-spacing:-.03em;font-weight:600;line-height:1.15}
@media (max-width:820px){
  .specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .xp-label .card{width:170px;padding:10px 12px}
  .xp-label .card strong{font-size:14px}
  .xp-label .card span{font-size:12.5px}
  .xp-progress{display:none}
}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
