/* ============ Token ============ */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-dunkel: #000000;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-hell: #f5f5f7;
  --linie: #d2d2d7;
  --akzent: #0071e3;
  /* Blau fuer Text auf hellem Grund: #0071e3 erreicht auf dem Hellgrau der Abschnitte nur 4,3:1 (noetig 4,5:1) */
  --akzent-text: #0066cc;
  --akzent-hover: #0077ed;
  --fehler: #d70015;
  --ok: #1a7f37;
  --fokus: 0 0 0 3px rgba(0, 113, 227, .45);

  /* Spiegel-Chrom auf Weiss: dunkle Kanten, damit die Schrift auf hellem Grund lesbar bleibt */
  /* Spiegelpoliert wie die Schrift auf der Metallkarte: dunkler Stahl mit scharfen Lichtkanten */
  --chrom: linear-gradient(178deg,
    #6e6e73 0%, #3a3a3e 22%, #1b1b1e 44%, #a4a4aa 50%,
    #5c5c61 58%, #2a2a2e 76%, #7d7d83 100%);
  --chrom-hell: linear-gradient(175deg,
    #ffffff 0%, #b8b8bd 20%, #ffffff 38%, #7c7c82 50%,
    #d8d8dc 64%, #ffffff 80%, #9a9aa0 100%);

  --schrift: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --schrift-logo: "Open Sans", "Segoe UI", "Inter", sans-serif;

  --radius: 18px;
  --radius-gross: 28px;
  --nav-h: 52px;
  --breite: 1080px;
  --rand: 22px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ============ Grundlagen ============ */
*, *::before, *::after { box-sizing: border-box; }
/* Kein weiches Scrollen: ein Klick auf "Preise" springt sofort dorthin (Wunsch Inhaber, 4.10.2026).
   Die Seiten rasten ein -- man steht immer ganz auf einem Abschnitt, nie zwischen zweien. */
html { scroll-padding-top: var(--nav-h); scroll-snap-type: y mandatory; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.gesperrt { overflow: hidden; }
img, svg { display: block; }
a { color: var(--akzent-text); text-decoration: none; }
@media (hover: hover) { a:hover { text-decoration: underline; } }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--fokus); border-radius: 8px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ============ Chrom-Schrift ============ */
.chrome {
  font-family: var(--schrift-logo);
  background: var(--chrom);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)) drop-shadow(0 1px 1px rgba(0,0,0,.18));
}
.chrome { font-weight: 700; letter-spacing: -.02em; }
.dunkel .chrome { background-image: var(--chrom-hell); filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }

/* ============ Kopfleiste ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.gescrollt { border-bottom-color: rgba(0,0,0,.08); }
.nav-inner {
  max-width: var(--breite); height: 100%; margin: 0 auto; padding: 0 var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { font-size: 22px; line-height: 1; padding: 6px 0; }
@media (hover: hover) { .logo:hover { text-decoration: none; } }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--text); font-size: 13px; opacity: .82;
  transition: opacity .2s;
}
.nav-links a[aria-current="true"] { opacity: 1; text-decoration: none; }
@media (hover: hover) { .nav-links a:hover { opacity: 1; text-decoration: none; } }
.nav-links a[aria-current="true"] { font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 2px; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.badge {
  position: absolute; top: 7px; right: 5px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--text); color: #fff; font-size: 11px; line-height: 17px; font-weight: 600; text-align: center;
}
.burger { width: 18px; height: 12px; position: relative; }
.burger i {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger i:first-child { top: 2px; }
.burger i:last-child { top: 9px; }
.menu-offen .burger i:first-child { top: 5.5px; transform: rotate(45deg); }
.menu-offen .burger i:last-child { top: 5.5px; transform: rotate(-45deg); }

/* ============ Menü (vollflächig) ============ */
.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 28px var(--rand);
  animation: menuRein .35s var(--ease);
}
.menu nav { max-width: var(--breite); margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.menu a {
  color: var(--text); font-size: 28px; font-weight: 600; padding: 6px 0;
  animation: menuPunkt .45s var(--ease) both;
}
.menu a:nth-child(2) { animation-delay: .03s; } .menu a:nth-child(3) { animation-delay: .06s; }
.menu a:nth-child(4) { animation-delay: .09s; } .menu a:nth-child(5) { animation-delay: .12s; }
.menu a:nth-child(6) { animation-delay: .15s; }
@media (hover: hover) { .menu a:hover { color: var(--text-2); text-decoration: none; } }
@keyframes menuRein { from { opacity: 0; } }
@keyframes menuPunkt { from { opacity: 0; transform: translateY(-8px); } }

/* ============ Knöpfe ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0;
  background: var(--akzent); color: #fff; font-size: 17px; font-weight: 500;
  transition: background .2s, transform .15s;
}
@media (hover: hover) { .btn:hover { background: var(--akzent-hover); text-decoration: none; } }
.btn:active { transform: scale(.97); }
.btn-hell { background: var(--text-hell); color: var(--text); }
@media (hover: hover) { .btn-hell:hover { background: #fff; } }
.btn-breit { width: 100%; }
.link-pfeil { font-size: 17px; display: inline-flex; align-items: center; min-height: 44px; }
.link-pfeil::after { content: "›"; margin-left: 4px; font-size: 1.2em; line-height: 1; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 20px; }

/* ============ Hero ============ */
.hero {
  padding: calc(var(--nav-h) + 64px) var(--rand) 40px;
  text-align: center;
  overflow: hidden;
}
.hero-logo {
  font-size: clamp(64px, 19vw, 200px); line-height: 1.05; font-weight: 700; letter-spacing: -.035em; max-width: 100%;
  display: inline-block; padding: 0 .06em;
  background-size: 100% 220%;
  animation: chromLauf 7s ease-in-out infinite alternate;
}
@keyframes chromLauf { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }
.hero-slogan {
  margin-top: 10px; font-family: var(--schrift-logo);
  font-size: clamp(22px, 3.4vw, 32px); font-weight: 600; letter-spacing: -.01em;
}
.hero-sub { margin-top: 4px; font-size: clamp(19px, 2.4vw, 24px); color: var(--text-2); }

.buehne { margin: 56px auto 0; perspective: 1400px; max-width: 520px; }

/* ============ Karten (gemeinsam) ============ */
.karte {
  position: relative; overflow: hidden;
  aspect-ratio: 85.6 / 54;
  /* Ecken im Verhaeltnis der echten Karte (3,2 mm bei 85,6 x 54 mm) -- frueher feste 16 px,
     die je nach Kartengroesse und Zoom mal rund, mal eckig wirkten */
  border-radius: 3.74% / 5.93%; border: 0;
  display: block; padding: 0; text-align: left;
  transform-style: preserve-3d;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 10px 20px -10px rgba(0,0,0,.2);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.karte .glanz {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.35), transparent 45%);
  mix-blend-mode: overlay;
}
.nfc-zeichen {
  position: absolute; right: 7%; top: 12%; width: 9%; aspect-ratio: 1;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .7;
}

