:root {
  --primary: #00737e;
  --primary-dark: #004351;
  --text: #00737e;
  --heading: #004351;
  --accent-pink: #ce087f;
  --accent-pink-dark: #d2093f;
  --accent-blue: #0055bf;
  --accent-blue-dark: #00087f;
  --bg: #f6f6f6;
  --white: #ffffff;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  font-weight: 500;
}

main {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 111, 121, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.logo img {
  width: 190px;
  height: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  margin: 5px 0;
  border-radius: 999px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  font-weight: 700;
  color: var(--primary-dark);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links a,
.nav-social-links a {
  color: var(--primary-dark);
  transition: color 0.2s ease;
  display: flex;
}

.social-links a:hover,
.social-links a:focus-visible,
.nav-social-links a:hover,
.nav-social-links a:focus-visible {
  color: var(--primary);
}

.social-icon {
  width: 24px;
  height: 24px;
}

.nav-social-links {
  display: none;
}

.hero {
  padding: 40px 0 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 35%, rgba(255,255,255,0.7) 55%, rgba(255,255,255,0) 100%),
    url('assets/hero-background.webp') right center / cover no-repeat;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
  min-height: 340px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding-left: 22px;
  padding-bottom: 20px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  max-width: 900px;
}

.hero-copy h1 strong {
  color: var(--heading);
  font-weight: 600;
}

.hero-copy h1 .subtitle {
  display: block;
  font-size: clamp(17px, 2vw, 20px);
  margin-top: 6px;
  color: var(--text);
  font-weight: 300;
}

.hero-copy p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
  color: var(--text);
}

.hero-copy strong {
  color: var(--heading);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 340px;
}

.hero-doctors {
  position: absolute;
  bottom: 0;
  right: -30px;
  height: 120%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
}

.hero-badge {
  position: absolute;
  right: 10px;
  top: 56%;
  transform: translateY(-50%) rotate(-2deg);
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 18px 22px;
  border-radius: 8px;
  width: 230px;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero-badge strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.product-grid-wrapper {
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin-top: -10px;
  position: relative;
  z-index: 10;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.product-card {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 6px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(160deg, #002d33 0%, var(--primary-dark) 100%);
}

.section {
  padding: 52px 0;
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: stretch;
}

.pill-title {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.pill-title strong {
  color: var(--white);
  font-weight: 600;
}

.check-list,
.info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-grid > div:first-child {
  display: flex;
  flex-direction: column;
}

.check-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.check-list li,
.info-block li {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.content-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
  display: block;
}

.surgery-image img,
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.surgery-sums-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.control-benefits-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: stretch;
}

.control-card {
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 26px 26px 0;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  height: 100%;
}

.control-card h3 {
  text-align: center;
  margin: 0 0 14px;
  font-size: 24px;
  color: #fff;
}

.control-card p {
  text-align: center;
  margin: 0 auto 16px;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
}

.cutout-doctor {
  position: relative;
  width: 185%;
  max-width: none;
  left: 54%;
  transform: translateX(-50%);
  margin-top: auto;
  margin-bottom: 0px; 
  display: block;
}

.info-block {
  margin-bottom: 38px;
}

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

.info-block li strong {
  color: var(--heading);
  font-weight: 700;
}

.asterisk-note {
  font-size: 14px;
  font-weight: 300;
  margin: 10px 0 0;
  color: var(--text);
}

.sum-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 10px;
}

.sum-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sum-arrow {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.sum-content {
  display: flex;
  flex-direction: column;
}

.sum-title {
  font-size: 18px;
  color: var(--text);
}

.sum-title strong {
  font-weight: 700;
}

.sum-sub {
  font-weight: 300;
  font-size: 16px;
}

.sum-amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
  color: var(--text);
  font-weight: 300;
  font-size: 16px;
}

.sum-value {
  color: var(--primary);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sum-sub-bottom {
  font-size: 14px;
  color: var(--text);
  font-weight: 300;
  margin-top: -2px;
}

.about-band {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 14px 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.about-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 32%, rgba(255,255,255,0.7) 52%, rgba(255,255,255,0.1) 75%, rgba(255,255,255,0) 100%),
    url('assets/about-us-image.webp') 62% 20% / cover no-repeat;
  padding: 80px 0;
  min-height: 480px;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  color: var(--text);
}

.about-text p {
  margin: 0 0 18px;
}

.about-text strong {
  color: var(--heading);
  font-weight: 700;
}

.made-in {
  width: 200px;
  margin-top: 28px;
}

.site-footer {
  padding: 48px 0 32px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 32px;
}

.footer-contact {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.footer-contact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
}

.footer-logo img {
  width: 180px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--text);
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.legal-page .hero-legal {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-start;
  background:
    linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)),
    url('assets/legal-header-bg.webp') center/cover no-repeat;
}

.top-back-link {
  display: inline-block;
  margin-top: 42px;
  font-size: 15px;
  color: #6d7a7f;
}

.legal-content {
  padding: 48px 0 40px;
}

.legal-content h1 {
  text-align: center;
  color: var(--heading);
  font-size: clamp(26px, 4vw, 58px);
  word-wrap: break-word;
  margin: 0 0 42px;
}

