/* Britta Dönselmann Consulting – Stylesheet (hell/dunkel) */
/* Selbst gehostete Schrift: Inter (SIL Open Font License), keine externen Zugriffe */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"), url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f7f9f9;
  --surface: #ffffff;
  --alt: #eef4f4;
  --text: #0c2a2b;
  --muted: #4b6666;
  --line: #d9e4e4;
  --brand: #003334;
  --brand-ink: #ffffff;
  --link: #00696c;
  --accent-a: #e8408f;
  --accent-b: #5b4b9f;
  --accent-c: #4fc3ea;
  --shadow: 0 1px 2px rgba(0, 40, 40, .06), 0 8px 24px rgba(0, 40, 40, .07);
  --radius: 16px;
  --grad: linear-gradient(120deg, var(--accent-a), var(--accent-b) 55%, var(--accent-c));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#071112; --surface:#0e1e1f; --alt:#0b191a; --text:#e5f0f0; --muted:#9ab3b3; --line:#1e3536; --brand:#8fdcde; --brand-ink:#032021; --link:#7fd3d6; --shadow:0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark; }
}
:root[data-theme="dark"] { --bg:#071112; --surface:#0e1e1f; --alt:#0b191a; --text:#e5f0f0; --muted:#9ab3b3; --line:#1e3536; --brand:#8fdcde; --brand-ink:#032021; --link:#7fd3d6; --shadow:0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.7 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-c); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--brand-ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--text); }
.brand img { border-radius: 50%; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.brand-t span { font-size: 1.12rem; font-weight: 400; color: var(--muted); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .55rem .95rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; transition: background .2s, color .2s; }
.nav a:hover { background: var(--alt); }
.nav a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
.tools { display: flex; gap: .35rem; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: background .2s, transform .2s; }
.iconbtn:hover { background: var(--alt); }
.iconbtn:active { transform: scale(.94); }
.i-moon, .i-close, .menu { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: inline-grid; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: inline-grid; }
}
.i-sun, .i-moon, .i-open, .i-close { line-height: 0; }

@media (max-width: 860px) {
  .js .menu { display: inline-grid; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; margin: 0; box-shadow: var(--shadow); }
  .js .nav.open { display: block; }
  .js .nav ul { flex-direction: column; }
  .js .nav a { padding: .9rem 1rem; border-radius: 12px; font-size: 1.05rem; }
  .js .menu[aria-expanded="true"] .i-open { display: none; }
  .js .menu[aria-expanded="true"] .i-close { display: inline-grid; }
  .nav { margin-left: 0; } .tools { margin-left: auto; }
  .nav ul { flex-wrap: wrap; } .bar { flex-wrap: wrap; padding-block: .6rem; }
  .js .bar { flex-wrap: nowrap; }
}

/* Buttons & Text-Elemente */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; font-size: 1rem; line-height: 1.2; }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--brand); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--brand); color: var(--brand-ink); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; margin-top: auto; }
.more:hover .ico { transform: translateX(3px); } .more .ico { transition: transform .2s; }
.sig { font-weight: 600; font-size: 1.15rem; margin-top: 1.5rem; }

/* Bilder + Bildnachweis */
.fig { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--alt); }
.fig img { width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: .6rem; bottom: .6rem; font-size: .72rem; line-height: 1; padding: .35rem .6rem; border-radius: 999px; color: #fff; background: rgba(4, 22, 23, .68); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); letter-spacing: .02em; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; background: var(--grad); filter: blur(110px); opacity: .22; border-radius: 50%; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 { filter: brightness(1.15); } }
:root[data-theme="dark"] .hero h1 { filter: brightness(1.15); }
.hero-lead { font-size: 1.2rem; font-weight: 600; margin-bottom: .8rem; }
.checks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; }
.checks .ico { width: 1.6rem; height: 1.6rem; padding: .28rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); margin-top: .1rem; }
.hero-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-img img, :root:not([data-theme="light"]) .fig img { filter: brightness(.88); } }
:root[data-theme="dark"] .hero-img img, :root[data-theme="dark"] .fig img { filter: brightness(.88); }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero-img { aspect-ratio: 16/10; } }

