/* Bleib-Zuhause-Bad Bocholt – Landing Page
   Farben & Schriften zentral hier anpassen (an badelix.pro angleichen). */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  /* Markenfarben */
  --primary: #0b4f7c; /* Tiefes Wasserblau – Überschriften, Flächen */
  --primary-dark: #073854;
  --accent: #1aa3d9; /* Helles Badblau – nur Deko/Grafik */
  --accent-text: #0a74a6; /* Dunkleres Badblau – Text-Akzente (Kontrast ≥ 4,5 : 1) */
  --accent-soft: #e6f5fb;
  --whatsapp: #15803d; /* Grün für WhatsApp-Buttons (kontraststark) */
  --whatsapp-dark: #116432;

  /* Neutrale Töne */
  --text: #1c2a33;
  --muted: #5a6b76;
  --bg: #ffffff;
  --bg-alt: #f4f8fa;
  --line: #dbe5eb;

  --font-head:
    "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body:
    "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 79, 124, 0.12);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--primary-dark);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 20px;
}
.section {
  padding: 72px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section__intro {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--muted);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.6em;
}
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.9em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}
.btn svg {
  width: 1.3em;
  height: 1.3em;
  flex: none;
}
.btn--wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.3);
}
.btn--wa:hover {
  background: var(--whatsapp-dark);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
}
.btn--ghost {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--ghost:hover {
  background: var(--accent-soft);
}
.btn--lg {
  font-size: 1.1rem;
  padding: 1em 1.6em;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.1;
}
.logo__icon {
  flex: none;
  width: 48px;
  height: 48px;
}
.logo__text {
  display: flex;
  flex-direction: column;
}
.logo__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  white-space: nowrap;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.logo__name span {
  color: var(--accent);
}
.logo__sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.header__contact {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__phone {
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-dark);
  white-space: nowrap;
}
.header .btn {
  padding: 0.65em 1.1em;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  background:
    radial-gradient(
      1200px 500px at 90% -10%,
      rgba(26, 163, 217, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, #f3f9fc 0%, #ffffff 100%);
  padding: 56px 0 72px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero__lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36em;
}
.hero__checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}
.hero__checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
}
.hero__checks svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--whatsapp);
  margin-top: 2px;
}
.hero__note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.compare {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--line);
}
.compare h3 {
  text-align: center;
  margin-bottom: 20px;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}
.compare__col {
  text-align: center;
}
.compare__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare__label--before {
  color: #b0413e;
}
.compare__label--after {
  color: var(--whatsapp);
}
.compare__value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  white-space: nowrap;
  color: var(--primary-dark);
}
.compare__caption {
  font-size: 0.88rem;
  color: var(--muted);
}
.compare__arrow {
  color: var(--accent);
  width: 34px;
  height: 34px;
  margin-top: 150px;
}
.compare svg.illu {
  margin: 0 auto 8px;
  height: 110px;
  width: auto;
}
.compare__facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}
.compare__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.compare__facts strong {
  color: var(--primary-dark);
}