.legal-copy {
  width: min(100%, 980px);
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

.legal-copy p,
.legal-copy li {
  margin-bottom: 16px;
}

.legal-copy strong {
  color: var(--primary-dark);
}

.legal-copy ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-grid,
  .section-grid,
  .control-benefits-grid,
  .surgery-sums-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .hero-badge {
    right: 16px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 32px 24px 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(13, 111, 121, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a {
    font-size: 20px;
    padding: 8px 16px;
  }

  .social-links {
    display: none;
  }

  .nav-social-links {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 12px;
  }

  .nav-social-links .social-icon {
    width: 32px;
    height: 32px;
  }

  .section {
    padding: 32px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-copy p:last-child,
  .check-list li,
  .info-block li,
  .about-text,
  .legal-copy {
    font-size: 18px;
  }

  .control-card {
    min-height: auto;
  }

  .surgery-sums-grid {
    gap: 32px;
  }

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

  .hero-badge {
    position: relative;
    transform: rotate(-2deg);
    width: fit-content;
    max-width: 280px;
    margin: 8px auto 48px;
    right: auto;
    z-index: 12;
  }

  .sum-value {
    font-size: 38px;
  }

  .about-section {
    background-position: 75% center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .logo img {
    width: 160px;
  }

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

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   Folgekostenversicherung (FKV) Page Styles
   ========================================================================== */

.hero-fkv {
  padding: 100px 0 60px;
  background: url('assets/Hintergrund-FKV-oben.webp') center / cover no-repeat;
  overflow: hidden;
}

.hero-fkv-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 12px;
  position: relative;
  padding: 48px 56px;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: visible;
  min-height: 240px;
}

.hero-fkv-copy {
  color: var(--white);
  max-width: 58%;
  position: relative;
  z-index: 2;
}

.hero-fkv-pretitle {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hero-fkv-pretitle strong {
  font-weight: 700;
}

.hero-fkv-copy h1 {
  margin: 0 0 32px;
  color: var(--white);
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.4;
  font-weight: 300;
}

.hero-fkv-copy p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-fkv-copy p strong {
  font-weight: 700;
  color: var(--white);
}

.hero-fkv-image-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: calc(100% + 260px);
  background: url('assets/Frau-FKV-oben.webp') 82% top / auto 100% no-repeat;
  z-index: 3;
}

.hero-fkv-image {
  display: none;
}

/* FKV Info Section */
.fkv-info-section {
  padding-bottom: 80px;
}

.pill-title {
  display: inline-block;
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 8px;
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: 500;
}

.pill-title strong {
  font-weight: 700;
}

.fkv-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.fkv-info-right {
  display: flex;
}

.fkv-info-left p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fkv-info-left p strong {
  color: var(--heading);
  font-weight: 700;
}

.fkv-nice-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 12px;
  padding: 40px 36px 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fkv-nice-card h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
  color: var(--white);
}

.fkv-nice-card h3 strong {
  font-weight: 700;
}

.fkv-nice-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
}

.fkv-nice-card p strong {
  font-weight: 700;
  color: var(--white);
}

.nice-card-image {
  width: 75%;
  max-width: 320px;
  margin: auto auto 0;
  display: block;
}

/* FKV Schutz Section */
.fkv-schutz-section {
  padding: 80px 0;
}

.fkv-schutz-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: stretch;
}

.fkv-schutz-image {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.fkv-schutz-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 15% center;
  display: block;
}

.fkv-schutz-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.fkv-dot-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.fkv-dot-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.fkv-dot-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

/* FKV Trust Section */
.fkv-trust-section {
  padding: 80px 0 120px;
}

.fkv-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.fkv-trust-image {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.fkv-trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--primary-dark);
  color: var(--white);
}

.fkv-text-block h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 300;
}

.fkv-text-block h2 strong {
  color: var(--heading);
  font-weight: 700;
}

.fkv-text-block p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.fkv-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.fkv-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
  top: -2px;
}

.rounded-image img {
  border-radius: 16px;
}

.bg-light-petrol {
  background: #f0f6f7;
}

.text-center {
  text-align: center;
}

.mb-40 {
  margin-bottom: 40px;
}

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

.benefit-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.benefit-card h3 {
  color: var(--heading);
  font-size: 18px;
  margin: 0 0 12px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.align-center {
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-fkv-banner {
    display: flex;
    flex-direction: column;
    padding: 60px 24px 0;
    margin: 0 16px;
    align-items: center;
    text-align: center;
    min-height: auto;
  }

  .hero-fkv-copy {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-fkv-image-wrapper {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    height: auto;
    background: none;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .hero-fkv-image {
    display: block;
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    bottom: 0;
    transform: scale(1.6);
    transform-origin: bottom center;
  }
}

@media (max-width: 820px) {
  .benefits-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .fkv-text-block h2 {
    font-size: 28px;
  }

  .fkv-info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fkv-schutz-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .fkv-trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fkv-schutz-image,
  .fkv-trust-image {
    height: auto;
  }

  .section {
    padding: 32px 0;
  }

  .fkv-schutz-section {
    padding: 32px 0;
  }

  .fkv-trust-section {
    padding: 32px 0 60px;
  }
}

.fkv-bottom-band {
  background: var(--primary);
  height: 60px;
  width: 100%;
}
