:root {
  --navy: #11243a;
  --navy-2: #18324f;
  --ink: #1d2835;
  --muted: #5b6b7d;
  --line: #d9e2ec;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #2f746f;
  --teal-dark: #245d59;
  --sand: #d8c7a3;
  --sand-light: #efe5cf;
  --success: #276749;
  --warning: #8a5a00;
  --danger: #8b2d2d;
  --shadow: 0 18px 45px rgba(17, 36, 58, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

img, svg { max-width: 100%; }

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

p { margin: 0 0 1.05rem; }

h1, h2, h3, h4 {
  margin: 0 0 .75rem;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 980px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

small { color: var(--muted); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: .7rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  background: rgba(247, 245, 239, 0.95);
  border-bottom: 1px solid rgba(217, 226, 236, .9);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 36, 58, .18);
}
.brand small { display: block; font-weight: 600; letter-spacing: 0; line-height: 1.2; }

.site-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: .55rem .7rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: .93rem;
  font-weight: 650;
}
.site-nav a:hover,
.site-nav a.active {
  text-decoration: none;
  background: var(--sand-light);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(47, 116, 111, .18), transparent 30rem),
    linear-gradient(145deg, var(--paper) 0%, #ffffff 55%, #eef4f3 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--teal);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.36rem);
  color: #344458;
  max-width: 760px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.hero-card .metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-card .metric:last-child { border-bottom: 0; }
.metric-number {
  min-width: 72px;
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 850;
  line-height: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .7rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(17, 36, 58, .18);
}
.btn-primary:hover { background: var(--navy-2); }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--sand-light); }
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-dark); }

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 1.2rem;
}
.section.compact { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.container { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(17, 36, 58, .06);
}
.card.soft { background: #fbfaf7; }
.card.dark {
  background: var(--navy);
  color: #e6eef5;
  border-color: rgba(255,255,255,.14);
}
.card.dark h2, .card.dark h3 { color: var(--white); }
.card.dark a { color: #dbeedc; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--sand-light);
  color: var(--navy);
  padding: .25rem .65rem;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: .65rem;
}

.kicker {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.list-clean, .check-list {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0 0;
}
.list-clean li,
.check-list li {
  margin: .55rem 0;
  padding-left: 1.6rem;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}
.list-clean li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f1f4f6; color: var(--navy); font-size: .92rem; }
tr:last-child td { border-bottom: 0; }

.process {
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  position: relative;
}
.step + .step { margin-top: 1rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}
.step-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.quote {
  border-left: 4px solid var(--teal);
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.example-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.example-head {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-weight: 850;
}
.example-body { padding: 1.25rem; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price {
  font-size: 2rem;
  color: var(--navy);
  font-weight: 900;
  margin: .35rem 0 .25rem;
}
.price-note { color: var(--muted); font-size: .95rem; }
.price-card .btn-row { margin-top: auto; padding-top: 1rem; }

.notice {
  border: 1px solid var(--sand);
  background: #fff8e8;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: #463400;
}
.notice strong { color: var(--warning); }

.form {
  display: grid;
  gap: .9rem;
}
.form-row { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; font-weight: 800; color: var(--navy); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%;
  padding: .85rem .95rem;
  border-radius: 12px;
  border: 1px solid #c7d3df;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(47,116,111,.25);
  border-color: var(--teal);
}
.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .7rem;
  align-items: start;
}
.checkbox input { width: auto; margin-top: .35rem; }
.hp-field { display: none !important; }

.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  color: var(--white);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #e5eef0; }

.footer {
  background: var(--navy);
  color: #d8e5ef;
  padding: 3rem 1.2rem 1.5rem;
}
.footer a { color: #f3e7c6; }
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #b8c8d6;
  font-size: .92rem;
}

.breadcrumb {
  font-size: .93rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }

.landing-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f4f1e8 45%, #e8f0ef 100%);
}

.aside-box {
  position: sticky;
  top: 96px;
}

@media (max-width: 980px) {
  .hero-inner, .grid-2, .grid-3, .grid-4, .compare, .cta-band, .footer-grid {
    grid-template-columns: 1fr;
  }
  .aside-box { position: static; }
  .site-nav { justify-content: flex-start; }
  .nav-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .hero-inner { padding-left: 1rem; padding-right: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .site-nav a { padding: .45rem .55rem; }
  .brand small { display: none; }
}


/* DialogStruktur-Erweiterungen */
.brand-logo {
  width: min(310px, 70vw);
  height: auto;
  display: block;
}
.logo-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.checklist-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.checklist-block {
  margin-top: 1.2rem;
}
.todo-list {
  list-style: none;
  padding-left: 0;
  margin: .8rem 0 0;
  display: grid;
  gap: .55rem;
}
.todo-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .6rem;
  align-items: start;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem .85rem;
}
.todo-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: .25rem;
}
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}
.file-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 800;
}
.checklist-card h3 { margin-bottom: .35rem; }
@media print {
  .site-header, .footer, .btn-row, .download-row, form, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .hero-card, .step-content, .todo-list li { box-shadow: none; border-color: #999; }
  .section, .hero-inner { padding: 1rem 0; }
}
@media (max-width: 980px) {
  .checklist-meta { grid-template-columns: 1fr; }
}
