/* Kontakt- und Rechtsseiten (Kontakt, AGB, Impressum) */

.lg-page {
    --lg-forest: #163a2d;
    --lg-forest-2: #1f4a3a;
    --lg-gold: #c9a96e;
    --lg-gold-2: #b08d4f;
    --lg-cream: #f7f3ea;
    --lg-ink: #1c2a24;
    --lg-muted: #66706b;
    --lg-line: rgba(22, 58, 45, .09);
    --lg-radius: 22px;
    background: linear-gradient(180deg, #fbf9f4 0, #fff 640px);
    color: var(--lg-ink);
}

/* ---------- Seitenkopf ---------- */
.lg-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 120px;
    color: #fff;
    background:
        radial-gradient(700px 320px at 85% -10%, rgba(201, 169, 110, .30), transparent 70%),
        radial-gradient(500px 260px at 0% 110%, rgba(255, 255, 255, .06), transparent 70%),
        linear-gradient(150deg, var(--lg-forest-2), var(--lg-forest) 65%, #0f2b21);
}
.lg-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, .22);
    box-shadow: 0 0 0 60px rgba(201, 169, 110, .04), 0 0 0 120px rgba(201, 169, 110, .03);
    pointer-events: none;
}
.lg-hero .container { position: relative; z-index: 1; }
.lg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--lg-gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.lg-hero h1 {
    margin: 0;
    max-width: 820px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.01em;
}
.lg-hero p.lg-lead {
    max-width: 640px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 1.05rem;
    line-height: 1.7;
}
.lg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}
.lg-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
}
.lg-meta i { color: var(--lg-gold); }

.lg-body { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 90px; }

/* ---------- Karten ---------- */
.lg-card {
    background: #fff;
    border: 1px solid var(--lg-line);
    border-radius: var(--lg-radius);
    box-shadow: 0 30px 60px -44px rgba(13, 36, 28, .55);
}
.lg-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lg-forest-2), var(--lg-forest));
    color: var(--lg-gold);
    font-size: 1.05rem;
    box-shadow: 0 10px 20px -12px rgba(22, 58, 45, .9);
}
.lg-label {
    display: block;
    margin-bottom: 4px;
    color: var(--lg-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ---------- Kontakt ---------- */
.lg-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.lg-quick a,
.lg-quick div.lg-quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    color: var(--lg-ink);
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lg-quick a:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 110, .55);
    box-shadow: 0 34px 60px -40px rgba(13, 36, 28, .65);
}
.lg-quick strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.35; word-break: break-word; }

.lg-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.lg-form-card { padding: 40px; }
.lg-form-card h2 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--lg-forest);
}
.lg-form-card > p { margin: 0 0 26px; color: var(--lg-muted); }

.lg-form { display: flex; flex-direction: column; gap: 16px; }
.lg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lg-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--lg-ink);
    font-size: .82rem;
    font-weight: 600;
}
.lg-field label span { color: var(--lg-gold-2); }
.lg-page .lg-field input,
.lg-page .lg-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(22, 58, 45, .14);
    border-radius: 14px;
    background: #fbf9f4;
    color: var(--lg-ink);
    font: inherit;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.lg-page .lg-field textarea { min-height: 150px; resize: vertical; }
.lg-page .lg-field input:focus,
.lg-page .lg-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--lg-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, .18);
}
.lg-form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
}
.lg-form-foot small { color: var(--lg-muted); font-size: .8rem; line-height: 1.5; max-width: 340px; }
.lg-form-foot small a { color: var(--lg-gold-2); }
.lg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lg-forest-2), var(--lg-forest));
    color: #fff;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 16px 30px -16px rgba(22, 58, 45, .9);
    transition: transform .2s, background .3s, color .3s, box-shadow .3s;
}
.lg-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--lg-gold), var(--lg-gold-2));
    color: #1a1a1a;
}

.lg-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    font-size: .92rem;
}
.lg-alert i { margin-top: 3px; }
.lg-alert--ok { background: #e9f5ee; border: 1px solid rgba(63, 143, 90, .35); color: #2c6e43; }
.lg-alert--err { background: #fdecec; border: 1px solid rgba(192, 57, 43, .3); color: #a93226; }

.lg-side { display: flex; flex-direction: column; gap: 20px; }
.lg-side-card { padding: 28px; }
.lg-side-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--lg-forest);
}
.lg-side-card p { margin: 0; color: var(--lg-muted); line-height: 1.75; font-size: .95rem; }
.lg-map {
    overflow: hidden;
    border-radius: 16px;
    line-height: 0;
    border: 1px solid var(--lg-line);
}
.lg-map iframe { display: block; width: 100%; height: 260px; border: 0; filter: saturate(.85); }
.lg-call {
    position: relative;
    overflow: hidden;
    padding: 30px 28px;
    border-radius: var(--lg-radius);
    color: #fff;
    background:
        radial-gradient(360px 160px at 100% 0%, rgba(201, 169, 110, .3), transparent 70%),
        linear-gradient(150deg, var(--lg-forest-2), var(--lg-forest));
    box-shadow: 0 30px 60px -40px rgba(13, 36, 28, .8);
}
.lg-call p { margin: 0 0 6px; color: rgba(255, 255, 255, .65); font-size: .9rem; }
.lg-call strong { display: block; margin-bottom: 14px; color: var(--lg-gold); font-family: var(--font-display); font-size: 1.3rem; }
.lg-call a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}
.lg-call a i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lg-gold);
    color: var(--lg-forest);
    font-size: .95rem;
}

