:root {
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f3fa;
  --color-navy: #0f1c3f;
  --color-navy-soft: #16295c;
  --color-text: #1b1e26;
  --color-text-muted: #5b6270;
  --color-text-inverse: #eef1f8;
  --color-text-inverse-muted: #aab4d1;
  --color-border: #e4e7ee;
  --color-border-dark: #24345f;
  --color-accent: #2f5fdc;
  --color-accent-dark: #1d3f9e;
  --color-accent-soft: #eaf0ff;
  --color-gold: #ab8330;
  --max-width: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 45px -25px rgba(20, 24, 40, 0.35);
  --shadow-sm: 0 10px 25px -18px rgba(20, 24, 40, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Header / Navigation */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 20px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--color-accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--color-navy);
}

.primary-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.primary-nav > ul > li > a,
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.primary-nav > ul > li > a:hover,
.dropdown-toggle:hover {
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.primary-nav > ul > li > a.active,
.dropdown-toggle.active {
  color: var(--color-accent);
}

.dropdown-menu li a.active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.15s ease;
}

.has-dropdown {
  position: relative;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 8px;
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover .chevron,
.has-dropdown.is-open .chevron {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.dropdown-menu li a .dd-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Page hero (inner pages) */

.page-hero {
  background: var(--color-navy);
  background-image: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  color: var(--color-text-inverse);
  padding: 56px 0 64px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-inverse-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--color-text-inverse-muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.6rem);
  max-width: 720px;
}

.page-hero .lead {
  color: var(--color-text-inverse-muted);
  max-width: 640px;
  font-size: 1.05rem;
}

/* Home hero */

.home-hero {
  background: var(--color-navy);
  background-image: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
  color: var(--color-text-inverse);
  padding: 72px 0;
}

.home-hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.home-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
}

.home-hero .lead {
  color: var(--color-text-inverse-muted);
  font-size: 1.08rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-strip {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-dark);
}

.trust-strip div {
  min-width: 130px;
}

.trust-strip strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
}

.trust-strip span {
  font-size: 0.82rem;
  color: var(--color-text-inverse-muted);
}

/* Sections */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.section-header {
  max-width: 640px;
  margin: 0 0 44px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Card grids */

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

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.product-card .rate {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 6px 0 2px;
}

.product-card .rate span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.product-card ul {
  margin: 16px 0;
  padding-left: 18px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.product-card ul li {
  margin-bottom: 6px;
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

/* Two column layout */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-body ul.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.split-body ul.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.split-body ul.checklist li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  margin-top: 3px;
}

/* Placeholder images */

.placeholder-img {
  background: repeating-linear-gradient(
    135deg,
    var(--color-surface-alt),
    var(--color-surface-alt) 10px,
    #e7ebf4 10px,
    #e7ebf4 20px
  );
  border: 1.5px dashed #c3cbe0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  text-align: center;
  overflow: hidden;
}

.placeholder-img .ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
}

.placeholder-img svg {
  width: 34px;
  height: 34px;
  opacity: 0.55;
}

.placeholder-img span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.placeholder-img.has-image {
  background: var(--color-surface-alt);
  border: none;
  padding: 0;
}

.placeholder-img.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-3-2 { aspect-ratio: 3 / 2; }

/* Timeline (Geschichte) */

.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 32px;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 42px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-accent-soft);
}

.timeline-year {
  display: inline-block;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 6px;
}

/* Values grid (Vision) */

.value-card {
  text-align: left;
}

blockquote.pull-quote {
  border-left: 4px solid var(--color-accent);
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-navy);
}

blockquote.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--color-text-muted);
}

/* Comparison table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

table.compare th,
table.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

table.compare thead th {
  background: var(--color-surface-alt);
  color: var(--color-navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.compare tbody tr:last-child td {
  border-bottom: none;
}

table.compare td {
  color: var(--color-text-muted);
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 12px;
}

/* CTA banner */

.cta-banner {
  background: var(--color-navy);
  background-image: linear-gradient(120deg, var(--color-navy) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--radius);
  padding: 48px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--color-text-inverse-muted);
  margin: 0;
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-list .icon-badge {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-info-list strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 2px;
}

.contact-info-list span,
.contact-info-list a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

form.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-group.checkbox label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Legal / Impressum (reused) */

.legal-page {
  padding: 48px 0 90px;
}

.legal-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 56px 56px;
}

.legal-intro {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.legal-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-block h2 {
  font-size: 1.05rem;
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
  color: var(--color-text);
}

.legal-block p {
  color: var(--color-text-muted);
  margin: 0 0 12px;
  padding-left: 17px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block strong {
  color: var(--color-text);
}

/* Footer */

.site-footer {
  background: var(--color-navy);
  color: var(--color-text-inverse-muted);
  padding: 64px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand p {
  color: var(--color-text-inverse-muted);
  font-size: 0.88rem;
  margin-top: 14px;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--color-text-inverse-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.footer-bottom ul a {
  text-decoration: none;
  color: var(--color-text-inverse-muted);
}

.footer-bottom ul a:hover {
  color: #fff;
}

/* Responsive */

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .primary-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 0 20px;
    border-top: 1px solid var(--color-border);
    margin-top: 14px;
  }

  .has-dropdown {
    display: flex;
    flex-direction: column;
  }

  .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    background: var(--color-surface-alt);
    margin-top: 4px;
  }

  .has-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .home-hero .container,
  .split,
  .split.reverse .split-media,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .card-grid,
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  .card-grid,
  .card-grid.cols-2,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 32px 22px 40px;
    border-radius: 10px;
  }

  .cta-banner {
    padding: 36px 28px;
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }
}
