/* IT-Buddies – Stylesheet
   Systemschriften statt Google Fonts: keine Datenübertragung an Dritte (DSGVO). */

:root {
  --navy-950: #071226;
  --navy-900: #0b1b33;
  --navy-800: #12284a;
  --navy-700: #1c3a66;
  --ink: #0f1e36;
  --text: #33415c;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --brand: #0a7f8a;
  --cyan: #5ce1e6;
  --brand-600: #07656e;
  --brand-50: #e6f9fa;
  --accent: #5ce1e6;

  /* Farben der drei Leistungsbereiche */
  --privat: #0891b2;
  --privat-50: #e3f5fa;
  --itad: #7c4dff;
  --itad-50: #f1ecff;
  --business: #2563eb;
  --business-50: #eaf0fe;

  --success: #12a150;
  --danger: #d93a3a;
  --warning: #c27a00;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 54, .06), 0 1px 3px rgba(15, 30, 54, .08);
  --shadow: 0 8px 24px -8px rgba(15, 30, 54, .16), 0 2px 6px rgba(15, 30, 54, .06);
  --shadow-lg: 0 24px 60px -20px rgba(15, 30, 54, .35);

  --container: 1200px;
  --header-h: 72px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Montserrat lokal eingebunden (Schrift des Logos) – keine Verbindung zu Google */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .97rem; line-height: 1.2; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(10, 127, 138, .6); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-50); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(15, 30, 54, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.logo-light img { height: 38px; }
@media (max-width: 400px) { .logo img { height: 28px; } }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
  color: var(--ink); font-weight: 560; font-size: .97rem; padding: 8px 12px; border-radius: 8px;
}
.main-nav a:not(.btn):hover { background: var(--bg-soft); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--brand); background: var(--brand-50); }
.nav-cta { margin-left: 8px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-link, .nav-toggle {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--ink); background: none; border: 0; cursor: pointer;
}
.cart-link:hover, .nav-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
/* hidden gilt immer – auch wenn eine Klasse display setzt (z. B. .demo-banner) */
[hidden] { display: none !important; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: #5ce1e6; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--text); }
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, #17aeb9 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(92, 225, 230, .14), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(10, 127, 138, .12), transparent 60%),
    linear-gradient(#fff, var(--bg-soft));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lead { max-width: 600px; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero-points .icon { width: 20px; height: 20px; color: var(--accent); stroke-width: 2.4; }

.hero-stack { position: relative; display: grid; gap: 16px; }
.hero-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.hero-card:hover { transform: translateX(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.hero-card:nth-child(2) { margin-left: 32px; }
.hero-card:nth-child(3) { margin-left: 64px; }
.hero-card .num { font-size: .75rem; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.hero-card strong { display: block; font-size: 1.08rem; }
.hero-card span:not(.num):not(.pillar-icon) { font-size: .9rem; color: var(--muted); }
.hero-card > .icon { margin-left: auto; color: var(--muted); }

.pillar-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: var(--c50, var(--brand-50)); color: var(--c, var(--brand));
}
.pillar-icon .icon { width: 26px; height: 26px; }
.c-privat { --c: var(--privat); --c50: var(--privat-50); }
.c-itad { --c: var(--itad); --c50: var(--itad-50); }
.c-business { --c: var(--business); --c50: var(--business-50); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card:nth-child(n) { margin-left: 0; }
}

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background: var(--navy-900); color: rgba(255, 255, 255, .8);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 90% 0%, color-mix(in srgb, var(--c, var(--brand)) 45%, transparent), transparent 65%),
    radial-gradient(500px 300px at 0% 100%, rgba(92, 225, 230, .18), transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 720px; margin-bottom: 28px; }
.page-hero .eyebrow { color: color-mix(in srgb, var(--c, var(--brand)) 55%, #fff); }
.page-hero.compact { padding: 48px 0 40px; }
.badge-pillar {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: .85rem; font-weight: 650;
}
.badge-pillar b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c, var(--brand)); font-size: .8rem; }

/* ---------- Leistungs-Karten ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pillar-num { font-size: 3rem; font-weight: 850; line-height: 1; color: var(--c50); -webkit-text-stroke: 1.5px var(--c); }
.pillar h3 { font-size: 1.45rem; margin-bottom: .35em; }
.pillar .sub { color: var(--c); font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .97rem; }
.check-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--c, var(--accent)); stroke-width: 2.4; }
.pillar .btn { margin-top: auto; align-self: flex-start; background: var(--c50); color: var(--c); }
.pillar .btn:hover { background: var(--c); color: #fff; }

@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* ---------- Feature-Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .pillar-icon { width: 48px; height: 48px; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .card:hover { background: rgba(255, 255, 255, .07); box-shadow: none; }
.section-dark .card p { color: rgba(255, 255, 255, .65); }
.section-dark .pillar-icon { background: rgba(255, 255, 255, .08); color: #5ce1e6; }

/* ---------- Ablauf / Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before {
  content: "✓";
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: var(--brand);
  background: var(--brand-50); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- ITAD-Lebenszyklus A–Z ---------- */
.lifecycle { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.lifecycle::before {
  content: ""; position: absolute; left: 31px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(var(--itad), var(--accent));
}
.lifecycle li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 18px 0; }
.lc-marker {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; background: #fff; color: var(--itad);
  border: 2px solid var(--itad-50); box-shadow: var(--shadow-sm);
}
.lc-marker .icon { width: 28px; height: 28px; }
.lc-body { padding: 18px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.lc-body .lc-step { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--itad); }
.lc-body h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.lc-body p { margin: 0; color: var(--muted); font-size: .97rem; }
.lifecycle li:first-child .lc-marker, .lifecycle li:last-child .lc-marker { background: var(--itad); color: #fff; border-color: var(--itad); }
.lc-letter { font-weight: 850; font-size: 1.5rem; }

/* ---------- Split-Layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.panel {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg);
}
.panel h3 { color: #fff; }
.panel .check-list li { color: rgba(255, 255, 255, .85); }
.panel .check-list .icon { color: var(--accent); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.stat strong { display: block; font-size: 1.15rem; color: #fff; }
.stat span { font-size: .85rem; }

/* ---------- Pakete ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-tag {
  position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .75rem; font-weight: 750; letter-spacing: .05em;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan .price { font-size: 1.05rem; font-weight: 700; color: var(--ink); padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 20px; }
.plan .check-list { --c: var(--brand); }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 22px; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 650; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg); color: rgba(255, 255, 255, .85);
  background: linear-gradient(120deg, var(--brand) 0%, #07656e 45%, var(--navy-800) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 225, 230, .55), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .25em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; max-width: 560px; }

/* ---------- Trust-Leiste ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust div { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.trust .icon { color: var(--brand); width: 28px; height: 28px; }
.trust strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.trust span { font-size: .85rem; color: var(--muted); }
.warranty-notice { margin: 20px 0 0; }
.warranty-notice img { display: block; width: 100%; max-width: 440px; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.warranty-notice figcaption { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.tax-note { margin-top: 28px; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; transition: border-color .15s, box-shadow .15s; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text); }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; }
.alert-success { background: #e8f8ee; color: #0b6b35; border: 1px solid #b6e7c8; }
.alert-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert-info { background: var(--brand-50); color: #075e66; border: 1px solid #b5ecef; }

.segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.segmented label {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--ink);
}
.segmented input { accent-color: var(--brand); width: auto; flex: none; margin: 0; }
.segmented label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-info { display: grid; gap: 20px; }
.contact-info .item { display: flex; gap: 16px; }
.contact-info .pillar-icon { width: 46px; height: 46px; }
.contact-info strong { display: block; color: var(--ink); }
.contact-info span, .contact-info a { color: var(--text); }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.placeholder-note { padding: 16px 20px; border-left: 4px solid var(--warning); background: #fff7e6; border-radius: 6px; color: #6b4a00; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
/* Widerrufsbutton (§ 356a BGB): auf jeder Seite erreichbar und deutlich von den übrigen Links abgehoben */
.footer-bottom nav a.footer-withdraw { padding: 6px 14px; border-radius: 999px; background: var(--accent, #5CE1E6); color: #06323a; font-weight: 700; text-decoration: none; }
.footer-bottom nav a.footer-withdraw:hover { filter: brightness(1.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Shop ---------- */
.demo-banner { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.search { position: relative; flex: 1 1 260px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input { width: 100%; padding: 12px 14px 12px 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.shop-toolbar select { padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .6; margin-left: 4px; }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; cursor: pointer; border: 0; padding: 0; width: 100%;
  background: radial-gradient(circle at 50% 40%, #fff, var(--bg-soft) 70%);
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-media .icon { width: 72px; height: 72px; stroke-width: 1.2; color: var(--navy-700); opacity: .75; }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 750; background: var(--brand-50); color: var(--brand-600); }
.tag-sale { background: #ffe9e3; color: #c2410c; }
.tag-refurb { background: #e3f8f2; color: #0a7d65; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; gap: 6px; }
.product-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-title { font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin: 0; }
.product-title button { all: unset; cursor: pointer; }
.product-title button:hover { color: var(--brand); }
.product-title button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.stock { font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price s { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.price small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.add-btn { width: 46px; height: 46px; padding: 0; border-radius: 14px; }
.add-btn .icon { width: 22px; height: 22px; }
.empty { text-align: center; padding: 64px 16px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--bg-soft) 25%, #eef2f7 50%, var(--bg-soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; min-height: 360px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Produkt-Dialog */
.dialog { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(7, 18, 38, .55); backdrop-filter: blur(3px); }
.dialog-inner { display: grid; grid-template-columns: 1fr 1fr; }
.dialog .product-media { aspect-ratio: auto; min-height: 320px; cursor: default; }
.dialog .product-media .icon { width: 120px; height: 120px; }
.dialog-body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.dialog-body h2 { font-size: 1.5rem; margin: 0; }
.dialog-body .check-list { margin: 8px 0; --c: var(--accent); }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.qty button:hover { background: var(--bg-soft); }
.qty span { min-width: 32px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 16px; }
.meta-line { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) {
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog .product-media { min-height: 200px; }
  .dialog-body { padding: 24px; }
}

/* Produktkarte als Link */
a.product { color: inherit; }
a.product:hover { color: inherit; }
a.product:hover .product-title { color: var(--brand); }
.product-title { display: block; }
.product-sub { font-size: .86rem; color: var(--muted); }
.price-from { display: inline; font-size: .85rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.product-foot .btn-sm { padding: .6em 1em; }

/* ---------- Produktseite ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 24px; font-size: .9rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pdp { padding-top: 24px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 12px; }
.pdp-main { border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, #fff, var(--bg-soft) 75%); aspect-ratio: 4 / 3; overflow: hidden; }
.pdp-main button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pdp-main button:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-main-empty { display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); }
.pdp-main-empty .icon { width: 120px; height: 120px; stroke-width: 1.1; color: var(--navy-700); opacity: .6; }
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pdp-thumbs button { flex: 0 0 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 0; cursor: pointer; overflow: hidden; }
.pdp-thumbs button[aria-current] { border-color: var(--brand); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy { display: flex; flex-direction: column; gap: 14px; }
.pdp-buy h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.pdp-summary { margin: 0; color: var(--muted); font-size: 1.02rem; }
.pdp-option { border: 0; padding: 0; margin: 0 0 14px; }
.pdp-option legend { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 8px; }
.pdp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 112px;
  padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font: inherit; color: var(--ink); text-align: left; transition: border-color .15s, box-shadow .15s;
}
.pdp-choice span { font-weight: 700; }
.pdp-choice small { color: var(--muted); font-size: .82rem; }
.pdp-choice:hover { border-color: var(--ink); }
.pdp-choice[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pdp-choice[aria-pressed="true"] small { color: var(--brand-600); font-weight: 700; }
.pdp-choice.is-other { border-style: dashed; }
.pdp-hint { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.pdp-price-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); }
.pdp-price { font-size: 2rem; }
.pdp-chosen { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: .92rem; }
.pdp-chosen .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--brand); }
.pdp-chosen.is-set { background: var(--brand-50); }
.pdp-chosen span { flex: 1; }
.link-btn { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.pdp-add { padding-block: 1em; font-size: 1.05rem; }
.pdp-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.pdp-facts li { display: flex; gap: 10px; align-items: flex-start; }
.pdp-facts .icon { width: 22px; height: 22px; flex: none; color: var(--brand); }
.pdp-facts strong { color: var(--ink); }

.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.unit-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.unit-card.is-selected { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.unit-photo { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 4 / 3; border: 0; padding: 0; background: var(--bg-soft); cursor: zoom-in; color: var(--muted); width: 100%; }
.unit-photo:disabled { cursor: default; }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; }
.unit-photo > .icon { width: 56px; height: 56px; stroke-width: 1.2; opacity: .6; }
.unit-photo-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(7, 18, 38, .72); color: #fff; font-size: .78rem; font-weight: 700; }
.unit-photo-count .icon { width: 14px; height: 14px; }
.unit-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.unit-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.unit-head strong { font-family: var(--font-head); color: var(--ink); white-space: nowrap; }
.unit-facts { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--text); display: grid; gap: 4px; }
.unit-findings { margin: 0; font-size: .9rem; color: var(--muted); }
.unit-body .btn { margin-top: auto; }

.pdp-details { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp-details h2 { font-size: 1.5rem; }
.pdp-description p { margin: 0 0 1em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }
.cond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.cond-card { padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.cond-card strong { font-family: var(--font-head); color: var(--ink); }
.cond-card p { margin: 6px 0 0; color: var(--muted); font-size: .93rem; }

.lightbox { width: min(1100px, calc(100vw - 24px)); background: var(--navy-950); }
.lightbox-figure { margin: 0; display: grid; place-items: center; height: min(78vh, 820px); }
.lightbox-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-nav { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 12px; color: #fff; }
.lightbox-nav .btn { color: #fff; border-color: rgba(255, 255, 255, .3); font-size: 1.4rem; padding: .2em .8em; }
.cart-meta { margin: 0 0 6px; font-size: .82rem; color: var(--muted); }
.cart-item h3 a { color: var(--ink); }

@media (max-width: 900px) {
  .pdp-grid, .pdp-details { grid-template-columns: minmax(0, 1fr); }
  .pdp-gallery { position: static; }
}
@media (max-width: 520px) {
  .pdp-choice { min-width: calc(50% - 4px); }
  .pdp-price { font-size: 1.7rem; }
}

/* Mini-Warenkorb (klappt beim Überfahren des Warenkorb-Symbols auf) */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(460px, 100vw);
  display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.25rem; margin: 0; }
.drawer-head button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); cursor: pointer; display: grid; place-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.cart-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-thumb .icon { width: 30px; height: 30px; color: var(--navy-700); stroke-width: 1.4; }
.cart-item h3 { font-size: .93rem; margin: 0 0 6px; line-height: 1.35; }
.cart-item .qty button { width: 30px; height: 30px; }
.cart-item .line-total { font-weight: 800; color: var(--ink); text-align: right; }
.remove-btn { display: block; margin-top: 4px; border: 0; background: none; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 0; margin-left: auto; }
.totals { display: grid; gap: 6px; margin-bottom: 16px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.2rem; font-weight: 800; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }
.totals small { color: var(--muted); }
.back-link { border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 16px; }
.order-done { text-align: center; padding: 32px 8px; }
.order-done .pillar-icon { margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 50%; background: #e8f8ee; color: var(--success); }
.order-done .pillar-icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1); max-width: calc(100vw - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast .icon { color: var(--accent); width: 20px; height: 20px; stroke-width: 2.4; }
.toast a { color: var(--accent); white-space: nowrap; text-decoration: underline; }
.toast:not(.is-visible) { pointer-events: none; }

/* ---------- Warenkorb-Seite ---------- */
.cart-page-title { margin: 0 0 28px; }
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cart-page-side { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.cart-page-side .btn { white-space: normal; text-align: center; line-height: 1.3; }
.cart-page-side h2 { font-size: 1.2rem; margin: 0 0 16px; }
.cart-page-side .cart-items { margin-bottom: 18px; }
.cart-page-main > .cart-items .cart-item { grid-template-columns: 96px minmax(0, 1fr) auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-page-main > .cart-items .cart-thumb { width: 96px; height: 96px; }
.cart-page-main > .cart-items .cart-item h3 { font-size: 1.02rem; }
.cart-page .empty { padding: 32px 0; }
@media (max-width: 900px) {
  .cart-page { grid-template-columns: minmax(0, 1fr); }
  .cart-page-side { position: static; }
}
@media (max-width: 520px) {
  .cart-page-main > .cart-items .cart-item { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-page-main > .cart-items .cart-thumb { width: 64px; height: 64px; }
  .cart-page-main > .cart-items .cart-item > :last-child { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
}

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 10px; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }
.card h3.mt-0 { margin-top: 0; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; }
.social .icon { width: 20px; height: 20px; color: var(--accent); }
.region { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.region li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .88rem; font-weight: 600; }

/* ---------- Einsatzgebiet ---------- */
.site-footer .footer-cities { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.footer-more { display: inline-block; margin-top: 14px; font-weight: 600; }
.region a { color: inherit; }
.region a:hover { color: var(--accent); }
.city-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.city-links a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; }
.city-links a:hover { border-color: var(--brand); color: var(--brand); }
.city-card { display: block; color: inherit; }
.city-card:hover { color: inherit; }

.env-banner { position: relative; z-index: 60; padding: 8px 16px; background: #f59e0b; color: #1f1300; text-align: center; font-weight: 700; font-size: .88rem; }
.footer-contact small { color: rgba(255, 255, 255, .5); font-size: .8rem; }

/* Spalte nur nebeneinander (Desktop) anheften – auf dem Handy liegen die Spalten untereinander */
@media (min-width: 901px) {
  .sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }
}