/* ---------- Rechtstexte (AGB) ---------- */
.lg-legal-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.lg-toc {
    position: sticky;
    top: 110px;
    padding: 22px 18px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}
.lg-toc h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: var(--lg-muted);
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.lg-toc li { counter-increment: toc; }
.lg-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #4d5a54;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.lg-toc a::before {
    content: counter(toc);
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--lg-cream);
    color: var(--lg-forest);
    font-size: .72rem;
    font-weight: 700;
}
.lg-toc a:hover { background: #fbf8f1; color: var(--lg-forest); }
.lg-toc a.is-active { background: var(--lg-forest); color: #fff; }
.lg-toc a.is-active::before { background: var(--lg-gold); color: var(--lg-forest); }

.lg-doc { min-width: 0; padding: 48px 54px; font-size: 1rem; line-height: 1.85; color: #3d4843; overflow-wrap: break-word; }
.lg-doc h2 {
    scroll-margin-top: 110px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 46px 0 18px;
    padding-top: 34px;
    border-top: 1px solid var(--lg-line);
    color: var(--lg-forest);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}
.lg-doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-doc h2::before {
    content: '';
    flex: 0 0 auto;
    width: 6px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--lg-gold), var(--lg-gold-2));
}
.lg-doc p { margin: 0 0 14px; }
.lg-doc h3 {
    margin: 26px 0 10px;
    color: var(--lg-forest);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}
.lg-doc ul, .lg-doc ol { margin: 10px 0 18px 22px; }
.lg-doc li { margin-bottom: 8px; }
.lg-doc a { color: var(--lg-gold-2) !important; font-weight: 600; }
.lg-doc .info-box,
.lg-doc .warning-box,
.lg-doc .highlight-box {
    margin: 22px 0;
    padding: 20px 24px;
    border-radius: 16px;
    font-size: .96rem;
}
.lg-doc .info-box {
    background: #fbf8f1;
    border: 1px solid rgba(201, 169, 110, .4);
    border-left: 4px solid var(--lg-gold);
}
.lg-doc .info-box strong { color: var(--lg-forest); }
.lg-doc .warning-box {
    background: #fff8ee;
    border: 1px solid rgba(201, 169, 110, .45);
    border-left: 4px solid #c9842b;
}
.lg-doc .highlight-box {
    background: #f4f8f5;
    border: 1px solid rgba(22, 58, 45, .12);
}
.lg-doc table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.lg-doc th {
    background: #fbf8f1;
    padding: 12px 16px;
    text-align: left;
    color: var(--lg-forest);
    border-bottom: 2px solid rgba(22, 58, 45, .1);
}
.lg-doc td { padding: 12px 16px; border-bottom: 1px solid var(--lg-line); color: #3d4843; }
.lg-doc tr:last-child td { border-bottom: none; }

/* ---------- Impressum ---------- */
.lg-imprint {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.lg-imprint .lg-card {
    display: flex;
    gap: 18px;
    padding: 28px;
}
.lg-imprint .lg-card > div { min-width: 0; }
.lg-imprint h2 {
    overflow-wrap: anywhere;
    hyphens: auto;
    margin: 0 0 8px;
    color: var(--lg-forest);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}
.lg-imprint p { margin: 0; color: #3d4843; line-height: 1.75; word-break: break-word; }
.lg-imprint a { color: var(--lg-gold-2); font-weight: 600; text-decoration: none; }
.lg-imprint a:hover { text-decoration: underline; }
.lg-imprint .lg-wide { grid-column: 1 / -1; }
.lg-imprint .lg-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .lg-legal-grid { grid-template-columns: minmax(0, 1fr); }
    .lg-toc { position: relative; top: 0; max-height: none; }
    .lg-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
}
@media (max-width: 900px) {
    .lg-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .lg-quick { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 700px) {
    .lg-hero { padding: 48px 0 100px; }
    .lg-hero p.lg-lead { font-size: .97rem; }
    .lg-body { margin-top: -64px; padding-bottom: 60px; }
    .lg-form-card { padding: 26px 20px; }
    .lg-form-row { grid-template-columns: 1fr; }
    .lg-form-foot { flex-direction: column; align-items: stretch; }
    .lg-btn { justify-content: center; }
    .lg-side-card { padding: 22px 20px; }
    .lg-doc { padding: 28px 22px; font-size: .96rem; }
    .lg-doc h2 { font-size: 1.22rem; }
    .lg-toc ol { grid-template-columns: 1fr; }
    .lg-imprint { grid-template-columns: minmax(0, 1fr); }
    .lg-imprint .lg-card { padding: 22px 20px; gap: 14px; }
}
@media (max-width: 480px) {
    .lg-imprint .lg-card { flex-direction: column; }
    .lg-imprint h2 { font-size: 1.12rem; }
}
