/* Rechtstexte (impressum.html, datenschutz.html, agb.html): eigenstaendig, haengt nicht an style.css. */
:root { --ink: #1b1d22; --ink2: #4a4f59; --ink3: #6b7079; --paper: #fbf8f3; --sand: #f4f0ea; --blue: #1e40af; --line: rgba(27, 29, 34, .12); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 16px/1.65 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
.lg-top { position: sticky; top: 0; z-index: 10; background: rgba(244, 240, 234, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lg-top-in { max-width: 820px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lg-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.lg-brand img { width: 34px; height: 34px; border-radius: 50%; }
.lg-back { flex: none; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.lg-main { max-width: 820px; margin: 24px auto; padding: 32px 22px; background: var(--paper); border-radius: 18px; box-shadow: 0 20px 40px -30px rgba(27, 29, 34, .35); overflow-wrap: anywhere; }
.lg-main h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 5vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; }
.lg-main h2 { margin: 2.2em 0 .6em; padding-bottom: .4em; border-bottom: 1px solid var(--line); font-size: 1.15rem; line-height: 1.3; }
.lg-main h3 { margin: 1.6em 0 .4em; font-size: 1rem; }
.lg-main p, .lg-main li { color: var(--ink2); }
.lg-main ul, .lg-main ol { padding-left: 1.3em; }
.lg-main strong { color: var(--ink); }
.lg-main code { font-size: .88em; background: rgba(27, 29, 34, .06); padding: 1px 5px; border-radius: 5px; word-break: break-all; }
.lg-main .pageSub { color: var(--ink3); }
.lg-main table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.lg-main td, .lg-main th { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lg-foot { max-width: 820px; margin: 0 auto 40px; padding: 0 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: .9rem; color: var(--ink3); }
.lg-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.lg-foot a { color: var(--ink2); }
@media (min-width: 720px) { .lg-main { padding: 48px 56px; margin: 36px auto; } }

/* Consent-Dialog (Kopie aus style.css, damit "Cookie-Einstellungen" hier funktioniert) */
html.ddc-lock, html.ddc-lock body { overflow: hidden; }
.ddc { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; background: rgba(20, 22, 27, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; }
.ddc.is-open { opacity: 1; }
.ddc-panel { width: 100%; max-width: 470px; max-height: calc(100dvh - 32px); overflow: auto; background: #fbf8f3; color: #1b1d22; border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); transform: translateY(8px) scale(.985); transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.ddc.is-open .ddc-panel { transform: none; }
.ddc-kicker { margin: 0 0 8px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #1e40af; }
.ddc-title { margin: 0 0 10px; font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em; }
.ddc-body { margin: 0 0 20px; font-size: .93rem; line-height: 1.55; color: #4a4f59; }
.ddc-opts { margin: 0 0 20px; border-top: 1px solid rgba(27, 29, 34, .12); }
.ddc-opts[hidden] { display: none; }
.ddc-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(27, 29, 34, .12); cursor: pointer; }
.ddc-opt-text { display: grid; gap: 2px; font-size: .82rem; color: #4a4f59; line-height: 1.45; }
.ddc-opt-text strong { font-size: .93rem; color: #1b1d22; }
.ddc-opt-fixed { font-size: .76rem; color: #6b7079; white-space: nowrap; }
.ddc-switch { appearance: none; -webkit-appearance: none; flex-shrink: 0; position: relative; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: #d6d1c8; cursor: pointer; transition: background .18s ease; }
.ddc-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .18s ease; }
.ddc-switch:checked { background: #1e40af; }
.ddc-switch:checked::after { transform: translateX(18px); }
.ddc-switch:focus-visible { outline: 3px solid #1e40af; outline-offset: 2px; }
.ddc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ddc-btn { min-height: 50px; padding: 0 14px; border-radius: 10px; border: 0; background: #1b1d22; color: #fbf8f3; font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: .92rem; line-height: 1.2; cursor: pointer; transition: background .15s ease; }
.ddc-btn:hover { background: #000; }
.ddc-btn:focus-visible { outline: 3px solid #1e40af; outline-offset: 3px; }
.ddc-btn-yes { background: #1e40af; color: #fff; box-shadow: 0 10px 22px -12px rgba(30, 64, 175, .8); }
.ddc-btn-yes:hover { background: #1a379a; }
/* Ablehnen: gleich gross, volle Lesbarkeit (Pflicht), nur ohne Fuellung */
.ddc-btn-no { background: transparent; color: #1b1d22; box-shadow: inset 0 0 0 2px #1b1d22; }
.ddc-btn-no:hover { background: rgba(27, 29, 34, .06); }
.ddc-perks { list-style: none; margin: -6px 0 20px; padding: 0; display: grid; gap: 8px; }
.ddc-perks li { position: relative; padding-left: 28px; font-size: .9rem; line-height: 1.4; font-weight: 600; color: #1b1d22; }
.ddc-perks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: #0e6b4b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4 4L18.5 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ddc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-size: .8rem; }
.ddc-link { padding: 6px 0; border: 0; background: none; font: inherit; font-weight: 700; color: #1b1d22; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ddc-legal, .ddc-legal a { color: #6b7079; }
@media (max-width: 420px) {
  .ddc-panel { padding: 22px; }
  .ddc-actions { grid-template-columns: 1fr; }
}