.finish-schwarz { background: linear-gradient(135deg, #1b1b1d, #050505 60%, #232326); color: #f5f5f7; }
.finish-weiss   { background: linear-gradient(135deg, #ffffff, #eeeef0); color: #1d1d1f; box-shadow: 0 30px 60px -20px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.06) inset; }
.finish-spiegel {
  background: linear-gradient(120deg, #7a7a80 0%, #e9e9ec 22%, #9c9ca2 38%, #fdfdfd 50%, #86868c 64%, #d8d8dc 82%, #6e6e74 100%);
  color: #111;
}
.finish-gold {
  background: linear-gradient(120deg, #8a6a2c 0%, #f1dc9e 24%, #a8843c 42%, #fff4cf 52%, #9c7a34 66%, #e7cd88 84%, #7a5c22 100%);
  color: #2a1f08;
}

/* Gebuerstetes Silber mit spiegelpoliertem Rand -- nach der echten NFio-Karte.
   ACHTUNG, HIER STAND EIN FEHLER (korrigiert 4.10.2026): Frueher war der Rand
   "border-width: max(3px, 1.1cqw)" an der Karte selbst. cqw in den eigenen
   Eigenschaften eines Containers misst aber NICHT ihn, sondern den naechsten
   Container darueber -- oder das Fenster. Der Rand wurde beim Zoomen dicker und
   duenner. Jetzt liegt die matte Platte als ::before innen: ein Pseudo-Element
   ist Kind der Karte, sein cqw misst also die Karte, bei jedem Zoom gleich. */
.finish-silber {
  isolation: isolate;
  background: linear-gradient(135deg, #f6f6f8 0%, #8a8a90 22%, #2f2f33 42%, #ececef 54%, #7c7c82 74%, #f2f2f4 100%);
  color: #2a2a2d;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 10px 20px -10px rgba(0,0,0,.2);
}
.finish-silber::before {
  content: ""; position: absolute; inset: 1.1cqw; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #d8d8db 0%, #c2c2c6 35%, #dadadd 62%, #bcbcc0 100%);
}
/* Mini-Vorschauen sind keine Container: dort ein fester Rand in px */
.swatch i, .korb-mini { position: relative; }
.swatch i.finish-silber::before { inset: 3px; }
.korb-mini.finish-silber::before { inset: 2px; }

/* Spiegelschrift auf dem Metall: poliert, dunkler als der matte Grund */
.spiegel {
  background: linear-gradient(180deg, #7a7a80 0%, #303034 34%, #151517 50%, #8c8c92 60%, #3c3c40 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 .5px 0 rgba(255,255,255,.55));
}

.karte { container-type: inline-size; }
.karte-marke { position: absolute; left: 6%; top: 8%; display: flex; flex-direction: column; font-family: var(--schrift-logo); }
.karte-logo { font-family: var(--schrift-logo); font-weight: 700; font-size: 14cqw; line-height: 1; letter-spacing: -.03em; }
.karte-slogan { font-weight: 600; font-size: 4.9cqw; line-height: 1.2; margin-top: .25em; letter-spacing: -.01em; }
.karte-person { position: absolute; left: 6%; bottom: 8%; display: flex; flex-direction: column; font-family: var(--schrift-logo); font-weight: 500; font-size: 3.1cqw; line-height: 1.3; }
.karte-person span:first-child { font-size: 1.12em; font-weight: 600; }

.karte-hero { width: 100%; }
.dreh-hero { animation: schweben 6s ease-in-out infinite; }
.dreh-hero.dreht, .dreh-hero:focus-visible, .dreh-hero.zeigt-hinten { animation-play-state: paused; }
@keyframes schweben {
  0%, 100% { transform: rotateX(8deg) rotateY(-12deg) translateY(0); }
  50% { transform: rotateX(4deg) rotateY(10deg) translateY(-10px); }
}

/* ============ Kacheln ============ */
.kacheln {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 12px; max-width: 1440px; margin: 0 auto;
}
.kachel {
  border-radius: var(--radius-gross);
  padding: 56px 32px 0; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  min-height: 620px; overflow: hidden;
}
.kachel.hell { background: var(--bg-2); }
.kachel.dunkel { background: var(--bg-dunkel); color: var(--text-hell); }
.kachel.dunkel .link-pfeil { color: #2997ff; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--text-2); }
.dunkel .eyebrow { color: #a1a1a6; }
.kachel h2 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.08; margin-top: 6px; }
.kachel h2 .chrome { font-family: var(--schrift); font-weight: 700; }
.kachel-sub { font-size: 19px; margin-top: 10px; color: var(--text-2); }
.dunkel .kachel-sub { color: #a1a1a6; }
.kachel-bild { margin-top: auto; padding: 28px 0 28px; width: 100%; display: grid; place-items: center; row-gap: 26px; perspective: 1000px; }
.karte-klein { width: 100%; }
.dreh-klein { width: min(340px, 86%); transform: rotateX(14deg) rotateZ(-5deg); transition: transform .5s var(--ease); }
.dreh-klein:focus-visible { transform: none; }
@media (hover: hover) { .kachel:hover .dreh-klein { transform: none; } }
.sterne { position: absolute; left: 8%; top: 18%; color: #fbbc04; font-size: 22px; letter-spacing: 2px; }
.karte-text { position: absolute; left: 8%; bottom: 14%; font-weight: 600; font-size: 20px; }

/* ============ Vorteile ============ */
.vorteile { padding: 110px var(--rand) 90px; text-align: center; }
.sektion-titel { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.07; text-align: center; }
.sektion-sub { font-size: clamp(19px, 2.2vw, 24px); color: var(--text-2); text-align: center; margin-top: 8px; }
.vorteil-liste {
  list-style: none; padding: 0; margin: 56px auto 0; max-width: var(--breite);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.vorteil-liste li { display: flex; flex-direction: column; gap: 4px; }
.vorteil-liste .zahl {
  font-family: var(--schrift-logo); font-size: clamp(48px, 7vw, 80px); line-height: 1.1;
  background: var(--chrom); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.vorteil-liste li > span:last-child { color: var(--text-2); font-size: 17px; font-weight: 500; }

/* ============ Demo ============ */
.demo { background: var(--bg-2); padding: 100px var(--rand); }
.umschalter {
  display: flex; width: max-content; max-width: 100%; margin: 32px auto 0;
  background: #e8e8ed; border-radius: 980px; padding: 3px;
}
.umschalter button {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 980px; background: none;
  font-size: 15px; font-weight: 500; color: #5c5c61; /* auf dem Grau des Umschalters 5,3:1 statt 4,2:1 */
  transition: background .25s, color .25s, box-shadow .25s;
}
.umschalter button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.1); }

.demo-buehne {
  max-width: 860px; margin: 48px auto 0;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
}
.karte-demo { width: 100%; max-width: 380px; justify-self: end; cursor: grab; touch-action: none; }
.karte-demo:active { cursor: grabbing; }
.karte-demo.zieht { transition: none; z-index: 5; }
.karte-demo.tippt { animation: tipp .7s var(--ease); }
@keyframes tipp {
  40% { transform: translate(var(--tipp-x, 120px), var(--tipp-y, 0px)) scale(.92) rotate(-4deg); }
  100% { transform: none; }
}
.demo-karte-inhalt { position: absolute; inset: 0; }
.demo-karte-inhalt .sterne { top: 20%; }

/* Handy-Attrappe: genau die erste Fassung (250 px, 11 px Rahmen, Insel 76 x 22 px), als Ganzes skaliert.
   ACHTUNG, HIER STANDEN ZWEI FEHLER (korrigiert 4.10.2026):
   1. Die Breite hing an der Fensterhoehe (vh), Rahmen und Insel waren feste px -- beim Zoomen
      verschoben sich die Verhaeltnisse.
   2. Der erste Fix rechnete alles in em mit Mindestgroessen fuer Schrift und Knoepfe. Bei kleinem Handy
      wurde der Inhalt dadurch zu hoch, "Posten" rutschte unten aus dem Bild (Inhaber, 4.10.2026).
   Jetzt: innen unveraenderte px-Masse, aussen nur "zoom" in festen Stufen. Das Handy ist damit wie ein
   Bild -- bei jeder Groesse und jedem Zoom dieselben Verhaeltnisse, der Inhalt liegt immer gleich. */
.handy {
  zoom: var(--handy-skala, 1);
  position: relative; width: 250px; aspect-ratio: 9 / 19.5;
  border-radius: 42px; background: #111; padding: 11px;
  box-shadow: 0 0 0 2px #3a3a3c, 0 40px 80px -30px rgba(0,0,0,.5);
}
.handy.puls { animation: puls .6s var(--ease); }
@keyframes puls { 50% { box-shadow: 0 0 0 2px #3a3a3c, 0 0 0 14px rgba(0,113,227,.18), 0 40px 80px -30px rgba(0,0,0,.5); } }
.handy-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 22px; border-radius: 12px; background: #000; z-index: 2;
}
.handy-screen {
  width: 100%; height: 100%; border-radius: 32px; background: #fff; overflow: hidden;
  position: relative; font-size: 13px;
}
.screen-leer {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: var(--text-2);
}
.wellen { position: relative; width: 60px; height: 60px; }
.wellen i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--akzent);
  animation: welle 2.4s ease-out infinite; opacity: 0;
}
.wellen i:nth-child(2) { animation-delay: .8s; }
.wellen i:nth-child(3) { animation-delay: 1.6s; }
@keyframes welle { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }

.screen-app { height: 100%; padding: 46px 16px 16px; display: flex; flex-direction: column; animation: screenRein .45s var(--ease); }
@keyframes screenRein { from { opacity: 0; transform: translateY(20px); } }
.screen-kopf { display: flex; align-items: center; gap: 10px; }
.screen-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #34a853, #1a73e8);
}
.screen-name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.screen-klein { color: var(--text-2); font-size: 12px; }
.screen-sterne { display: flex; justify-content: center; gap: 0; margin: 22px 0 8px; }
.screen-sterne button {
  background: none; border: 0; font-size: 26px; line-height: 1; color: #dadce0; padding: 4px 0;
  flex: 1 1 0; min-width: 0; min-height: 44px; transition: transform .15s, color .15s;
}
.screen-sterne button.an { color: #fbbc04; }
@media (hover: hover) { .screen-sterne button:hover { transform: scale(1.15); } }
.screen-feld {
  border: 1px solid var(--linie); border-radius: 10px; padding: 10px; min-height: 70px;
  color: var(--text-2); font-size: 12px; margin-top: 10px;
}
.screen-knopf {
  margin-top: auto; min-height: 44px; border: 0; border-radius: 22px;
  background: #1a73e8; color: #fff; font-weight: 600; font-size: 14px;
}
.screen-knopf:disabled { background: #c6c6c8; cursor: default; }
.screen-danke { text-align: center; margin: auto 0; }
.screen-danke .haken { font-size: 44px; color: var(--ok); }
.kontakt-zeilen { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 1px; background: var(--linie); border-radius: 12px; overflow: hidden; }
.kontakt-zeilen li { background: #f7f7f9; padding: 9px 12px; }
.kontakt-zeilen b { display: block; font-size: 11px; color: var(--text-2); font-weight: 500; }
.screen-avatar.gross { width: 72px; height: 72px; margin: 0 auto; background: linear-gradient(135deg, #8e8e93, #3a3a3c); font-family: var(--schrift-logo); font-size: 24px; }
.screen-mitte { text-align: center; margin-top: 10px; }

/* ============ Konfigurator ============ */
.gestalten { padding: 110px var(--rand); }
.konfig {
  max-width: var(--breite); margin: 56px auto 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start;
}
.konfig-vorschau {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--bg-2); border-radius: var(--radius-gross);
  padding: 64px 40px; display: grid; place-items: center; perspective: 1200px;
}
.karte-konfig { width: 100%; max-width: 420px; }
.konfig-titel {
  position: absolute; left: 8%; bottom: 26%; right: 8%;
  font-family: var(--schrift-logo); font-size: 5.6cqw; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.konfig-unter { position: absolute; left: 8%; bottom: 13%; font-family: var(--schrift-logo); font-size: 3.4cqw; opacity: .75; }
.karte-konfig .karte-marke { opacity: .9; }
.karte-konfig .karte-logo { font-size: 9cqw; }
.karte-konfig .karte-slogan { font-size: 3.4cqw; }

.konfig-form { display: flex; flex-direction: column; gap: 28px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, .feld-label, .feld > span { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: block; padding: 0; }
.feld em { font-style: normal; font-weight: 400; color: var(--text-2); }

.segment { display: grid; gap: 10px; }
.segment button {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 18px; text-align: left;
  border: 1.5px solid var(--linie); border-radius: 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
@media (hover: hover) { .segment button:hover { border-color: #86868b; } }
.segment button[aria-pressed="true"] { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent) inset; }
.segment .seg-titel { font-weight: 600; }
.segment .seg-preis { color: var(--text-2); font-size: 15px; white-space: nowrap; }

.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; font-size: 12px; color: var(--text-2); min-width: 56px;
}
.swatch i {
  width: 40px; height: 40px; border-radius: 50%; display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset;
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s;
}
.swatch[aria-pressed="true"] { color: var(--text); font-weight: 600; }
.swatch[aria-pressed="true"] i { outline-color: var(--akzent); }

.feld { display: block; }
.feld input, .feld textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--linie); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { resize: vertical; min-height: 110px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--akzent); box-shadow: var(--fokus); }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--fehler); }
.hinweis { display: block; margin-top: 6px; font-size: 13px; color: var(--text-2); }
.kachel-hinweis { margin-top: 14px; text-wrap: balance; }
.finish-schwarz .spiegel { background: none; -webkit-text-fill-color: currentColor; color: #f5f5f7; filter: none; }
.kachel-sub-lang { font-size: 16px; max-width: 46ch; margin-left: auto; margin-right: auto; text-wrap: pretty; }
/* WLAN-Tags sind aus PVC: Silber und Gold als mattes, flaches Kunststoffgrau bzw. -gold, ohne Metallglanz und gebuerstete Platte (Entscheid Inhaber 10.10.2026) */
.tag.finish-silber, .wlan-farben i.finish-silber, .korb-mini-rund.finish-silber { background: #c9c9cd; box-shadow: 0 18px 36px -18px rgba(0,0,0,.35); }
.tag.finish-gold, .wlan-farben i.finish-gold, .korb-mini-rund.finish-gold { background: #c8a45a; color: #2a1f08; box-shadow: 0 18px 36px -18px rgba(0,0,0,.35); }
.tag.finish-silber::before, .wlan-farben i.finish-silber::before, .korb-mini-rund.finish-silber::before { content: none; }
.tag .glanz { opacity: .35; }
.demo-hinweis { max-width: 78ch; margin: 18px auto 0; text-align: center; }
.hinweis.ist-fehler { color: var(--fehler); }

.menge-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menge-zeile .feld-label { margin: 0; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--linie); border-radius: 980px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; border-radius: 50%; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 44px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.preis-zeile {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--linie);
}
.preis { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.preis-info { font-size: 14px; color: var(--text-2); }
.meldung { font-size: 15px; min-height: 22px; }
.meldung.ok { color: var(--ok); }
.meldung.ist-fehler { color: var(--fehler); }

/* ============ Für Läden ============ */
.laeden { background: var(--bg-dunkel); color: var(--text-hell); padding: 110px var(--rand); }
.laeden .sektion-sub { color: #a1a1a6; }
.schritte {
  list-style: none; padding: 0; margin: 64px auto 0; max-width: var(--breite);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.schritte li { background: #1d1d1f; border-radius: var(--radius-gross); padding: 36px 28px; }
.schritt-nr {
  font-family: var(--schrift-logo); font-size: 44px; line-height: 1; display: block; margin-bottom: 24px;
  background: var(--chrom-hell); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.schritte h3 { font-size: 22px; }
.schritte p { color: #a1a1a6; margin-top: 6px; }

/* ============ Kontakt ============ */
.kontakt { padding: 110px var(--rand); }
.kontakt-form { max-width: 680px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 20px; }
.feld-gitter { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.anfrage-box {
  background: var(--bg-2); border-radius: 14px; padding: 4px 6px 4px 16px; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.anfrage-box h3 { font-size: 15px; margin-bottom: 8px; }
.anfrage-box ul { margin: 0; padding-left: 18px; color: var(--text-2); }

/* ============ Fuss ============ */
.footer {
  background: var(--bg-2); color: var(--text-2); text-align: center;
  padding: 48px var(--rand); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.footer .logo { font-size: 24px; margin-bottom: 4px; }
.klein { font-size: 12px; }

/* ============ Korb ============ */
.schleier {
  position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.35);
  animation: menuRein .3s var(--ease);
}
.korb {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(420px, 100%); background: #fff;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.15);
  animation: korbRein .4s var(--ease);
}
@keyframes korbRein { from { transform: translateX(100%); } }
/* Kleines Fenster in der Mitte (Kontaktdaten fuer den Chip) -- liegt wie der Warenkorb ueber dem Schleier */
.dialog {
  position: fixed; z-index: 160; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto;
  background: #fff; border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .4);
}
.dialog-inhalt { padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.dialog-inhalt > h2 { font-size: 22px; margin-top: 6px; }
.dialog .feld-gitter { gap: 14px; }
.dialog .feld > span { font-size: 14px; margin-bottom: 6px; }
.dialog .hinweis.ist-fehler { color: var(--fehler); }
.korb-kopf { display: flex; justify-content: space-between; align-items: center; padding: 16px 12px 12px 24px; border-bottom: 1px solid var(--linie); }
.korb-kopf h2 { font-size: 22px; }
.korb-inhalt { flex: 1; overflow-y: auto; padding: 8px 24px; }
.korb-leer { text-align: center; color: var(--text-2); padding: 60px 0; }
.korb-leer .btn { margin-top: 16px; }
.korb-posten { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.korb-mini { aspect-ratio: 85.6/54; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.korb-posten .titel { font-weight: 600; font-size: 15px; }
.korb-posten .details { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.korb-posten .rechts { text-align: right; }
.korb-posten .entfernen { background: none; border: 0; color: var(--akzent); font-size: 13px; min-height: 44px; padding: 0; }
.korb-fuss { padding: 16px 24px 24px; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 14px; }
.korb-summe { display: flex; justify-content: space-between; font-size: 17px; }
.korb-summe small { display: block; font-size: 12px; color: var(--text-2); font-weight: 400; }

/* ============ WLAN-Tag (rund) ============ */
.tag {
  position: relative; overflow: hidden; container-type: inline-size;
  aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 10px 20px -10px rgba(0,0,0,.2);
  transition: transform .5s var(--ease);
}
.tag .glanz {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.4), transparent 50%);
  mix-blend-mode: overlay;
}
.wlan-zeichen { width: 30cqw; height: 30cqw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.wlan-zeichen circle { fill: currentColor; stroke: none; }
/* Abstaende in cqw nur an Kindern: am Container selbst wuerden sie das Fenster messen */
.tag-text { font-family: var(--schrift-logo); font-weight: 600; font-size: 8cqw; text-align: center; max-width: 76%; line-height: 1.2; margin-top: 4cqw; }
.finish-silber .wlan-zeichen { color: #3a3a3e; }

.kachel.breit {
  grid-column: 1 / -1; min-height: 0;
  flex-direction: row; justify-content: center; gap: 72px; text-align: left;
  padding: 56px 48px;
}
.kachel.breit .cta-row { justify-content: flex-start; }
.kachel.breit .kachel-bild { margin: 0; padding: 0; width: auto; }
.dreh-tag { width: 260px; transform: rotate(-8deg); transition: transform .5s var(--ease); }
.dreh-tag .tag { width: 100%; }
@media (hover: hover) { .kachel:hover .dreh-tag { transform: rotate(0deg) translateY(-6px); } }

.karte.tag-demo { aspect-ratio: 1; border-radius: 50%; max-width: 240px; container-type: inline-size; }
.tag-demo .demo-karte-inhalt { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tag-demo .nfc-zeichen { display: none; }
.tag-konfig { width: min(300px, 80%); }

.screen-wlan-icon { width: 72px; height: 72px; margin: 10px auto 0; border-radius: 50%; display: grid; place-items: center; background: #e8f0fe; color: #1a73e8; }
.screen-wlan-icon .wlan-zeichen { width: 40px; height: 40px; }

/* ============ Preise ============ */
.preise { padding: 110px var(--rand); }
.preis-gitter {
  max-width: var(--breite); margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch;
}
.preis-karte {
  background: var(--bg-2); border-radius: var(--radius-gross); padding: 36px 28px 28px;
  display: flex; flex-direction: column;
}
.preis-karte h3 { font-size: 24px; }
.preis-fuer { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.preis-karte-dunkel { background: var(--bg-dunkel); color: var(--text-hell); }
.preis-karte-dunkel .preis-fuer { color: #a1a1a6; }
.staffel { list-style: none; padding: 0; margin: 28px 0 28px; flex: 1; }
.staffel li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--linie); font-size: 17px;
}
.preis-karte-dunkel .staffel li { border-top-color: #424245; }
.staffel-preis { font-weight: 700; font-size: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.staffel-preis small { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); }

/* Paketwahl nebeneinander */
.segment-reihe { grid-template-columns: repeat(3, 1fr); }
.segment-reihe button { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }

.aufpreis {
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  border: 1.5px solid var(--linie); border-radius: 14px; padding: 14px 18px;
  transition: border-color .2s, box-shadow .2s;
}
.aufpreis:has(input:checked) { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent) inset; }
.aufpreis input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--akzent); flex: none; }
.aufpreis small { display: block; color: var(--text-2); font-size: 14px; }

.korb-mini-rund { aspect-ratio: 1; width: 44px; border-radius: 50%; justify-self: center; }

@media (max-width: 860px) {
  .kachel.breit { flex-direction: column; text-align: center; gap: 40px; padding: 56px 24px; }
  .kachel.breit .cta-row { justify-content: center; }
  .preis-gitter { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dreh-tag { width: 200px; }
  .segment-reihe { gap: 8px; }
  .segment-reihe button { padding: 10px 12px; }
  .preise { padding-top: 80px; padding-bottom: 80px; }
}

/* ============ Review-Plaketten (nach den Produktfotos) ============ */
.plakette {
  position: relative; display: block; aspect-ratio: 1; container-type: inline-size;
  border-radius: 6%; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #ffffff, #f3f4f7);
  color: #111; font-family: var(--schrift); line-height: 1.3;
  /* Kante und Schatten in cqw des Elternteils (gleich breit wie die Plakette): bleiben bei jedem Zoom gleich */
  box-shadow: 0 0 0 .3cqw rgba(0,0,0,.06), 0 .9cqw 0 #d9dce4, 0 9cqw 15cqw -5.5cqw rgba(20,30,80,.35);
}
/* Acrylglas: Lichtkante rundum und ein weicher Reflex oben links */
.plakette::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(128deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.08) 26%, transparent 40%, transparent 72%, rgba(255,255,255,.14) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55), inset 0 -2px 6px rgba(0,0,0,.08);
}
.plakette > * { position: absolute; display: block; }
.pl-flaeche { inset: 0; width: 100%; height: 100%; }
.pl-sterne {
  top: 8.5%; left: 0; right: 0; padding-left: 2cqw;
  color: #fbbc04; font-size: 7.6cqw; letter-spacing: 2cqw; line-height: 1;
  text-shadow: 0 .4cqw .8cqw rgba(0,0,0,.28);
}
.pl-titel {
  top: 20%; left: 6%; right: 6%;
  color: #fff; text-transform: uppercase; font-size: 4.9cqw; font-weight: 500; letter-spacing: .09em; line-height: 1.4;
}
.pl-titel b { font-weight: 800; }
.pl-g-kreis {
  left: 50%; top: 61%; width: 21cqw; height: 21cqw; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 1.2cqw rgba(255,255,255,.35), 0 1cqw 2.4cqw rgba(0,0,0,.18);
}
.pl-g-kreis svg { width: 62%; height: 62%; }
.pl-nfc { left: 50%; top: 78.5%; width: 34cqw; transform: translate(-50%, -50%); color: #111; overflow: visible; }
.pl-fuss { bottom: 5.5%; left: 0; right: 0; font-size: 4.5cqw; font-weight: 500; color: #1d1d1f; }

.plakette-schwarz {
  background: radial-gradient(130% 100% at 25% 0%, #2c2c30 0%, #0d0d0f 55%, #050506 100%);
  color: #fff;
  box-shadow: 0 0 0 .3cqw rgba(255,255,255,.08), 0 .9cqw 0 #2a2a2d, 0 9cqw 15cqw -5.5cqw rgba(0,0,0,.55);
}
.plakette-schwarz::after {
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 28%, transparent 47%, rgba(255,255,255,.07) 50%, transparent 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12);
}
.plakette-schwarz .pl-titel { top: 8%; text-transform: none; letter-spacing: .01em; font-size: 4.6cqw; color: #f5f5f7; }
.g-wort { font-weight: 600; }
.g-wort i { font-style: normal; }
.g-wort i:nth-child(1), .g-wort i:nth-child(4) { color: #4285f4; }
.g-wort i:nth-child(2), .g-wort i:nth-child(6) { color: #ea4335; }
.g-wort i:nth-child(3) { color: #fbbc05; }
.g-wort i:nth-child(5) { color: #34a853; }
.pl-g-gross { left: 50%; top: 39%; width: 33cqw; transform: translate(-50%, -50%); filter: drop-shadow(0 1cqw 2cqw rgba(0,0,0,.5)); }
.pl-g-gross svg { width: 100%; height: auto; }
.plakette-schwarz .pl-sterne { top: 59%; }
.plakette-schwarz .pl-nfc { color: #fff; top: 77%; }
.plakette-schwarz .pl-fuss { color: #d2d2d7; }

/* Tischaufsteller: hochkant, schwarz, Aluminiumkante, Standfuss */
.aufsteller { position: relative; display: block; aspect-ratio: 1; }
.aufsteller .plakette-hoch {
  position: absolute; left: 21%; top: 1%; width: 58%; aspect-ratio: 3 / 4;
  border-radius: 4%;
  background: linear-gradient(160deg, #242427 0%, #0b0b0c 60%, #151517 100%); color: #fff;
  box-shadow: 0 0 0 .7cqw #a1a1a6, 0 0 0 1.1cqw #5a5a5e, 0 9cqw 14cqw -5.5cqw rgba(0,0,0,.55);
}
.aufsteller .plakette-hoch::after { background: linear-gradient(120deg, rgba(255,255,255,.14) 0%, transparent 30%, transparent 60%, rgba(255,255,255,.05) 100%); box-shadow: none; }
.plakette-hoch .pl-g-kreis { top: 27%; width: 34cqw; height: 34cqw; }
.plakette-hoch .pl-sterne { top: 49%; font-size: 9cqw; letter-spacing: 2.4cqw; }
.plakette-hoch .pl-nfc { color: #fff; top: 70%; width: 46cqw; }
.plakette-hoch .pl-fuss { color: #e5e5ea; font-style: italic; font-size: 6cqw; bottom: 6%; }
.aufsteller-fuss {
  position: absolute; left: 14%; right: 14%; top: 79%; height: 10%;
  background: linear-gradient(180deg, #4a4a4e, #1a1a1c);
  border-radius: 3px;
  transform: perspective(240px) rotateX(62deg); transform-origin: top;
  box-shadow: 0 0 0 1px #8e8e93, 0 18px 24px -10px rgba(0,0,0,.5);
}

/* Zwei Plaketten aufgefaechert, wie auf dem Produktfoto */
.plakette-faecher { position: relative; width: min(380px, 88%); aspect-ratio: 1.18; }
.plakette-platz { position: absolute; width: 74%; transition: transform .6s var(--ease); container-type: inline-size; }
.plakette-platz:first-child { left: 0; top: 0; transform: rotate(-11deg); }
.plakette-platz:last-child { right: 0; bottom: 0; transform: rotate(5deg); }
@media (hover: hover) { .kachel:hover .plakette-platz:first-child { transform: rotate(-15deg) translateX(-6px); } }
@media (hover: hover) { .kachel:hover .plakette-platz:last-child { transform: rotate(2deg) translateY(-8px); } }

.karte.plakette-demo { aspect-ratio: 1; max-width: 300px; background: none; box-shadow: none; border-radius: 6%; overflow: visible; }
.plakette-demo .nfc-zeichen, .plakette-demo > .glanz { display: none; }
.konfig-plakette { width: min(340px, 82%); container-type: inline-size; }

.design-swatch i { border-radius: 9px; }
.design-blau { background: linear-gradient(180deg, #2236c4 0 56%, #5d76f0 56% 62%, #fff 62%); }
.design-schwarz { background: radial-gradient(circle at 30% 20%, #2c2c30, #050506); }
.design-aufsteller { background: linear-gradient(160deg, #242427, #0b0b0c); box-shadow: 0 0 0 2px #a1a1a6 inset !important; }
.korb-mini-quadrat { aspect-ratio: 1; width: 44px; justify-self: center; border-radius: 6px; }

/* ============ Drehbare Produkte ============ */
.drehbar { perspective: 1400px; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.drehbar.dreht { cursor: grabbing; }
.drehbar:focus-visible { box-shadow: none; outline: 3px solid rgba(0, 113, 227, .45); outline-offset: 8px; border-radius: 18px; }
.dreh-koerper { position: relative; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.dreh-seite { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Die Karte ist 0,76 mm dick: beide Seiten ruecken um die halbe Dicke auseinander, dreh.js baut die Kante dazwischen */
.dreh-vorne { position: relative; transform: translateZ(calc(var(--dicke, 0px) / 2)); }
.dreh-hinten { position: absolute; inset: 0; transform: rotateY(180deg) translateZ(calc(var(--dicke, 0px) / 2)); }
.dreh-kante {
  position: absolute; left: 0; top: 0; height: var(--dicke, 0px); transform-origin: 0 0; pointer-events: none;
  /* Licht von oben auf dem Kartenrand: heller Saum vorne, Schatten hinten */
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .28), rgba(255, 255, 255, .22) 45%, rgba(0, 0, 0, .12)) !important;
  background-blend-mode: overlay;
}
.dreh-hinten > * { width: 100%; height: 100%; }
.dreh-knopf {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px;
  border: 0; border-radius: 980px; background: rgba(0,0,0,.06); color: var(--text); font-size: 14px; font-weight: 500;
  transition: background .2s;
}
.dreh-knopf::before { content: "↻"; font-size: 16px; }
@media (hover: hover) { .dreh-knopf:hover { background: rgba(0,0,0,.1); } }
.dreh-knopf-dunkel { background: rgba(255,255,255,.14); color: #f5f5f7; }
@media (hover: hover) { .dreh-knopf-dunkel:hover { background: rgba(255,255,255,.22); } }
.buehne .dreh-knopf { margin-top: 26px; }
/* Mindestens 44 px Trefferflaeche am Handy */
@media (pointer: coarse) { .dreh-knopf { min-height: 44px; } }

.karte-rueckseite { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.karte-rueckseite .rueck-zeile { margin-top: 3cqw; }
.karte-rueckseite .karte-logo { font-size: 13cqw; }
.rueck-zeile { display: flex; align-items: center; gap: 1.5cqw; font-family: var(--schrift-logo); font-weight: 600; font-size: 3.4cqw; }
.rueck-nfc { width: 4.2cqw; height: 4.2cqw; fill: none; stroke: #3a3a3e; stroke-width: 2; stroke-linecap: round; }
/* Rueckseite der Metallkarte: Kunststoff im Ton der Vorderseite, matt, mit markierter Lesestelle (Entscheid Inhaber 9.10.2026) */
.rueck-kunststoff { background: linear-gradient(160deg, #cdcdd1, #b6b6bb); color: #2a2a2d; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 10px 20px -10px rgba(0,0,0,.2); }
.lesestelle { display: grid; place-items: center; width: 22cqw; aspect-ratio: 1; border: .5cqw dashed #4a4a4e; border-radius: 50%; }
.lesestelle .rueck-nfc { width: 9cqw; height: 9cqw; }
.rueck-material { margin-top: 1.2cqw; font-size: 2.8cqw; }

/* Rueckseite der Plaketten und Tags: Klebeschicht mit Antenne */
.plakette-rueckseite { background: linear-gradient(180deg, #fbfbfc, #ececef); box-shadow: 0 0 0 .3cqw rgba(0,0,0,.06), 0 9cqw 15cqw -5.5cqw rgba(20,30,80,.3); }
.tag-rueckseite { background: linear-gradient(180deg, #fbfbfc, #e9e9ec); }
.tag-rueckseite > * { position: absolute; display: block; }
.pl-muster {
  inset: -30%; transform: rotate(-24deg);
  font-family: var(--schrift-logo); font-weight: 700; font-size: 5cqw; line-height: 2.1;
  color: rgba(0,0,0,.06); white-space: nowrap; text-align: left; overflow: hidden;
}
.pl-spule { left: 50%; top: 50%; width: 52cqw; height: 52cqw; transform: translate(-50%, -50%); fill: none; stroke: rgba(150,105,40,.38); stroke-width: 1.3; }
.pl-spule rect { fill: rgba(120,85,35,.45); stroke: none; }
.pl-rueck-text { left: 0; right: 0; bottom: 7%; text-align: center; font-size: 4cqw; font-weight: 600; letter-spacing: .04em; color: #8e8e93; }
.tag-rueckseite .pl-rueck-text { bottom: 17%; font-size: 6cqw; }

/* ============ Artikelnummern, Designer-Verweise ============ */
.artikel-nr { margin-top: 2px; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.korb-posten .details.artikel { font-size: 12px; }
.korb-mini-eigen { background: conic-gradient(from 200deg, #2236c4, #34a853, #fbbc04, #ea4335, #2236c4); }
.link-hell { color: #2997ff; justify-content: center; margin-top: 6px; }
.preis-karte .btn + .link-pfeil { align-self: center; }

/* ============ Material: Metall oder PVC ============ */
.finish-wahl { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.material-gruppe { display: flex; flex-direction: column; gap: 8px; }
.material-titel { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.karte.finish-pvc { background: #2236c4; color: #fff; }
.swatch i.finish-pvc { background: conic-gradient(#ff3b30, #ffcc00, #34c759, #00c7be, #0071e3, #af52de, #ff3b30); }
.korb-mini.finish-pvc { background: #2236c4; }
.pvc-zeile { display: flex; align-items: center; gap: 14px; }
.pvc-zeile input[type="color"] {
  flex: none; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 14px; background: none; cursor: pointer;
  box-shadow: 0 0 0 1.5px var(--linie);
}
.pvc-zeile input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.pvc-zeile input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 14px; }
.pvc-zeile .hinweis { margin: 0; }

/* ============ Konfigurator kompakt: alles in einem Fenster ============ */
.gestalten { padding: 18px var(--rand); }
.gestalten .konfig { margin: 0 auto; grid-template-columns: 1fr minmax(340px, 460px); gap: 48px; align-items: center; width: 100%; }
.gestalten .konfig-vorschau { position: relative; top: auto; padding: 48px 32px 40px; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.konfig-vorschau-hinweis { font-size: 13px; color: var(--text-2); }
.konfig-form { gap: 16px; }
.gestalten .konfig-form { gap: 13px; }
.konfig-kopf { display: flex; flex-direction: column; gap: 10px; }
.konfig-kopf h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.05; }
.konfig-produkte { margin: 0; width: 100%; }
.konfig-produkte button { flex: 1; padding: 0 10px; }
.konfig-schritt { display: flex; flex-direction: column; gap: 8px; }
.konfig-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.konfig-schritt .swatches { gap: 10px; }
.konfig-schritt .swatch { min-width: 52px; font-size: 12px; }
.konfig-schritt .swatch i { width: 34px; height: 34px; }
.konfig-schritt .finish-wahl { gap: 10px 24px; }
.konfig-schritt .material-gruppe { gap: 6px; }
.pvc-farbe { cursor: pointer; }
.pvc-farbe input {
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: none; cursor: pointer;
  box-shadow: 0 0 0 2px var(--akzent);
}
.pvc-farbe input::-webkit-color-swatch-wrapper { padding: 0; }
.pvc-farbe input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* Ohne zweite Zeile (WLAN-Tag) nimmt das eine Feld die ganze Breite */
.feld-reihe:has(> [hidden]) { grid-template-columns: 1fr; }
.konfig-schritt input[type="text"], .konfig-schritt input[type="url"], .konfig-schritt input[type="tel"], .konfig-schritt input[type="email"] {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  min-height: 44px; padding: 10px 13px; border: 1.5px solid var(--linie); border-radius: 12px; background: #fff;
}
.konfig-schritt input:focus { outline: none; border-color: var(--akzent); box-shadow: var(--fokus); }
.konfig-schritt input[aria-invalid="true"] { border-color: var(--fehler); }
.konfig-schritt .segment-reihe button { min-height: 48px; padding: 6px 12px; }
.konfig-schritt .stepper { align-self: flex-start; }
.gestalten .aufpreis { padding: 10px 14px; }
.mass-bereich { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 14px; color: var(--text-2); padding: 0 4px; }
.mass-bereich .link-pfeil { font-size: 15px; min-height: 36px; }
/* Preis links, Knopf rechts -- auch wenn der Text darunter umbricht */
.gestalten .preis-zeile { padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; }
.gestalten .meldung { min-height: 0; }
.gestalten .meldung:empty { display: none; }

/* Standard-Vorschau der Visitenkarte: nur Name und zweite Zeile */
.konfig-zeilen { position: absolute; left: 8%; right: 8%; bottom: 12%; display: flex; flex-direction: column; gap: 1cqw; font-family: var(--schrift-logo); }
.karte-konfig .konfig-titel { position: static; font-size: 6.4cqw; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.karte-konfig .konfig-unter { position: static; font-size: 3.6cqw; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.karte-konfig .leer { opacity: .38; }
.konfig-mass {
  position: absolute; left: 8%; top: 12%; padding: 2cqw 3.4cqw;
  border: 1.5px dashed currentColor; border-radius: 1.6cqw; opacity: .55;
  font-family: var(--schrift-logo); font-weight: 700; font-size: 4.6cqw;
}

@media (max-width: 860px) {
  .gestalten .konfig { grid-template-columns: 1fr; gap: 20px; }
  .gestalten .konfig-vorschau { min-height: 0; padding: 24px 16px 14px; gap: 10px; }
  .gestalten .karte-konfig { max-width: 300px; }
  .gestalten .konfig-plakette { width: min(220px, 60%); }
  .gestalten .tag-konfig { width: min(170px, 46%); }
}
@media (max-width: 560px) {
  .konfig-schritt .swatch { min-width: 46px; }
  .konfig-produkte button { font-size: 14px; padding: 0 6px; }
}

/* ============ Seiten: jeder Abschnitt fuellt den Bildschirm und rastet ein ============ */
.seite, .seite-kachel { scroll-snap-align: start; }
.seite {
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
}
/* In der Flex-Spalte wuerden Bloecke mit "margin: auto" auf ihren Inhalt schrumpfen (Hero-Karte war
   so nur 174 px breit). Volle Breite fuer alle -- ausser den Umschaltern, die nur so breit sind wie ihr Inhalt. */
.seite > :not(.umschalter):not(.demo-schritte) { width: 100%; }
.footer { scroll-snap-align: end; }
/* Die beiden oberen Kacheln teilen sich eine Seite, die WLAN-Kachel ist die naechste */
.kacheln .seite-kachel { min-height: calc(100svh - var(--nav-h) - 24px); }
.kacheln .kachel.breit { min-height: calc(100svh - var(--nav-h) - 24px); align-items: center; }

/* Hero passt in einen Bildschirm */
/* Der Hero beginnt ganz oben, hinter der Kopfleiste -- deren Hoehe gehoert in seinen Abstand */
.hero.seite { min-height: 100svh; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 20px; }
.hero .hero-logo { font-size: clamp(56px, min(19vw, 19vh), 200px); }
.hero .buehne { margin-top: clamp(20px, 4vh, 56px); max-width: min(520px, 86vw, 58vh); }
.vorteile.seite, .preise.seite, .laeden.seite, .kontakt.seite { padding-top: 40px; padding-bottom: 40px; }

/* Demo passt in einen Bildschirm: Handy waechst mit der Hoehe, nicht ueber sie hinaus */
.demo.seite { padding-top: 28px; padding-bottom: 28px; }
.demo .umschalter { margin-top: 18px; }
.demo-buehne { margin-top: 24px; }

/* Angesprungen: statt zu scrollen blendet der Zielabschnitt kurz ein */
@keyframes ankommen { from { opacity: 0; transform: translateY(14px); } }
.angekommen > * { animation: ankommen .5s var(--ease) both; }

@media (max-width: 860px) {
  /* Am Handy sind manche Abschnitte hoeher als der Bildschirm -- dort scrollt man innerhalb weiter */
  .kacheln .seite-kachel, .kacheln .kachel.breit { min-height: calc(100svh - var(--nav-h) - 16px); }
}

/* ============ Demo: Schritte und dezente Fuehrung ============ */
.demo-schritte {
  list-style: none; padding: 0; margin: 16px auto 0; counter-reset: schritt;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.demo-schritte li {
  counter-increment: schritt; display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border-radius: 980px; font-size: 14px; color: var(--text-2);
  transition: background .3s, color .3s, box-shadow .3s;
}
.demo-schritte li::before {
  content: counter(schritt); width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #c7c7cc; color: #fff; font-size: 12px; font-weight: 700;
  transition: background .3s;
}
.demo-schritte li[aria-current="step"] { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.demo-schritte li[aria-current="step"]::before { background: var(--akzent); }
.demo-schritte li.erledigt::before { content: "✓"; background: var(--ok); }
/* Ein Ring, der langsam atmet -- per outline, damit der Schatten der Karte bleibt */
.lenk { animation: lenk 2.4s ease-in-out infinite; outline: 2px solid transparent; outline-offset: 6px; }
@keyframes lenk {
  0%, 100% { outline-color: rgba(0, 113, 227, 0); outline-offset: 4px; }
  50% { outline-color: rgba(0, 113, 227, .55); outline-offset: 9px; }
}
.screen-knopf.lenk, .screen-sterne.lenk { border-radius: 22px; }
@media (prefers-reduced-motion: reduce) {
  .lenk { animation: none !important; outline-color: rgba(0, 113, 227, .55); }
}
@media (max-width: 560px) {
  .demo-schritte li { font-size: 13px; padding-right: 10px; }
}

/* ============ Demo am Handy: Karte, Handy und markierter Knopf auf einem Bildschirm ============ */
.umschalter button { white-space: nowrap; }
@media (max-width: 560px) {
  .demo.seite { padding-top: 14px; padding-bottom: 14px; }
  .demo .sektion-titel { font-size: 32px; }
  .demo .sektion-sub { font-size: 16px; margin-top: 4px; }
  .demo .umschalter { margin-top: 12px; }
  .demo .umschalter button { min-height: 38px; padding: 0 12px; font-size: 14px; }
  /* Nur der aktuelle Schritt traegt Text, die anderen zeigen ihre Nummer */
  .demo-schritte { margin-top: 10px; }
  .demo-schritte li:not([aria-current]) { font-size: 0; gap: 0; padding-right: 5px; }
  .demo-buehne { gap: 12px; margin-top: 12px; }
  .demo-buehne .karte-demo { max-width: 220px; }
  .demo-buehne .karte.plakette-demo { max-width: 170px; }
  .demo-buehne .karte.tag-demo { max-width: 130px; }
}

/* ============ Handy-Groesse: feste Stufen, nur der Massstab aendert sich ============ */
@media (max-height: 860px) and (min-width: 561px) { .handy { --handy-skala: .84; } }
@media (max-height: 760px) and (min-width: 561px) { .handy { --handy-skala: .72; } }
@media (max-height: 660px) and (min-width: 561px) { .handy { --handy-skala: .64; } }
@media (max-width: 560px) { .demo-buehne .handy { --handy-skala: .66; } }
@media (max-width: 560px) and (max-height: 860px) { .demo-buehne .handy { --handy-skala: .56; } }

/* ============ Einblenden beim Scrollen ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.sichtbar { opacity: 1; transform: none; }

/* ============ Responsiv ============ */
@media (max-width: 1000px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .kacheln { grid-template-columns: 1fr; }
  .kachel { min-height: 0; }
  .konfig { grid-template-columns: 1fr; gap: 32px; }
  .konfig-vorschau { position: static; padding: 40px 24px; }
  .demo-buehne { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
  .karte-demo { justify-self: center; max-width: 320px; }
  .schritte { grid-template-columns: 1fr; }
  .vorteil-liste { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 560px) {
  :root { --rand: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .kacheln { padding: 8px; gap: 8px; }
  .kachel { padding: 44px 20px 0; }
  .feld-gitter { grid-template-columns: 1fr; }
  .vorteile, .laeden, .kontakt { padding-top: 48px; padding-bottom: 48px; }
  .umschalter button { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Feinschliff: mittlere Breiten und niedrige Fenster (gemessen 4.10.2026) ============
   Gemessen ohne diesen Block: bei 1024x700 waren 6 Seiten 35-70 px zu hoch, bei 800x740 fuenf Seiten
   bis 1322 px (alles untereinander gestapelt). Nebeneinander bleiben, bis es wirklich nicht mehr passt. */
@media (min-width: 641px) and (max-width: 860px) {
  .demo-buehne { grid-template-columns: 1fr auto; justify-items: stretch; gap: 28px; }
  .demo-buehne .karte-demo { justify-self: end; max-width: 300px; }
  .schritte { grid-template-columns: repeat(3, 1fr); }
  .preis-gitter { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .preis-karte { padding: 22px 16px 18px; }
  .staffel-preis { font-size: 19px; }
}
@media (min-width: 721px) and (max-width: 860px) {
  .gestalten .konfig { grid-template-columns: 1fr minmax(320px, 1fr); gap: 24px; }
  .gestalten .konfig-vorschau { min-height: 300px; padding: 28px 16px; }
}
@media (max-height: 820px) and (min-width: 641px) {
  .vorteile.seite, .preise.seite, .laeden.seite, .kontakt.seite { padding-top: 20px; padding-bottom: 20px; }
  .sektion-titel { font-size: clamp(30px, 4.6vw, 44px); }
  .sektion-sub { font-size: clamp(16px, 1.8vw, 20px); }
  .preis-gitter, .schritte { margin-top: 24px; }
  .preis-karte { padding-top: 24px; padding-bottom: 20px; }
  .staffel { margin: 14px 0; }
  .staffel li { padding: 9px 0; }
  .kachel { padding-top: 34px; }
  .kachel h2 { font-size: clamp(30px, 3.8vw, 42px); }
  .kachel-bild { padding: 16px 0 18px; row-gap: 14px; }
  .plakette-faecher { width: min(380px, 88%, 42vh); }
  .dreh-klein { width: min(340px, 86%, 50vh); }
  .dreh-tag { width: min(260px, 34vh); }
  .kontakt-form { margin-top: 22px; gap: 12px; }
  .feld-gitter { gap: 12px; }
  .kontakt-form textarea { min-height: 72px; }
  .hero .cta-row { margin-top: 12px; }
  .hero .hero-logo { font-size: clamp(48px, min(19vw, 16vh), 200px); }
  .hero .buehne { max-width: min(520px, 86vw, 50vh); }
  .buehne .dreh-knopf { margin-top: 18px; }
  .schritte li { padding: 22px 20px; }
  .schritt-nr { margin-bottom: 10px; font-size: 34px; }
  .demo-schritte { margin-top: 10px; }
  .demo-buehne { margin-top: 14px; }
}

/* ============ Handy: jede Seite auf einen Bildschirm (375 x 812, gemessen 4.10.2026) ============
   Ohne diesen Block: Preise 1335 px, Erklaerung 1148, Bestellen 955, Laeden 885, Kontakt 896 --
   bei 760 px Platz. Preise werden wischbar wie die Erklaerung, der Rest rueckt zusammen. */
@media (max-width: 640px) {
  .preis-gitter {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 12px; margin: 22px calc(var(--rand) * -1) 0; padding: 4px var(--rand) 8px;
  }
  .preis-gitter::-webkit-scrollbar { display: none; }
  .preis-karte { flex: 0 0 84%; scroll-snap-align: center; }

  .schritte { gap: 10px; margin-top: 28px; }
  .schritte li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; }
  .schritt-nr { grid-row: span 2; margin: 0; font-size: 34px; }
  .schritte h3 { font-size: 19px; }
  .schritte p { margin-top: 2px; }

  .gestalten.seite { padding-top: 10px; padding-bottom: 10px; }
  .gestalten .konfig { gap: 10px; }
  .gestalten .konfig-vorschau { padding: 14px 12px 12px; border-radius: 22px; }
  .gestalten .karte-konfig { max-width: 200px; }
  .gestalten .konfig-plakette { width: 132px; }
  .gestalten .tag-konfig { width: 104px; }
  .konfig-vorschau-hinweis { display: none; }
  .gestalten .konfig-form { gap: 11px; }
  .konfig-kopf { gap: 8px; }
  .konfig-kopf h2 { font-size: 26px; }
  .konfig-schritt { gap: 5px; }
  .konfig-schritt .swatch { min-width: 42px; font-size: 11px; gap: 4px; }
  .konfig-schritt .swatch i { width: 30px; height: 30px; }
  .konfig-schritt .finish-wahl { gap: 6px 16px; }
  .konfig-schritt .segment-reihe button { min-height: 44px; padding: 4px 8px; }
  .konfig-schritt .seg-preis { font-size: 12px; }
  .gestalten .aufpreis { padding: 8px 12px; }
  .gestalten .aufpreis small { font-size: 12px; }
  .gestalten .preis-zeile { padding-top: 10px; }
  .gestalten .preis { font-size: 22px; }

  .kontakt.seite { padding-top: 20px; padding-bottom: 20px; }
  .kontakt-form { margin-top: 18px; gap: 10px; }
  .feld-gitter { gap: 10px; }
  .kontakt-form .feld > span { margin-bottom: 4px; font-size: 14px; }
  .kontakt-form input { padding: 10px 13px; }
  .kontakt-form textarea { min-height: 64px; }
  .laeden.seite, .preise.seite { padding-top: 24px; padding-bottom: 24px; }
}

/* Grossmengen */
.gross-feld { display: flex; flex-direction: column; gap: 4px; }
.gross-feld input {
  width: 100%; font: inherit; font-size: 16px; min-height: 44px; padding: 10px 13px;
  border: 1.5px solid var(--linie); border-radius: 12px; background: #fff;
}
.gross-feld input:focus { outline: none; border-color: var(--akzent); box-shadow: var(--fokus); }
.gross-feld input[aria-invalid="true"] { border-color: var(--fehler); }
/* Hinweis nur bei Fehler -- sonst sagt der Platzhalter alles und der Bereich bleibt in einem Fenster */
.gross-feld .hinweis:not(.ist-fehler) { display: none; }
.preis.preis-anfrage { font-size: 21px; }
.link-knopf { align-self: flex-start; min-height: 36px; padding: 0; border: 0; background: none; color: var(--akzent-text); font-size: 15px; }
@media (hover: hover) { .link-knopf:hover { text-decoration: underline; } }

/* Der Designer hat keine Seiten -- dort darf nichts einrasten */
html:has(.designer-seite) { scroll-snap-type: none; }

/* Handy, Bestellen mit Grossmenge: gemessen 841 px (mit Massgeschneidert 948 px) bei 760 px Platz.
   Die Artikelnummer steht in Anfrage und E-Mail -- hier am Handy nur Preis und Knopf. */
@media (max-width: 560px) {
  .gestalten .artikel-nr { display: none; }
  .gestalten .preis-zeile .btn { padding: 0 16px; font-size: 15px; }
  .gestalten .preis-info { font-size: 13px; }
  .gestalten .mass-bereich > span { display: none; }
  .gestalten .mass-bereich { justify-content: flex-end; }
  .gestalten .mass-bereich .link-pfeil { min-height: 32px; }
  .gestalten:has(#konfigIndividuell:checked) .karte-konfig { max-width: 160px; }
  /* Bei Grossmengen geht es um das Angebot, nicht um die Vorschau einer einzelnen Karte */
  .gestalten:has(#grossFeld:not([hidden])) .konfig-vorschau { display: none; }
}


/* Demo am Handy: Karte etwas kleiner */
.demo-buehne { margin-top: 18px; }
@media (max-height: 820px) and (min-width: 641px) {
  .demo .sektion-titel { font-size: clamp(28px, 4vw, 40px); }
}
@media (max-width: 560px) {
  .demo-buehne .karte-demo { max-width: 190px; }
  .demo-buehne .karte.plakette-demo { max-width: 150px; }
  .demo-buehne .karte.tag-demo { max-width: 116px; }
}
/* Bei knappem Platz sagt die Schrittleiste ("1 Karte antippen") dasselbe wie der Untertitel */
@media (max-height: 760px), (max-width: 560px) {
  .demo .sektion-sub { display: none; }
}

/* ============ Kleine Handys (bis 700 px Hoehe, z. B. iPhone SE oder mit Browserleiste) ============
   Gemessen 4.10.2026 bei 390 x 664: sechs Seiten 16-108 px zu hoch. Gleiche Inhalte, weniger Luft. */
@media (max-width: 560px) and (max-height: 860px) {
  .vorteile.seite, .preise.seite, .laeden.seite, .kontakt.seite { padding-top: 14px; padding-bottom: 14px; }
  .sektion-titel { font-size: 28px; }
  .sektion-sub { font-size: 15px; margin-top: 4px; }

  .kachel { padding-top: 22px; }
  .kachel h2 { font-size: 26px; }
  .kachel-sub { font-size: 15px; margin-top: 6px; }
  .kachel .cta-row { margin-top: 8px; }
  .kachel-bild { padding: 8px 0 12px; row-gap: 10px; }
  .plakette-faecher { width: min(290px, 78%); }
  .dreh-klein { width: min(290px, 80%); }
  .dreh-tag { width: 150px; }
  .kachel.breit { padding: 22px 16px; gap: 14px; }

  .preis-gitter { margin-top: 12px; }
  .preis-karte { padding: 18px 16px 16px; }
  .staffel { margin: 10px 0; }
  .staffel li { padding: 7px 0; }

  .demo .sektion-titel { font-size: 26px; }
  .demo-schritte { margin-top: 6px; }
  .demo-buehne { gap: 8px; margin-top: 8px; }
  .demo-buehne .karte-demo { max-width: 170px; }
  .demo-buehne .karte.plakette-demo { max-width: 130px; }
  .demo-buehne .karte.tag-demo { max-width: 100px; }

  .gestalten .konfig { gap: 6px; }
  .gestalten .konfig-vorschau { padding: 6px; }
  .gestalten .karte-konfig { max-width: 112px; }
  .konfig-schritt .finish-wahl { gap: 4px 14px; }
  .konfig-schritt .material-gruppe { gap: 3px; }
  .gestalten .konfig-plakette { width: 80px; }
  .gestalten .tag-konfig { width: 64px; }
  .gestalten .konfig-schritt .hinweis { font-size: 12px; margin-top: 2px; }
  .konfig-kopf h2 { font-size: 22px; }
  .gestalten .konfig-form { gap: 8px; }
  .konfig-schritt { gap: 3px; }
  .konfig-schritt .swatch i { width: 28px; height: 28px; }
  .gestalten .aufpreis { padding: 6px 10px; }
  .gestalten .preis-zeile { padding-top: 6px; }

  .kontakt .sektion-sub { display: none; }
  .kontakt-form { margin-top: 12px; gap: 8px; }
  .feld-gitter { gap: 8px; }
  .kontakt-form .feld > span { margin-bottom: 2px; font-size: 13px; }
  .kontakt-form input { padding: 8px 12px; }
  .kontakt-form textarea { min-height: 52px; padding: 8px 12px; }
}


/* Handy: Kachelinhalt mittig -- unten angeheftet entstand auf bildschirmhohen Kacheln eine leere Luecke */
@media (max-width: 560px) {
  .kacheln .kachel { justify-content: center; }
  .kacheln .kachel-bild { margin-top: 18px; }
}

/* ============ Freie Stueckzahl (4.10.2026) ============ */
.menge-reihe { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.menge-reihe .stepper input {
  width: 56px; min-height: 44px; border: 0; background: none; text-align: center;
  font: inherit; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text);
  -moz-appearance: textfield; appearance: textfield;
}
.menge-reihe .stepper input::-webkit-inner-spin-button, .menge-reihe .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.menge-reihe .stepper input:focus-visible { outline: none; box-shadow: var(--fokus); border-radius: 8px; }
.menge-stueckpreis { font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.schritt-kopf { display: flex; align-items: center; justify-content: space-between; min-height: 18px; }
.schritt-kopf .link-knopf { min-height: 28px; font-size: 13px; }
.tipp-knopf { color: var(--ok); font-size: 14px; font-weight: 600; min-height: 36px; text-align: left; }

/* Warenkorb: Plus/Minus je Position */
.korb-menge { display: inline-flex; align-items: center; border: 1.5px solid var(--linie); border-radius: 980px; margin-top: 4px; }
.korb-menge button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; border-radius: 50%; }
.korb-menge button:disabled { opacity: .3; cursor: default; }
.korb-menge span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (pointer: coarse) { .korb-menge button { width: 44px; height: 44px; } }

/* Einkaufswagen-Symbol */
.icon-btn svg.wagen { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg.wagen circle { fill: currentColor; stroke: none; }

/* Kleine Handys: bei "Massgeschneidert" keine Vorschau -- sonst passt der Bestellbereich nicht in einen Bildschirm */
@media (max-width: 560px) and (max-height: 860px) {
  .gestalten:has(#konfigIndividuell:checked) .konfig-vorschau { display: none; }
}

/* Massgeschneidert: der Designer-Link steht in der Titelzeile, nicht in einer eigenen */
.mass-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mass-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mass-link { font-size: 14px; font-weight: 500; white-space: nowrap; }

/* Bis 860 px: bei Grossmengen keine Vorschau, das Formular bekommt die ganze Breite (gemessen 800 x 740: sonst 75 px zu hoch) */
@media (max-width: 860px) {
  .gestalten:has(#grossFeld:not([hidden])) .konfig-vorschau { display: none; }
  .gestalten:has(#grossFeld:not([hidden])) .konfig { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 560px) and (max-height: 860px) {
  .kontakt-form textarea { min-height: 40px; }
  .kontakt .sektion-titel { font-size: 26px; }
}
@media (min-width: 561px) and (max-width: 860px) and (max-height: 820px) {
  .konfig-kopf h2 { font-size: 28px; }
  .gestalten .konfig-form { gap: 10px; }
}
@media (max-width: 560px) and (max-height: 860px) {
  .kontakt-form, .feld-gitter { gap: 6px; }
  .kontakt-form .feld > span { margin-bottom: 1px; }
  .kontakt .sektion-titel { font-size: 24px; }
}

/* Warenkorb am Handy: Preis, Menge und Entfernen in einer Zeile unter dem Text -- sonst bleibt fuer den Namen kaum Platz */
@media (max-width: 560px) {
  .korb-posten { grid-template-columns: 52px 1fr; row-gap: 8px; }
  .korb-posten .rechts { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
  .korb-posten .rechts > div:first-child { font-weight: 600; }
  .korb-posten .korb-menge { margin-top: 0; }
}

/* ================= Sprachwahl ================= */
/* Bis die festen Texte uebersetzt sind, bleibt die Seite unsichtbar -- sonst blitzt kurz Deutsch auf */
html.sprache-laedt body { visibility: hidden; }
.sprach-wahl { position: relative; display: inline-flex; align-items: center; }
.sprach-wahl select {
  appearance: none; -webkit-appearance: none;
  min-height: 44px; padding: 0 22px 0 10px; border: 0; border-radius: 22px;
  background: none; color: var(--text); font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .02em; cursor: pointer;
}
@media (hover: hover) { .sprach-wahl select:hover { background: rgba(0, 0, 0, .05); } }
.sprach-wahl::after {
  content: ''; position: absolute; right: 9px; top: 50%; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: .6; pointer-events: none;
}

/* ================= Impressum und Datenschutz ================= */
html:has(.recht-seite) { scroll-snap-type: none; }
.recht-seite .d-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--text); font-size: 14px; }
.recht { max-width: 720px; margin: 0 auto; padding: calc(var(--nav-h) + 48px) var(--rand) 72px; font-size: 16px; line-height: 1.6; }
.recht h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin-bottom: 20px; }
.recht h2 { font-size: 21px; margin: 36px 0 10px; }
.recht h3 { font-size: 16px; margin: 22px 0 6px; }
.recht p, .recht ul { margin-bottom: 12px; }
.recht ul { padding-left: 20px; }
.recht li { margin-bottom: 6px; }
.recht a { text-decoration: underline; text-underline-offset: 2px; }
.recht-kurz { font-size: 18px; color: var(--text); padding: 16px 18px; background: var(--bg-2); border-radius: 16px; }
.recht-leise { font-size: 14px; color: var(--text-2); }
.recht-hinweis { font-size: 14px; padding: 10px 14px; background: var(--bg-2); border-radius: 12px; }
/* Fehlende Firmenangabe: darf vor dem Live-Gang nicht stehen bleiben */
.recht-fehlt { color: var(--fehler); font-weight: 600; background: rgba(215, 0, 21, .08); padding: 0 4px; border-radius: 4px; }
.footer .klein a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ================= Bestaetigung nach dem Absenden ================= */
.kontakt-danke { max-width: 520px; margin: 32px auto 0; padding: 36px 28px; text-align: center; background: var(--bg-2); border-radius: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kontakt-danke[hidden] { display: none; }
.kontakt-danke:focus { outline: none; }
.kontakt-danke h3 { font-size: 26px; }
.kontakt-danke p { color: var(--text-2); font-size: 17px; }
.danke-haken { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #34c759; color: #fff; font-size: 28px; font-weight: 700; }
.kontakt-danke .link-knopf { align-self: center; }
/* Ein langer Google-Link nimmt hoechstens zwei Zeilen ein (Pruefbericht 2, I-14); der volle Link steht in der Anfrage */
.korb-link { overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* Kleine Textknoepfe bekommen am Handy eine groessere Tippflaeche, ohne dass sich das Layout verschiebt */
@media (pointer: coarse) {
  .schritt-kopf .link-knopf, #auswahlFertig, #dMehr, #dZurueck { position: relative; }
  .schritt-kopf .link-knopf::after, #auswahlFertig::after, #dMehr::after, #dZurueck::after { content: ""; position: absolute; inset: -9px -8px; }
  /* Ebenso Logo, Umschalter, "Zum Warenkorb" und die Links im Fuss: mindestens 44 px Tippflaeche (Pruefbericht 2, I-12) */
  .nav .logo, .umschalter button, #anfrageKorb, .footer .klein a, .d-nav-link { position: relative; }
  .nav .logo::after, #anfrageKorb::after { content: ""; position: absolute; inset: -6px -8px; }
  .umschalter button::after { content: ""; position: absolute; inset: -3px 0; }
  .footer .klein a::after { content: ""; position: absolute; inset: -15px -6px; }
  .d-nav-link::after { content: ""; position: absolute; inset: -10px -6px; }
}

/* ================= Seite nicht gefunden ================= */
.nicht-gefunden { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px var(--rand); text-align: center; }
.nicht-gefunden .logo { font-size: 44px; }
.nicht-gefunden h1 { font-size: clamp(28px, 5vw, 44px); }
.nicht-gefunden p { color: var(--text-2); }

.korb-stueck { font-size: 12px; color: var(--text-2); font-weight: 400; }
/* Versand und Lieferzeit unter den Preisen; rechtliche Hinweise unter dem Anfrageknopf */
.preis-notiz { max-width: 760px; margin: 14px auto 0; text-align: center; font-size: 14px; color: var(--text-2); }
.kontakt-recht { text-align: center; font-size: 13px; }

/* ============ Handy und Tablet (Fingerbedienung) ============
   Kein Einrasten der Abschnitte: Safari auf dem iPhone sprang damit beim Antippen von "Preise" hin und her, und
   Abschnitte, die hoeher sind als der sichtbare Bereich (Safari mit eingeblendeten Leisten), liessen sich kaum
   zu Ende lesen (Meldung Inhaber und Pruefbericht 2, 6.10.2026). Am Desktop bleibt das Einrasten. */
@media (pointer: coarse), (max-width: 760px) {
  /* Bis app.js gemessen hat, rastet die Seite nur in der Naehe eines Abschnittsanfangs. */
  html { scroll-snap-type: y proximity; }
  .seite, .seite-kachel { scroll-snap-align: start; }
  .footer { scroll-snap-align: none; }
  /* Einrasten am Handy -- ein Wisch fuehrt genau zum naechsten Halt (Wunsch Inhaber 6.10.2026). Abschnitte, die
     hoeher sind als der sichtbare Bereich, bekommen von app.js Zwischenhalte (.rast-marke): sonst kaeme man in
     Safari nicht ans Ende des Abschnitts. */
  html.rastet { scroll-snap-type: y mandatory; }
  html.rastet .seite, html.rastet .seite-kachel { scroll-snap-align: start; scroll-snap-stop: always; }
  html.rastet .footer { scroll-snap-align: end; }
}
/* Zwischenhalte hoher Abschnitte (app.js, einrasten) -- unsichtbar, sie geben nur die Halteposition vor */
.rast-ebene { position: absolute; top: 0; left: 0; width: 0; height: 0; }
html .hat-marken, html.rastet .hat-marken { scroll-snap-align: none; }
.rast-marke { position: absolute; left: 0; width: 1px; height: 1px; visibility: hidden; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
/* iOS zoomt in jedes Feld mit weniger als 16 px Schrift hinein und bleibt gezoomt */
@media (pointer: coarse), (max-width: 760px) {
  .sprach-wahl select { font-size: 16px; }
}

/* Waehrend eines Sprungs zu einem Abschnitt (app.js, springeZu) rastet die Seite nicht ein -- siehe dort */
html.springt, html.springt.rastet { scroll-snap-type: none !important; }
/* Doppeltes Antippen vergroessert die Seite nicht mehr (Meldung Inhaber 7.10.2026); Zoomen mit zwei Fingern bleibt */
html, body { touch-action: manipulation; }

/* ============ Handy: Bestellbereich neu gewichtet (Meldung Inhaber 7.10.2026) ============
   Vorher war die Vorschau winzig (Tag 64 px, Karte 112 px), damit grosse Felder auf einen Bildschirm passen.
   Jetzt bekommt das Produkt den Platz, den die Felder nicht brauchen: die Buehne richtet sich nach der Bildschirmhoehe,
   das Produkt nach der Buehne. Felder, Farbwahl und Zusatzoption sind kompakter; die Ueberschrift entfaellt sichtbar,
   weil die Reiter darunter dasselbe sagen. */
@media (max-width: 560px) {
  html .gestalten { --buehne: clamp(150px, calc(100svh - 545px), 250px); justify-content: flex-start; }
  html .gestalten .konfig { gap: 10px; }
  html .gestalten .konfig-vorschau { height: var(--buehne); min-height: 0; padding: 14px; box-sizing: border-box; border-radius: 22px; }
  html .gestalten .karte-konfig { max-width: none; width: min(calc((var(--buehne) - 28px) * 1.585), 100%); }
  html .gestalten .tag-konfig, html .gestalten .konfig-plakette { width: calc(var(--buehne) - 28px); }
  html .gestalten .konfig-kopf h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html .gestalten .konfig-form { gap: 9px; }
  html .gestalten .konfig-schritt { gap: 5px; }
  /* Farbkreise ohne Beschriftung; nur die gewaehlte Farbe ist benannt (der Name bleibt fuer Vorleseprogramme erhalten) */
  html .gestalten .konfig-schritt .swatch { min-width: 40px; font-size: 0; gap: 3px; }
  html .gestalten .konfig-schritt .swatch[aria-pressed="true"] { font-size: 11px; }
  html .gestalten .konfig-schritt .swatch i { width: 32px; height: 32px; }
  html .gestalten .konfig-schritt input[type="text"], html .gestalten .konfig-schritt input[type="url"] { min-height: 42px; height: 42px; padding-top: 0; padding-bottom: 0; }
  html .gestalten .stepper button { width: 40px; height: 40px; }
  html .gestalten .aufpreis { padding: 7px 12px; }
  html .gestalten .aufpreis small { font-size: 12px; }
  html .gestalten .preis-zeile { padding-top: 8px; }

  /* Demo: Karte links, das ganze Handy rechts daneben -- deutlich groesser als vorher (Breite 200 statt 140 px),
     und vollstaendig sichtbar (Meldung Inhaber 7.10.2026: eine Flaeche ohne Rahmen wirkte wie ein abgeschnittenes Handy). */
  html .demo-buehne { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 12px; width: 100%; }
  html .demo-buehne .handy { --handy-skala: .8; }
  html .demo-buehne .karte-demo { max-width: min(150px, 100%); justify-self: center; }
  html .demo-buehne .karte.plakette-demo { max-width: min(130px, 100%); }
  html .demo-buehne .karte.tag-demo { max-width: min(120px, 100%); }
}
@media (max-width: 560px) and (max-height: 700px) { html .demo-buehne .handy { --handy-skala: .68; } }
@media (max-width: 560px) and (max-height: 620px) { html .demo-buehne .handy { --handy-skala: .56; } }

/* ============ Handy und Tablet: kein Einrasten der Seite (Entscheid 7.10.2026) ============
   Steht bewusst am Schluss und gilt vor allen frueheren Regeln. Am Desktop bleibt das Einrasten. */
@media (pointer: coarse), (max-width: 760px) {
  html, html.rastet, html.springt { scroll-snap-type: none !important; }
  .seite, .seite-kachel, .footer, .rast-marke { scroll-snap-align: none !important; scroll-snap-stop: normal !important; }
}

/* ============ Handy neu gedacht, Stufe 1 (Auftrag Inhaber 7.10.2026) ============
   Ohne Einrasten muss ein Abschnitt keinen ganzen Bildschirm mehr fuellen. Am Handy ist jeder Abschnitt so hoch wie
   sein Inhalt plus gleichmaessiger Abstand: keine halb leeren Bildschirme mehr, weniger Scrollen bis zum Bestellen.
   Der Einstieg (Hero) bleibt bildschirmfuellend; Bestellbereich und Demo behalten ihre eigene Hoehenlogik. */
@media (max-width: 560px) {
  html .seite:not(.hero):not(.gestalten):not(.demo), html .kacheln .seite-kachel, html .kacheln .kachel.breit { min-height: 0; }
  html .vorteile.seite, html .preise.seite, html .laeden.seite, html .kontakt.seite { padding-top: 56px; padding-bottom: 56px; }
  html .kacheln .seite-kachel, html .kacheln .kachel.breit { padding-top: 40px; padding-bottom: 32px; }

  /* Preise: alle drei Listen untereinander statt seitlich wischen -- die angeschnittene zweite Karte sah nach einem
     Fehler aus, und wer nicht wischt, sah die WLAN-Preise nie (Pruefbericht 2, I-11) */
  html .preis-gitter { display: flex; flex-direction: column; overflow: visible; scroll-snap-type: none; gap: 14px; margin: 22px 0 0; padding: 0; }
  html .preis-karte { flex: none; width: 100%; scroll-snap-align: none; }
}

/* ============ Handy, Stufe 2: Leiste am unteren Rand mit dem naechsten Schritt ============ */
.unten-leiste { display: none; }
@media (max-width: 560px) {
  .unten-leiste:not([hidden]) {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid rgba(0, 0, 0, .08);
  }
  .unten-leiste .btn { flex: 1 1 0; min-height: 46px; padding: 0 14px; font-size: 16px; white-space: nowrap; }
  .unten-leiste .btn-leise { flex: 0 0 auto; background: var(--bg-2); color: var(--text); }
  /* Platz unter dem Seitenende, damit die Leiste den Fuss nicht verdeckt */
  body.mit-unten-leiste .footer { padding-bottom: calc(40px + 66px + env(safe-area-inset-bottom)); }
}

/* ============ Review-Karten: Form und Farbe (Vorgabe Inhaber 7.10.2026) ============ */
/* Der Aufdruck steht in einem quadratischen Kasten in der Mitte der Form: im Quadrat fuellt er sie, im Kreis ist er
   so weit eingerueckt, dass nichts am Rand abgeschnitten wird, im Rechteck sind seine Teile nebeneinander angeordnet. */
.pl-innen { position: absolute; inset: 0; display: block; container-type: inline-size; }
.pl-innen > * { position: absolute; display: block; }
.plakette-weiss .pl-titel, .plakette-schwarz .pl-innen .pl-titel { top: 8%; text-transform: none; letter-spacing: .01em; font-size: 4.6cqw; }
.plakette-weiss .pl-titel { color: #1d1d1f; }
.plakette-weiss .pl-sterne { top: 59%; }
.plakette-weiss .pl-nfc { top: 77%; color: #111; }
.plakette-weiss .pl-fuss { color: #6e6e73; }
.plakette-weiss .pl-g-gross { filter: drop-shadow(0 1cqw 2cqw rgba(0, 0, 0, .18)); }
/* Rund */
.plakette.form-rund { border-radius: 50%; }
.form-rund .pl-innen { inset: 12%; }
/* Rechteckig: Format einer Karte; links das G, rechts Text, Sterne und Symbol */
.plakette.form-rechteck { aspect-ratio: 85.6 / 54; border-radius: 4.5%; }
.form-rechteck .pl-innen { inset: 0; }
.form-rechteck .pl-g-gross { left: 20%; top: 46%; width: 22cqw; }
.form-rechteck .pl-titel { top: 11%; left: 38%; right: 5%; text-align: left; font-size: 3.7cqw; }
.form-rechteck .pl-sterne { top: 40%; left: 38%; right: auto; padding-left: 0; font-size: 5.6cqw; letter-spacing: 1.2cqw; }
.form-rechteck .pl-nfc { left: 49%; top: 70%; width: 20cqw; }
.form-rechteck .pl-fuss { bottom: 7%; left: 5%; right: 5%; font-size: 3cqw; }
/* Im Bestellbereich und in der Demo ist das Rechteck breiter als hoch: die Buehne gibt die Hoehe vor */
.karte.plakette-demo:has(.form-rechteck) { aspect-ratio: 85.6 / 54; }

/* Auswahl der Form im Bestellbereich: kleine Umrisse mit Namen */
.form-wahl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.form-knopf {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 52px; padding: 6px 2px;
  border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; font-size: 12px; color: var(--text-2);
}
.form-knopf[aria-pressed="true"] { border-color: var(--akzent); box-shadow: 0 0 0 1px var(--akzent) inset; color: var(--text); font-weight: 600; }
.form-bild { display: block; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 4px; }
.form-bild-rechteck { width: 28px; height: 18px; margin-top: 1px; margin-bottom: 1px; }
.form-bild-rund { border-radius: 50%; }
.form-bild-aufsteller { width: 15px; height: 20px; border-bottom-width: 5px; border-radius: 3px 3px 1px 1px; }
.design-weiss { background: linear-gradient(180deg, #fff, #eceef2); box-shadow: 0 0 0 1px #d2d2d7 inset; }
@media (max-width: 560px) {
  html .gestalten .form-knopf { min-height: 46px; padding: 4px 2px; font-size: 11px; gap: 3px; }
  html .gestalten .form-wahl { margin-bottom: 4px; }
  /* Rechteckige Review-Karte: so breit wie die Visitenkarte in der Vorschau */
  html .gestalten .konfig-plakette:has(.form-rechteck) { width: min(calc((var(--buehne) - 28px) * 1.585), 100%); }
}
/* Mit der Formwahl der Review-Karte ist der Bestellbereich eine Zeile hoeher: die Buehne gibt den Platz frei */
@media (max-width: 560px) { html .gestalten:has(.form-wahl) { --buehne: clamp(130px, calc(100svh - 590px), 250px); } }

/* ============ Review-Karte Blau-Weiss in allen Formen; Kacheln gerade (Vorgaben Inhaber 7.10.2026) ============ */
/* Blau-Weiss im Rechteck: G links, Text und Sterne rechts auf Blau, Symbol und Fusszeile im weissen Teil */
.plakette-blau.form-rechteck .pl-g-kreis { left: 19%; top: 34%; width: 17cqw; height: 17cqw; }
.plakette-blau.form-rechteck .pl-sterne { top: 9%; left: 36%; right: auto; padding-left: 0; font-size: 5cqw; letter-spacing: 1.1cqw; }
.plakette-blau.form-rechteck .pl-titel { top: 23%; left: 36%; right: 4%; text-align: left; font-size: 3.1cqw; letter-spacing: .05em; line-height: 1.35; }
.plakette-blau.form-rechteck .pl-nfc { left: 50%; top: 78%; width: 19cqw; }
.plakette-blau.form-rechteck .pl-fuss { bottom: 3%; font-size: 2.8cqw; }
/* Im Kreis rueckt der Aufdruck etwas staerker ein, damit Sterne und Fusszeile nicht am Rand kleben */
.plakette-blau.form-rund .pl-innen { inset: 13% 13% 11%; }

/* Die Visitenkarte und der WLAN-Tag in den Kacheln liegen gerade statt schraeg */
.dreh-klein, .dreh-tag { transform: none; }
@media (hover: hover) { .kachel:hover .dreh-klein { transform: translateY(-6px); } .kachel:hover .dreh-tag { transform: translateY(-6px); } }

/* ============ Handy: Kontaktformular kurz, wenn der Warenkorb gefuellt ist (MOBILE-KONZEPT.md, Stufe 5) ============ */
.kontakt-mehr { display: none; }
@media (max-width: 560px) {
  .kontakt-form.kurz .feld-opt { display: none; }
  .kontakt-form.kurz .kontakt-mehr:not([hidden]) { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; }
}

/* Untertitel der Kacheln: zwei Zeilen gleich lang statt einem einzelnen Wort am Ende (Pruefbericht 2, I-08) */
.kachel-sub { text-wrap: balance; }

/* ============ Kontaktseite /k und Link-Werkzeug (Angaben stehen im Link der Karte) ============ */
.kontaktseite { max-width: 480px; margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--rand) 56px; font-size: 17px; line-height: 1.5; }
.kontaktseite h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; margin-bottom: 6px; overflow-wrap: anywhere; }
.kontakt-sub { color: var(--text-2); font-size: 18px; margin-bottom: 8px; overflow-wrap: anywhere; }
.kontakt-liste { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--linie); }
.kontakt-liste li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; min-height: 64px; border-bottom: 1px solid var(--linie); }
.kontakt-label { font-size: 13px; color: var(--text-2); }
.kontakt-wert { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; color: var(--akzent-text); overflow-wrap: anywhere; word-break: break-word; }
.kontakt-leise { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.kontakt-fuss { margin-top: 36px; }

.kartenlink { max-width: 640px; }
.kartenlink h1 { font-size: clamp(28px, 6vw, 38px); }
.kartenlink .feld-gitter { gap: 14px; margin: 18px 0; }
.kartenlink .feld > span { margin-bottom: 4px; font-size: 14px; }
.kartenlink textarea { width: 100%; font: 14px/1.4 ui-monospace, Menlo, Consolas, monospace; padding: 12px; border: 1.5px solid var(--linie); border-radius: 12px; background: var(--bg-2); resize: vertical; min-height: 96px; word-break: break-all; }
.kartenlink .ergebnis { margin-top: 22px; padding: 18px; background: var(--bg-2); border-radius: 16px; }
.kartenlink .ergebnis .cta-row { justify-content: flex-start; gap: 12px; margin-top: 12px; }
.kartenlink .fehlermeldung { color: var(--fehler); font-weight: 600; margin-top: 12px; }
.kartenlink ol { padding-left: 20px; margin: 10px 0; }
.kartenlink li { margin-bottom: 6px; }
@media (max-width: 560px) { .kartenlink .feld-gitter { grid-template-columns: 1fr; } }
/* Handy quer: die Angaben in zwei Spalten, damit der Knopf nicht erst nach dem Scrollen erscheint */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 600px) {
  .kontaktseite { max-width: 720px; padding-top: calc(var(--nav-h) + 16px); padding-bottom: 28px; }
  .kontakt-liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin: 14px 0 16px; }
  .kontakt-liste li { min-height: 0; padding: 8px 0; }
  .kontakt-fuss { margin-top: 18px; }
}
