/* ZONE EDV Handel - zone.css
   Eigenes, schlankes Stylesheet fuer die Leistungs- und Landingpages.
   Keine externen Ressourcen (DSGVO: keine Google Fonts, keine CDNs). */

:root {
  --blue: #0b4a8f;
  --blue-dark: #073563;
  --blue-light: #e8f1fb;
  --accent: #f5a623;
  --text: #2c3338;
  --muted: #5c6873;
  --line: #dde3ea;
  --bg-soft: #f5f8fb;
  --white: #fff;
  --green: #1f8a4c;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(11, 74, 143, .08);
  --shadow-lg: 0 6px 28px rgba(11, 74, 143, .14);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover, a:focus { color: var(--blue-dark); text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--blue-dark); margin: 0 0 .6em; }
h1 { font-size: 2.35rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.nowrap { white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-name { font-size: 1.25rem; font-weight: 700; color: var(--blue-dark); line-height: 1.15; }
.brand-claim { display: block; font-size: .72rem; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer; color: var(--blue-dark);
  font-size: 1rem; line-height: 1;
}
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: 9px 12px; border-radius: var(--radius);
  color: var(--text); font-size: .95rem; font-weight: 600; text-decoration: none;
}
.main-nav a:hover { background: var(--blue-light); color: var(--blue-dark); text-decoration: none; }
.main-nav a.active { color: var(--blue); }
.main-nav .nav-phone { color: var(--blue-dark); }
.main-nav .nav-cta {
  background: var(--blue); color: #fff; padding: 10px 16px;
}
.main-nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }

@media (max-width: 950px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px 16px; }
  .main-nav a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 10px; border-radius: var(--radius); text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 62px 0; }
section.tight { padding: 42px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-blue { background: var(--blue-dark); color: #e6eef7; }
.bg-blue h1, .bg-blue h2, .bg-blue h3 { color: #fff; }
.bg-blue a { color: #fff; text-decoration: underline; }

.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.bg-blue .eyebrow { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #0b4a8f 0%, #073563 100%); color: #dfe9f5; padding: 70px 0 66px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { font-size: 1.18rem; color: #cfdff0; margin-bottom: 26px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: start; }
.hero-list { list-style: none; padding: 0; margin: 0 0 26px; }
.hero-list li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #dfe9f5; }
.hero-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px;
  background: var(--accent); border-radius: 50%;
}
.hero-card {
  background: #fff; color: var(--text); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.3rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 46px 0; }
}

.page-hero { background: var(--blue-light); padding: 46px 0 42px; border-bottom: 1px solid #d3e2f3; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; margin-bottom: 22px; }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Cards / Grids ---------- */
.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: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.card-link:hover { text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.card-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); }

.icon-badge {
  width: 46px; height: 46px; border-radius: var(--radius); background: var(--blue-light);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; margin-bottom: 14px;
}

/* ---------- Preistabellen / Pakete ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -13px; left: 26px; background: var(--accent); color: #3a2a00;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.plan h3 { margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan .price { font-size: 2.3rem; font-weight: 700; color: var(--blue-dark); line-height: 1.1; }
.plan .price span { font-size: .95rem; font-weight: 400; color: var(--muted); }
.plan .price-note { font-size: .82rem; color: var(--muted); margin: 4px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan ul li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .95rem; }
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700;
}
.plan ul li.off { color: var(--muted); }
.plan ul li.off::before { content: "–"; color: var(--muted); }
.plan .btn { margin-top: auto; }

/* ---------- Tabellen ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: var(--blue-light); color: var(--blue-dark); font-weight: 700; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.yes { color: var(--green); font-weight: 700; }
table.data td.no { color: var(--muted); }

/* ---------- Ablauf / Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 20px; }
.steps.cols { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps.cols { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding-left: 0; margin: 0; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 700; margin-bottom: 12px;
}
.steps li h3 { font-size: 1.05rem; margin-bottom: .35em; }
.steps li p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; color: var(--blue-dark); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--blue); font-weight: 700; }
.faq details[open] summary::before { content: "– "; }
.faq details[open] summary { margin-bottom: 10px; }
.faq p:last-child { margin-bottom: 0; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--blue-dark); color: #dfe9f5; padding: 48px 0; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c9dbef; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner > div { flex: 1 1 380px; }
.cta-inner p:last-child { margin-bottom: 0; }

/* ---------- Formular ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--text); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  border: 1px solid #c3ccd6; border-radius: var(--radius); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,74,143,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.checkbox input { width: auto; margin-top: 4px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: .95rem; }
.alert-error { background: #fdecea; border: 1px solid #f5c2bd; color: #8c2c22; }
.alert-ok { background: #e8f6ed; border: 1px solid #b9e0c8; color: #1c6b3d; }

/* ---------- Kontaktbox ---------- */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.contact-list a { font-size: 1.1rem; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #10233a; color: #a9bcd0; padding: 52px 0 26px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: #cddced; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #24384f; margin-top: 34px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem;
}

/* ---------- Sonstiges ---------- */
.note {
  background: var(--blue-light); border-left: 4px solid var(--blue);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 22px;
}
.note p:last-child { margin-bottom: 0; }
.disclaimer { font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

.legal h2 { margin-top: 34px; }
.legal h3 { margin-top: 28px; font-size: 1.15rem; }
.legal h4 { margin-top: 20px; font-size: 1rem; color: var(--text); }
.legal ul { list-style: disc; padding-left: 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Consent-Banner ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 24px; max-width: 720px; margin: 0 auto;
  font-size: .92rem;
}
.consent[hidden] { display: none; }
.consent h4 { margin-bottom: 8px; }
.consent .btn { padding: 10px 18px; font-size: .92rem; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
