:root {
  --blue: #0f2f67;
  --blue-2: #163f86;
  --red: #e21f2f;
  --ink: #172033;
  --muted: #5b6578;
  --surface: #f5f7fb;
  --white: #ffffff;
  --line: #dfe5ef;
  --shadow: 0 18px 45px rgba(15, 47, 103, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; padding: 10px 14px; background: var(--white); }

.topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 0.92rem;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar a { text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223,229,239,.9);
}
.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 148px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-weight: 650; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-2); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
  transition: .2s ease;
}
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(226,31,47,.22); }
.button-secondary { color: var(--blue); border-color: var(--blue); background: transparent; }
.button-secondary:hover { background: var(--blue); color: var(--white); }
.button-light { background: var(--white); color: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(226,31,47,.09), transparent 25%),
    linear-gradient(135deg, #f8faff 0%, #edf3fc 100%);
  padding: 78px 0 72px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -170px;
  bottom: -250px;
  border: 54px solid rgba(15,47,103,.06);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
h1, h2, h3 { font-family: Montserrat, Inter, "Segoe UI", sans-serif; line-height: 1.16; margin-top: 0; }
h1 { font-size: clamp(2.35rem, 5vw, 4.5rem); color: var(--blue); margin-bottom: 22px; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); color: var(--blue); margin-bottom: 18px; }
h3 { font-size: 1.25rem; color: var(--blue); }
.lead { font-size: 1.22rem; color: #34415a; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-card {
  position: relative;
  background: var(--white);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(223,229,239,.8);
}
.hero-card img { width: 240px; margin: 0 auto 22px; }
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li { padding: 10px 0; border-top: 1px solid var(--line); font-weight: 650; }
.hero-card li::before { content: "✓"; color: var(--red); margin-right: 10px; }

.section { padding: 82px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 25px rgba(15,47,103,.05);
}
.card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eaf0fb;
  color: var(--blue);
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.stat { text-align: center; }
.stat strong { display: block; color: var(--blue); font-size: 2.15rem; font-family: Montserrat, sans-serif; }
.stat span { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.quote-box { background: var(--blue); color: var(--white); border-radius: 24px; padding: 38px; }
.quote-box h2 { color: var(--white); }
.quote-box p { color: rgba(255,255,255,.84); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { margin: 12px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.steps { counter-reset: item; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(15,47,103,.16);
  font-size: 3rem;
  font-weight: 900;
  font-family: Montserrat, sans-serif;
}

.cta { background: linear-gradient(135deg, var(--blue), #071c3f); color: var(--white); border-radius: 28px; padding: 50px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.8); }

.page-hero { background: var(--surface); padding: 64px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.breadcrumb { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.service-row { display: grid; grid-template-columns: 1fr 2fr; gap: 34px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.service-row ul { columns: 2; margin: 0; padding-left: 20px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; }
.contact-box { background: var(--blue); color: var(--white); padding: 34px; border-radius: var(--radius); }
.contact-box h2, .contact-box h3 { color: var(--white); }
.contact-box a { color: var(--white); }
form { display: grid; gap: 16px; }
label { font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid #cbd4e1;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }

.site-footer { background: #081a39; color: rgba(255,255,255,.8); padding: 54px 0 26px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 34px; }
.site-footer h3 { color: var(--white); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 20px; font-size: .9rem; }
.logo-footer { width: 150px; background: var(--white); padding: 8px; border-radius: 10px; margin-bottom: 16px; }

@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4, .steps { grid-template-columns: repeat(2,1fr); }
  .main-nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--max)); }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner span:last-child { display: none; }
  .brand img { width: 125px; }
  .nav-wrap { min-height: 78px; }
  .main-nav { top: 78px; }
  .hero { padding: 52px 0; }
  .section { padding: 62px 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .service-row ul { columns: 1; }
  .cta { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Anpassungen für das neue horizontale Hauptlogo */
.brand img { width: min(430px, 38vw); }
.hero-card img { width: 100%; max-width: 520px; }
.logo-footer { width: min(360px, 100%); background: var(--white); padding: 10px; }

.legal-content { max-width: 920px; }
.legal-content h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.legal-content h3 { margin-top: 1.7rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content address { font-style: normal; line-height: 1.8; }
.legal-note { border-left: 4px solid var(--red); padding: 14px 18px; background: var(--surface); }
.footer-bottom a { color: rgba(255,255,255,.85); }

@media (max-width: 900px) {
  .brand img { width: min(350px, 58vw); }
}
@media (max-width: 620px) {
  .brand img { width: min(270px, 70vw); }
  .hero-card { padding: 22px; }
}


/* Ergänzungen Entwurf V3 */
.service-logo { background: transparent; width: 45px; height: 45px; padding: 0; overflow: hidden; }
.service-logo img { width: 100%; height: 100%; object-fit: contain; }
.contact-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-detail-card { min-height: 245px; }
.contact-detail-card h2 { font-size: 1.55rem; }
.contact-link { color: var(--blue); font-size: 1.25rem; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--red); }
@media (max-width: 700px) { .contact-details-grid { grid-template-columns: 1fr; } }


/* Anpassungen Entwurf V6: quadratisches Logo deutlich kleiner */
.service-logo { width: 30px; height: 30px; margin-bottom: 14px; }
.hero-card img { width: 173px; max-width: 50%; margin: 0 auto 20px; }
.logo-footer { width: 220px; max-width: 70%; padding: 7px; }
.single-column-content { max-width: 900px; }
@media (max-width: 620px) {
  .hero-card img { width: 138px; max-width: 48%; }
  .logo-footer { width: 180px; max-width: 64%; }
}

/* Produktionsversion */
:focus-visible{outline:3px solid #e21f2f;outline-offset:3px}.service-logo img{width:34px;height:34px;object-fit:contain}.content-logo{width:172px;max-width:42vw;margin:0 auto 22px}.footer-brand-logo{width:105px;background:#fff;padding:7px;border-radius:10px;margin-bottom:16px}.remote-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.download-card{display:flex;flex-direction:column;align-items:flex-start}.download-card .button{margin-top:auto}.notice{border-left:4px solid var(--blue);background:#eef3fb;padding:18px 20px;border-radius:0 12px 12px 0}.contact-list{list-style:none;padding:0;margin:0}.contact-list li{padding:12px 0;border-bottom:1px solid var(--line)}.contact-list strong{display:block;color:var(--blue)}.privacy-list{padding-left:20px}.hero-card img{width:172px;max-width:50%;}.logo-footer{width:105px}.site-footer{margin-top:0}.legal-content code{background:#eef3fb;padding:.15em .35em;border-radius:4px}.button-disabled{opacity:.65;cursor:not-allowed}@media(max-width:700px){.remote-grid{grid-template-columns:1fr}.hero-card img{width:150px}.content-logo{width:150px}.logo-footer,.footer-brand-logo{width:92px}}

/* Version 1.1 – vereinheitlichte Aktionsbuttons und Footer-Logo wie Entwurf 7 */
a.button[href^="mailto:"] {
  background: var(--red);
  color: var(--white) !important;
  border-color: var(--red);
}
a.button[href^="mailto:"]:hover,
a.button[href^="mailto:"]:focus-visible {
  background: #bd1725;
  color: var(--white) !important;
  border-color: #bd1725;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(226,31,47,.22);
}
.logo-footer,
.footer-brand-logo {
  width: 220px;
  max-width: 70%;
  padding: 7px;
}
@media (max-width: 700px) {
  .logo-footer,
  .footer-brand-logo {
    width: 180px;
    max-width: 64%;
  }
}
