/* APEX Digital Solutions – Stylesheet
   Farbwelt nach der Designvorlage: Nachtblau, Signalblau, helles Grau.
   Quelle. Wird von bauen.py nach site/assets/style.css kopiert. */

:root {
  --nacht: #050b12;
  --navy: #0a1826;
  --navy-2: #102a42;
  --navy-3: #17384f;
  --blau: #1e61bd;
  --blau-hell: #46a0e3;
  --blau-tief: #164e9c;
  --hell: #f3f5f8;
  --weiss: #ffffff;
  --text: #0f1b2a;
  --grau: #5b6a7d;
  --grau-hell: #8b97a8;
  --linie: #e3e8ef;
  --radius: 16px;
  --radius-s: 10px;
  --maxw: 1180px;
  --schatten: 0 1px 2px rgba(10, 24, 38, .05), 0 10px 30px rgba(10, 24, 38, .08);
  --schatten-stark: 0 18px 46px rgba(10, 24, 38, .16);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

h1, h2, h3, h4 { color: var(--text); line-height: 1.16; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.1vw, 2.95rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); margin-top: 0; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
img { max-width: 100%; height: auto; }

.lead { font-size: 1.14rem; color: var(--grau); }
.muted { color: var(--grau); }
.small { font-size: .92rem; }
.center { text-align: center; }
.blau { color: var(--blau); }

/* ---------- Kopfbereich ---------- */
.site-header {
  background: var(--navy); position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; flex: none; }
.logo:hover { text-decoration: none; }
.logo img { display: block; height: 50px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a {
  color: rgba(255,255,255,.82); padding: 9px 12px; border-radius: 8px;
  font-size: .95rem; font-weight: 600; white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; background: rgba(70,160,227,.18); }
.nav .btn { color: #fff; }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer;
  transition: background .14s ease, transform .14s ease, border-color .14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-primary { background: var(--blau); color: #fff; }
.btn-primary:hover { background: var(--blau-tief); }
.btn-ghost { border-color: var(--linie); color: var(--text); background: var(--weiss); }
.btn-ghost:hover { border-color: var(--blau); color: var(--blau); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* ---------- Abschnitte ---------- */
section { padding: 82px 0; }
section.tight { padding: 52px 0; }
section.hell { background: var(--hell); }
section.dunkel { background: var(--navy); color: rgba(255,255,255,.8); }
section.dunkel h2, section.dunkel h3 { color: #fff; }
section.dunkel .lead { color: rgba(255,255,255,.72); }

.eyebrow {
  display: block; font-size: .8rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blau); margin-bottom: 14px;
}
section.dunkel .eyebrow { color: var(--blau-hell); }

.kopf { max-width: 760px; margin-bottom: 48px; }
.kopf-zentriert { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.kopf-zentriert .lead { margin-bottom: 0; }

/* ---------- Hero mit Foto ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--nacht);
  color: #fff; padding: 118px 0 112px;
}
.hero .wrap { position: relative; z-index: 3; }
.hero h1 { color: #fff; }
.hero h1 .akzent { color: var(--blau-hell); display: block; }
.hero p { color: rgba(255,255,255,.8); max-width: 540px; font-size: 1.12rem; }
.hero-text { max-width: 680px; }

.hero-foto {
  position: absolute; top: 0; right: 0; bottom: 0; left: auto; z-index: 1;
  width: 62%;
  background-position: center center; background-size: cover; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
}
.hero-schleier {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(96deg, var(--nacht) 0%, rgba(5,11,18,.92) 30%, rgba(5,11,18,.55) 52%, rgba(5,11,18,.22) 76%, rgba(5,11,18,.42) 100%),
    linear-gradient(to top, rgba(5,11,18,.6), transparent 44%);
}
.hero-marken { display: flex; gap: 12px 28px; flex-wrap: wrap; margin-top: 38px; padding: 0; list-style: none; }
.hero-marken li {
  color: rgba(255,255,255,.78); font-size: .95rem; font-weight: 600;
  display: flex; align-items: center; gap: 9px; margin: 0;
}
.hero-marken svg { flex: none; color: var(--blau-hell); }

/* kleinerer Hero für Unterseiten */
.hero.klein { padding: 76px 0 70px; }
.hero.klein h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

/* ---------- Foto-Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 26px; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-stark); }
/* Kein overflow:hidden hier, sonst wird das überstehende Icon abgeschnitten. */
.karte-bild { position: relative; }
.karte-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.karte-icon {
  position: absolute; left: 22px; bottom: -26px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--blau);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 18px rgba(30,97,189,.42); border: 3px solid var(--weiss);
}
.karte-text { padding: 42px 24px 28px; text-align: center; flex: 1; }
.karte-text h3 { margin-bottom: .45em; }
.karte-text p { color: var(--grau); font-size: .97rem; margin-bottom: 0; }

/* ---------- Vorteilsleiste ---------- */
.vorteilsleiste { background: var(--navy); color: #fff; padding: 40px 0; }
.vorteilsleiste .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 26px;
}
.vorteil { display: flex; align-items: center; gap: 14px; }
.vorteil-icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(70,160,227,.55); color: var(--blau-hell);
  display: flex; align-items: center; justify-content: center;
}
.vorteil b { display: block; font-size: .97rem; font-weight: 700; line-height: 1.3; }
.vorteil span { font-size: .86rem; color: rgba(255,255,255,.6); }

/* ---------- Bild-Text-Blöcke ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--schatten); }
.split h2 { margin-top: 0; }
.split p:last-child { margin-bottom: 0; }

figure { margin: 0; }
figure.shot { margin: 32px 0; }
figure.shot img { display: block; width: 100%; border-radius: var(--radius); }
figure.shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--grau); }

/* ---------- Karten allgemein ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--schatten);
}
section.hell .card { border-color: #e7ebf2; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(30,97,189,.1); display: flex; align-items: center; justify-content: center;
  color: var(--blau); font-weight: 800;
}
.card.feature { border-top: 3px solid var(--blau); }
section.dunkel .card { background: var(--navy-2); border-color: rgba(255,255,255,.09); color: rgba(255,255,255,.78); box-shadow: none; }

.check { list-style: none; padding: 0; }
.check li { padding-left: 30px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blau); font-weight: 800; }
.cross { list-style: none; padding: 0; }
.cross li { padding-left: 30px; position: relative; color: var(--grau); }
.cross li::before { content: "×"; position: absolute; left: 2px; top: -1px; font-size: 1.2em; color: #b6c0cf; font-weight: 700; }

/* ---------- Schritte ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 24px 24px 24px 78px; position: relative; margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: 24px; top: 23px;
  width: 36px; height: 36px; border-radius: 10px; background: var(--blau); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem;
}
.steps h3 { margin-bottom: .25em; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--grau); font-size: .97rem; }

/* ---------- Preise ---------- */
.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.price { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; box-shadow: var(--schatten); }
.price.highlight { border: 2px solid var(--blau); position: relative; }
.price.highlight::before {
  content: "Am häufigsten gewählt"; position: absolute; top: -13px; left: 30px;
  background: var(--blau); color: #fff; font-size: .73rem; font-weight: 700;
  padding: 5px 12px; border-radius: 20px; letter-spacing: .03em;
}
.price .amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; display: block; margin: 8px 0 2px; }
.price .amount small { font-size: .95rem; font-weight: 500; color: var(--grau); letter-spacing: 0; }
.price ul { margin-top: 22px; }

/* ---------- Tabellen ---------- */
table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; background: var(--weiss); font-size: .97rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 700; }
tbody tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); }

