/* ── SCHRIFTEN (selbst gehostet, woff2) ── */
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 900; font-display: swap;
  src: url('../fonts/barlow-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/barlow-condensed-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #275d52;
  --bg:      #f3f3f3;
  --card-bg: #ffffff;
  --text:    #1a1a1a;
  --radius:  14px;
}

/* ── BASE ── */
body {
  background: var(--bg);
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── HEADER ── */
header {
  width: 100%; background: #fff;
  display: flex; justify-content: center; align-items: center;
  gap: 20px;                                 /* 20px Abstand zwischen Logo & Portrait */
  padding: 18px 24px; border-bottom: 1px solid #e2e2e2;
}
.logo-img { height: 56px; width: auto; display: block; }
.header-portrait { height: 56px; width: auto; display: block; }

/* ── PROGRESS ── */
.progress-wrap { width: min(600px, 90%); margin: 28px auto 0; }
.progress-bar { width: 100%; height: 6px; background: #ddd; border-radius: 99px; overflow: hidden; }
.progress-bar-fill { height: 100%; width: 11%; background: #009933; border-radius: 99px; transition: width .6s ease; }

/* ── BACK BUTTON ── */
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: 'Barlow', sans-serif; font-size: .95rem; font-weight: 700;
  color: #777; padding: 4px 0; margin-bottom: 12px;
  transition: color .18s;
}
.btn-back:hover { color: var(--text); }
.btn-back span { font-size: 1.15rem; line-height: 1; }

/* ── MAIN ── */
main {
  width: min(640px, 92%);
  display: flex; flex-direction: column; align-items: center;
  padding: 44px 0 80px; gap: 14px; flex: 1;
}

/* ── FOOTER ── */
footer {
  width: 100%;
  background: #005700;
  color: #eaf3ef;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 6px 20px;
  padding: 14px 20px; font-size: .82rem;
}
footer a { color: #fff; text-decoration: underline; cursor: pointer; }
footer a:hover { color: #fff; opacity: .85; }
.footer-sep { color: rgba(255,255,255,.5); }

/* ── HEADLINES ── */
.headline {
  font-size: clamp(1.8rem, 5.5vw, 2.7rem);
  font-weight: 900; text-align: center; line-height: 1.15;
  color: var(--text); width: 100%;
}
/* Mobile Ansicht: Headlines kleiner (20% reduziert, davon +7%) */
@media (max-width: 600px) {
  .headline { font-size: clamp(1.54rem, 4.7vw, 2.31rem); }
}

/* Umbruch nur auf der mobilen Ansicht */
.br-mobile { display: none; }
@media (max-width: 600px) {
  .br-mobile { display: inline; }
}
.subline {
  font-size: 1.05rem; color: #555;
  text-align: center; margin-top: 2px;
}

/* Hinweis-Block Startseite */
.contact-note {
  text-align: center;
  margin: 10px 0 0;        /* Abstand oben 10px, unten 0 */
}
.contact-note-title {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
}
.contact-note-sub {
  font-size: 1.15rem; color: #555; margin-top: 4px;
}

/* Startseite: alle Textzeilen einheitlich 1.15rem */
#step1 .subline { font-size: 1.15rem; }

/* ── STEP VISIBILITY ── */
.step { display: none; width: 100%; flex-direction: column; align-items: center; gap: 14px; }
.step.active { display: flex; animation: fadeIn .35s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CARD BUTTONS (Step 1) ── */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; margin-top: 20px; }
/* Einzelner, zentrierter Start-Button (gleiche Kartengröße) */
.cards-single { grid-template-columns: minmax(0, 320px); justify-content: center; }
/* Mobil: Start-Button über die volle Breite, zentriert
   (.cards.cards-single = höhere Spezifität, schlägt die .cards-Regel weiter unten) */
@media (max-width: 640px) {
  .cards.cards-single { grid-template-columns: 1fr; }
}

/* Zwei Buttons: mobil untereinander (aktueller oben, „Direkt zum Angebot" darunter),
   Desktop nebeneinander mit „Direkt zum Angebot" links */
.cards.cards-double { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 601px) {
  .cards.cards-double { flex-direction: row-reverse; }
  .cards.cards-double .card { flex: 1; min-width: 0; }
}
.card-img { width: 100%; display: block; }
.card {
  background: var(--card-bg); border: 2px solid #e0e0e0;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .2s; text-align: left;
}
.card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.10); }
.card:active { transform: translateY(0); }
.card-img-placeholder {
  width: 100%; aspect-ratio: 2/1;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
}
.card-img-placeholder.work { background: linear-gradient(135deg, #b0b0b0 0%, #7a7a7a 100%); }
.card-img-placeholder.boss { background: linear-gradient(135deg, #c8c8c8 0%, #909090 100%); }
.card-label { padding: 12px 16px 14px; font-size: 1rem; font-weight: 700; color: var(--text); }

/* ── BENEFITS LIST ── */
.benefits-list {
  list-style: none;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px; margin: 24px 0 36px; width: 100%;
}
.benefits-list li {
  font-size: 1.12rem; font-weight: 600; color: var(--text);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.45;
}
.benefits-list .b-icon {                              /* hochwertiger Haken-Badge */
  flex-shrink: 0; margin-top: 2px;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #275d52 0%, #479e78 100%);
  color: #fff; border-radius: 50%;
  font-size: .8rem; font-weight: 900; line-height: 1;
}
.benefits-list li strong { font-weight: 700; }
.benefits-list .b-thin { font-weight: 400; }          /* dünner Beschreibungstext */

/* ── FACTS LIST ── */
.facts-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  margin: 24px 0 36px; width: 100%;
}
.facts-list li {
  background: #fff; border-radius: var(--radius);
  padding: 18px 20px; font-size: 1.05rem; font-weight: 600;
  color: var(--text); display: flex; align-items: center; gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ── BODY TEXT ── */
.body-text {
  font-size: 1rem; font-weight: 400; text-align: center; line-height: 1.7;
  color: #444; margin: 16px 0 20px; max-width: 560px;
}
.alltag-text {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600; text-align: center; line-height: 1.55;
  color: #333; margin: 30px 0 50px; max-width: 560px;
}

/* ── CTA BUTTON ── */
.btn-cta {
  display: block; background: #009933; color: #fff;
  font-family: 'Barlow', sans-serif; font-size: 1.1rem; font-weight: 800;
  padding: 20px 40px; border: none; border-radius: var(--radius);
  cursor: pointer; transition: background .2s, transform .15s;
  width: 100%; max-width: 560px; text-align: center;
}
.btn-cta::after { content: " →"; white-space: nowrap; }

/* Zweizeiliger Button mit kleiner Unterzeile */
.btn-multi { display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.2; }
.btn-multi::after { content: none; }            /* Pfeil ist schon im Haupttext */
.btn-multi .btn-sub { font-size: .9rem; font-weight: 400; opacity: .85; }
.btn-cta:hover { background: #007a29; transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0); }
.btn-cta:disabled { background: #999; cursor: not-allowed; transform: none; }
/* Schmaler Button (z. B. „Weiter" über der Überschrift) */
.btn-narrow { width: auto; padding: 11px 30px; font-size: 1rem; margin-bottom: 6px; }

/* ── CHOICE LIST ── */
.choice-list { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 24px 0 32px; }
.choice-list.multi { margin-top: 10px; }   /* Mobil & Desktop einheitlich 10px oben */

/* Vorerkrankungen: Detailfeld bei „Ja" näher an die Auswahl rücken */
#step9 .choice-list { margin-bottom: 0; }
#vorerkrankungDetail { margin-top: 0; }
.choice-item {
  background: #ebebeb; border: 2px solid transparent;
  border-radius: var(--radius); padding: 18px 22px;
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  cursor: pointer; text-align: left;
  transition: border-color .18s, background .18s;
  display: flex; align-items: center; gap: 12px; width: 100%;
}
.choice-item:hover { background: #e0e0e0; }
.choice-item.selected { border-color: #275d52; background: #fff; }

/* Mehrfachauswahl: Auswahl-Kreis (Dot), damit klar ist, dass man wählen kann */
.choice-list.multi .choice-item::before {
  content: "";
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; flex-shrink: 0;
  border: 2px solid #c4c4c4; border-radius: 50%;
  color: #fff; font-size: .85rem; font-weight: 700;
  transition: background .15s, border-color .15s;
}
.choice-list.multi .choice-item.selected::before {
  content: "✓";
  background: var(--green); border-color: var(--green);
}

/* ── INFO-GRAFIK (Zwischen-Slides) ── */
.info-img {
  width: 100%; max-width: 560px; height: auto;
  border-radius: var(--radius); margin: 14px 0 24px;
}

/* ── OP-BALKENDIAGRAMM ── */
.op-chart {
  width: 100%;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px 22px; margin: 20px 0 28px;
}
.op-label {
  font-size: .95rem; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.2;
}
.op-track {
  position: relative; height: 34px;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: inset 0 0 0 1px #e6e6e6;
}
.op-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: #275d52; border-radius: 8px;
  transition: width 1.1s cubic-bezier(.22,.61,.36,1);
}
.op-amount {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: .95rem; font-weight: 800; color: #275d52; white-space: nowrap;
}
.op-amount.light { color: #fff; }

@media (max-width: 600px) {
  .op-chart { grid-template-columns: 1fr; gap: 14px; }
}
.op-source {
  width: 100%; text-align: right;
  font-size: .78rem; color: #999; margin: -14px 0 22px;
}

/* ── HEADLINE HIGHLIGHT ── */
.headline .hl {
  background: linear-gradient(90deg, #275d52 0%, #479e78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #275d52;            /* Fallback, falls Verlauf-Text nicht unterstützt wird */
}

/* ── TRUST / SOCIAL PROOF (Was uns auszeichnet) ── */
.trust-grid {
  display: flex;
  flex-direction: column;            /* immer untereinander – auch auf Desktop */
  gap: 20px; width: 100%; margin: 26px 0 34px;
}
.trust-card {
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius);
  padding: 30px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.trust-icon { font-size: 2.8rem; line-height: 1; }
.trust-stars { font-size: 1.2rem; color: #f6b21b; letter-spacing: 2px; line-height: 1; }
.trust-stars .half { opacity: .4; }
.trust-rating { font-size: 1.15rem; color: var(--text); font-weight: 700; margin-top: -9px; }
.trust-sub { font-size: 1.15rem; color: var(--text); font-weight: 700; margin-top: -6px; }
.trust-rating strong { color: var(--text); }
.trust-stat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.9rem; font-weight: 700; line-height: 1.2;
  background: linear-gradient(90deg, #275d52 0%, #479e78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #275d52;   /* Fallback */
}
.trust-text { font-size: 1.15rem; color: #444; line-height: 1.6; }
.trust-img {
  width: 100%; max-width: 420px; max-height: 320px; object-fit: contain;
  border-radius: 10px; margin: 4px 0;
}
/* Google-Bewertungen größer & besser lesbar */
.trust-img-lg { max-width: 100%; max-height: 620px; }

/* ── TILE GRID (Alter) ── */
.tile-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; width: 100%; margin: 24px 0 32px;
}
.tile {
  background: #ebebeb; border: 2px solid transparent;
  border-radius: var(--radius); padding: 18px 14px;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  cursor: pointer; text-align: center;
  transition: border-color .18s, background .18s;
}
.tile:hover { background: #e0e0e0; }
.tile.selected { border-color: var(--green); background: #fff; }

/* ── Leistungen: kompakte Icon-Kacheln (3 nebeneinander, auch mobil) ── */
.leistung-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;                 /* alle Kacheln gleiche Höhe */
  gap: 8px; width: 100%; margin: 16px 0 26px;
}
.leistung-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; min-height: 112px;
  background: #ebebeb; border: 2px solid transparent; border-radius: 12px;
  padding: 12px 7px;
  font-family: inherit; font-size: .84rem; font-weight: 700; color: var(--text);
  text-align: center; line-height: 1.18; cursor: pointer;
  hyphens: auto; overflow-wrap: anywhere;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.leistung-tile:hover { background: #e3e3e3; }
.leistung-tile.selected {
  border-color: var(--green); background: #fff;
  box-shadow: 0 3px 12px rgba(39, 93, 82, .14);
}
.leistung-tile .lt-icon { display: flex; }
.leistung-tile .lt-svg {
  width: 38px; height: 38px; display: block;
  fill: none; stroke: var(--green); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s;
}
.leistung-tile.selected .lt-svg { transform: scale(1.06); }
.leistung-tile .lt-label { display: block; }
.leistung-tile.selected::after {
  content: "✓"; position: absolute; top: 5px; right: 5px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: .62rem; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}

/* Kleine Block-Überschrift (z. B. Hundehaftpflicht) */
.extra-headline {
  width: 100%; text-align: left;
  font-weight: 800; font-size: 1.1rem; color: var(--text);
  margin: 10px 0 -4px;
}

/* ── DISQUALIFICATION ── */
.disqualify-box {
  background: #fff3f3; border: 2px solid #e05050;
  border-radius: var(--radius); padding: 32px 28px;
  text-align: center; max-width: 520px;
}
.disqualify-box .dq-icon { font-size: 2.8rem; margin-bottom: 12px; }
.disqualify-box p { font-size: 1.15rem; font-weight: 700; color: #c0322a; line-height: 1.45; }
.disqualify-box .dq-sub { font-size: 1rem; font-weight: 600; color: #7a3b37; margin-top: 10px; }

/* ── RECRUITER WELCOME ── */
.recruiter-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.12); margin: 16px 0 14px;
}
.recruiter-text {
  font-size: 1.1rem; color: #444; text-align: center;
  line-height: 1.65; max-width: 500px; margin-bottom: 10px;
}

/* ── SPRACHNACHRICHT (WhatsApp-Optik) ── */
.voice-msg {
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 380px;
  background: #fff; border: 1px solid #e6e6e6; border-radius: 24px;
  padding: 10px 14px; margin: 4px 0 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
/* Sprachnachricht innerhalb einer Trust-Karte: kompakt (max. 380px) & zentriert */
.trust-card .voice-msg { margin: 6px auto; }
.voice-avatar { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.voice-avatar img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.voice-mic {
  position: absolute; bottom: -2px; right: -3px;
  width: 21px; height: 21px; border-radius: 50%;
  background: #fff; border: 1px solid #e0e0e0;
  font-size: 10px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.voice-play {
  width: 42px; height: 42px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: #275d52; color: #fff;
  font-size: .95rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding-left: 2px; transition: background .15s;
}
.voice-play:hover { background: #1f4c43; }
.voice-wave { display: flex; align-items: center; gap: 3px; flex: 1 1 0; min-width: 0; overflow: hidden; height: 28px; }
.voice-wave span {
  width: 3px; border-radius: 2px; background: #cfcfcf;
  transition: background .1s linear;
}
.voice-wave span.played { background: #275d52; }   /* abgespielter Teil */
.voice-time { font-size: .78rem; color: #888; flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 24px 0 8px; }

/* ── Kompakte, minimale Abstände (15px) ── */
/* Slide 1: Feinabstände */
#g1 { gap: 15px; }
#g1 .subline { margin-bottom: -8px; }   /* Eyebrow „In 2 Minuten…" enger an die Headline */
#g1 .headline { margin-bottom: 10px; }   /* unter der Headline mehr Luft zur Auswahl */
#g1 .extra-headline { margin: 0; }
#g1 .choice-list { margin: 0; }
#g1Btn { margin-top: 12px; }              /* etwas Abstand von oben zum „Weiter"-Button */
/* „Regelmäßige Pflege" -> „Wie häufig?" enger (gewinnt für die Box-Subline) */
#haeufigkeitBox .subline { margin: 0 0 10px; }
/* Kontaktseite: Überschriften „Ansprechpartner" / „Adresse" ohne Extra-Abstand */
#g5 { gap: 15px; }
#g5 .extra-headline { margin: 0; }
#g5 .contact-form { margin: 0; }
.input-field {
  background: #fff; border: 2px solid #e0e0e0;
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; align-items: center; gap: 10px;
  transition: border-color .2s; width: 100%;
}
.input-field input {
  border: none; outline: none; background: transparent;
  font-family: 'Barlow', sans-serif; font-size: 1rem; color: var(--text);
  width: 100%;
}
.input-field input::placeholder { color: #aaa; }
.input-field:focus-within { border-color: var(--green); }
.gdpr-wrap { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 18px; }
.gdpr-wrap input[type="checkbox"] {
  width: 20px; height: 20px; flex-shrink: 0;
  accent-color: var(--green); margin-top: 2px; cursor: pointer;
}
.gdpr-wrap label { font-size: .92rem; color: #444; line-height: 1.5; cursor: pointer; }
.gdpr-wrap label a { color: var(--text); text-decoration: underline; }
.form-error { color: #c0322a; font-size: .88rem; font-weight: 600; display: none; }

/* ── SUCCESS ── */
.success-box {
  text-align: center; padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.success-box .s-icon { font-size: 4rem; }
.success-box p { font-size: 1.15rem; color: #444; max-width: 460px; line-height: 1.65; }

/* ── COOKIE-BANNER ── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px 24px;
  background: #1a1a1a; color: #eee;
  padding: 18px 22px; box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}
.cookie-text { font-size: .9rem; line-height: 1.5; max-width: 720px; margin: 0; }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: 'Barlow', sans-serif; font-size: .95rem; font-weight: 800;
  padding: 12px 22px; border-radius: 10px; border: none; cursor: pointer;
  transition: opacity .15s, background .15s;
}
.cookie-btn.accept,
.cookie-btn.decline { background: #275d52; color: #fff; border: none; }
.cookie-btn.accept:hover,
.cookie-btn.decline:hover { opacity: .9; }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .cookie-btn { flex: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-label { font-size: .88rem; padding: 10px 12px 12px; }
  .benefits-list li { font-size: 1rem; }
  .choice-item { font-size: 1rem; padding: 14px 16px; }
}
