/* ============================================================
   RUNDE 22 — Produktseiten im Design der Startseite.
   Baut auf home.css auf (Schrift, Farben, Knöpfe, Geräte, Bildschirme).
   Gilt nur innerhalb von .h-page — Header, Footer und andere Seiten
   bleiben unberührt.
   ============================================================ */
body.pg { background: #D3DBE7; }
body.pg main { padding-top: 0; }

.h-home.h-page {
  background: radial-gradient(120% 70% at 72% 0%, #DFE5EF 0%, #D2DAE7 38%, #C7D1E1 100%);
  color: #13243A; overflow: clip;
}
.h-page .h-kicker.pg-pill { display: inline-block; border: 1px solid rgba(19, 36, 58, .22); border-radius: 99px; padding: 5px 14px 4px; }
.h-page .h-kicker.pg-pill > span { display: inline-block; }
.pg-wrap { max-width: 1260px; margin: 0 auto; padding: 0 max(24px, 5vw); }

/* ---------- Kopf ---------- */
.pg-hero {
  position: relative; min-height: 100svh; max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 3vw;
  padding: 128px max(24px, 6vw) 96px;
}
.pg-hero-copy { position: relative; z-index: 3; }
.h-page .pg-hero h1 { font-size: clamp(44px, 5.4vw, 92px); line-height: 1.02; letter-spacing: -.048em; margin: 26px 0 24px; }
.h-page .pg-hero h1 em { font-style: normal; color: #A9532F; }
.h-page .pg-lede { font-size: clamp(16px, 1.3vw, 19.5px); line-height: 1.62; color: #4A5B72; max-width: 33em; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }
.pg-link, .pg-tel {
  position: relative; display: inline-block; padding: 8px 4px; margin-left: 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #13243A; text-decoration: none;
}
.pg-link::after, .pg-tel::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(.35); transform-origin: left; transition: transform .55s cubic-bezier(.65, 0, .35, 1);
}
.pg-link:hover::after, .pg-tel:hover::after { transform: scaleX(1); }
.pg-visual { position: relative; z-index: 2; height: min(80svh, 840px); display: grid; place-items: center; perspective: 1200px; }
.pg-visual-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.pg-visual .h-phone { height: min(76svh, 780px); width: auto; }
.pg-visual .h-laptop { width: min(50vw, 860px); }
.pg-visual .h-print { width: min(46vw, 660px); height: min(64svh, 620px); }
.pg-visual .h-nfc { width: min(42vw, 560px); }
.h-page .h-menu-token.h-token-under { opacity: 1; transform: rotate(-8deg); }
.pg-scroll {
  position: absolute; left: max(24px, 6vw); bottom: 34px; display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #4A5B72;
}
.pg-scroll i { position: relative; width: 1px; height: 34px; background: rgba(19, 36, 58, .2); overflow: hidden; }
.pg-scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #C96F4A; animation: pgDrop 2.2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes pgDrop { to { top: 100%; } }
.pg-hero--solo { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-bottom: 56px; }
.pg-hero--solo .pg-hero-copy { max-width: 920px; margin: 0 auto; }
.pg-hero--solo .pg-lede { margin: 0 auto; }
.pg-hero--solo .pg-actions { justify-content: center; }
.pg-hero--solo .pg-scroll { display: none; }

/* ---------- Abschnitte ---------- */
.pg-sec { padding: clamp(96px, 15vh, 170px) 0; position: relative; }
.h-page .pg-h2 { font-size: clamp(38px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -.048em; margin: 24px 0 clamp(44px, 7vh, 80px); }

/* Was es macht: Liste wie bei noomo — die überfahrene Zeile bleibt dunkel, die anderen treten zurück */
.pg-rows { border-top: 1px solid rgba(19, 36, 58, .16); }
.pg-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.15fr); gap: 3vw; align-items: baseline;
  padding: clamp(26px, 4vh, 40px) 0; border-bottom: 1px solid rgba(19, 36, 58, .16);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), padding .6s cubic-bezier(.22, 1, .36, 1);
}
.pg-num { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .12em; color: #8F4325; }
.h-page .pg-row h3 { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; }
.h-page .pg-row p { font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.62; color: #4A5B72; }
@media (hover: hover) {
  .pg-rows:hover .pg-row { opacity: .42; }
  .pg-rows .pg-row:hover { opacity: 1; padding-left: 14px; }
}

/* Ablauf: drei Schritte auf einer Linie, die sich beim Scrollen zieht */
.pg-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; }
.pg-steps-line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: rgba(19, 36, 58, .16); }
.pg-steps-line i { position: absolute; inset: 0; background: #13243A; transform-origin: 0 50%; }
.pg-step { position: relative; padding-top: 72px; }
.pg-step-n {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #D1D9E6; border: 1px solid rgba(19, 36, 58, .3); font-family: 'Geist Mono', monospace; font-size: 13px; color: #13243A;
}
.h-page .pg-step h3 { font-size: clamp(21px, 1.9vw, 30px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; margin-bottom: 14px; }
.h-page .pg-step p { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.62; color: #4A5B72; }

/* Preis: weiße Karte wie auf der Startseite */
.pg-price-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; align-items: start; }
.pg-price-grid .pg-h2 { margin-bottom: 28px; }
.h-page .pg-note { font-size: 15.5px; line-height: 1.68; color: #4A5B72; max-width: 30em; }
.pg-price {
  background: #FFFCF7; border-radius: 26px; padding: clamp(26px, 3vw, 46px);
  box-shadow: 0 1px 1px rgba(19, 36, 58, .05), 0 40px 80px -46px rgba(19, 36, 58, .5);
}
.pg-pline { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(19, 36, 58, .1); }
.pg-pline:first-child { padding-top: 4px; }
.pg-pline b { display: block; font-weight: 500; font-size: 16.5px; }
.pg-pline small { display: block; margin-top: 4px; font-size: 13.5px; color: #66768B; line-height: 1.5; }
.pg-pline strong { font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-price-actions { margin-top: 30px; }

/* Passt dazu: Karten, die sich beim Überfahren von unten dunkel füllen */
.pg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  min-height: 270px; padding: 30px; border-radius: 26px; text-decoration: none; color: #13243A;
  background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .65);
  transition: color .55s cubic-bezier(.65, 0, .35, 1), transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s;
}
.pg-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: #13243A; border-radius: inherit;
  transform: translateY(101%); transition: transform .65s cubic-bezier(.65, 0, .35, 1);
}
.pg-card:hover { color: #EEF2F8; transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(19, 36, 58, .6); }
.pg-card:hover::before { transform: none; }
.pg-card-n { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .12em; color: #8F4325; transition: color .55s; }
.pg-card:hover .pg-card-n { color: #E89A74; }
.h-page .pg-card h3 { font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -.035em; line-height: 1.1; font-weight: 500; }
.h-page .pg-card p { font-size: 15px; line-height: 1.55; color: inherit; opacity: .72; }
.pg-card-go {
  position: relative; margin-top: auto; align-self: flex-end; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid currentColor; display: grid; place-items: center; overflow: hidden;
}
.pg-card-go svg { position: absolute; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.pg-card-go svg + svg { transform: translate(-260%, 260%); }
.pg-card:hover .pg-card-go svg:first-child { transform: translate(260%, -260%); }
.pg-card:hover .pg-card-go svg + svg { transform: none; }

/* Abschluss-Karte: Navy, wächst beim Scrollen auf volle Breite */
.pg-cta-wrap { background: #C7D1E1; }
.pg-cta {
  position: relative; text-align: center; color: #F2F5FA; overflow: hidden;
  background: radial-gradient(120% 95% at 50% 0%, #1F3858 0%, #13243A 52%, #0D1A2B 100%);
  padding: clamp(110px, 17vh, 190px) 0;
}
.pg-cta .h-kicker.pg-pill { color: #E89A74; border-color: rgba(255, 255, 255, .22); }
.h-page .pg-cta .pg-h2 { color: #F2F5FA; margin-bottom: 26px; }
.h-page .pg-cta p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: #A3B3C9; max-width: 36em; margin: 0 auto; }
.pg-cta .pg-actions { justify-content: center; }
.pg-cta .h-button:not(.h-primary) { background: transparent; border-color: rgba(255, 255, 255, .32); color: #EEF2F8; }
.pg-cta .h-button:not(.h-primary) .h-btn-fill { background: #E9EEF6; color: #13243A; }
.pg-cta .h-button:not(.h-primary) .h-live-dot { background: #7BD389; box-shadow: 0 0 0 4px rgba(123, 211, 137, .2); }
.pg-cta .h-button.h-primary .h-btn-fill { background: #E9EEF6; color: #13243A; }
.pg-tel { margin-top: 22px; color: #A3B3C9; font-family: 'Geist Mono', monospace; letter-spacing: .1em; }

/* Dashboard-Seite: das klickbare Dashboard auf Kreide */
.pg-dash { padding: 0 0 clamp(80px, 12vh, 140px); }
.h-page .db-hint { color: #4A5B72; text-align: center; margin-top: 24px; font-size: 14.5px; }

/* ---------- Einblenden: nur wenn das Skript läuft (pg-motion) ---------- */
.pg-motion .h-page .pg-hero .h-mask > span,
.pg-motion .h-page .pg-h2 .h-mask > span { transform: translateY(115%); }
.pg-motion .h-page .pg-pill,
.pg-motion .h-page .pg-hero .pg-lede,
.pg-motion .h-page .pg-hero .pg-actions,
.pg-motion .h-page .pg-visual { opacity: 0; }
.pg-motion .h-page .pg-reveal { opacity: 0; transform: translateY(40px); }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1024px) {
  .pg-hero { grid-template-columns: 1fr; text-align: left; padding-top: 118px; gap: 30px; min-height: 0; }
  .pg-visual { height: min(66svh, 620px); }
  .pg-visual .h-phone { height: min(62svh, 600px); }
  .pg-visual .h-laptop { width: min(92vw, 760px); }
  .pg-visual .h-print { width: min(88vw, 620px); height: min(56svh, 520px); }
  .pg-visual .h-nfc { width: min(70vw, 460px); }
  .pg-scroll { display: none; }
  .pg-price-grid { grid-template-columns: 1fr; gap: 10px; }
  .pg-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pg-hero { padding: 108px 22px 40px; }
  .h-page .pg-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .pg-actions { gap: 10px; }
  .pg-row { grid-template-columns: 1fr; gap: 10px; }
  .pg-steps { grid-template-columns: 1fr; gap: 44px; }
  .pg-steps-line { display: none; }
  .pg-step { padding-top: 62px; }
  .pg-cards { grid-template-columns: 1fr; }
  .pg-card { min-height: 220px; }
  .pg-pline { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-scroll i::after { animation: none; }
  .pg-card, .pg-card::before, .pg-row { transition: none; }
}

/* ============================================================
   RUNDE 23 — Apple-artige Karten und Schatten, Token neben dem Handy.
   ============================================================ */
/* Menü-Seite: Token klein und aufrecht neben dem Handy */
.pg-duo { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.pg-token-wrap { position: relative; z-index: 0; margin-left: -6%; margin-bottom: 4%; flex: none; }
.pg-token {
  display: block; width: clamp(150px, 15vw, 230px); height: auto; transform: rotate(-4deg);
  filter: drop-shadow(0 2px 3px rgba(19, 36, 58, .12)) drop-shadow(0 24px 30px rgba(19, 36, 58, .28));
}
.pg-duo .h-phone { position: relative; z-index: 1; }
@media (max-width: 720px) { .pg-token { width: 30vw; } .pg-token-wrap { margin-left: -10%; } }

/* „Gehört oft zusammen": weiße Karten wie bei Apple — beim Überfahren etwas größer, tieferer Schatten */
.pg-card {
  background: #fff; border: 0; color: #13243A;
  box-shadow: 0 1px 2px rgba(19, 36, 58, .04), 0 8px 24px -8px rgba(19, 36, 58, .10), 0 30px 60px -36px rgba(19, 36, 58, .28);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s cubic-bezier(.22, 1, .36, 1);
}
.pg-card::before { display: none; }
.pg-card:hover {
  color: #13243A; transform: scale(1.025);
  box-shadow: 0 2px 4px rgba(19, 36, 58, .05), 0 18px 40px -12px rgba(19, 36, 58, .18), 0 50px 90px -40px rgba(19, 36, 58, .45);
}
.pg-card:hover .pg-card-n { color: #8F4325; }
.pg-card-go { border: 0; background: #EEF2F8; color: #13243A; transition: background .4s, color .4s; }
.pg-card:hover .pg-card-go { background: #13243A; color: #fff; }

/* Preis-Karte und Zeilen: weich und mehrlagig */
.pg-price {
  background: #fff;
  box-shadow: 0 1px 2px rgba(19, 36, 58, .04), 0 12px 30px -10px rgba(19, 36, 58, .12), 0 50px 100px -44px rgba(19, 36, 58, .42);
}
.pg-step-n { background: #fff; border: 0; box-shadow: 0 1px 2px rgba(19, 36, 58, .08), 0 8px 18px -8px rgba(19, 36, 58, .3); }
/* Abschluss-Knopf auf Navy: heller Schatten statt dunklem */
.pg-cta .h-button:not(.h-primary) { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
.pg-cta .h-button:not(.h-primary):hover { background: rgba(255, 255, 255, .08); box-shadow: 0 24px 46px -18px rgba(0, 0, 0, .6); }
@media (prefers-reduced-motion: reduce) { .pg-card:hover { transform: none; } }
/* Token näher ans Handy — das Handy-Bild hat seitlich durchsichtigen Rand */
.pg-token-wrap { margin-left: calc(-1 * clamp(34px, 4.2vw, 72px)); }
@media (max-width: 400px) { .h-page .pg-hero h1 { font-size: clamp(30px, 8.6vw, 40px); } }
@media (max-width: 1024px) { .pg-hero { grid-template-columns: minmax(0, 1fr); } .pg-hero-copy, .pg-visual { min-width: 0; } }