/* ---------- FAQ ---------- */
details { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-s); padding: 20px 24px; margin-bottom: 12px; }
details[open] { border-color: var(--blau); }
summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 34px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -4px; font-size: 1.6rem; color: var(--blau); font-weight: 400; line-height: 1; }
details[open] summary::after { content: "–"; }
details p:last-child { margin-bottom: 0; }
details > *:not(summary) { margin-top: 14px; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius); padding: 52px 46px; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(70,160,227,.28), transparent 68%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 580px; position: relative; }
.cta-band .btn-row { position: relative; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: var(--blau-hell); color: var(--blau-hell); }

/* ---------- Zitat ---------- */
.zitat { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 52px 46px; }
.zitat p { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.34; color: #fff; margin-bottom: .5em; letter-spacing: -.02em; }
.zitat span { color: var(--blau-hell); font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Formular ---------- */
.form-card { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 34px; box-shadow: var(--schatten); }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .93rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--linie); border-radius: var(--radius-s);
  font: inherit; font-size: 1rem; background: var(--hell); color: var(--text); margin-bottom: 18px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blau); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* ---------- Artikel ---------- */
.article-head { background: var(--hell); border-bottom: 1px solid var(--linie); padding: 56px 0 44px; }
article { font-size: 17.5px; }
article h2 { margin-top: 2em; }
article h3 { margin-top: 1.7em; }
article blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--blau); background: var(--hell); }
article blockquote p:last-child { margin-bottom: 0; }
.meta { color: var(--grau); font-size: .92rem; }
.breadcrumb { font-size: .88rem; color: var(--grau); margin-bottom: 16px; }
.breadcrumb a { color: var(--grau); }
.hero .breadcrumb, .hero .breadcrumb a { color: rgba(255,255,255,.62); }
.toc { background: var(--hell); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 36px; }
.toc h2 { font-size: .95rem; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--grau); font-weight: 800; }
.toc ul { margin: 0; padding-left: 1.1em; }
.toc li { margin-bottom: .3em; }

