/* =========================================================================
   Granny Nanny — Website CSS  (CI aus der App-Palette, MainActivity.kt)
   Marke: warmherzig, ruhig, Rose/Pink · barrierearm (große Schrift, Kontraste)
   ========================================================================= */

:root {
  /* --- CI-Farben (identisch zur App) --- */
  --rose:        #D76E9A;
  --rose-light:  #F3B6CC;
  --rose-bg:     #FDF5F8;
  --deep-rose:   #7A2F54;   /* Überschriften, Primär-CTA, Logo-Ton */
  --text:        #4A3A44;
  --text-muted:  #6E5C66;   /* dunkler als App-Muted für AA-Kontrast auf Fließtext */
  --cream:       #FBF3D6;   /* Logo-Kreis-Ton */
  --card-border: #F2D6E0;
  --mint-bg:     #E3F1E6;  --mint-text:  #2F5A3C;
  --amber-bg:    #FBEFD6;  --amber-text: #6E4E12;
  --red-bg:      #FAD7D2;  --red-text:   #96301F;
  --white:       #FFFFFF;

  --maxw: 1080px;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(122, 47, 84, .08);
  --shadow-lg: 0 12px 40px rgba(122, 47, 84, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;      /* 18px Grundschrift für ältere/weniger technikaffine Leser */
  line-height: 1.65;
  color: var(--text);
  background: var(--rose-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--deep-rose); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p  { margin: 0 0 1em; }
a  { color: var(--deep-rose); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* --- Skip-Link (Barrierefreiheit) --- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--deep-rose); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --- Fokus sichtbar (Tastatur-Nav) --- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px;
}

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 245, 248, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 56px; width: auto; display: block; }   /* 25.11.: 46 → 56 px, Logo neu, gestochen scharf (srcset 1x/2x/3x) */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--deep-rose); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #66254599; background: #662545; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--deep-rose); border-color: var(--deep-rose); }
.btn-secondary:hover { background: #fff; transform: translateY(-1px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }

/* --- Hero --- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.hero .eyebrow { color: var(--rose); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin: 0 0 .8rem; }
.hero .lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--text); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.8rem; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); font-size: 1rem; }
.hero-badges li::before { content: "✓"; color: var(--mint-text); font-weight: 900; }

/* Hero-Bild: Logo-Emblem in warmem Kreis */
.hero-visual { justify-self: center; }
.hero-visual .disc {
  width: min(360px, 78vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0%, var(--rose-bg) 70%);
  border: 3px solid var(--card-border); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 8%;
}
.hero-visual img { width: 100%; height: auto; display: block; }

/* --- Section-Rhythmus --- */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: linear-gradient(180deg, #fff 0%, #fff 100%); border-block: 1px solid var(--card-border); }

/* --- Long-Lie-Block --- */
.longlie .kicker { color: var(--rose); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; margin: 0 0 .6rem; }
.longlie .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin: 2rem 0; padding: 0; list-style: none; }
.fact { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.fact .num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--deep-rose); line-height: 1.1; }
.fact .label { color: var(--text); }
.story { background: var(--cream); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); margin-top: 1.5rem; border: 1px solid #efe2b8; }
.story p:last-child { margin-bottom: 0; }
.transition { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--deep-rose); margin-top: 2rem; }
.disclaimer { font-size: .95rem; color: var(--text-muted); margin-top: 1.5rem; padding: .9rem 1.1rem; background: var(--mint-bg); color: var(--mint-text); border-radius: 12px; }
.sources { font-size: .82rem; color: var(--text-muted); margin-top: 1rem; }

