/* hundetrainerapp.ch: eigenes Erscheinungsbild der Lernapp Hundetrainer (25.10.2026).
   Farben und Schriften wie in der App (app.hundetrainerapp.ch): Waldgrün, Beerenrot, Creme, Fraunces + Lora. */
:root {
  --bg: #f5f2ec; --surface: #fff; --surface-2: #faf7f1;
  --ink: #1a1818; --ink-2: #4a4642; --muted: #6f6a62;
  --line: #e0dad0; --line-2: #d4ccbe;
  --brand: #2d4a3e; --brand-dunkel: #1f3a30; --brand-tint: #ebf0ec;
  --accent: #8f3b4c; --accent-soft: #f4e4e7;
  --ok: #2d4a3e; --ok-bg: #d9e5dd; --err: #b4351c; --err-bg: #f5dcd4;
  --shadow-sm: 0 1px 2px rgba(26,24,24,.04); --shadow-md: 0 4px 16px rgba(26,24,24,.06);
  --shadow-lg: 0 18px 40px rgba(45,74,62,.22);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --f-display: "Fraunces", Georgia, serif; --f-body: "Lora", Georgia, serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.07rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; color: var(--ink); }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Augenbraue (wie in der App: Kapitälchen, gesperrt) */
.augenbraue { font-family: var(--f-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.augenbraue.rot { color: var(--accent); }

/* ── Kopf ─────────────────────────────────────────── */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(245,242,236,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.marke-zeichen { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #f5e9d0; display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.25rem; flex-shrink: 0; }
.marke-vor { display: block; font-family: var(--f-display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; line-height: 1.2; }
.marke-name { display: block; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--brand); line-height: 1.1; }
.navi { display: flex; align-items: center; gap: 22px; }
.navi a { text-decoration: none; color: var(--ink-2); font-family: var(--f-display); font-size: .92rem; font-weight: 500; }
.navi a:hover { color: var(--brand); }
@media (max-width: 860px) { .navi .nur-breit { display: none; } }

/* ── Knöpfe ───────────────────────────────────────── */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-md); border: 1.5px solid var(--brand); background: var(--brand); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, transform .12s; }
.knopf:hover { background: var(--brand-dunkel); color: #fff; }
.knopf:active { transform: scale(.98); }
.knopf.hell { background: transparent; color: var(--brand); }
.knopf.hell:hover { background: var(--brand-tint); color: var(--brand); }
.navi a.knopf { color: #fff; }
.knopf.klein { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.knopf[disabled] { opacity: .6; cursor: wait; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.15rem, 5.2vw, 3.7rem); }
.hero .unterzeile { font-family: var(--f-display); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--brand); margin: 18px 0 0; }
.hero .lead { font-size: 1.12rem; color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.vertrauen { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .88rem; color: var(--muted); list-style: none; padding: 0; }
.vertrauen li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 6px; }
.handy-buehne { position: relative; display: grid; place-items: center; }
.handy-buehne::before { content: ""; position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--brand-tint) 0, var(--brand-tint) 55%, transparent 56%); z-index: 0; }
.handy { position: relative; z-index: 1; width: min(310px, 78vw); border-radius: 44px; padding: 11px; background: #1a1818; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.handy img { border-radius: 34px; width: 100%; }
.handy-notiz { position: absolute; z-index: 2; right: -6px; bottom: 54px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; box-shadow: var(--shadow-md); font-size: .86rem; max-width: 190px; transform: rotate(2deg); }
.handy-notiz strong { display: block; font-family: var(--f-display); color: var(--accent); }
@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero-raster { grid-template-columns: 1fr; gap: 44px; }
  .handy-notiz { right: 4px; bottom: 30px; }
}

/* ── Zahlenband ───────────────────────────────────── */
.zahlen { background: var(--brand); color: #f5e9d0; padding: 44px 0; }
.zahlen-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding-top: 0; padding-bottom: 0; }
.zahl { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: #fff; }
.zahl em { font-style: italic; font-weight: 500; color: #f0c9d1; }
.zahl-text { margin-top: 8px; font-size: .92rem; color: rgba(245,233,208,.85); line-height: 1.4; }
@media (max-width: 760px) { .zahlen-raster { grid-template-columns: 1fr 1fr; gap: 26px 20px; } }

/* ── Abschnitte ───────────────────────────────────── */
.abschnitt { padding: 80px 0; }
.abschnitt.mit-handy { overflow: hidden; }
.abschnitt.creme { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.abschnitt-kopf { max-width: 720px; margin-bottom: 40px; }
.abschnitt-kopf h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.abschnitt-kopf .lead { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 760px) { .abschnitt { padding: 60px 0; } }

/* Funktionen */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 22px; box-shadow: var(--shadow-sm); }
.karte-nr { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.karte h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.karte p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.karte.neu { border-color: var(--brand); }
.marke-neu { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-family: var(--f-display); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; font-style: normal; }

/* Zwei Spalten mit Bild */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; gap: 36px; } }
.liste-haken { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.liste-haken li { padding-left: 34px; position: relative; color: var(--ink-2); }
.liste-haken li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.liste-haken strong { color: var(--ink); }

/* Prüfung: Fakten + Termine */
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0; }
.fakten > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.fakten dt { font-size: .8rem; color: var(--muted); font-family: var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.fakten dd { margin: 6px 0 0; font-family: var(--f-display); font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.termine { margin-top: 28px; border-top: 1px solid var(--line); }
.termine .row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.termine .row-meta { flex: 0 0 230px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--brand); }
.termine .row-main { flex: 1 1 260px; }
.termine .row-title { font-weight: 600; }
.termine .row-desc { color: var(--muted); font-size: .92rem; }
.kleingedruckt { font-size: .86rem; color: var(--muted); margin-top: 18px; }

/* Schritte */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: schritt; }
.schritte li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: relative; }
.schritte li::before { counter-increment: schritt; content: counter(schritt, decimal-leading-zero); font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 2rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 12px; }
.schritte h3 { font-size: 1.15rem; margin-bottom: 6px; }
.schritte p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } }

/* Bewilligung: nummerierte Liste */
.bewilligung { list-style: none; padding: 0; margin: 0; counter-reset: b; border-top: 1px solid var(--line); }
.bewilligung li { counter-increment: b; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.bewilligung li::before { content: counter(b); font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.6rem; color: var(--brand); line-height: 1.1; }
.bewilligung strong { color: var(--ink); }

/* Preis + Bestellung */
.preis-raster { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .preis-raster { grid-template-columns: 1fr; } }
.preiskarte { background: var(--brand); color: #f5e9d0; border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-lg); }
.preiskarte .augenbraue { color: rgba(245,233,208,.75); }
.preis-gross { font-family: var(--f-display); font-weight: 600; font-size: 3.2rem; color: #fff; line-height: 1; }
.preis-gross small { font-size: 1.1rem; font-weight: 500; font-style: italic; color: #f0c9d1; margin-left: 6px; }
.preiskarte ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.preiskarte li { padding-left: 26px; position: relative; color: rgba(245,233,208,.92); }
.preiskarte li::before { content: "✓"; position: absolute; left: 0; color: #f0c9d1; font-weight: 700; }
.preis-verl { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(245,233,208,.25); font-size: .92rem; color: rgba(245,233,208,.85); }
.preis-verl strong { color: #fff; }
.formkarte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-md); }
.formkarte h3 { font-size: 1.4rem; margin-bottom: 10px; }
.feld { display: grid; gap: 6px; margin-top: 16px; }
.feld label { font-family: var(--f-display); font-weight: 600; font-size: .92rem; }
.feld input, .feld textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font-family: var(--f-body); font-size: 1rem; background: var(--surface); color: var(--ink); }
.feld input:focus, .feld textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.feld textarea { min-height: 90px; resize: vertical; }
.hinweis { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .95rem; }
.form-msg.is-visible { display: block; }
.form-msg--ok { background: var(--ok-bg); color: var(--ok); }
.form-msg--err { background: var(--err-bg); color: var(--err); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* Über */
.ueber { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; }
.ueber img { width: 200px; height: 200px; object-fit: cover; object-position: center 20%; border-radius: 50%; border: 6px solid var(--surface); box-shadow: var(--shadow-md); }
@media (max-width: 700px) { .ueber { grid-template-columns: 1fr; } .ueber img { width: 150px; height: 150px; } }

/* Abschluss-Aufruf */
.aufruf { background: var(--accent-soft); border: 1px solid #ead0d6; border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.aufruf h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.aufruf p { margin: 8px 0 0; color: var(--ink-2); }

/* ── Fuss ─────────────────────────────────────────── */
.fuss { background: var(--brand-dunkel); color: rgba(245,233,208,.85); padding: 48px 0 36px; margin-top: 80px; font-size: .94rem; }
.fuss a { color: #f5e9d0; }
.fuss a:hover { color: #f0c9d1; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.fuss .marke-name { color: #f5e9d0; }
.fuss .marke-vor { color: rgba(245,233,208,.6); }
.fuss .marke-zeichen { background: #f5e9d0; color: var(--brand-dunkel); }
.fuss h2 { font-family: var(--f-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,233,208,.6); margin-bottom: 12px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fuss-unten { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(245,233,208,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: rgba(245,233,208,.65); }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr; } }