/* Karten */
.grid {
  display: grid;
  gap: 20px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card p:last-child {
  margin-bottom: 0;
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.card__icon svg {
  width: 28px;
  height: 28px;
}

/* Problem → Lösung */
.pl {
  display: grid;
  gap: 16px;
}
.pl__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pl__problem,
.pl__solution {
  padding: 22px 24px;
}
.pl__problem {
  background: #fbf4f3;
  border-right: 1px solid var(--line);
}
.pl__tag {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pl__problem .pl__tag {
  color: #b0413e;
}
.pl__solution .pl__tag {
  color: var(--whatsapp);
}
.pl__item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35em;
}
.pl__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Ablauf */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 22px 22px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Zuschuss-Band */
.band {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.band h2 {
  color: #fff;
}
.band p {
  color: #d7e9f3;
}
.band__amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: #fff;
}
.band__small {
  font-size: 0.85rem;
  color: #b9d6e6;
  margin-top: 8px;
}
.band .btn--ghost {
  border-color: #fff;
}

/* Zielgruppen */
.who .card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary-dark);
  padding: 18px 28px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.5rem;
  color: var(--accent);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--muted);
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.channels {
  display: grid;
  gap: 14px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.channel:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.channel__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.channel__icon svg {
  width: 26px;
  height: 26px;
}
.channel--wa .channel__icon {
  background: var(--whatsapp);
}
.channel--tel .channel__icon {
  background: var(--primary);
}
.channel--mail .channel__icon {
  background: var(--accent-text);
}
.channel__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--primary-dark);
}
.channel__value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-word;
}
.channel__hint {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form__optional {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: -0.4em;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 163, 217, 0.2);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.consent input {
  margin-top: 0.3em;
  width: 18px;
  height: 18px;
  flex: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.form__status {
  margin: 12px 0 0;
  font-weight: 600;
  min-height: 1.4em;
}
.form__status--error {
  color: #b0413e;
}
.form__status--ok {
  color: var(--whatsapp);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #cfe3ee;
  padding: 40px 0 110px;
  font-size: 0.95rem;
}
.footer a {
  color: #fff;
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Mobile Kontaktleiste */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}
.mobile-bar .btn {
  flex: 1;
  padding: 0.85em 0.6em;
  font-size: 0.98rem;
}

/* Rechtstexte */
.legal {
  max-width: 780px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.legal h2 {
  font-size: 1.3rem;
  margin-top: 1.8em;
}
.legal h3 {
  font-size: 1.08rem;
  margin-top: 1.4em;
}

/* Vorher / Nachher */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ba__item {
  display: grid;
  gap: 8px;
  justify-items: center;
}
.ba__item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-alt);
}
.case--portrait .ba__item img {
  aspect-ratio: 525 / 891;
}
.case--landscape .ba__item img {
  aspect-ratio: 9 / 8;
}
.ba__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ba__label--before {
  color: #b0413e;
}
.ba__label--after {
  color: var(--whatsapp);
}
.case figcaption {
  margin-top: 10px;
  text-align: center;
  font-weight: 600;
  color: var(--primary-dark);
}
.cases__note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.cases__cta {
  margin-top: 24px;
  text-align: center;
}
/* Ansprechpartner */
.person {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
}
.person__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 532 / 781;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.person__quote {
  margin: 0 0 1em;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--primary-dark);
}
.person__text p {
  color: var(--muted);
}
/* Sprungziele nicht unter dem festen Header verstecken */
section[id] {
  scroll-margin-top: 72px;
}
/* Zuschuss-Band folgt direkt auf „Probleme → Lösungen“ (beide weiß) */
#zuschuss {
  padding-top: 0;
}
/* Zuschuss-Hinweis im Einstieg */
.grant {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 26px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border: 1px solid #c4e4f2;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  max-width: 36em;
  transition: box-shadow 0.15s ease;
}
.grant:hover {
  box-shadow: var(--shadow);
}
.grant:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}
.grant__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
}
.grant__icon svg {
  width: 24px;
  height: 24px;
}
.grant__amount {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--primary-dark);
}
.grant__text {
  display: block;
  margin-top: 4px;
  font-size: 0.97rem;
  color: var(--text);
}
.grant__link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-text);
}
@media (max-width: 960px) {
  .hero__grid,
  .contact-grid,
  .band {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .person {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .person__photo {
    max-width: 260px;
    margin: 0 auto;
  }
  .person .btn-row .btn {
    flex: 1 1 100%;
  }
  .person__quote {
    font-size: 1.08rem;
  }
  .cases {
    grid-template-columns: 1fr;
  }
  .case {
    padding: 10px;
  }
  .case--landscape .ba {
    grid-template-columns: 1fr;
  }
  .logo__name {
    font-size: 1.25rem;
  }
  .logo__icon {
    width: 38px;
    height: 38px;
  }
  body {
    font-size: 1rem;
  }
  .section {
    padding: 52px 0;
  }
  .container {
    padding-inline: 16px;
  }
  .header__phone,
  .header .btn__label {
    display: none;
  }
  .header .btn {
    padding: 0.6em;
  }
  .hero {
    padding: 36px 0 52px;
  }
  .hero .btn-row .btn {
    flex: 1 1 100%;
  }
  .grid--3,
  .grid--2,
  .steps,
  .form__grid {
    grid-template-columns: 1fr;
  }
  .pl__item {
    grid-template-columns: 1fr;
  }
  .pl__problem {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .band {
    padding: 28px 22px;
  }
  .compare {
    padding: 22px 16px;
  }
  .compare__value {
    font-size: 1.25rem;
  }
  .form {
    padding: 22px 16px;
  }
  .form__actions .btn {
    flex: 1 1 100%;
  }
  .mobile-bar {
    display: flex;
  }
}
@media (max-width: 380px) {
  .logo {
    gap: 8px;
  }
  .logo__icon {
    width: 32px;
    height: 32px;
  }
  .logo__name {
    font-size: 1.05rem;
  }
  .logo__sub {
    font-size: 0.68rem;
  }
  /* Unterseiten: „Startseite“-Button rutscht notfalls unter das Logo */
  .header__inner:has(> .btn) {
    flex-wrap: wrap;
    row-gap: 8px;
    padding-block: 8px;
  }
  .header__inner > .btn {
    padding: 0.6em 0.9em;
    font-size: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .channel {
    transition: none;
  }
}
