/* Reger Automation – Verkaufsautomat RAV03
   Reines CSS, keine externen Schriften oder Frameworks (schnell, kein Cookie-Banner noetig). */
:root {
  --blau: #004e87;
  --blau-dunkel: #00355c;
  --blau-hell: #e8f1f8;
  --text: #1d1d1b;
  --grau: #5b6470;
  --linie: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --gruen: #2e8b3d;
  --radius: 14px;
  --max: 1140px;
  --schatten: 0 10px 30px rgba(0, 40, 80, .10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blau); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blau); color: #fff !important; box-shadow: 0 6px 16px rgba(0, 78, 135, .25); }
.btn-primary:hover { background: var(--blau-dunkel); }
.btn-ghost { border: 2px solid var(--blau); color: var(--blau) !important; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blau-hell), #fff 70%); padding: 56px 0 40px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blau); background: #fff; border: 1px solid var(--linie); border-radius: 999px; padding: 4px 12px; }
h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; margin: 16px 0; letter-spacing: -.02em; }
h1 span { color: var(--blau); }
.lead { font-size: 19px; color: var(--grau); max-width: 36em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-img { border-radius: var(--radius); box-shadow: var(--schatten); background: #fff; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } }

/* Abschnitte */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.section-intro { color: var(--grau); max-width: 46em; margin: 0 0 36px; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 8px rgba(0, 40, 80, .04); }
.card p { margin: 0; color: var(--grau); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blau-hell); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 26px; height: 26px; stroke: var(--blau); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li { background: #fff; border: 1px solid var(--linie); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* Ablauf mit Display-Screens */
.steps { counter-reset: s; }
.step { text-align: center; }
.step figure { margin: 0 auto 16px; max-width: 320px; }
.step img { border: 6px solid #111; border-radius: 14px; box-shadow: var(--schatten); }
.step h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blau); color: #fff; font-size: 15px; margin-right: 8px; }
.step p { color: var(--grau); margin: 0; }

/* Technische Daten */
table.daten { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
table.daten th, table.daten td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.daten th { width: 38%; background: var(--bg-alt); font-weight: 600; }
table.daten tr:last-child th, table.daten tr:last-child td { border-bottom: 0; }

/* Preise */
.preise { align-items: stretch; }
.card.preis { position: relative; display: flex; flex-direction: column; }
.card.preis h3 { font-size: 22px; }
.card.preis .betrag { font-size: 40px; font-weight: 800; color: var(--text); margin: 4px 0 14px; letter-spacing: -.02em; }
.card.preis .check-list { margin-top: 0; }
.card.preis .check-list li { color: var(--grau); }
.card.preis.empfohlen { border: 2px solid var(--blau); box-shadow: var(--schatten); }
.card.preis .badge { position: absolute; top: -13px; left: 26px; background: var(--blau); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.preis-hinweise { margin-top: 26px; color: var(--grau); }
.preis-hinweise p { margin: 6px 0; }
.preis-hinweise .klein { font-size: 14px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--blau); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--grau); }

/* Kontakt */
.cta { background: var(--blau); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #d5e4f1; margin: 0; }
.cta .kontakt { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 22px; font-style: normal; }
.cta .kontakt a { color: #fff; font-weight: 700; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 32px; } }

/* Fusszeile */
.site-footer { background: #0d1b2a; color: #b8c4d1; padding: 40px 0; font-size: 15px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-footer img { height: 40px; width: auto; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; gap: 18px; }

/* Rechtsseiten */
.legal { padding: 48px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.platzhalter { background: #fff3cd; border: 1px dashed #c99a00; padding: 0 4px; border-radius: 4px; }
.hinweis-entwurf { background: #fff3cd; border-left: 4px solid #c99a00; padding: 12px 16px; border-radius: 8px; margin: 16px 0 28px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