.post-list { list-style: none; padding: 0; display: grid; gap: 22px; }
.post-list li { margin: 0; }
.post-list a.post { display: block; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; color: var(--text); box-shadow: var(--schatten); }
.post-list a.post:hover { text-decoration: none; border-color: var(--blau); }
.post-list h2 { font-size: 1.28rem; margin-bottom: .35em; }
.post-list p { color: var(--grau); margin-bottom: 0; font-size: .98rem; }

.badge {
  display: inline-block; background: rgba(30,97,189,.11); color: var(--blau);
  font-size: .74rem; font-weight: 800; padding: 5px 11px; border-radius: 20px;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge.grey { background: #e9edf3; color: var(--grau); }
.hero .badge { background: rgba(70,160,227,.2); color: var(--blau-hell); }

/* ---------- Problem / Lösung ---------- */
.pl-list { display: grid; gap: 22px; }
.pl { display: grid; grid-template-columns: 64px 1fr; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--schatten); }
.pl-num { font-size: 1rem; font-weight: 800; color: var(--blau); background: rgba(30,97,189,.1); width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.pl-body h3 { margin: 8px 0 18px; font-size: 1.22rem; }
.pl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.pl-col { border-left: 3px solid var(--linie); padding-left: 18px; }
.pl-col.pl-loesung { border-left-color: var(--blau); }
.pl-label { display: block; font-size: .71rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--grau); margin-bottom: 7px; }
.pl-loesung .pl-label { color: var(--blau); }
.pl-col p { margin: 0; font-size: .98rem; }
.pl-result { margin: 0; padding: 14px 18px; border-radius: var(--radius-s); background: rgba(30,97,189,.07); font-size: .96rem; }

/* ---------- Produkt-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(316px, 1fr)); gap: 26px; }
/* Zwei Kacheln nebeneinander, gemeinsam mittig, statt links angeschlagen */
.tiles.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin: 0 auto; }
@media (max-width: 760px) { .tiles.zwei { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); color: var(--text); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tile:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--blau); box-shadow: var(--schatten-stark); }
.tile-media { background: var(--hell); border-bottom: 1px solid var(--linie); padding: 18px 18px 0; }
.tile-media img { display: block; width: 100%; height: auto; }
.tile-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 { margin: 12px 0 8px; font-size: 1.14rem; }
.tile-body p { color: var(--grau); font-size: .96rem; margin-bottom: 16px; }
.tile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--linie); }
.tile-price { font-weight: 800; }
.tile-more { color: var(--blau); font-weight: 700; font-size: .95rem; }

