/* angelkurs.de: schlanker Ableger von static/css/app.css. Farben setzt base.html aus site_config.COLORS. */
@font-face { font-family: "Young Serif"; font-weight: 400 700; font-display: swap; src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Young Serif Fallback"; font-weight: 400 700; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 97.77%; ascent-override: 106.98%; descent-override: 37.43%; line-gap-override: 0%; }
@font-face { font-family: "Montserrat Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"); size-adjust: 113.78%; ascent-override: 85.08%; descent-override: 22.06%; line-gap-override: 0%; }

:root {
    --ink: #1f2a44;
    --muted: #5d6474;
    --line: #e4dfd8;
    --shadow: #e8e1da;
    --radius: 18px;
    --serif: "Young Serif", "Young Serif Fallback", Georgia, "Times New Roman", serif;
    --sans: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: #fff; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; }
a { color: var(--primary); text-underline-offset: 3px; }
img, svg { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--soft); border-radius: 999px; padding: 5px 14px; margin-bottom: 1em; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* Illustrationen (dieselben Klassen wie in der Hauptapp) */
.il { display: block; width: 100%; height: auto; overflow: visible; }
.il .o, .logo-svg .o { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.il .o-acc, .logo-svg .o-acc { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.il .o-soft { stroke: var(--mint); stroke-width: 3; stroke-linecap: round; fill: none; }
.f-coat { fill: var(--coat) !important; }
.f-white { fill: #fff !important; }
.f-mint { fill: var(--mint) !important; }
.f-spot { fill: var(--spot) !important; }
.f-deep { fill: var(--primary) !important; }
.f-acc { fill: var(--accent) !important; }
.f-ink { fill: var(--ink) !important; }
.f-shadow { fill: var(--shadow) !important; }
.f-soft2 { fill: var(--soft) !important; }

/* Kopf und Fuß */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.brand .logo-svg { width: 38px; height: 38px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current] { background: var(--soft); }
.site-footer { background: var(--primary); color: rgba(255, 255, 255, .82); font-size: .92rem; margin-top: 80px; padding: 40px 0; }
.site-footer .brand { color: #fff; }
.site-footer .logo-svg .o { stroke: #fff; }
.footer-row { display: grid; gap: 14px; }
.footer-note { margin: 0; max-width: 560px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #fff; }

/* Hero und Seitenkopf */
.hero { background: var(--surface); padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero-art .il { max-width: 400px; margin-left: auto; }
.page-head { background: var(--surface); padding: 52px 0 40px; }
.art-404 .il { max-width: 260px; margin: 0 auto 10px; }
@media (max-width: 760px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; }
    .hero-art .il { max-width: 260px; margin: 0 auto; }
    .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
    .nav a { white-space: nowrap; }
}

/* Fließtext */
.prose { padding-top: 32px; }
.prose p, .prose li { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; background: var(--soft); border-radius: var(--radius); border: 0; }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.8em 0; }
.prose figure.fish .il { max-width: 420px; margin: 0 auto; }
.prose figure.illu .il { max-width: 320px; margin: 0 auto; }
.toc { background: var(--surface); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 1.5em; }
.toc ol { margin: .5em 0 0; }
.updated { color: var(--muted); font-size: .9rem; margin-top: 3em; }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--soft); color: var(--primary); font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tbody th { font-weight: 700; min-width: 170px; }
.laender td { min-width: 150px; }

/* Buttons: Orange nur für den Weg zum Trainer, alles andere in Primary */
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; }
.trainer-link { display: block; width: fit-content; margin-top: 6px; background: var(--accent); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.trainer-box { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 22px 26px; margin: 2em 0; }
.trainer-box .il { width: 110px; }
.trainer-box p { margin: 0 0 .5em; }
.trainer-box .trainer-link { font-size: .95rem; padding: 10px 20px; }
@media (max-width: 560px) { .trainer-box { grid-template-columns: 1fr; } }
