/* =========================================================
   seniorendigital.ch · ein gemeinsames Stylesheet für alle Seiten
   Aufbau: 1 Grundwerte · 2 Kopf- und Fusszeile · 3 Bausteine
           4 Startseite · 5 Ratgeber-Seiten · 6 Handy · 7 Drucken
   ========================================================= */

/* ---------- 1 Grundwerte ---------- */
:root {
  --bg: #faf6ef; --paper: #ffffff; --ink: #231f1a; --muted: #4f473e; --line: #e6dccd;
  --green: #2e7d71; --green-dark: #1f5c52; --green-soft: #e9f2ee;
  --terra: #a85d40; --terra-soft: #f7ebe4;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-y: scroll; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 21px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.06; margin-bottom: 22px; }
h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; margin-bottom: 14px; }
h3 { font-size: 25px; line-height: 1.25; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.head-block { max-width: 780px; margin-bottom: 44px; }
.lead { font-size: clamp(20px, 2.3vw, 24px); color: var(--muted); margin: 0; max-width: 34em; }

/* ---------- 2 Kopf- und Fusszeile (auf allen Seiten gleich) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,239,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { font-size: 18px; font-weight: 700; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green-dark); text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-help { color: var(--terra); }
.nav .tel { background: var(--green); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 19px; }
.nav .tel:hover { color: #fff; background: var(--green-dark); }

.site-footer { background: #23413b; color: #cdded9; font-size: 16px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; padding-top: 32px; padding-bottom: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer a { color: #cdded9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- 3 Bausteine, die mehrfach vorkommen ---------- */
/* Hauptknopf: höchstens einer pro Bereich */
.call-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--green); color: #fff; font-weight: 700; font-size: clamp(21px, 2.4vw, 25px); padding: 18px 30px; border-radius: 16px; text-decoration: none; box-shadow: 0 6px 18px rgba(46,125,113,0.3); }
.call-btn:hover { background: var(--green-dark); }
/* Textlink mit Pfeil */
.text-link { display: inline-block; font-weight: 700; font-size: 20px; color: var(--green-dark); text-decoration: underline; text-underline-offset: 5px; }
.text-link.terra { color: var(--terra); }
/* Kleines Etikett */
.label { display: inline-block; background: var(--green-soft); color: var(--green-dark); font-weight: 700; font-size: 17px; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.label.terra { background: var(--terra-soft); color: var(--terra); }

/* ---------- 4 Startseite ---------- */
/* Raster: links Text, rechts Foto (gleich hoch wie der Text), darunter der Knopf */
.hero { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 56px); row-gap: 0; align-items: stretch; }
.hero-text { grid-column: 1; grid-row: 1; }
.hero .cta-row { grid-column: 1; grid-row: 2; }
.hero h1 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1.04; margin-bottom: 0; }
.hero .lead { margin-top: 22px; }
.hero .cta-row { margin-top: 34px; }
.free { display: block; margin-top: 14px; font-size: 19px; color: var(--muted); }
.hero-img { grid-column: 2; grid-row: 1; border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px rgba(35,31,26,0.15); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }

.bg-paper { background: var(--paper); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tile { display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.ico { flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--green-soft); color: var(--green-dark); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 32px; height: 32px; }
.tile p { margin: 6px 0 0; font-size: 19px; color: var(--muted); line-height: 1.5; }
.tile .text-link { font-size: 18px; margin-top: 8px; }
.discreet { margin-top: 24px; background: var(--green-soft); border-left: 6px solid var(--green); border-radius: 0 20px 20px 0; padding: 22px 28px; }
.discreet h3 { color: var(--green-dark); margin-bottom: 6px; }
.discreet p { margin: 0; font-size: 19px; color: var(--muted); }

.reveal { margin-top: 36px; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.phone-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { width: min(250px, 72vw); aspect-ratio: 9 / 18; background: #1d2321; border-radius: 38px; padding: 12px; box-shadow: 0 22px 44px rgba(35,31,26,0.25); }
.screen { height: 100%; border-radius: 27px; background: linear-gradient(180deg, #2f3b38 0%, #1c2422 100%); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 38px 14px 26px; text-align: center; }
.screen .incoming { font-size: 14px; color: #b9c8c3; }
.avatar { width: 74px; height: 74px; border-radius: 50%; background: #4a5a56; display: flex; align-items: center; justify-content: center; margin: 18px 0 12px; font-family: var(--serif); font-size: 30px; color: #e6efec; animation: ring 1.6s ease-in-out infinite; }
.screen .caller { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.screen .number { font-size: 16px; color: #cddbd6; margin-top: 6px; }
.call-buttons { margin-top: auto; display: flex; gap: 48px; }
.call-buttons span { width: 52px; height: 52px; border-radius: 50%; display: block; }
.decline { background: #d9534f; } .accept { background: #3fae6a; }
.fake-tag { background: var(--terra); color: #fff; font-weight: 700; font-size: 18px; padding: 8px 20px; border-radius: 999px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(159,212,199,0.45); } 50% { box-shadow: 0 0 0 16px rgba(159,212,199,0); } }
.link-list { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 26px; }
.signals { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.signals li { background: var(--paper); border-left: 5px solid var(--terra); border-radius: 0 14px 14px 0; padding: 14px 20px; font-size: 20px; color: var(--muted); }
.signals strong { color: var(--ink); }
.rule-line { margin: 22px 0 0; font-size: 21px; font-weight: 700; color: var(--green-dark); }
/* Karten auf weissem Hintergrund bekommen den cremefarbenen Ton */
.bg-paper .fstep, .bg-paper .pcard { background: var(--bg); border: 1px solid var(--line); }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.fstep { background: var(--paper); border-radius: 20px; padding: 28px; }
.fstep .n { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-size: 27px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.fstep p { margin: 8px 0 0; font-size: 19px; color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.pcard .sub { margin: 6px 0 14px; font-size: 18px; color: var(--muted); }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 20px; }
.prow b { font-family: var(--serif); font-size: 26px; color: var(--green-dark); white-space: nowrap; }
.pnote { margin: 24px 0 0; font-size: 19px; color: var(--muted); }
.pnote strong { color: var(--ink); }

.about { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.about-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 18px 40px rgba(35,31,26,0.12); }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about p { font-size: 21px; color: var(--muted); margin: 22px 0 0; }
.story { margin: 22px 0 0; padding: 22px 26px; background: var(--bg); border-left: 5px solid var(--green); border-radius: 0 16px 16px 0; font-size: 20px; color: var(--muted); }
.story b { display: block; font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }


.contact { background: var(--green); color: #fff; text-align: center; }
.contact h2 { color: #fff; margin-bottom: 14px; }
.contact .lead { color: #e3f1ec; margin: 0 auto 32px; }
.contact .big-tel { display: inline-block; background: #fff; color: var(--green-dark); font-weight: 700; font-size: clamp(28px, 4vw, 40px); padding: 20px 40px; border-radius: 18px; text-decoration: none; }
.contact .mail { display: block; margin-top: 24px; font-size: 21px; color: #fff; text-underline-offset: 4px; }

/* ---------- 5 Ratgeber-Seiten ---------- */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px clamp(56px, 8vw, 96px); }
.intro { font-size: clamp(20px, 2.3vw, 23px); color: var(--muted); margin: 0 0 16px; }

.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; margin: 34px 0 20px; }
.toc h2 { font-size: 24px; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 26px; }
.toc li { margin: 4px 0; font-size: 19px; }
.toc a { color: var(--green-dark); text-underline-offset: 4px; }

.block { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--line); }
.block h2 { font-size: clamp(30px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 14px; }
.block p { margin: 0 0 16px; color: var(--muted); }
.block p.quote { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--terra); margin: 20px 0; }
.block > ul { margin: 0 0 16px; padding-left: 24px; color: var(--muted); }
.block > ul li { margin: 6px 0; }

.protect { background: var(--green-soft); border-radius: 18px; padding: 22px 26px; }
.protect h3 { font-size: 23px; margin: 0 0 8px; color: var(--green-dark); }
.protect ul { margin: 0; padding-left: 24px; }
.protect li { margin: 6px 0; }
.protect.terra { background: var(--terra-soft); }
.protect.terra h3 { color: var(--terra); }

.box { margin-top: 56px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.box h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 0 0 14px; }
.box ol, .box ul { margin: 0; padding-left: 28px; }
.box li { margin: 8px 0; }
.box p { margin: 0 0 12px; color: var(--muted); }
.box.next { border-left: 6px solid var(--terra); }

/* Grüner Sofort-Kasten (Hilfe-Seite) */
.alert { background: var(--green); color: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 38px); margin: 34px 0 10px; }
.alert h2 { color: #fff; font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 10px; }
.alert p { margin: 0 0 12px; color: #e3f1ec; }
.alert p:last-child { margin-bottom: 0; }
.alert strong { color: #fff; }

/* Zeit-Etikett bei den Schritten */
.when { display: inline-block; font-size: 16px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 10px; }
.when.now { background: var(--terra-soft); color: var(--terra); }
.when.today { background: var(--green-soft); color: var(--green-dark); }
.when.later { background: #efe9df; color: var(--muted); }

.cta { margin-top: 56px; background: var(--green); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 44px); text-align: center; }
.cta h2 { font-size: clamp(30px, 3.8vw, 42px); margin: 0 0 12px; color: #fff; }
.cta p { margin: 0 auto 26px; color: #e3f1ec; max-width: 30em; }
.cta .tel { display: inline-block; background: #fff; color: var(--green-dark); font-weight: 700; font-size: clamp(26px, 3.6vw, 34px); padding: 16px 34px; border-radius: 16px; text-decoration: none; }

.disclaimer { font-size: 17px; color: var(--muted); margin-top: 18px; }

/* ---------- 6 Handy ---------- */
@media (max-width: 860px) {
  .hero, .about, .reveal { grid-template-columns: 1fr; }
  .hero-text, .hero .cta-row, .hero-img { grid-column: 1; }
  .hero .cta-row { grid-row: 2; }
  .hero-img { grid-row: 3; max-width: 560px; aspect-ratio: 1448 / 1086; margin-top: 36px; }
  .nav a:not(.tel):not(.nav-help) { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { height: 32px !important; }
  .nav .nav-help { display: none; }
  .call-btn { font-size: clamp(18px, 5.2vw, 22px); padding: 16px 20px; white-space: nowrap; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .brand img { height: 36px; }
  .nav { gap: 14px; }
  .nav .tel { padding: 9px 16px; font-size: 17px; }
  .nav .nav-help { font-size: 16px; }
}

/* ---------- 7 Drucken ---------- */
@media print {
  .site-header, .site-footer, .cta, .no-print { display: none !important; }
  body { background: #fff; font-size: 13pt; }
  .alert { background: #fff; color: #000; border: 2px solid #000; }
  .alert h2, .alert p, .alert strong { color: #000; }
  .block, .protect { break-inside: avoid; }
}