.hinweis { background: #fff8e8; border: 1px solid #f0dcae; border-radius: var(--radius); padding: 22px 26px; margin: 0 0 34px; }
.hinweis p:last-child { margin-bottom: 0; }
.hinweis strong { color: #8a6100; }

.wins { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.win { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; }
.win .big { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--blau); margin-bottom: 4px; }
.win p { margin: 0; font-size: .96rem; color: var(--grau); }
section.dunkel .win { background: var(--navy-2); border-color: rgba(255,255,255,.09); }
section.dunkel .win .big { color: var(--blau-hell); }
section.dunkel .win p { color: rgba(255,255,255,.68); }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--nacht); color: rgba(255,255,255,.62); padding: 62px 0 32px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-weight: 800; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--blau-hell); }
.site-footer .logo img { height: 46px; margin-bottom: 18px; }
.footer-grid { display: grid; gap: 38px; grid-template-columns: 1.7fr 1fr 1fr 1fr; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; gap: 20px; flex-wrap: wrap; font-size: .87rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 14px; padding-bottom: 12px; gap: 12px; }
  .nav { margin-left: 0; width: 100%; order: 3; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 8px 11px; font-size: .92rem; }
  .nav .btn { margin-left: 8px; padding: 10px 18px; }
  .logo { margin-right: auto; }
  section { padding: 58px 0; }
  .cta-band, .zitat { padding: 36px 28px; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-text { order: 0; }
  .split .split-media { order: 2; }
  .pl-cols { grid-template-columns: 1fr; gap: 18px; }
  .pl { grid-template-columns: 1fr; padding: 26px; }
  .pl-num { margin-bottom: 10px; }
  .hero { padding: 72px 0 68px; }
  .hero-schleier {
    background: linear-gradient(180deg, rgba(5,11,18,.9) 0%, rgba(5,11,18,.78) 52%, rgba(5,11,18,.93) 100%);
  }
  .hero-foto {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
  }
  .hero p { max-width: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.82rem; }
  .hero h1 .akzent { display: inline; }
  body { font-size: 16.5px; }
  .karte-text { padding: 40px 20px 24px; }
  .vorteilsleiste .wrap { grid-template-columns: 1fr; gap: 18px; }
}

@media print {
  .site-header, .site-footer, .btn-row, .hero-foto, .hero-schleier { display: none; }
}

/* ---------------------------------------------------------- Produktseiten */
.shot { margin: 26px 0 30px; }
.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--linie);
  border-radius: var(--radius); box-shadow: var(--schatten); background: var(--weiss); }
.shot figcaption { font-size: .87rem; color: var(--grau); margin-top: 10px; line-height: 1.5; }

/* Kaufkasten */
.kauf { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--schatten); }
.kauf > h2 { margin-bottom: 22px; }
.kauf-wahl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 22px; }
.kauf-option { position: relative; display: block; border: 2px solid var(--linie); border-radius: var(--radius-s, 10px);
  padding: 20px 22px; cursor: pointer; background: var(--weiss); }
.kauf-option:hover { border-color: var(--blau-hell); }
.kauf-option:has(input:checked) { border-color: var(--blau); background: #f3f8fe; }
.kauf-option input { position: absolute; opacity: 0; pointer-events: none; }
.kauf-option:has(input:focus-visible) { outline: 2px solid var(--blau); outline-offset: 2px; }
.kauf-titel { display: block; font-weight: 700; font-size: .95rem; }
.kauf-preis { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 2px; }
.kauf-preis small { font-size: .95rem; font-weight: 500; color: var(--grau); letter-spacing: 0; }
.kauf-zusatz { display: block; font-size: .84rem; color: var(--grau); }
.kauf-marke { position: absolute; top: -11px; right: 16px; background: var(--blau); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; }
.kauf-bestaetigung { display: flex; align-items: flex-start; gap: 12px; font-size: .89rem;
  color: var(--grau); line-height: 1.5; margin-bottom: 22px; }
.kauf-bestaetigung input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blau); }
.btn-gross { font-size: 1.03rem; padding: 16px 30px; width: 100%; justify-content: center; }
.kauf-hinweis { font-size: .85rem; color: var(--grau); margin: 14px 0 0; }
.kauf-fehler { font-size: .89rem; color: #8c2f10; background: #fdeeea; border: 1px solid #f3c9bc;
  border-radius: 8px; padding: 11px 14px; margin: 14px 0 0; }
.kauf-fehler[hidden] { display: none; }

/* Kachel-Etikett soll nur so breit sein wie sein Text, nicht wie die Kachel */
.tile-body .badge { align-self: flex-start; width: fit-content; }
