/* ==========================================================================
   Papa-Update – Corporate Design
   Farben & Typografie abgeleitet vom Logo
   Mobile first, responsive
   ========================================================================== */

:root {
  /* Markenfarben (aus dem Logo) */
  --rot:    #E94335;
  --gelb:   #F4B400;
  --gruen:  #34A853;
  --blau:   #4E86F0;
  --blau-d: #2F66D0;

  /* Neutrale Farben */
  --ink:      #33322E;
  --grau:     #5F5E58;
  --linie:    #E8EAED;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F8FD;
  --bg-warm:  #FDF9F0;

  /* Typografie */
  --font: 'Nunito', 'Segoe UI', sans-serif;

  /* Layout */
  --radius: 18px;
  --radius-s: 12px;
  --container: 1080px;
  --schatten: 0 8px 30px rgba(51, 50, 46, .08);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.15rem; font-style: normal; font-weight: 800; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.kicker--blau  { background: #E7EFFE; color: var(--blau-d); }
.kicker--gruen { background: #E4F4EA; color: #1E7A3C; }
.kicker--gelb  { background: #FDF3D7; color: #9A7200; }
.kicker--rot   { background: #FCE8E6; color: #C5221F; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: var(--blau);
  color: #fff;
  box-shadow: 0 6px 20px rgba(78, 134, 240, .35);
}
.btn--primary:hover {
  background: var(--blau-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(78, 134, 240, .45);
}
.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
}
.btn--whatsapp:hover {
  background: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
}
.btn--whatsapp svg { width: 22px; height: 22px; flex: 0 0 auto; }
.header .btn--whatsapp svg { width: 18px; height: 18px; }
.btn--weiss {
  background: #fff;
  color: var(--blau-d);
}
.btn--weiss:hover { transform: translateY(-2px); }
.btn small { display: block; font-weight: 600; font-size: .8rem; opacity: .85; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo img { height: 40px; width: auto; }
.footer .logo img { height: 44px; }
.header .btn {
  padding: 10px 18px;
  font-size: .9rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 56px 0 64px;
}
.hero__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--grau);
  max-width: 34em;
}
.hero__img img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.hero__note {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--grau);
}
.hero__note strong { color: var(--gruen); }

/* Farbige Unterstreichung im Titel */
.mark {
  background: linear-gradient(transparent 62%, rgba(244, 180, 0, .45) 62%);
  font-style: inherit;
}

/* ---------- Problem ---------- */
.problem { background: var(--bg); }
.problem__grid { display: grid; gap: 36px; align-items: center; }
.problem__img img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.painlist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.painlist li {
  position: relative;
  padding-left: 34px;
  color: var(--grau);
}
.painlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 5px;
}
.painlist li:nth-child(4n+1)::before { background: var(--rot); }
.painlist li:nth-child(4n+2)::before { background: var(--gelb); }
.painlist li:nth-child(4n+3)::before { background: var(--gruen); }
.painlist li:nth-child(4n+4)::before { background: var(--blau); }

/* ---------- Lösung ---------- */
.loesung { background: var(--bg-soft); }
.loesung__grid { display: grid; gap: 36px; align-items: center; }
.loesung__img img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.benefits {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-s);
  padding: 16px 18px;
}
.benefit__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.benefit__icon--rot   { background: #FCE8E6; }
.benefit__icon--gelb  { background: #FDF3D7; }
.benefit__icon--gruen { background: #E4F4EA; }
.benefit__icon--blau  { background: #E7EFFE; }
.benefit h3 { margin: 0 0 2px; }
.benefit p { margin: 0; font-size: .95rem; color: var(--grau); }

/* ---------- Expert:innen ---------- */
.experten { background: var(--bg); }
.experten__intro { max-width: 44em; color: var(--grau); }
.expertgrid {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  grid-template-columns: 1fr;
}
.expert {
  background: #fff;
  border: 1px solid var(--linie);
  border-top: 5px solid var(--blau);
  border-radius: var(--radius-s);
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(51, 50, 46, .04);
}
.expert:nth-child(4n+1) { border-top-color: var(--rot); }
.expert:nth-child(4n+2) { border-top-color: var(--gelb); }
.expert:nth-child(4n+3) { border-top-color: var(--gruen); }
.expert:nth-child(4n+4) { border-top-color: var(--blau); }
.expert h3 { margin-bottom: 4px; }
.expert p { margin: 0; font-size: .92rem; color: var(--grau); }
.expert--soon {
  border-style: dashed;
  border-top-style: solid;
  background: var(--bg-soft);
}

/* ---------- So funktioniert's ---------- */
.ablauf { background: var(--bg-warm); }
.ablauf__grid { display: grid; gap: 36px; align-items: center; }
.ablauf__img img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}
.steps li:nth-child(4n+1)::before { background: var(--rot); }
.steps li:nth-child(4n+2)::before { background: var(--gelb); }
.steps li:nth-child(4n+3)::before { background: var(--gruen); }
.steps li:nth-child(4n+4)::before { background: var(--blau); }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--grau); font-size: .97rem; }
.ablauf__fazit {
  margin-top: 28px;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__list {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  max-width: 780px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-s);
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blau-d);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.faq details[open] summary { color: var(--blau-d); }
.faq details p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--grau);
}

/* ---------- Über mich ---------- */
.ueber { background: var(--bg-soft); }
.ueber__grid { display: grid; gap: 36px; align-items: center; }
.ueber__img img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.ueber p { color: var(--grau); }
.ueber .sig {
  font-weight: 900;
  font-style: italic;
  color: var(--ink);
  font-size: 1.1rem;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-d) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  color: rgba(255, 255, 255, .85);
  max-width: 36em;
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #B9B8B2;
  padding: 48px 0 32px;
  font-size: .95rem;
}
.footer__inner {
  display: grid;
  gap: 28px;
}
.footer .logo span { color: #fff; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer h4 {
  color: #fff;
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 1rem;
}
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 8px;
  padding-top: 20px;
  font-size: .85rem;
}

/* ---------- Rechtsseiten ---------- */
.legal { padding: 48px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.legal h2 { font-size: 1.2rem; font-style: normal; margin-top: 2em; }
.legal p { color: var(--grau); }
.legal a { color: var(--blau-d); }

/* ---------- Einblend-Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.sichtbar {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive: Tablet & Desktop
   ========================================================================== */
@media (min-width: 640px) {
  .expertgrid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  section { padding: 96px 0; }
  .hero { padding: 80px 0 96px; }

  .hero__grid,
  .problem__grid,
  .loesung__grid,
  .ablauf__grid,
  .ueber__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  /* Bild/Text abwechselnd */
  .loesung__img { order: -1; }
  .ueber__img { order: -1; }

  .expertgrid { grid-template-columns: repeat(4, 1fr); }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
}
