/* Startseite digipunkt.ch – baut auf /lib/ui.css auf */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { height: auto; }
.innen { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.innen.schmal { max-width: 760px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { color: var(--fg); text-decoration: none; }
.kopf-nav { display: flex; align-items: center; gap: 22px; }
.kopf-nav a:not(.btn) { color: var(--fg-2); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.kopf-nav a:not(.btn):hover { color: var(--accent); }
@media (max-width: 760px) { .kopf-nav a:not(.btn) { display: none; } }

/* Held */
.held { position: relative; overflow: hidden; padding: 64px 0 88px; }
.held { background: radial-gradient(640px circle at 82% 30%, color-mix(in srgb, var(--stamp) 22%, transparent), transparent 70%); }
.held-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .held-raster { grid-template-columns: 1fr; gap: 48px; } .held { padding: 36px 0 64px; } }
.held-text { display: flex; flex-direction: column; gap: 22px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-weight: 700; font-size: 13px; color: var(--fg-2); }
.kicker i { width: 18px; height: 18px; border-radius: 6px; background: var(--stamp); }
.held h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.02; letter-spacing: -0.045em; }
.held h1 em { font-style: normal; color: var(--accent); }
.gross-text { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 54ch; }
.held-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }
.held-knoepfe .btn { width: auto; padding: 14px 24px; }

/* Bild: Märkli-Karte */
.held-bild { position: relative; display: grid; place-items: center; min-height: 420px; }
.stempelkarte {
  position: relative; width: min(380px, 100%); padding: 22px; border-radius: 24px; color: #fff;
  background: linear-gradient(150deg, var(--ink-2), var(--ink) 70%); box-shadow: var(--shadow-3); transform: rotate(-3deg);
  display: flex; flex-direction: column; gap: 18px;
}
.stempelkarte::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 85% 0%, rgba(255, 201, 58, 0.25), transparent 45%); pointer-events: none; }
.sk-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sk-kopf b { display: block; font-size: 18px; letter-spacing: -0.02em; }
.sk-kopf span { font-size: 13px; color: rgba(255, 255, 255, 0.68); font-weight: 600; }
.sk-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); font-weight: 800; color: #fff !important; font-size: 16px !important; }
.sk-raster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.m { aspect-ratio: 1; border-radius: 12px; border: 2px dashed rgba(255, 255, 255, 0.22); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.m.voll {
  border: 0; background: var(--stamp); color: var(--stamp-ink);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 2.5px, #000 3px) top / 8px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 2.5px, #000 3px) bottom / 8px 51% repeat-x;
          mask: radial-gradient(circle at 50% 0, transparent 2.5px, #000 3px) top / 8px 51% repeat-x, radial-gradient(circle at 50% 100%, transparent 2.5px, #000 3px) bottom / 8px 51% repeat-x;
}
.m.neu { animation: stempeln 2.6s ease-out infinite; }
.m.ziel { border-color: rgba(255, 201, 58, 0.6); color: var(--stamp); }
@keyframes stempeln { 0%, 55% { transform: scale(1.35) rotate(-12deg); opacity: 0; } 70% { transform: scale(0.92) rotate(3deg); opacity: 1; } 80%, 100% { transform: none; opacity: 1; } }
.sk-fuss { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.sk-fuss span:first-child { color: var(--stamp); }
.toast-bild, .kassen-bild { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-3), inset 0 0 0 1px var(--line); }
.toast-bild { right: 0; top: 18px; transform: rotate(2deg); }
.toast-bild .punkt { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); font-weight: 800; font-size: 14px; }
.toast-bild b { display: block; font-size: 14px; }
.toast-bild div span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kassen-bild { left: 0; bottom: 18px; transform: rotate(-1.5deg); font-weight: 700; font-size: 13px; font-family: var(--mono); color: var(--fg-2); }
.qr-mini { width: 38px; height: 38px; border-radius: 6px; background:
  conic-gradient(from 90deg at 30% 30%, var(--fg) 25%, transparent 0) 0 0 / 9.5px 9.5px, var(--surface-2); }
@media (max-width: 520px) { .toast-bild { right: -6px; top: -4px; } .kassen-bild { left: -6px; bottom: 0; } .held-bild { min-height: 360px; } }
@media (prefers-reduced-motion: reduce) { .m.neu { animation: none; } html { scroll-behavior: auto; } }

/* Abschnitte */
.abschnitt { padding: 88px 0; }
.abschnitt .label { display: block; margin-bottom: 10px; color: var(--accent); }
.abschnitt-titel { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; margin-bottom: 28px; }
@media (max-width: 700px) { .abschnitt { padding: 64px 0; } }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 800px) { .schritte { grid-template-columns: 1fr; } }
.schritte li { background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 10px; }
.schritte h3 { font-size: 20px; }
.schritte p { color: var(--fg-2); }
.nr { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--stamp); color: var(--stamp-ink); font-weight: 800; font-family: var(--mono); }

.dunkel { background: var(--ink); color: #fff; }
.dunkel .abschnitt-titel, .dunkel h3 { color: #fff; }
.dunkel .label { color: var(--stamp); }
.dunkel .gross-text { color: rgba(255, 255, 255, 0.75); margin-bottom: 26px; }
.geschaefte-raster { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .geschaefte-raster { grid-template-columns: 1fr; gap: 36px; } }
.breit-nein { width: auto; padding: 14px 24px; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-radius: var(--r-lg); overflow: hidden; }
.vorteile li { padding: 20px 22px; background: rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; gap: 4px; }
.vorteile b { font-size: 16.5px; }
.vorteile span { color: rgba(255, 255, 255, 0.7); }

.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .preise { grid-template-columns: 1fr; } }
.preis { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 10px; }
.preis .inklusive { margin: 0; font-size: 15px; color: var(--fg-2); }
.preis.empfohlen { box-shadow: var(--shadow-2), inset 0 0 0 2px var(--accent); }
.preis .chip { position: absolute; top: 20px; right: 20px; }
.preis h3 { font-size: 18px; }
.betrag { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.betrag span { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 4px; }
.preis-fuss { margin-top: 22px; color: var(--fg-2); font-size: 15.5px; }

details { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--fg-2); }

.anfrage-abschnitt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--stamp) 12%, transparent)); }
.anfrage-raster { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .anfrage-raster { grid-template-columns: 1fr; gap: 28px; } }
.anfrage-raster .gross-text { margin-bottom: 22px; }
.haken-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 700; color: var(--fg-2); }
.haken-liste li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 7px; background: var(--good-soft); color: var(--good); font-size: 13px; }
#f-anfrage { padding: 26px; }
#f-anfrage textarea { resize: vertical; }
#f-anfrage .check { align-items: flex-start; font-weight: 500; font-size: 14px; }
#f-anfrage .check input { margin-top: 1px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.danke { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.danke-marke { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--stamp); color: var(--stamp-ink); font-size: 26px; font-weight: 800; }
.danke h3 { font-size: 22px; }

.fuss { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fuss-raster { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.fuss-raster > div { display: flex; flex-direction: column; gap: 8px; }
.fuss nav { display: flex; gap: 20px; flex-wrap: wrap; }
.fuss nav a { color: var(--fg-2); text-decoration: none; font-weight: 700; font-size: 14px; }
.fuss nav a:hover { color: var(--accent); }
.dunkel-zweit { background: rgba(255,255,255,.08) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2) !important; }