/* Sektionen & Karten */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section.alt { background: var(--alt); border-block: 1px solid var(--line); }
.sec-h { margin-bottom: 1.5rem; position: relative; padding-bottom: .7rem; }
.sec-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: var(--grad); }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .cards3 { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s; }
.card:hover { transform: translateY(-3px); }
.card .fig { border-radius: 0; aspect-ratio: 4/3; }
.card-b { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card-b h2, .card-b h3 { font-size: 1.45rem; }
.card-b p { color: var(--muted); }
.prose p { max-width: 68ch; }
.prose h2 { margin-bottom: .8em; }
.pagehead { position: relative; isolation: isolate; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); color: #fff; background: #04292a var(--banner) center/cover; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,35,36,.9), rgba(0,35,36,.55) 60%, rgba(0,35,36,.35)); }
.pagehead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.pagehead h1 { margin: 0; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.4rem); }
.pagehead .lead { max-width: 60ch; margin: 1rem 0 0; font-size: 1.15rem; color: rgba(255,255,255,.9); }

/* Angebot: Split-Zeilen */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split.rev .fig { order: 2; }
.split .fig { aspect-ratio: 4/3; box-shadow: var(--shadow); }
.split-t p { color: var(--muted); }
.split-t .btn { margin-top: .6rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev .fig { order: 0; } }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait { aspect-ratio: 2/3; box-shadow: var(--shadow); }
.about-img .facts { margin-top: 1.5rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.facts li { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: .98rem; line-height: 1.5; }
.facts span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
blockquote { margin: 0 0 2rem; padding: 1.4rem 1.6rem; border-left: 5px solid; border-image: var(--grad) 1; background: var(--surface); border-radius: 0 14px 14px 0; font-size: 1.2rem; line-height: 1.6; font-weight: 500; box-shadow: var(--shadow); }
.role { color: var(--muted); font-weight: 500; margin-top: -.6rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-img { max-width: 420px; } }

/* Kurse */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .courses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .courses { grid-template-columns: 1fr; } }
.course { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s; }
.course:hover { transform: translateY(-3px); }
.course .fig { border-radius: 0; aspect-ratio: 16/10; }
.course-b { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.course-b h2 { font-size: 1.3rem; margin: 0; }
.price { margin-top: auto; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.price strong { font-size: 1.7rem; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: .9rem; }
.course-b .btn { justify-content: center; }

/* Kursseite */
.back { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; font-weight: 600; margin-bottom: 1.5rem; padding: .5rem 1rem .5rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); }
.back:hover { background: var(--alt); }
.cp { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cp-side { display: grid; gap: 1.2rem; }
.cp-side .fig { aspect-ratio: 4/3; box-shadow: var(--shadow); }
.factbox { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; display: grid; gap: 1rem; box-shadow: var(--shadow); }
.factbox span { display: flex; gap: .5rem; align-items: center; font-weight: 700; } .factbox .ico { color: var(--link); }
.factbox p { margin: .2rem 0 0; color: var(--muted); }
.fb-price { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; align-items: baseline; gap: .6rem; }
.fb-price strong { font-size: 1.8rem; letter-spacing: -.02em; } .fb-price small { color: var(--muted); }
.factbox .btn { justify-content: center; }
.cp-main h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3rem); }
.lead { font-size: 1.15rem; color: var(--text); }
.sub { font-size: 1.15rem; margin: 2rem 0 .8rem; padding-left: .9rem; border-left: 4px solid; border-image: var(--grad) 1; }
.list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.list li { position: relative; padding: .7rem 1rem .7rem 2.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--grad); }
.list strong { color: var(--text); font-weight: 600; margin-right: .1rem; }
.h-adv { margin-top: 2.6rem; font-size: 1.6rem; }
@media (max-width: 900px) { .cp { grid-template-columns: 1fr; } .cp-side { grid-template-columns: 1fr; max-width: 520px; } }