/* --- Footer --- */
.site-footer { background: var(--deep-rose); color: #f6e7ef; padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; color: #e9cede; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-disclaimer { font-size: .82rem; color: #e0c2d3; margin-top: 1rem; max-width: 70ch; }

/* --- Legal-Seiten (Platzhalter) --- */
.legal { max-width: 780px; }
.legal .placeholder { background: var(--amber-bg); color: var(--amber-text); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; font-size: .95rem; }
.legal dt { font-weight: 700; color: var(--deep-rose); margin-top: 1rem; }

/* --- Responsive --- */
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead, .hero-badges { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
}

/* =========================================================================
   Sektionen 3–9 (Ausbau)
   ========================================================================= */

/* Primär-Nav im Header */
.main-nav { display: flex; gap: 1.4rem; align-items: center; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 1rem; }
.main-nav a:hover { color: var(--deep-rose); }
@media (max-width: 900px) { .main-nav { display: none; } }

.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head .kicker { color: var(--rose); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; margin: 0 0 .5rem; }
.section-head p { font-size: 1.15rem; color: var(--text); }

/* 3 Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.step .step-num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--rose-light); color: var(--deep-rose); font-weight: 800; margin-bottom: .8rem; }
.step h3 { margin-bottom: .3rem; }

/* Diskret & sicher – Merkmal-Liste */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.feature-item { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 1.1rem 1.3rem; }
.feature-item .ico { flex: 0 0 auto; width: 2.2rem; height: 2.2rem; border-radius: 8px; display: grid; place-items: center; background: var(--mint-bg); color: var(--mint-text); font-weight: 800; }
.feature-item strong { color: var(--deep-rose); display: block; }

/* Nachrichten-Beispiele (Chat-Bubbles) */
.messages { display: grid; gap: 1rem; max-width: 640px; }
.msg { background: #fff; border: 1px solid var(--card-border); border-left: 5px solid var(--rose); border-radius: 14px; padding: 1rem 1.3rem; box-shadow: var(--shadow); }
.msg.ok    { border-left-color: var(--mint-text); }
.msg.warn  { border-left-color: var(--amber-text); }
.msg .app { font-size: .8rem; color: var(--text-muted); display: block; margin-bottom: .2rem; }
.msg p { margin: 0; font-size: 1.1rem; }

/* Tarife */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; align-items: start; }
.plan { background: #fff; border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--rose); box-shadow: var(--shadow-lg); position: relative; }
.plan .tag { position: absolute; top: -.8rem; left: 1.8rem; background: var(--rose); color: #fff; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin-bottom: .2rem; }
.plan .price { font-size: 2.2rem; font-weight: 800; color: var(--deep-rose); line-height: 1.1; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.plan .sub { color: var(--text-muted); min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .55rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-text); font-weight: 900; }
.plan li.muted { color: var(--text-muted); }
.plan li.muted::before { content: "–"; color: var(--text-muted); }
.plan .btn { margin-top: auto; }

.b2b { margin-top: 2rem; background: var(--cream); border: 1px solid #efe2b8; border-radius: var(--radius); padding: 1.5rem 1.8rem; }
.b2b h3 { margin-bottom: .3rem; }
.draft-note { font-size: .9rem; color: var(--amber-text); background: var(--amber-bg); border-radius: 10px; padding: .7rem 1rem; margin-top: 1.2rem; }

/* Story / Vertrauen */
.trust { background: linear-gradient(180deg, var(--rose-bg), #fff); }
.trust blockquote { font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--deep-rose); font-weight: 700; border: 0; margin: 0 0 1rem; max-width: 24ch; line-height: 1.25; }

/* FAQ (Accordion) */
.faq { max-width: 780px; }
.faq details { background: #fff; border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: .8rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1rem 1.3rem; font-weight: 700; color: var(--deep-rose); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--rose); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.3rem 1.2rem; }

/* Tarif-Karten: Hardware/Abo-Trennung + ehrliche Basic-Auszeichnung (WCW-013..019) */
.plan .hw { margin: 0 0 .2rem; font-size: 1rem; color: var(--text); }
.plan .hw strong { color: var(--deep-rose); }
.plan .hw small, .plan .price small { color: var(--text-muted); font-weight: 600; }
.plan .cancel { margin: .1rem 0 .4rem; font-size: .85rem; color: var(--mint-text); font-weight: 600; }
.plan .setinfo { font-size: .82rem; color: var(--text-muted); margin: .2rem 0 .6rem; }
.plan .honest { font-size: .85rem; background: var(--amber-bg); color: var(--amber-text); border-radius: 10px; padding: .55rem .7rem; margin: .2rem 0 1rem; }
.plan .honest strong { color: var(--amber-text); }
.pricing-note { text-align: center; color: var(--text-muted); font-size: .95rem; margin-top: 1.4rem; }


/* --- Zielgruppen-Leiste über dem Kopf (CW-874, 20.11.2026) --- */
.zielgruppen { background: #fff; border-bottom: 1px solid var(--card-border); font-size: .875rem; line-height: 1.3; }
.zielgruppen .container { display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; min-height: 34px; flex-wrap: wrap; }
.zg-label { color: var(--text-muted); }
.zg { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; color: var(--text); padding: .3rem 0; }
.zg::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.zg:hover { color: var(--c-dunkel); text-decoration: underline; }
.zg-familie { --c: #D76E9A; --c-dunkel: #7A2F54; }
.zg-pflege  { --c: #3F7CB8; --c-dunkel: #1F4E79; }
.zg-bw      { --c: #4E9A6B; --c-dunkel: #2F5A3C; }
@media (max-width: 600px) {
  .zielgruppen .container { justify-content: center; gap: .9rem; }
  .zg-label { display: none; }
  .zg { padding: .45rem 0; }
}


/* --- Klappmenü fürs Handy (CW-875, 20.11.2026) --- */
.mobil-menue { display: none; }
@media (max-width: 900px) {
  .mobil-menue { display: block; }
  .mobil-menue > summary { list-style: none; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; gap: .15rem;
    padding: .35rem .5rem; border-radius: 12px; color: var(--deep-rose); font-weight: 700; font-size: .75rem; line-height: 1; user-select: none; }
  .mobil-menue > summary::-webkit-details-marker { display: none; }
  .mobil-menue > summary:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
  .mm-icon, .mm-icon::before, .mm-icon::after { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--deep-rose); position: relative; }
  .mm-icon { margin: 7px 0; }
  .mm-icon::before, .mm-icon::after { content: ""; position: absolute; left: 0; }
  .mm-icon::before { top: -7px; } .mm-icon::after { top: 7px; }
  .mobil-menue[open] .mm-icon { background: transparent; }
  .mobil-menue[open] .mm-icon::before { top: 0; transform: rotate(45deg); }
  .mobil-menue[open] .mm-icon::after { top: 0; transform: rotate(-45deg); }
  .mm-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-lg); padding: .4rem 16px 1rem; display: flex; flex-direction: column; }
  .mm-panel a { padding: .85rem .25rem; border-bottom: 1px solid var(--card-border); text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.125rem; }
  .mm-panel a:hover { color: var(--deep-rose); }
  .mm-trenner { margin-top: .9rem; font-size: .85rem; color: var(--text-muted); }
  .mm-panel .zg { padding: .85rem .25rem; }
  .site-header .container { gap: .6rem; }
  .site-header .btn-sm { margin-left: auto; }
}
@media (max-width: 360px) { .mm-text { display: none; } }
/* 25.11.: größeres Logo – auf schmalen Handys etwas kleiner, „Jetzt bestellen“ bleibt einzeilig */
@media (max-width: 420px) { .brand img { height: 48px; } .site-header .btn-sm { white-space: nowrap; padding: .55rem .9rem; } }
@media (max-width: 345px) { .brand img { height: 42px; } .site-header .btn-sm { font-size: .875rem; padding: .5rem .75rem; } }

/* --- Lange Wörter in Überschriften umbrechen statt seitlich überstehen (CW-875) --- */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
