/* Impressum und Datenschutz – schlichte Leseseiten im Stil der Story-Seite */
.lg-header { background: var(--st-bg); border-bottom: 1px solid var(--st-line); }
.lg-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; max-width: calc(46rem + 48px); }
.lg-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: "Instrument Serif", Georgia, serif; font-size: 1.375rem; color: var(--st-ink); text-decoration: none; min-height: 44px; }
.lg-brand__mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 8px; background: #031533; }
.lg-brand__mark img { display: block; width: 1.6rem; height: auto; }

.lg-main { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(3rem, 2.5rem + 3vw, 5rem); font-size: 1.0625rem; line-height: 1.65; }
.lg-main .st-text { max-width: calc(46rem + 48px); gap: 0.9rem; }
.lg-main h1 { margin: 0 0 0.5rem; hyphens: auto; overflow-wrap: break-word; font-family: var(--st-font); font-weight: 900; font-size: clamp(1.75rem, 1.2rem + 2.8vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--st-ink); }
.lg-main h2 { margin: 1.75rem 0 0; font-family: var(--st-font); font-weight: 800; font-size: clamp(1.25rem, 1.15rem + 0.6vw, 1.5rem); line-height: 1.25; color: var(--st-ink); }
.lg-main h3 { margin: 1rem 0 0; font-family: var(--st-font); font-weight: 800; font-size: 1.125rem; line-height: 1.3; color: var(--st-ink); }
.lg-main p, .lg-main li { color: var(--st-text); overflow-wrap: anywhere; }
.lg-main ul { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.lg-main a { color: var(--accent); text-underline-offset: 0.15em; }
.lg-address { font-style: normal; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 12px; padding: 1rem 1.15rem; line-height: 1.6; }
.lg-note { background: #F3EFE6; border-radius: 12px; padding: 1rem 1.15rem; }
.lg-stand { margin-top: 1.5rem; color: var(--st-muted); font-size: 1rem; }

/* Noch auszufüllende Stellen: vor Livegang ersetzen */
.lg-fill { background: #FFF1CF; color: #6B3E0A; border: 1px dashed #D9A44A; border-radius: 4px; padding: 0 0.3em; font-weight: 600; }
.lg-header__inner { flex-wrap: wrap; }

/* Inhaltsverzeichnis langer Rechtstexte */
.lg-toc { background: var(--st-card); border: 1px solid var(--st-line); border-radius: 12px; padding: 1rem 1.15rem; margin-top: 0.5rem; }
.lg-toc__title { margin: 0 0 0.4rem; font-weight: 800; color: var(--st-ink); }
.lg-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.lg-toc a { display: inline-block; padding-block: 0.2rem; text-decoration: none; }
.lg-toc a:hover { text-decoration: underline; }
.lg-main h2[id] { scroll-margin-top: 1rem; }

/* Kontaktformular */
.cf { display: grid; gap: 1.1rem; margin-top: 1rem; background: var(--st-card); border: 1px solid var(--st-line); border-radius: 16px; padding: clamp(1.1rem, 0.8rem + 1.5vw, 1.75rem); }
.cf-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.cf-field { display: grid; gap: 0.35rem; align-content: start; }
.cf label { font-weight: 700; color: var(--st-ink); font-size: 1rem; }
.cf-req { color: var(--st-red); }
.cf-opt { font-weight: 400; color: var(--st-muted); }
.cf input, .cf select, .cf textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--st-ink); background: #fff; border: 1px solid #CFC8B8; border-radius: 10px; padding: 0.7rem 0.85rem; min-height: 48px; }
.cf textarea { resize: vertical; min-height: 10rem; line-height: 1.5; }
.cf select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--st-muted) 50%), linear-gradient(135deg, var(--st-muted) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.25rem; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: 3px solid rgba(66, 107, 216, 0.35); outline-offset: 1px; border-color: var(--accent); }
.cf [aria-invalid="true"] { border-color: var(--st-red); background: #FFF6F5; }
.cf-hint { margin: 0; font-size: 0.875rem; color: var(--st-muted); line-height: 1.45; }
.cf-privacy { margin: 0; font-size: 0.9375rem; color: var(--st-muted); }
.cf-status { margin: 0; padding: 0.75rem 0.95rem; border-radius: 10px; background: #FFF1EF; color: #8A2A22; border: 1px solid #F0C4BE; }
.cf-submit { justify-self: start; min-width: 14rem; }
@media (max-width: 639px) { .cf-submit { justify-self: stretch; } }
.cf-submit[disabled] { opacity: 0.7; cursor: progress; }
.cf-legend { margin: 0; font-size: 0.875rem; color: var(--st-muted); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-success { margin-top: 1rem; background: #EEF7F1; border: 1px solid #BFE1CB; border-radius: 16px; padding: 1.25rem 1.4rem; }
.cf-success h2 { margin-top: 0; }
.cf-alt { color: var(--st-muted); }