/* Kontakt */
.contact { background: var(--brand); color: var(--brand-ink); }
.contact a { color: inherit; }
.contact-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.contact h2 { margin-bottom: .5rem; } .contact p { margin: 0; opacity: .92; max-width: 60ch; }
.contact-cta { display: grid; gap: 1rem; justify-items: start; }
.contact .btn-primary { background: var(--brand-ink); color: var(--brand); box-shadow: none; }
.tel { display: flex !important; align-items: center; gap: .5rem; opacity: 1 !important; }
@media (max-width: 800px) { .contact-in { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.legal .q { font-weight: 600; margin-top: 1.2rem; margin-bottom: .3rem; }
.legal p, .legal li, .legal address { color: var(--text); overflow-wrap: anywhere; hyphens: auto; }
.legal ul { padding-left: 1.3rem; margin: 0 0 1rem; } .legal address { font-style: normal; margin: 0 0 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.legal .src { color: var(--muted); margin-top: 2rem; }

/* Footer */
.site-footer { background: var(--alt); border-top: 1px solid var(--line); margin-top: 0; }
.foot { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; padding-block: 2.2rem; }
.foot-soc { display: flex; gap: .6rem; }
.soc { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: background .2s, color .2s, transform .2s; }
.soc:hover { background: var(--brand); color: var(--brand-ink); transform: translateY(-2px); }
.soc .ico { width: 21px; height: 21px; }
.foot-links { display: flex; gap: 1.2rem; }
.foot-links a { color: var(--text); text-decoration: none; font-weight: 500; } .foot-links a:hover { text-decoration: underline; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; gap: 1.4rem; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .contact, .tools, .skip { display: none; } body { background: #fff; color: #000; } }

/* Overlay (Impressum / Datenschutz) */
.embed .site-header, .embed .site-footer, .embed .pagehead, .embed .skip { display: none; }
.embed body { background: var(--surface); }
.embed .section { padding-top: 1.5rem; }
.embed .legal > h2:first-child { margin-top: 0; }
.embed .legal::before { content: attr(data-t); }
dialog.overlay { width: min(880px, calc(100% - 1.5rem)); height: min(88vh, 900px); max-height: calc(100dvh - 1.5rem); padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.45); overflow: hidden; }
dialog.overlay[open] { display: flex; flex-direction: column; }
dialog.overlay::backdrop { background: rgba(2, 16, 17, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.ov-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .75rem .75rem 1.4rem; border-bottom: 1px solid var(--line); }
.ov-bar h2 { margin: 0; font-size: 1.15rem; }
.ov-frame { flex: 1; width: 100%; border: 0; background: var(--surface); color-scheme: light dark; }
body.ov-open { overflow: hidden; }

/* Button „Nach oben“ */
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 20px rgba(0, 30, 30, .3); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top .ico { width: 24px; height: 24px; }
body.ov-open .to-top { display: none; }
@media print { .to-top { display: none; } }

/* SEO: Breadcrumbs, Bilder */
.fig picture { display: block; width: 100%; height: 100%; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .88rem; }
.crumbs li + li::before { content: "›"; margin-right: .5rem; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; opacity: .85; } .crumbs a:hover { text-decoration: underline; opacity: 1; }
.crumbs { color: var(--muted); }
.crumbs.on-dark { color: rgba(255,255,255,.85); }
.crumbs [aria-current] { font-weight: 600; }
.split[id], .card[id] { scroll-margin-top: 96px; }
.pagehead .kicker { color: rgba(255,255,255,.88); }

/* Mobil: Überlauf vermeiden, Tippflächen ≥ 44 px */
.pagehead h1, .cp-main h1, h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .pagehead h1 { font-size: clamp(1.7rem, 8.2vw, 2.2rem); } }
.more { min-height: 44px; padding-block: .6rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .3rem; }
.tel a { display: inline-block; padding-block: .7rem; }
.tel { min-height: 44px; }
.credit { font-size: .78rem; }
.crumbs a { display: inline-block; padding-block: .35rem; }
.soc { width: 48px; height: 48px; }

/* ===== Grünes Farbkonzept (Hauptfarbe der Seite) ===== */
:root {
  --green-deep: #062f30;
  --green-mid: #0b4f50;
  --green-bright: #12645d;
  --green-accent: #14806f;
  --mint: #7fe0cf;
  --bg: #f1f6f4;
  --alt: #e2efeb;
  --surface: #ffffff;
  --line: #cbe0da;
  --text: #0a2a2a;
  --muted: #45625f;
  --brand: #0b4f50;
  --brand-ink: #ffffff;
  --link: #0a6a63;
  --grad: linear-gradient(90deg, #0f6a62, #43c2ad);
  --grad-logo: linear-gradient(120deg, #e8408f, #5b4b9f 55%, #4fc3ea);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --green-deep:#031213; --green-mid:#0a3a3b; --green-bright:#0f5650; --green-accent:#5fd3bd; --bg:#061415; --alt:#08191a; --surface:#0c2122; --line:#1c3a39; --text:#e3f1ee; --muted:#93b3ae; --brand:#7fe0cf; --brand-ink:#032120; --link:#7fe0cf; }
}
:root[data-theme="dark"] { --green-deep:#031213; --green-mid:#0a3a3b; --green-bright:#0f5650; --green-accent:#5fd3bd; --bg:#061415; --alt:#08191a; --surface:#0c2122; --line:#1c3a39; --text:#e3f1ee; --muted:#93b3ae; --brand:#7fe0cf; --brand-ink:#032120; --link:#7fe0cf; }

/* Kopfzeile in Grün */
.site-header { background: var(--green-deep); border-bottom: 0; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .brand, .site-header .brand-t b { color: #fff; }
.site-header .brand-t span { color: rgba(255,255,255,.72); }
.site-header .nav a { color: rgba(255,255,255,.92); }
.site-header .nav a:hover { background: rgba(255,255,255,.12); }
.site-header .nav a[aria-current="page"] { background: #fff; color: var(--green-deep); }
.site-header .iconbtn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.site-header .iconbtn:hover { background: rgba(255,255,255,.18); }
:root[data-theme="dark"] .site-header .nav a[aria-current="page"] { background: var(--mint); color: #032120; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .nav a[aria-current="page"] { background: var(--mint); color: #032120; } }
@media (max-width: 860px) { .js .nav { background: var(--green-deep); border-bottom: 1px solid rgba(255,255,255,.12); } }

/* Hero in Grün */
.hero { background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 55%, var(--green-bright) 100%); color: #fff; }
.hero::before { opacity: .38; }
.hero .kicker { color: rgba(255,255,255,.75); }
.hero h1 { background: linear-gradient(120deg, #ff8fc4, #c9b5ff 50%, #8fe6ff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: none; }
.hero-lead { color: #fff; }
.hero .checks .ico { background: var(--mint); color: #032120; }
.hero .btn-primary { background: #fff; color: var(--green-deep); }
.hero-img::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.hero-img { box-shadow: 0 20px 60px rgba(0,0,0,.35); }

/* Banner: durchgehend grüne Tönung */
.pagehead::before { background: linear-gradient(100deg, rgba(3,38,39,.93), rgba(9,72,71,.78) 55%, rgba(18,100,93,.55)); }
.pagehead::after, .sec-h::after { background: var(--grad); }

/* Getönte Flächen, Karten, Akzente */
.section.alt { background: var(--alt); border-color: var(--line); }
.card, .course, .factbox, .facts li, .list li, .legal address { border-color: var(--line); }
.sub { border-image: none; border-left: 4px solid var(--green-accent); }
.list li::before { background: var(--green-accent); }
blockquote { border-image: none; border-left: 5px solid var(--green-accent); }
.btn-ghost { border-color: var(--green-accent); }
.btn-ghost:hover { background: var(--brand); border-color: var(--brand); }
.checks .ico { background: var(--green-accent); color: #fff; }
.card-b h2, .card-b h3, .course-b h2 { color: var(--green-mid); }
:root[data-theme="dark"] .card-b h2, :root[data-theme="dark"] .card-b h3, :root[data-theme="dark"] .course-b h2 { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-b h2, :root:not([data-theme="light"]) .card-b h3, :root:not([data-theme="light"]) .course-b h2 { color: var(--mint); } }
.price strong, .fb-price strong { color: var(--green-mid); }
:root[data-theme="dark"] .price strong, :root[data-theme="dark"] .fb-price strong { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price strong, :root:not([data-theme="light"]) .fb-price strong { color: var(--mint); } }
.kicker { color: var(--green-accent); }
.pagehead .kicker, .hero .kicker { color: rgba(255,255,255,.85); }
.back { border-color: var(--line); }

/* Kontakt und Footer in Grün */
.contact { background: linear-gradient(135deg, var(--green-mid), var(--green-bright)); color: #fff; }
.contact .btn-primary { background: #fff; color: var(--green-deep); }
.site-footer { background: var(--green-deep); border-top: 0; color: rgba(255,255,255,.85); }
.site-footer .brand, .site-footer .brand-t b { color: #fff; }
.site-footer .brand-t span { color: rgba(255,255,255,.7); }
.foot-links a { color: #fff; }
.site-footer .soc { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.site-footer .soc:hover { background: #fff; color: var(--green-deep); }
.to-top { background: var(--green-accent); color: #fff; }
:root[data-theme="dark"] .to-top { background: var(--mint); color: #032120; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .to-top { background: var(--mint); color: #032120; } }
.embed body { background: var(--surface); }
h1 { hyphens: manual; overflow-wrap: break-word; }
.pagehead h1 { overflow-wrap: anywhere; hyphens: manual; }
@media (max-width: 480px) { .pagehead h1 { font-size: clamp(1.6rem, 7.4vw, 2.2rem); } }

/* Kompakte Seitenköpfe (ca. doppelte Höhe der Kopfzeile) */
.pagehead { padding: 1rem 0 1.2rem; min-height: 144px; display: flex; align-items: center; }
.pagehead > .wrap { width: min(1160px, 100% - 2.5rem); }
.pagehead .crumbs ol { margin: 0 0 .35rem; font-size: .84rem; }
.pagehead h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; margin: 0; }
@media (max-width: 480px) { .pagehead { min-height: 128px; } .pagehead h1 { font-size: clamp(1.6rem, 7vw, 2rem); } }
.intro { max-width: 68ch; font-size: 1.12rem; color: var(--muted); margin: 0 0 2rem; }
.section > .wrap > .kicker { margin-bottom: 1.4rem; }

/* Brotkrumen: alle Einträge auf einer Linie */
.crumbs ol { align-items: center; gap: 0 .5rem; }
.crumbs li { display: flex; align-items: center; min-height: 36px; line-height: 1.3; }
.crumbs a { display: inline; padding: 0; }
.crumbs li + li::before { display: inline-block; line-height: 1; }
.pagehead .crumbs ol { margin-bottom: .1rem; }
.pagehead .crumbs li { min-height: 32px; }

/* Footer: einzeilig, gleiche Höhe wie die Kopfzeile (72 px) */
.site-footer .foot { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; padding-block: 0; grid-template-columns: none; }
.foot-copy { flex: 1; min-width: 0; font-size: .78rem; line-height: 1.35; color: rgba(255,255,255,.75); }
.foot-copy p { margin: 0; }
.foot-links { gap: .6rem; }
.site-footer .soc { width: 44px; height: 44px; }
.site-footer .soc .ico { width: 20px; height: 20px; }
.to-top { transition: opacity .25s, visibility .25s, background .2s; }
.to-top.show:hover { filter: brightness(1.1); }
@media (max-width: 900px) {
  .site-footer .foot { flex-wrap: wrap; padding-block: 1rem; row-gap: .5rem; }
  .foot-copy { flex-basis: 100%; order: 5; }
}
@media (max-width: 560px) { .site-footer .foot { justify-content: space-between; } .foot-soc { margin-left: auto; } }

/* Footer ohne Logo und Bildquellen-Hinweis: Copyright links, Links + Icons rechts */
.site-footer .foot { justify-content: space-between; gap: 1.5rem; }
.foot-copy { flex: 1 1 auto; font-size: .88rem; }
.foot-links { margin-left: auto; align-items: center; gap: 1.2rem; }
.foot-links a { min-height: 44px; }
.foot-soc { align-items: center; }
@media (max-width: 900px) {
  .site-footer .foot { flex-direction: column; align-items: center; text-align: center; padding-block: 1.1rem; gap: .5rem; }
  .foot-copy { order: 3; flex-basis: auto; }
  .foot-links { margin-left: 0; order: 1; }
  .foot-soc { order: 2; }
}

/* Bildnachweis auf Hero und Seitenkopf */
.hero-img .credit { z-index: 2; }
.pagehead .credit { z-index: 1; right: max(.8rem, calc((100% - 1160px) / 2)); bottom: .9rem; }

/* Startseite: Bild genau so hoch wie der Textbereich */
.hero-in { align-items: stretch; }
.hero-img { aspect-ratio: auto; align-self: stretch; min-height: 0; position: relative; }
.hero-img picture { position: absolute; inset: 0; display: block; }
.hero-img picture img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero-img { aspect-ratio: 16 / 10; } }

/* Footer mobil: alles mittig */
@media (max-width: 900px) {
  .site-footer .foot { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .foot-soc, .foot-links { margin: 0; justify-content: center; }
  .foot-copy { flex: 0 0 auto; text-align: center; width: 100%; }
}
@media (max-width: 900px) { .contact-in { padding-bottom: 5.2rem; } }

/* Startseite: Überschrift oben, darunter Text links und Bild rechts (Bild beginnt bei „Bei mir sind Sie richtig:“) */
.hero-in { grid-template-columns: 1.05fr .95fr; grid-template-areas: "head head" "text img"; gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.hero-head { grid-area: head; }
.hero-t { grid-area: text; }
.hero-img { grid-area: img; }
.hero-head h1 { margin-bottom: .2em; }
.hero-lead { margin-top: 0; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "head" "text" "img"; }
}

/* Lange Wörter in Rechtstexten (z. B. Verbraucherstreitbeilegung/Universalschlichtungsstelle) dürfen umbrechen */
.legal h1, .legal h2, .legal h3, .legal p, .legal li, .legal address, .legal a { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
.legal h2 { font-size: clamp(1.05rem, 4.6vw, 1.35rem); }
.legal { min-width: 0; max-width: 100%; }
.section, .wrap { min-width: 0; }
.embed html, .embed body { overflow-x: hidden; }
html.embed, html.embed body { overflow-x: hidden; max-width: 100%; }
.ov-frame { max-width: 100%; min-width: 0; }
dialog.overlay { min-width: 0; overflow-x: hidden; }

/* Kursangebot: Kurzbeschreibung und Wunschthema-Box */
.course-t { margin: 0; color: var(--muted); font-size: .98rem; }
.course-cta { margin-top: 2.5rem; padding: 1.8rem 2rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.course-cta h2 { font-size: 1.3rem; margin: 0 0 .4rem; }
.course-cta p { margin: 0; color: var(--muted); max-width: 62ch; }

/* Kurs-Detailseiten: schlichte Aufzählung mit grünen Punkten (ohne Karten) */
.dots { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.dots li { position: relative; padding-left: 1.5rem; color: var(--muted); line-height: 1.6; }
.dots li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green-accent); }
.dots strong { color: var(--text); font-weight: 600; }

/* Kursangebot: ganze Kurskarte (Bild und Text) ist anklickbar */
.course { position: relative; cursor: pointer; }
.course-link { color: inherit; text-decoration: none; }
.course-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.course-link:focus-visible { outline: none; }
.course:has(.course-link:focus-visible) { outline: 3px solid var(--green-accent); outline-offset: 3px; }
.course .btn { position: relative; z-index: 2; }

/* Kursangebot: Dauer-Hinweis auf den Kurskarten */
.course-dur { margin: 0; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--green-accent); }
