/* Sicherpfad – Stylesheet (ohne externe Fonts, DSGVO-freundlich) */
:root {
  --navy: #0f2a3f;
  --navy-2: #1b3d57;
  --green: #1f9d6b;
  --green-l: #3ccf91;
  --green-bg: #e8f7f0;
  --amber: #c98a06;
  --amber-bg: #fdf4de;
  --red: #c43d3d;
  --red-bg: #fbe9e9;
  --ink: #18222c;
  --ink-2: #4a5866;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-2: #f4f7f9;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 42, 63, .06), 0 6px 20px rgba(15, 42, 63, .06);
  --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); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { background: var(--bg-2); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: .88rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-size: .96rem; }
.nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
}
.demo-banner { background: var(--amber-bg); color: #6b4a00; text-align: center; padding: 8px 16px; font-size: .9rem; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff !important; text-decoration: none; border: 0; border-radius: 10px; padding: 14px 24px; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s; }
.btn:hover { background: #17845a; }
.btn-small { padding: 8px 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--navy); }
.btn-ghost:hover { background: var(--bg-2); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--green); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 680px; }

.hero { padding: 80px 0 64px; background: linear-gradient(180deg, #f4f9f7 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: .8em; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f9d6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .9rem; color: var(--ink-2); }
.trust span::before { content: "● "; color: var(--green-l); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price-card .price { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin: .2em 0 .6em; }
.price-card ul { padding-left: 1.1em; margin: 0 0 1.4em; flex: 1; font-size: .95rem; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--green-bg); color: var(--green); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
summary::after { content: "+"; float: right; font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: .8em 0 0; color: var(--ink-2); }

/* Tables */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); color: var(--navy); }

.callout { border-left: 4px solid var(--green); background: var(--green-bg); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5em 0; }
.callout.warn { border-color: var(--amber); background: var(--amber-bg); }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.page-head { padding: 56px 0 24px; background: var(--bg-2); }

/* Check / Fragebogen */
.check { padding: 40px 0 72px; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 28px; }
.progress > span { display: block; height: 100%; background: var(--green); width: 0; transition: width .25s; }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.q-meta { font-size: .85rem; color: var(--ink-2); margin-bottom: 6px; }
.q-title { font-size: 1.25rem; font-weight: 650; color: var(--navy); margin-bottom: 6px; }
.q-help { color: var(--ink-2); font-size: .95rem; margin-bottom: 18px; }
.options { display: grid; gap: 10px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: border-color .12s, background .12s; }
.option:hover { border-color: var(--navy-2); }
.option input { margin-top: .3em; accent-color: var(--green); }
.option.selected { border-color: var(--green); background: var(--green-bg); }
.q-nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 12px; }
.domain-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.domain-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 12px; font: inherit; font-size: .8rem; cursor: pointer; color: var(--ink-2); }
.domain-tabs button.done { background: var(--green-bg); border-color: var(--green); color: var(--green); }
.domain-tabs button.current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Ergebnis */
.result-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 700px) { .result-head { grid-template-columns: 1fr; } }
.status { border-radius: 14px; padding: 22px 24px; margin-bottom: 20px; }
.status h2 { margin-bottom: .3em; font-size: 1.4rem; }
.status.red { background: var(--red-bg); border: 1px solid #efc4c4; }
.status.amber { background: var(--amber-bg); border: 1px solid #f0dca8; }
.status.green { background: var(--green-bg); border: 1px solid #bde6d2; }
.status.grey { background: var(--bg-2); border: 1px solid var(--line); }
.score-ring { width: 140px; height: 140px; }
.domain-list { display: grid; gap: 10px; }
.domain-row { display: grid; grid-template-columns: 1fr 160px 52px; gap: 12px; align-items: center; font-size: .95rem; }
@media (max-width: 600px) { .domain-row { grid-template-columns: 1fr 90px 44px; } }
.bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; }
.c-red { background: var(--red); } .c-amber { background: var(--amber); } .c-green { background: var(--green); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.measure { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; break-inside: avoid; }
.measure .tag { font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); margin-right: 6px; }
.form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.form-row input[type=text], .form-row input[type=email], .form-row select { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; }
.form-row label.inline { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.hp { position: absolute; left: -5000px; }
.notice { padding: 12px 16px; border-radius: 8px; background: var(--bg-2); margin-top: 12px; }
.hidden { display: none !important; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d6e0; padding: 56px 0 24px; font-size: .93rem; }
.site-footer a { color: #e6eef4; text-decoration: none; }
.site-footer a:hover { color: var(--green-l); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-weight: 700; color: #fff; font-size: 1.15rem; }
.footer-title { font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .muted { color: #93a8b8; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; color: #93a8b8; font-size: .85rem; }

/* Druck / PDF */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  body { font-size: 11pt; color: #000; }
  .site-header, .site-footer, .demo-banner, .no-print, .q-nav, .btn { display: none !important; }
  .print-only { display: block; }
  section, .check { padding: 0; }
  .q-card, .card, .status { box-shadow: none; }
  h2 { break-after: avoid; }
  .page-break { break-before: page; }
  .wrap, .narrow { width: 100% !important; max-width: none !important; }
  .table-wrap { overflow: visible; }
  table { font-size: 9pt; }
  th, td { padding: 6px 8px; }
  .card { border: 0; padding: 0; margin-bottom: 14pt !important; }
  .domain-row { grid-template-columns: 1fr 120px 44px; font-size: 9.5pt; }
  a { color: #000; text-decoration: none; }
}
