:root {
  --blue-dark: #243782;
  --blue-secondary: #354F9E;
  --blue-accent: #648CE4;
  --blue-deep: #172A78;
  --paper: #ffffff;
  --soft: #F8FAFD;
  --line: #E6EBF7;
  --text: #1E2B57;
  --muted: #4A5878;
  --sea-1: #F5F8FF;
  --sea-2: #E7EFFC;
  --quiet: #6B7280;
  --shadow: 0 26px 80px rgba(23, 42, 120, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #F8FAFD 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue-accent); }

.page {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(36,55,130,.08);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 8px;
  background: linear-gradient(180deg, rgba(100,140,228,.82), rgba(36,55,130,1));
  opacity: .95;
}

.inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 0;
}

/* ---------- Kopfbereich & Navigation ---------- */

header {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 30px;
}

/* Farbverlauf hinter Logo-Zeile und Navigation */
header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -54px;
  bottom: -52px;
  left: -400px;
  right: -400px;
  background:
    linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 40%, #E3EBFA 50%, #9DB6E6 60%, #5D7EC9 70%, #33509F 80%, #1C2C7C 90%, #0E1757 100%);
}

.header-cta {
  display: inline-block;
  padding: 13px 22px;
  border: 1.5px solid rgba(255,255,255,.85);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.header-cta:hover { background: #fff; color: var(--blue-deep); }

.logo {
  width: 330px;
  max-width: 48vw;
  height: auto;
  display: block;
  object-fit: contain;
}

.topline {
  color: var(--blue-dark);
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
  padding-top: 12px;
}

.topline strong { display: block; color: var(--blue-deep); }

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 34px;
  border-top: 1px solid rgba(36,55,130,.10);
  padding: 0;
  margin-bottom: 52px;
}

.main-nav a {
  display: block;
  padding: 16px 0 13px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--blue-accent); }

.main-nav a[aria-current="page"] {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-accent);
}

/* ---------- Startseite: Hero ---------- */

.hero,
.page-head {
  border-bottom: 1px solid var(--line);
}

.hero { padding: 8px 0 60px; }

.kicker {
  color: var(--blue-dark);
  font-weight: 700;
  letter-spacing: .01em;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 18px;
}

h1 {
  color: #1B2C72;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  max-width: 760px;
}

.lead {
  margin: 22px 0 0;
  max-width: 740px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
}

.lead strong { color: var(--blue-deep); }

.contact-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 0;
  color: var(--blue-deep);
  font-size: 16px;
  line-height: 1.4;
}

.contact-strip a {
  padding: 0 28px;
  border-right: 1px solid rgba(36,55,130,.35);
  font-style: italic;
}

.contact-strip a:first-child { padding-left: 0; }
.contact-strip a:last-child { border-right: 0; }

/* ---------- Unterseiten: Seitenkopf ---------- */

.page-head { padding: 8px 0 52px; }



/* ---------- Abschnitte ---------- */

section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

h2 {
  margin: 0 0 22px;
  color: var(--blue-dark);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 19px;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
}

.muted { color: var(--muted); }
.small { font-size: 15px; line-height: 1.6; color: var(--muted); }

.section-subhead {
  color: var(--blue-deep);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  margin: -4px 0 18px;
  max-width: 840px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 52px;
  align-items: start;
}

.text-block { max-width: 740px; }

.quiet-box {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 28px;
}

.quiet-box p.small { font-size: 16px; line-height: 1.6; }

.branch-highlight { color: var(--blue-deep); font-weight: 700; }

.punch { margin: 28px 0 18px; font-size: 19px; }

.examples-intro {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

/* ---------- Kennzahlen ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.fact {
  border-top: 4px solid var(--blue-dark);
  background: #fff;
  padding: 20px 18px 16px;
  min-height: 0;
}

.fact b {
  display: block;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.fact b small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 6px;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Karten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  min-height: 238px;
}

.card .num {
  color: var(--blue-accent);
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: 18px;
}

.card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Verlinkte Karten auf der Startseite */
a.card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

a.card:hover {
  color: inherit;
  border-color: var(--blue-accent);
  box-shadow: 0 12px 34px rgba(23, 42, 120, .08);
}

a.card .more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 15px;
}

a.card:hover .more { color: var(--blue-accent); }

/* ---------- Listen ---------- */

ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 8px 0 8px 27px;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
}

li::before {
  content: "•";
  position: absolute;
  left: 3px;
  top: 7px;
  color: var(--blue-dark);
  font-weight: 700;
}

ul.examples { margin-top: 8px; }

