:root {
  --color-primary: #06273A;
  --color-secondary: #e5edf5;
  --color-text: #1a1a1a;
  --color-muted: #6b7280;
  --color-bg: #ffffff;

  --radius: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --spacing: 1rem;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
.header {

  border-bottom: none;
  background: var(--color-primary);
  color: #fff;

}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__inner--minimal {
  justify-content: center;
}

.header__logo {
  display: flex;
  align-items: center;
  order: 2;
}

.nav {
  order: 1;
}

.header__toggle {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  line-height: 1;
  color: #fff;
  transition: all 0.2s ease;
  opacity: 0.9;
  order: 0;
}

.header__logo-image {
  display: block;
  width: 50px;
  height: 50px;
}

.header__toggle:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.header__toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
  opacity: 1;
}

/* When menu is open, show X instead of hamburger */
.header__toggle[aria-expanded="true"] {
  font-size: 0;
  opacity: 0.7;
  background: transparent;
}

.header__toggle[aria-expanded="true"]::before {
  content: "✕";
  font-size: 1.75rem;
  color: #fff;
}

.header__toggle[aria-expanded="true"]:hover {
  opacity: 1;
  background: transparent;
}

.header__toggle[aria-expanded="true"]:focus-visible {
  opacity: 1;
}

/* NAV */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(6, 39, 58, 0.94);
  padding: 1.5rem 1rem 1rem;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  will-change: transform;
}

.nav.nav--open {
  display: block;
  transform: translateX(0);
}

.nav--submenu-open .nav__list > li:not(.nav__item--submenu-active) {
  display: none;
}

.nav--submenu-open .nav__item--submenu-active .nav__submenu {
  display: grid;
}

.nav--submenu-open .nav__item--submenu-active > .nav__link::after {
  content: "←";
  margin-left: auto;
}

.nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nav__list li {
  margin: 0.75rem 0;
}

.nav__item--cta {
  order: -1;
}

.nav__cta {
  font-weight: 600;
}

/* Dropdown / Submenu basics */
.nav__item {
  position: relative;
}

