/* ===== LOKALE SCHRIFTARTEN (DSGVO-konform, kein Google-Server) ===== */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-sage: #8BB07E;
  --color-sage-bg: #E6F0E2;
  --color-peach: #F0A87C;
  --color-mustard: #E5B83A;
  --color-rosa: #EDA5B5;
  --color-lavender: #C4ACDB;
  --color-cream: #FFF7F0;
  --color-white: #FFFCF8;
  --color-text: #3D3D3D;
  --color-text-light: #6B6B6B;
  --color-heading: #2E2E2E;

  --font-body: 'Nunito', sans-serif;
  --font-accent: 'Caveat', cursive;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 50px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.script-font {
  font-family: var(--font-accent);
  font-weight: 600;
}

.nowrap { white-space: nowrap; }

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition);
}

.site-header--scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-heading);
}

.nav__logo-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav__logo-accent {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-sage);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-sage);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--color-sage);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-lg);
  transition: background var(--transition), transform var(--transition);
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background: #769e68;
  transform: scale(1.03);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav__toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--color-sage);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #769e68;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 176, 126, 0.35);
}

.btn--full { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-cream) 0%, #f8d4b8 35%, var(--color-rosa) 100%);
  padding: 10rem 0 8rem;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: calc(5rem + 80px);
}

.hero__inner { position: relative; z-index: 1; }

.hero__tagline {
  font-size: 1.6rem;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.hero__note {
  display: block;
  width: fit-content;
  background: rgba(255, 255, 255, 0.65);
  color: var(--color-heading);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-lg);
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-soft);
}

/* ===== WAVE DIVIDERS ===== */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section { position: relative; }

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0 6rem;
}

.section--cream { background: var(--color-cream); }
.section--sage-bg { background: var(--color-sage-bg); }
.section--peach-bg { background: #f4d8dd; }

.section__tagline {
  font-size: 1.5rem;
  color: var(--color-sage);
  text-align: center;
  margin-bottom: 0.25rem;
}

.section__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

/* ===== PROBLEM SECTION ===== */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.problem__card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.problem__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.problem__icon {
  margin: 0 auto 1rem;
}

.problem__card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem__cta {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-heading);
}

/* ===== DETAIL BLOCKS ===== */
.detail-block {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.detail-block--primary {
  border-left: 5px solid var(--color-sage);
}

.detail-block--secondary {
  border-left: 5px solid var(--color-lavender);
}

.detail-block--secondary:first-of-type {
  border-left-color: var(--color-peach);
}

.detail-block__badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--color-sage);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-lg);
  letter-spacing: 0.03em;
}

.detail-block__inner {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.detail-block__icon {
  flex-shrink: 0;
  width: 64px;
  padding-top: 0.25rem;
}

.detail-block__content {
  flex: 1;
}

.detail-block__content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.detail-block__content p {
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

.detail-block__label {
  font-size: 1.15rem;
  color: var(--color-peach);
  margin-bottom: 0.25rem !important;
}

.detail-block__note {
  display: inline-block;
  background: var(--color-sage-bg);
  color: var(--color-heading);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-lg);
}

.detail-block__checklist {
  padding: 0;
  margin: 1rem 0;
}

.detail-block__checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.detail-block__checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background: var(--color-sage);
  border-radius: 4px;
  opacity: 0.8;
}

.detail-block__checklist li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: calc(0.35em + 3px);
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.detail-block__list {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  list-style: disc;
}

.detail-block__list li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.detail-block__topics {
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .detail-block {
    padding: 2rem 1.25rem;
  }

  .detail-block__inner {
    flex-direction: column;
    gap: 1rem;
  }

  .detail-block__icon {
    margin: 0 auto;
  }

  .detail-block__content {
    text-align: left;
  }
}

/* ===== OFFERS ===== */
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.offer-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border-top: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.offer-card--sage { border-top-color: var(--color-sage); }
.offer-card--peach { border-top-color: var(--color-peach); }
.offer-card--lavender { border-top-color: var(--color-lavender); }

.offer-card__icon-wrap {
  margin-bottom: 1rem;
}

.offer-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.offer-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.offer-card__price {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--color-heading);
}

.offer-card__price-note {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--color-text-light);
}

/* ===== ABOUT ===== */
.about__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.about__photo-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  box-shadow: var(--shadow-soft);
}

.about__text .section__tagline,
.about__text .section__title {
  text-align: left;
}

.about__text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about__qualifications {
  margin-top: 1.25rem;
  padding-left: 0;
}

.about__qualifications li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.about__qualifications li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: 700;
}

/* ===== STEPS / ABLAUF ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.25rem;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-sage);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(139, 176, 126, 0.3);
}

.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.step__connector {
  width: 60px;
  min-width: 40px;
  height: 2px;
  background: var(--color-sage);
  opacity: 0.4;
  margin-top: 28px;
  flex-shrink: 0;
}

.steps__cta { text-align: center; }

/* ===== CONTACT ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact__text .section__tagline,
.contact__text .section__title {
  text-align: left;
}

.contact__text p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.contact__info {
  margin-top: 1.5rem;
}

.contact__info a {
  color: var(--color-sage);
  font-weight: 600;
  transition: color var(--transition);
}

.contact__info a:hover { color: #7a9a6e; }

.contact__form {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.form__group { margin-bottom: 1.25rem; }

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-heading);
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e8e4df;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input::placeholder {
  color: #b5b0a8;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 176, 126, 0.2);
}

.form__input.form__input--error {
  border-color: #e07a7a;
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.form__status--success {
  background: var(--color-sage-bg);
  color: #4a6b3f;
}

.form__status--error {
  background: #fbe3e3;
  color: #a94444;
}

.form__hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
}

.form__hint a {
  color: var(--color-sage);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== LEGAL PAGES (Impressum / Datenschutz) ===== */
.legal .container { max-width: 800px; }

.legal .section__title {
  text-align: left;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 2rem 0 0.6rem;
}

.legal p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.35rem;
}

.legal a {
  color: var(--color-sage);
  font-weight: 600;
  transition: color var(--transition);
}

.legal a:hover { color: #7a9a6e; }

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: var(--color-cream);
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.disclaimer small {
  color: var(--color-text-light);
  font-size: 0.82rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-heading);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer__copy {
  font-size: 0.85rem;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 900px) {
  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__text .section__tagline,
  .about__text .section__title {
    text-align: center;
  }

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

  .contact__text .section__tagline,
  .contact__text .section__title {
    text-align: center;
  }

  .contact__text {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  }

  .nav__menu--open {
    transform: translateX(0);
  }

  .nav__link { font-size: 1.15rem; }

  .hero {
    padding-top: calc(4rem + 70px);
    padding-bottom: 6rem;
  }

  .hero__tagline { font-size: 1.3rem; }

  .hero__note { font-size: 0.85rem; }

  .nav__logo-img { width: 38px; height: 38px; }

  .section { padding: 3.5rem 0 4.5rem; }

  .wave svg { height: 40px; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .step { padding: 0; }

  /* Verbindungsstriche gibt es nur in der nebeneinander liegenden
     Desktop-Ansicht – gestapelt verbinden sie nichts mehr. */
  .step__connector { display: none; }

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

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link (hidden, for keyboard navigation) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-sage);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}