ul.examples li {
  font-size: 16px;
  line-height: 1.5;
  padding-top: 6px;
  padding-bottom: 6px;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- Ablauf ---------- */

.process {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  color: var(--blue-dark);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.step h3 { margin-bottom: 7px; }
.step p { font-size: 16px; color: var(--muted); margin: 0; max-width: 720px; }
.step:last-child { border-bottom: 0; }

/* ---------- Honorar-Modelle ---------- */

.compact-models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.model {
  border-top: 4px solid var(--blue-dark);
  background: #fff;
  padding: 20px 18px 18px;
}

.model h3 { font-size: 18px; margin-bottom: 8px; }
.model p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Geschäftsführer ---------- */

.founder-section { padding: 48px 0 46px; }

.founder-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 0 6px;
}

.founder-identity {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: center;
  border-left: 3px solid rgba(100, 140, 228, .55);
  padding-left: 20px;
  min-width: 0;
}

.portrait-frame {
  position: relative;
  width: 170px;
  height: 170px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
}

.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-meta strong {
  display: block;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.founder-meta span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
}

.founder-main h2 { margin-bottom: 14px; }
.founder-main p { max-width: 680px; }

.direct-contact {
  color: var(--blue-deep);
  font-weight: 700;
  margin-top: 8px;
  font-size: 17px;
}

/* ---------- Kontakt / CTA ---------- */

.cta {
  text-align: center;
  padding: 66px 0 62px;
}

.cta h2 { max-width: 780px; margin: 0 auto 22px; color: var(--blue-deep); }
.cta p { max-width: 760px; margin-left: auto; margin-right: auto; }

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 22px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.button:hover { background: var(--blue-deep); color: #fff; }

.contact-card {
  margin: 34px auto 0;
  width: min(740px, 100%);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 30px;
  text-align: left;
}

.contact-card .name {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 17px;
  margin-bottom: 5px;
}

.contact-card p { font-size: 16px; margin-bottom: 6px; }

/* ---------- Rechtliches ---------- */

.legal { padding: 48px 0 42px; border-bottom: 0; }
.legal h2 { font-size: 26px; }
.legal h3 { font-size: 17px; margin-top: 24px; }
.legal p { font-size: 15px; line-height: 1.6; color: #3D4B70; margin-bottom: 12px; max-width: 760px; }

/* letzter Abschnitt vor dem Footer ohne Linie */
.inner > section:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */

footer {
  color: #fff;
  background: linear-gradient(108deg, #243782 0%, #243782 43%, #648CE4 100%);
  padding: 24px 0 26px;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  font-size: 15px;
  margin-bottom: 14px;
  font-style: italic;
}

.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-claim { font-size: 15px; line-height: 1.4; opacity: .95; margin: 0; }

.disclaimer {
  margin: 18px auto 0;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  line-height: 1.5;
  max-width: 860px;
}

.mobile-contact { display: none; }

/* ---------- Tablet & Handy ---------- */

@media (max-width: 900px) {
  .page { width: min(100%, calc(100% - 18px)); margin: 9px auto; }
  .page::before { width: 5px; }
  .inner, .footer-inner { width: min(100% - 38px, 960px); }
  .inner { padding-top: 36px; }
  header { gap: 18px; padding-bottom: 24px; }
  .header-cta { padding: 10px 14px; font-size: 14px; }
  header::before { top: -36px; bottom: -50px; background: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 74%, #E3EBFA 80%, #9DB6E6 86%, #5D7EC9 91%, #33509F 95%, #0E1757 100%); }
  .topline { text-align: left; padding-top: 0; }
  .main-nav { gap: 24px; overflow-x: auto; margin-bottom: 38px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .hero { padding: 4px 0 44px; }
  .page-head { padding: 4px 0 40px; }
  .lead { font-size: 17px; }
  section { padding: 44px 0; }
  .contact-strip { grid-template-columns: 1fr; gap: 10px; }
  .contact-strip a { padding: 0; border-right: 0; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .facts, .cards, .compact-models { grid-template-columns: 1fr; }
  .card, a.card { min-height: auto; }
  .founder-section { padding: 42px 0 38px; }
  .founder-card { grid-template-columns: 1fr; gap: 22px; padding: 10px 0 0; }
  .founder-identity { grid-template-columns: 130px 1fr; gap: 16px; padding-left: 16px; }
  .portrait-frame { width: 130px; height: 130px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  p { font-size: 16px; }
}

@media (max-width: 700px) {
  body { padding-top: 50px; }
  .header-cta { display: none; }
  .logo { max-width: 68vw; }
  .mobile-contact {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--blue-dark);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 4px 14px rgba(23, 42, 120, .18);
  }
  .mobile-contact a {
    text-align: center;
    padding: 14px 10px;
    font-weight: 700;
    font-size: 15px;
  }
  .mobile-contact a + a { border-left: 1px solid rgba(255,255,255,.22); }
  .mobile-contact a:hover { color: #fff; }
}

@media print {
  body { background: #fff; }
  .page { box-shadow: none; width: 100%; margin: 0; border: 0; }
  .inner, .footer-inner { width: 88%; }
  .main-nav, .mobile-contact { display: none; }
}
