/* Romanos Kassencheck – keine externen Schriften, keine externen Dateien (DSGVO) */
:root {
  --green: #2e8b3d;
  --green-dark: #1f6a2c;
  --lime: #b5e06a;
  --lime-soft: #f1f9e3;
  --ink: #1d2a21;
  --muted: #5b6b60;
  --line: #dfe8dc;
  --bg: #fbfdf8;
  --card: #ffffff;
  --todo: #fff3b0;
  --radius: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; font-size: 17px; background: var(--bg); }
a { color: var(--green-dark); }
img { max-width: 100%; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* Kopf */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 72px; width: auto; display: block; }
.brand .tag { background: var(--lime); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.top nav a { margin-left: 14px; font-size: .9rem; text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--green-dark); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--lime-soft) 0%, #fff 70%); padding: 48px 0 32px; }
.eyebrow { display: inline-block; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 99px; }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.15; margin: 14px 0 10px; letter-spacing: -.5px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin: 0; }

/* Check-Karte */
.check { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 26px; box-shadow: 0 10px 30px -18px rgba(31,106,44,.35); }
.check label { font-weight: 700; display: block; margin-bottom: 8px; }
.check input[type=search] { width: 100%; font-size: 1.05rem; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.check input[type=search]:focus { outline: none; border-color: var(--green); }
.list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 260px; overflow: auto; border-radius: 12px; }
.list li button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; font-size: 1rem; cursor: pointer; border-radius: 8px; color: var(--ink); }
.list li button:hover, .list li button:focus { background: var(--lime-soft); outline: none; }

.result { margin-top: 18px; display: none; }
.result.show { display: block; }
.result h2 { margin: 0 0 12px; font-size: 1.35rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fact { background: var(--lime-soft); border-radius: 12px; padding: 14px; }
.fact b { display: block; font-size: 1.6rem; color: var(--green-dark); line-height: 1.1; }
.fact small { color: var(--muted); }
.note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 20px; border-radius: 12px; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.ad { font-size: .78rem; color: var(--muted); display: block; margin-top: 6px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: flex-start; }

/* Abschnitte */
section { padding: 40px 0; }
section h2 { font-size: 1.6rem; margin: 0 0 14px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; padding: 0; list-style: none; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); font-weight: 800; margin-bottom: 8px; }

/* Formular */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form label { font-weight: 600; font-size: .92rem; display: block; margin: 12px 0 4px; }
form input, form select, form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green); }
form textarea { min-height: 120px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 14px 0; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.warn { background: var(--lime-soft); border-left: 4px solid var(--lime); padding: 10px 14px; border-radius: 8px; font-size: .9rem; }

/* Karten (2-Klick) */
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.map { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map .info { padding: 16px; }
.map .frame { aspect-ratio: 4/3; background: #eef3ec; display: grid; place-items: center; text-align: center; padding: 16px; font-size: .88rem; color: var(--muted); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: .9rem; color: var(--muted); }
footer a { margin-right: 16px; }

/* Rechtstexte */
.legal { max-width: 760px; padding: 32px 16px 48px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 28px; }
mark.todo { background: var(--todo); padding: 0 4px; border-radius: 4px; }

@media (max-width: 640px) {
  form .row { grid-template-columns: 1fr; }
  .top nav a { margin-left: 10px; font-size: .82rem; }
  .top .wrap { flex-wrap: wrap; }
  .brand img { height: 46px; }
  .brand .tag { display: none; }
  .top nav a:first-child { margin-left: 0; }
  .hero { padding-top: 32px; }
}

/* Formular in Schritten */
.wizard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-width: 620px; }
.wizard fieldset { border: 0; margin: 0; padding: 0; }
.wizard legend { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; padding: 0; }
.wizard legend label { font: inherit; margin: 0; }
.wizard input[type=text], .wizard input:not([type]), .wizard input[type=email], .wizard input[type=tel], .wizard textarea { font-size: 1.1rem; padding: 14px 16px; }
.progress { height: 6px; background: var(--lime-soft); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; background: var(--green); transition: width .3s; }
.stepinfo { font-size: .85rem; color: var(--muted); margin: 8px 0 16px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; margin: 0 !important; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; transition: border-color .15s, background .15s; }
.choice b { display: block; font-size: 1.15rem; }
.choice small { color: var(--muted); font-weight: 400; }
.choice input:checked + span { border-color: var(--green); background: var(--lime-soft); }
.choice input:focus-visible + span { outline: 3px solid var(--lime); }
.consent label { font-weight: 400 !important; margin: 0 !important; }
.nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; }
.nav #next, .nav #send { margin-left: auto; }
.err { color: #b42318; font-size: .92rem; min-height: 1.2em; margin: 10px 0 0; }
/* Ohne JavaScript: alle Schritte sichtbar */
.wizard:not(.js) .progress, .wizard:not(.js) .stepinfo, .wizard:not(.js) #back, .wizard:not(.js) #next { display: none; }
.wizard:not(.js) .step { margin-bottom: 18px; }
.wizard.js .step { display: none; }
.wizard.js .step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }
