@import url("fonts/fonts.css");

:root {
  --creme: #F6F1E7;
  --weiss: #FFFFFF;
  --sand-hell: #EDE4D3;
  --text: #2A2320;
  --braun: #7A5C45;
  --petrol: #2B7C95;
  --petrol-tief: #1F4759;
  --sand: #E4D9A0;
  --salbei: #C3D1AB;
  --mint: #9DC8C3;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --hand: "Caveat", cursive;

  --breite: 1080px;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 500; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(3.2rem, 9vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); margin-bottom: 0.5em; }
h3 { font-size: 1.7rem; margin-bottom: 0.35em; font-weight: 400; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--braun); font-weight: 500; margin-bottom: 1.1em; display: block;
}
.hand { font-family: var(--hand); font-weight: 500; color: var(--petrol); font-size: 1.5rem; }

section { padding: 96px 0; }

/* Navigation */
.nav { padding: 22px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.logo img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; }
.nav-links .login { color: var(--braun); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans); font-weight: 500;
  font-size: 1rem; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--petrol-tief); color: var(--creme); }
.btn-primary:hover { background: var(--petrol); }
.btn-ghost { border-color: rgba(42,35,32,.25); color: var(--text); background: transparent; }
.btn-klein { padding: 10px 20px; font-size: 0.92rem; }

/* Hero */
.hero { padding: 56px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.markiert { position: relative; display: inline-block; white-space: nowrap; }
.markiert svg { position: absolute; left: -4%; bottom: -0.08em; width: 108%; height: 0.32em; overflow: visible; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; margin-bottom: 34px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .notiz { margin-top: 26px; }
.weiche { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 36em; }
.weiche a {
  display: block; text-decoration: none; background: var(--weiss); border-radius: 14px;
  padding: 16px 18px; font-size: 0.98rem; font-weight: 400; border: 1px solid transparent;
  transition: border-color .15s ease, transform .15s ease;
}
.weiche a:hover { border-color: var(--petrol); transform: translateY(-1px); }
.weiche .eyebrow { margin-bottom: 0.4em; font-size: 0.7rem; }
.traeger-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.traeger-cta p { max-width: 34em; font-size: 1.05rem; }

/* Beispiel-Karte im Hero */
.karte-stapel { position: relative; }
.karte {
  background: var(--weiss); border-radius: var(--radius); padding: 26px;
  box-shadow: 0 1px 2px rgba(42,35,32,.05), 0 18px 40px -18px rgba(42,35,32,.22);
}
.karte-stapel .hinten {
  position: absolute; inset: 18px -14px -18px 14px; background: var(--sand-hell);
  border-radius: var(--radius); transform: rotate(3deg);
}
.karte-stapel .karte { position: relative; }
.karte .kopf { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--braun); margin-bottom: 14px; }
.kuerzel { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); font-weight: 500; font-size: 0.85rem; color: var(--petrol-tief); margin-right: 10px; }
.karte .kind { display: flex; align-items: center; font-weight: 500; margin-bottom: 14px; }
.karte .text { font-size: 0.98rem; line-height: 1.55; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.78rem; padding: 5px 12px; border-radius: 999px; background: var(--salbei); color: var(--text); }
.chip.sand { background: var(--sand); }
.chip.leer { background: transparent; border: 1px dashed rgba(42,35,32,.3); color: var(--braun); }
.karte .fuss { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--sand-hell); font-size: 0.85rem; color: var(--braun); }

/* Kennst du das */
.schmerz { background: var(--weiss); }
.schmerz .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.liste { list-style: none; }
.liste li { padding: 18px 0; border-bottom: 1px solid var(--sand-hell); font-size: 1.1rem; display: flex; gap: 16px; }
.liste li::before { content: "—"; color: var(--braun); }
.liste li:last-child { border-bottom: 0; }

/* Was Faltera macht */
.intro { max-width: 40em; margin-bottom: 48px; }
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--weiss); border-radius: var(--radius); padding: 30px 28px; }
.feature .nr { font-family: var(--serif); font-size: 1.1rem; color: var(--petrol); margin-bottom: 18px; display: block; }
.feature p { font-size: 1rem; }
.feature.bald { background: transparent; border: 1px dashed rgba(42,35,32,.25); }
.einstieg { margin-top: 36px; text-align: center; }

/* Für wen */
.fuerwen { background: var(--sand-hell); }
.spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.spalte { background: var(--creme); border-radius: var(--radius); padding: 30px 28px; }
.spalte .eyebrow { margin-bottom: 0.6em; }
.spalte p { font-size: 1rem; }
.spalte.hervor { background: var(--petrol-tief); color: var(--creme); }
.spalte.hervor .eyebrow { color: var(--sand); }

/* Warum ich (dunkel) */
.dunkel { background: var(--text); color: var(--creme); }
.dunkel .eyebrow { color: var(--sand); }
.dunkel .wrap { max-width: 820px; }
.zitat { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.2; margin-bottom: 32px; }
.dunkel p { font-size: 1.1rem; margin-bottom: 1em; color: rgba(246,241,231,.85); }
.signatur { font-family: var(--hand); font-size: 2rem; color: var(--sand); }

/* Datenschutz kurz */
.vertrauen .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.punkte { display: grid; gap: 14px; }
.punkt { background: var(--weiss); border-radius: 14px; padding: 18px 22px; font-size: 1rem; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(42,35,32,.15); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.55rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--petrol); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; max-width: 42em; font-size: 1.02rem; }

/* Warteliste */
.warteliste { background: var(--weiss); }
.warteliste .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
form { display: grid; gap: 16px; }
label { font-size: 0.9rem; font-weight: 400; display: grid; gap: 6px; }
input, select {
  font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 12px;
  border: 1px solid rgba(42,35,32,.2); background: var(--creme); color: var(--text);
}
input:focus, select:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.danke { display: none; background: var(--salbei); border-radius: 14px; padding: 22px; }
.oder { font-size: 0.95rem; margin-top: 22px; color: var(--braun); }

/* Footer */
footer { padding: 40px 0; font-size: 0.9rem; color: var(--braun); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { margin-left: 18px; }

/* Rechtstexte */
.recht { max-width: 760px; margin: 0 auto; padding: 32px 24px 96px; }
.recht h1 { font-size: clamp(2.6rem, 7vw, 3.6rem); margin: 24px 0 32px; }
.recht h2 { font-size: 1.6rem; margin: 32px 0 8px; font-weight: 400; }
.recht p, .recht li { font-size: 1rem; margin-bottom: 0.8em; }
.recht ul { padding-left: 22px; }
.hinweis { background: var(--sand); border-radius: 12px; padding: 14px 18px; font-size: 0.92rem; }

/* Mobil */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .hero .wrap, .schmerz .wrap, .vertrauen .wrap, .warteliste .wrap { grid-template-columns: 1fr; gap: 40px; }
  .raster, .spalten { grid-template-columns: 1fr; }
  .nav-links .anker { display: none; }
  .zeile, .weiche { grid-template-columns: 1fr; }
  footer a { margin: 0 18px 0 0; }
  .karte-stapel { margin: 0 14px; }
}

/* ===== Einblicke in die App ===== */
    .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
    .tab { font: inherit; font-size: .92rem; font-weight: 400; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(42,35,32,.2); background: transparent; color: var(--text); cursor: pointer; }
    .tab[aria-selected="true"] { background: var(--petrol-tief); color: var(--creme); border-color: var(--petrol-tief); }
    .tab.leitung { border-style: dashed; }
    .buehne { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
    .panel { display: none; }
    .panel.aktiv { display: grid; }
    .panel h3 { font-size: 2rem; }
    .panel .erkl p { font-size: 1.02rem; margin-bottom: .8em; }
    .rolle { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--braun); margin-bottom: 10px; }

    /* App-Fenster */
    .fenster { background: #F7F8F6; border-radius: 20px; box-shadow: 0 1px 2px rgba(42,35,32,.06), 0 24px 50px -24px rgba(42,35,32,.35); overflow: hidden; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 400; color: #1e293b; font-size: 14px; line-height: 1.45; }
    .fenster .leiste { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e5e7eb; }
    .fenster .leiste img { width: 22px; height: 22px; }
    .fenster .leiste b { font-weight: 600; }
    .fenster .leiste span { margin-left: auto; font-size: 12px; color: #64748b; }
    .fenster .inhalt { padding: 18px; }
    .titel { font-size: 18px; font-weight: 650; margin-bottom: 4px; }
    .sub { font-size: 12px; color: #64748b; margin-bottom: 14px; }
    .k { background: #fff; border-radius: 12px; border: 1px solid #e8ece9; padding: 12px; }
    .feld { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #C3D1AB; margin: 2px 2px 0 0; }
    .feld.mint { background: #9DC8C3; } .feld.sand { background: #E4D9A0; } .feld.himmel { background: #A3C6DB; } .feld.leer { background: transparent; border: 1px dashed #94a3b8; color: #64748b; }
    .knopf { display: inline-block; background: #2b7c95; color: #fff; border-radius: 10px; padding: 7px 12px; font-size: 12px; font-weight: 600; }
    .hinweis-k { background: #eef6f7; border-left: 3px solid #2b7c95; border-radius: 8px; padding: 9px 12px; font-size: 12.5px; margin-top: 10px; }

    /* Wochenplan */
    .woche { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .tag { font-size: 11px; font-weight: 600; color: #64748b; margin-bottom: 6px; }
    .angebot { background: #fff; border: 1px solid #e8ece9; border-radius: 10px; padding: 8px; margin-bottom: 6px; font-size: 12px; }
    .angebot b { display: block; font-weight: 600; margin-bottom: 3px; }
    .angebot.impuls { border-style: dashed; border-color: #2b7c95; background: #f3f9fa; }

    /* Ideenbank */
    .ideen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .ideen .k b { display: block; font-size: 14px; margin-bottom: 4px; }
    .ideen .k small { display: block; color: #64748b; font-size: 11.5px; margin-top: 6px; }
    .suche { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 12px; color: #94a3b8; margin-bottom: 12px; font-size: 13px; }

    /* Kindbeschreibung */
    .kind-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .kind-kopf .kz { width: 40px; height: 40px; border-radius: 50%; background: #9DC8C3; display: grid; place-items: center; font-weight: 700; color: #1F4759; }
    .zwei { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; align-items: start; }
    .verlauf { font-size: 11.5px; color: #64748b; margin-top: 8px; }

    /* Leitung */
    .matrix { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 11.5px; }
    .matrix th { font-weight: 600; color: #64748b; text-align: left; padding: 2px 4px; }
    .matrix td { border-radius: 6px; text-align: center; padding: 7px 2px; font-weight: 600; }
    .z3 { background: #2b7c95; color: #fff; } .z2 { background: #9DC8C3; } .z1 { background: #E4D9A0; } .z0 { background: #fff; border: 1px dashed #cbd5e1; color: #94a3b8; }
    .kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
    .kennzahlen .k b { display: block; font-size: 20px; }
    .kennzahlen .k span { font-size: 11px; color: #64748b; }

    .liste-k { display: grid; gap: 8px; }
    .zeile-k { display: flex; align-items: center; gap: 10px; }
    .zeile-k b { display: block; font-size: 13.5px; }
    .zeile-k small { color: #64748b; font-size: 11.5px; }
    .zeile-k > :last-child { margin-left: auto; }
    .ava { width: 32px; height: 32px; border-radius: 50%; background: #EDE4D3; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #7A5C45; flex-shrink: 0; }
    .wahl { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e8ece9; border-radius: 10px; padding: 10px; margin-bottom: 6px; }
    .wahl b { display: block; font-size: 13px; } .wahl small { color: #64748b; font-size: 11.5px; }
    .wahl.an { border-color: #2b7c95; background: #f3f9fa; }
    .punkt-r { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #94a3b8; margin-top: 2px; flex-shrink: 0; }
    .wahl.an .punkt-r { border-color: #2b7c95; background: radial-gradient(#2b7c95 45%, transparent 50%); }
    .regler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 10px 0 6px; }
    .regler span { height: 8px; border-radius: 4px; background: #e2e8f0; }
    .regler span.an { background: #2b7c95; }
    .wochentage { display: flex; gap: 6px; }
    .wochentage span { flex: 1; text-align: center; padding: 7px 0; border-radius: 8px; font-size: 12px; font-weight: 600; background: #f1f5f9; color: #94a3b8; }
    .wochentage span.an { background: #2b7c95; color: #fff; }
    .zeile-s { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
    .zeile-s:last-child { border-bottom: 0; }
    .log { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f1f5f9; }
    .log:last-child { border-bottom: 0; }
    .log b { display: block; font-size: 13px; } .log small { color: #64748b; font-size: 11.5px; }
    .dot { width: 8px; height: 8px; border-radius: 50%; background: #9DC8C3; margin-top: 6px; flex-shrink: 0; }

    @media (max-width: 860px) {
      .buehne { grid-template-columns: 1fr; gap: 28px; }
      .woche { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; }
      .ideen, .zwei { grid-template-columns: 1fr; }
    }
  
/* Einblicke: Reiter am Handy seitlich wischen */
@media (max-width: 860px) {
  #einblicke .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding: 0 24px 4px; }
  #einblicke .tabs::-webkit-scrollbar { display: none; }
  #einblicke .tab, #einblicke .tabs .rolle { flex-shrink: 0; white-space: nowrap; }
}