/* Buttons should look like links */
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.header a { color: #fff;}

.nav__link:focus-visible {
  outline: 3px solid rgba(31, 58, 95, 0.25);
  outline-offset: 2px;
  border-radius: 6px;
}

.nav__submenu-toggle::after {
  content: "▾";
  font-size: 1.2em;
  line-height: 1;
  margin-left: 0.35rem;
}
.nav__submenu-toggle {
  padding-right: 0.5rem;
}

/* Mobile-first submenu: inline block, collapsible */
.nav__submenu {
  list-style: none;
  margin: 0.25rem 0 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 2px solid rgba(6, 39, 58, 0.2);
  display: grid;
  gap: 0.25rem;
}

.nav__submenu[hidden] {
  display: none !important;
}

.nav__sublink {
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
  color: inherit;
}

.nav__sublink .nav__icon {
  margin-right: 0.35rem;
  opacity: 0.88;
}

.nav__sublink:hover .nav__text {
  text-decoration: underline;
}

.nav__item--cta .nav__cta {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border: 2px solid #fff;
}

.nav__item--cta .nav__cta:hover {
  background: #fff;
  color: var(--color-primary);
  filter: brightness(0.95);
}

.nav__item--cta .nav__cta:focus-visible {
  outline: 3px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

/* HERO */
.hero {
  padding: 4rem 1rem;
  background: var(--color-secondary);
}

.hero__content {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* HERO MIT BILD (Zwei-Spalten-Variante) */
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__inner .hero__content {
  max-width: none;
  margin: 0;
}

.hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.hero__image--portrait {
  max-width: 280px;
  margin: 0 auto;
}

.hero__image-figure {
  margin: 0;
}

.hero__image-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.hero__image--portrait + figcaption {
  text-align: center;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero__title {
  font-size: 2rem;
  text-align: left;
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* SECTIONS */
.section {
  padding: 3rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--light {
  background: #f9fafb;
}

.section--hero-bg {
  background: var(--color-secondary);
}

.section--full-width {
  max-width: none;
  margin: 0;
  width: 100%;
}

.section--full-width > .section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  margin-bottom: 2rem;
  text-align: center;
}

/* Ankersprung-Offset: sticky Header (~82px) darf das Sprungziel nicht verdecken.
   Sorgt dafür, dass ein Klick auf #termin auf der Kontaktseite sauber auf der
   Überschrift „Erstgespräch buchen" landet statt darunter. */
#termin {
  scroll-margin-top: 3.5rem;
}

/* CARDS */
.cards {
  display: grid;
  gap: 1.5rem;
}

.card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.card:focus-visible {
  outline: 3px solid rgba(6, 39, 58, 0.25);
  outline-offset: 4px;
}

/* STEPS */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.step strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* TRUST */
.trust__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.trust {
  list-style: none;
  padding: 0;
}

.trust li {
  margin-bottom: 0.5rem;
}

.trust__claim {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 1rem;
  max-width: 300px;
}

.trust__claim-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem 0;
  text-align: left;
}

.trust__divider {
  width: 250px;
  height: 2px;
  background: var(--color-primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.trust__link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.trust__link:hover,
.trust__link:focus-visible {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust__claim {
    margin-left: 0;
    margin-right: 2rem;
    justify-self: end;
  }
}

/* FAQ */
.faq details {
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
}

.faq details[open] summary::after {
  content: "▴";
}

.faq p {
  margin: 0.75rem 0 0 0;
  color: var(--color-muted);
  line-height: 1.7;
}

/* CTA */
.cta {
  padding: 3rem 1rem;
  text-align: center;
  background: var(--color-secondary);
  color: var(--color-text);
}

.cta__title {
  margin-bottom: 0.75rem;
  text-align: center;
}

.cta p {
  margin: 0;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.cta__actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.footer__links li {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer__links a {
  color: #fff;
  text-decoration: none;
  font-size: inherit;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  text-decoration: underline;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
/* DESKTOP */
@media (min-width: 768px) {
  .nav {
    display: block;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .nav.nav--open {
    transform: none;
  }

  .header__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-direction: row;
  }
  
  .nav__list li {
    margin: 0;
  }

  .nav__link {
    padding: 0.4rem 0;
    font-size: 1.05rem;
    font-weight: 500;
  }

  /* Desktop submenu: dropdown panel */
  .nav__submenu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 240px;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.75rem;
    border-left: none;
    z-index: 50;
  }

  .nav__submenu a {
    color:#1a1a1a;
    font-weight: 400;
  }

  /* Optional: open on hover/focus (JS click still works) */
  .nav__item--has-submenu:hover > .nav__submenu,
  .nav__item--has-submenu:focus-within > .nav__submenu {
    display: grid;
  }

  /* If hidden attribute exists, always hide (JS wins) */
  .nav__submenu[hidden] {
    display: none !important;
  }

  body {
    font-size: 1.05rem;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__title {
    font-size: 2rem;
  }

  .card::after {
    content: "mehr erfahren →";
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: var(--color-primary);
  }

  .card--no-link::after {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}


/* -----------------------------
   Forms
-------------------------------- */

.form {
  margin-top: 1rem;
}

.form__legend {
  font-weight: 700;
  margin-bottom: 1rem;
}

.form__row {
  margin: 1rem 0;
  display: grid;
  gap: 1rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-weight: 600;
}

.field__hint {
  font-size: 0.875rem;
  color: var(--color-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid #d1d5db;
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 58, 95, 0.25);
  border-color: var(--color-primary);
}

.is-invalid {
  border-color: #dc2626;
  outline: 3px solid rgba(220, 38, 38, 0.15);
}

.form__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.form__actions--wrap {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.form__fineprint {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.form__status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.form__status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form__status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}


.summary__intro {
  margin-top: 0;
}

.summary__list {
  margin: 1rem 0 0 0;
  display: grid;
  gap: 0.75rem;
}

.summary__item {
  display: grid;
  gap: 0.25rem;
}

.summary__item dt {
  font-weight: 700;
}

.summary__item dd {
  margin: 0;
}

.cta-inline {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--color-secondary);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-inline__text {
  margin: 0;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HERO ERWEITERT */
.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.75rem 0;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.btn--lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  min-height: 52px;
}

.btn--ghost {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

/* RATING BAR */
.section--light {
  background: #f4f7fa;
}

.section__inner--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.rating-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rating-bar__score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-bar__stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.rating-bar__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.rating-bar__label {
  color: var(--color-muted);
}

.rating-bar__meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.rating-bar__link {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .rating-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* TESTIMONIALS */
.testimonials {
  display: grid;
  gap: 1rem;
}

.testimonial {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--color-primary);
}

.testimonial__text {
  margin: 0 0 0.75rem 0;
  font-style: italic;
  line-height: 1.6;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.testimonial__stars {
  color: #f59e0b;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARDS: Icon */
.card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* PROZESS STEPS ERWEITERT */
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step__body {
  flex: 1;
}

.step__title {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

/* ÜBER UNS */
.about {
  display: grid;
  gap: 2rem;
}

.about__image-wrap {
  aspect-ratio: 4 / 3;
  background: var(--color-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 480px;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__trust-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.4rem;
}

.about__trust-list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.about__trust-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.8rem;
  top: 0.15em;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 320px 1fr;
    align-items: stretch;
  }

  .about__image-wrap {
    aspect-ratio: unset;
    max-width: none;
  }
}

/* KONTAKT SEKTION */
.contact {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact__intro h2 {
  margin-top: 0;
}

.contact__direct {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact__direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.contact__direct-link:hover,
.contact__direct-link:focus-visible {
  text-decoration: underline;
}

.field__label--light {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .contact {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .contact__direct {
    flex-direction: column;
  }
}

/* FOOTER ERWEITERT */
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer__trust {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer__trust a {
  color: #fff;
  text-decoration: underline;
}

/* MOBILE STICKY CTA-BAR */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-primary);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
}

.cta-bar--single {
  grid-template-columns: 1fr;
}

.cta-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.875rem 1rem;
  min-height: 56px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
  /* Kein blauer Tap-Flash auf iOS/Android */
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.cta-bar__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: -2px;
}

.cta-bar__btn--call {
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover nur auf Geräten die echtes Hover unterstützen */
@media (hover: hover) {
  .cta-bar__btn--call:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .cta-bar__btn--book:hover {
    background: #e8f0f8;
  }
}

.cta-bar__btn--book {
  background: #fff;
  color: var(--color-primary);
}

/* Ab 1024px: CTA-Bar ausblenden, genug Platz für Desktop-Navigation */
@media (min-width: 1024px) {
  .cta-bar {
    display: none;
  }
}

/* Abstand damit Footer nicht hinter CTA-Bar verschwindet */
@media (max-width: 1023px) {
  body {
    padding-bottom: 56px;
  }
}

/* SIMPLR APP SHOWCASE */
.simplr-showcase {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.simplr-showcase__image {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 2rem auto 0;
  display: block;
}

@media (min-width: 768px) {
  .simplr-showcase {
    grid-template-columns: 1fr 260px;
  }

  .simplr-showcase__image {
    margin: 0;
  }
}

/* TEAM-FOTO in Über-uns */
.about__image-wrap--round {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  max-width: 260px;
  margin: 0 auto;
}

.about__image-wrap--round .about__image {
  border-radius: 50%;
}

.about__team {
  margin: 1.5rem 0 0 0;
}

.about__team-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.about__team-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

/* STATISTIK-GRAFIKEN */
.stat-figure {
  margin: 2rem 0 0;
}

.stat-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem;
}

.stat-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .stat-figure--narrow {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* PORTRAIT-DUO (Team) */
.portrait-duo {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
}

.portrait-duo__item {
  flex: 1;
  max-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.portrait-duo__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.portrait-duo__name {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus-visible {
  opacity: 0.85;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 44px;
}

.cookie-banner__btn--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cookie-banner__btn--secondary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .cookie-banner__text {
    max-width: 65%;
  }

  .cookie-banner__actions {
    flex-shrink: 0;
  }
}

/* Externer-Link-Hinweis */
.ext-link-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 39, 58, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ext-link-overlay--visible {
  opacity: 1;
  visibility: visible;
}

.ext-link-modal {
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 2rem 1.5rem;
  max-width: 480px;
  width: 100%;
}

.ext-link-modal__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.ext-link-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.ext-link-modal__text {
  margin: 0 0 0.75rem;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.ext-link-modal__url {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
  word-break: break-all;
}

.ext-link-modal__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* === RECHNER START === */

.rechner__subline {
  text-align: center;
  color: var(--color-muted);
  max-width: 640px;
  margin: -1rem auto 2rem;
}

/* Layout: Wizard links, Trust-Sidebar rechts (ab 1024px) */
.rechner__layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .rechner__layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

/* Wizard-Container */
.rechner__wizard {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .rechner__wizard {
    padding: 2rem;
  }
}

/* Progress-Bar */
.rechner__progress {
  margin-bottom: 2rem;
}

.rechner__progress-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.rechner__progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.rechner__progress-item--line {
  flex: 1;
  height: 2px;
  background: #d1d5db;
  max-width: 60px;
  min-width: 20px;
  margin-bottom: 1.2rem; /* align with dot center */
}

.rechner__dot {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  color: var(--color-muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.rechner__dot:disabled {
  opacity: 0.5;
  cursor: default;
}

.rechner__dot:not(:disabled) {
  cursor: pointer;
}

.rechner__dot:not(:disabled):hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.rechner__dot--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.rechner__dot--done {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.rechner__dot-label {
  font-size: 0.7rem;
  color: var(--color-muted);
  text-align: center;
  white-space: nowrap;
}

/* Panel */
.rechner__panel-title {
  font-size: 1.15rem;
  margin: 0 0 1.5rem;
  color: var(--color-primary);
}

/* Radio-Grid: 2x2 Mobile, 4 Spalten Desktop */
.rechner__radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .rechner__radio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rechner__radio-card {
  position: relative;
  cursor: pointer;
}

.rechner__radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rechner__radio-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
  min-height: 80px;
  justify-content: center;
}

.rechner__radio-card:hover .rechner__radio-inner {
  border-color: var(--color-primary);
}

.rechner__radio-card input:checked + .rechner__radio-inner {
  border-color: var(--color-primary);
  background: var(--color-secondary);
}

.rechner__radio-card input:focus-visible + .rechner__radio-inner {
  outline: 3px solid rgba(6, 39, 58, 0.3);
  outline-offset: 2px;
}

.rechner__radio-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.rechner__radio-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

/* Slider-Gruppe */
.rechner__slider-wrap {
  margin-bottom: 1.5rem;
}

.rechner__slider-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.rechner__slider-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.rechner__range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #d1d5db;
  border-radius: 3px;
  border: none;
  min-width: 0;
  /* 44px touch-target */
  padding: 19px 0;
  cursor: pointer;
}

.rechner__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.rechner__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.rechner__range:focus-visible {
  outline: 3px solid rgba(6, 39, 58, 0.3);
  outline-offset: 2px;
}

.rechner__num-wrap {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.rechner__num-input {
  width: 90px;
  padding: 0.5rem 0.6rem;
  text-align: right;
  font-size: 0.9rem;
  /* Override global input width */
  width: 90px !important;
}

.rechner__unit {
  font-size: 0.9rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.rechner__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.2rem;
}

.rechner__select {
  width: 100% !important;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}

/* Nebenkosten */
.rechner__nebenkosten {
  background: #f4f7fa;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.rechner__nebenkosten-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
}

.rechner__nebenkosten-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.rechner__nebenkosten-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  gap: 0.5rem;
}

.rechner__nebenkosten-total {
  border-top: 1px solid #d1d5db;
  padding-top: 0.4rem;
  margin-top: 0.25rem;
  font-weight: 700 !important;
}

.rechner__check-inline {
  margin: 0;
  font-size: 0.875rem;
}

/* Live-Summary */
.rechner__summary {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.rechner__summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
}

.rechner__summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rechner__summary-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 400;
}

.rechner__summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.rechner__summary-value--highlight {
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* Hinweis-Boxen */
.rechner__hint {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.rechner__hint--info {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  color: #1e3a5f;
}

.rechner__hint--neutral {
  background: #f4f7fa;
  border-left: 3px solid var(--color-muted);
  color: var(--color-text);
}

/* Details/Summary für erweiterte Angaben */
.rechner__details {
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.rechner__details-summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
  color: var(--color-primary);
}

.rechner__details-summary::-webkit-details-marker { display: none; }

.rechner__details-summary::after {
  content: " ▾";
  font-size: 0.85em;
}

.rechner__details[open] .rechner__details-summary::after {
  content: " ▴";
}

.rechner__details-body {
  padding: 0.25rem 1rem 1rem;
}

/* Navigation Buttons */
.rechner__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Ampel */
.rechner__ampel {
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.rechner__ampel--gruen {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
}

.rechner__ampel--gelb {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
}

.rechner__ampel--rot {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.rechner__ampel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.rechner__ampel-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.rechner__ampel-status {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: var(--color-text);
}

.rechner__ampel-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}

/* Kernzahlen */
.rechner__kernzahlen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .rechner__kernzahlen {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rechner__kernzahl {
  background: #f4f7fa;
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
}

.rechner__kernzahl-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 400;
  display: block;
  margin-bottom: 0.25rem;
}

.rechner__kernzahl-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.rechner__kernzahl-value--small {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Marktindikator-Box */
.rechner__market-box {
  background: #f4f7fa;
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.rechner__market-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}

.rechner__market-source {
  color: var(--color-muted);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.2rem;
}

/* Europace-Hinweis */
.rechner__europace-hint {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-primary);
  line-height: 1.6;
}

/* Lead-Form Legende */
.rechner__lead-legend {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
}

/* Lead-Form Container */
.rechner__lead-form {
  border-top: 2px solid var(--color-secondary);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* § 6a PAngV */
.rechner__pangv {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
}

.rechner__pangv-title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.rechner__pangv-text {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

/* Disclaimer */
.rechner__disclaimer {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
}

/* Erfolgs-Meldung nach Lead-Submit */
.rechner__success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #065f46;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.rechner__success p {
  margin: 0;
}

/* Trust-Sidebar */
.rechner__trust {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.rechner__trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.rechner__trust-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.rechner__trust-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Rechner-Hinweis-Block auf Unterseiten */
.rechner-teaser {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .rechner-teaser {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.rechner-teaser__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* === RECHNER END === */

/* =========================================================================
   VERSICHERUNGS-CHECK
   ========================================================================= */

/* Checkbox-Cards (Schritt 3): identische Optik wie Radio-Cards, mehrfach wählbar */
.vcheck__checkbox-card {
  cursor: pointer;
}

/* Badge-Inline-Labels im Ergebnis */
.vcheck__badge {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.vcheck__badge--pflicht,
.vcheck__badge--existenziell {
  background: #fee2e2;
  color: #991b1b;
}

.vcheck__badge--empfohlen {
  background: #fef3c7;
  color: #92400e;
}

.vcheck__badge--optional {
  background: #f3f4f6;
  color: #374151;
}

.vcheck__badge--kein {
  background: #f3f4f6;
  color: #9ca3af;
}

/* Ergebnis-Gruppen */
.vcheck__gruppe {
  margin-bottom: 2rem;
}

.vcheck__gruppe-titel {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
}

.vcheck__liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.vcheck__item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

/* Klickbare Header-Zeile (Schaltfläche) */
.vcheck__item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  color: inherit;
  text-align: left;
}

.vcheck__item-header:hover {
  background: #f9fafb;
}

/* Nicht-klickbare Variante (kein_bedarf) */
.vcheck__item-header--plain {
  cursor: default;
}

.vcheck__item-header--plain:hover {
  background: none;
}

.vcheck__item-name {
  flex: 1;
}

/* Pfeil-Icon */
.vcheck__item-expand {
  margin-left: auto;
  color: var(--color-muted);
  font-size: 0.8rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.vcheck__item--open .vcheck__item-expand {
  transform: rotate(180deg);
}

/* Aufgeklappte Beschreibung */
.vcheck__item-desc {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: var(--color-text);
  background: #f9fafb;
}

.vcheck__item-desc p {
  margin: 0 0 0.625rem;
  line-height: 1.55;
}

.vcheck__item-mehr {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.vcheck__item-mehr:hover {
  text-decoration: underline;
}

/* PKV-Hinweis-Box (Schritt 2) */
.vcheck__hinweis {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-secondary);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--color-text);
  display: none;
}

.vcheck__hinweis--sichtbar {
  display: block;
}

/* Zusammenfassung über dem Ergebnis */
.vcheck__zusammenfassung {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-secondary);
  border-radius: 6px;
  font-size: 0.9rem;
}

/* CTA-Block im Ergebnis */
.vcheck__cta {
  margin: 2rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-secondary);
  border-radius: var(--radius);
}

.vcheck__cta p {
  margin: 0 0 1rem;
  font-weight: 500;
}

/* === VERSICHERUNGS-CHECK END === */

/* =========================================================================
   RATGEBER-ARTIKEL
   ========================================================================= */

.article-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2rem;
}

/* Callout-Box: "Das Wichtigste vorab" / "In Kürze" */
.article-callout {
  background: var(--color-secondary);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.article-callout__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.625rem;
}

.article-callout p,
.article-callout ul,
.article-callout ol {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.article-callout p + p,
.article-callout p + ul {
  margin-top: 0.5rem;
}

/* Stat-Highlight: einzelne Schlüsselzahl */
.article-stat {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  margin: 1.75rem 0;
}

.article-stat__number {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.article-stat__label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
}

/* Tipp-Box */
.article-tip {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.article-tip p {
  margin: 0;
}

.article-tip p + p {
  margin-top: 0.4rem;
}

/* Warn-Box */
.article-warn {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.article-warn p {
  margin: 0;
}

.article-warn p + p {
  margin-top: 0.4rem;
}

/* Vergleichs-Grid */
.article-compare {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

.article-compare__col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.25rem;
}

.article-compare__col--pro {
  border-top: 3px solid #22c55e;
}

.article-compare__col--con {
  border-top: 3px solid #ef4444;
}

.article-compare__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.875rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.article-compare__list li {
  font-size: 0.9rem;
  line-height: 1.55;
  padding-left: 1.4rem;
  position: relative;
}

.article-compare__col--pro .article-compare__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 0.8rem;
  top: 0.2em;
}

.article-compare__col--con .article-compare__list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-size: 0.8rem;
  top: 0.2em;
}

@media (min-width: 768px) {
  .article-compare {
    grid-template-columns: 1fr 1fr;
  }
}

/* Vergleichs-Tabelle */
.article-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 500px;
}

.article-table th,
.article-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
}

.article-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

.article-table thead th span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.article-table thead th:first-child {
  width: 38%;
}

.article-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

.article-table__row--total td {
  background: var(--color-secondary) !important;
  font-weight: 700;
  border-top: 2px solid var(--color-primary);
  border-bottom: none;
}

.article-table__row--result td {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.875rem 1rem;
  border-bottom: none;
}

.article-table__footnote {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

