/* Altavo-inspired: primary #009a8b, secondary #004a83 */
:root {
    --primary: #009a8b;
    --secondary: #004a83;
    --accent: #006e93;
    --text: #1a2b3c;
    --text-muted: #4e4e4e;
    --bg: #f7fafb;
    --white: #ffffff;
    --border: #d8e4ea;
    --gradient: linear-gradient(135deg, #004a83 0%, #006e93 50%, #009a8b 100%);
    --shadow: 0 4px 24px rgba(0, 74, 131, 0.12);
    --radius: 12px;
    --font: 'Ubuntu', Helvetica, Arial, sans-serif;
}

/* 2026 multisensor revamp */
:root {
    --moss: #65704f;
    --moss-deep: #27372e;
    --paper: #f5f3eb;
    --ink: #17211c;
    --line-soft: rgba(39, 55, 46, .13);
}
.leaflet-container a {
    color: #fff !important;
}
.leaflet-control a {
    color: #0078A8 !important;
}

body { background: var(--paper); color: var(--ink); }
.hero { background: radial-gradient(circle at 82% 22%, rgba(150, 171, 97, .35), transparent 32%), linear-gradient(125deg, #172b27 0%, #31564e 58%, #65704f 100%); }
.hero-compact { padding: clamp(3.8rem, 8vw, 7rem) 0; }
.hero h1 { max-width: 850px; font-size: clamp(2.7rem, 6vw, 5.7rem); line-height: .94; letter-spacing: -.055em; margin: .5rem 0 1.25rem; }
.hero p { max-width: 720px; font-size: clamp(1rem, 2vw, 1.25rem); opacity: .86; }
.eyebrow { display: inline-block; color: #cbdc9e; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section .eyebrow, .sensor-panel .eyebrow { color: var(--moss); }
.card, .chart-wrap, .metric, .recovery-ampel { border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: 0 16px 44px rgba(26, 43, 34, .07); }
.metrics-grid { gap: 1rem; }
.metric { background: rgba(255,255,255,.76); }
.sensor-panel { display: grid; grid-template-columns: 1fr minmax(220px, .55fr); gap: 2rem; align-items: stretch; margin: 2rem 0; padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; overflow: hidden; }
.sensor-panel h3, .measurement-gallery h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); margin: .35rem 0 .5rem; color: var(--moss-deep); }
.lab-values { display: flex; gap: .7rem; margin-top: 1.4rem; flex-wrap: wrap; }
.lab-values span { min-width: 92px; padding: .8rem 1rem; background: var(--paper); border-radius: 12px; font-size: 1.15rem; }
.lab-values b { display: block; font-size: .7rem; color: #6e786f; margin-bottom: .25rem; }
.color-swatch { min-height: 190px; padding: 1.4rem; border-radius: 16px; background: var(--swatch); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.color-swatch span { font-size: 1.65rem; font-weight: 700; }
.color-swatch small { margin-top: .35rem; }
.chart-wrap-wide { grid-column: 1 / -1; }
.measurement-gallery { margin-top: 3rem; }
.section-heading { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.section-heading p { color: #65716a; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem; }
.gallery-item { position: relative; grid-column: span 4; min-height: 240px; border-radius: 16px; overflow: hidden; background: #dfe4d9; color: #fff; }
.gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 2) { grid-column: span 6; }
.gallery-item img { width: 100%; height: 100%; min-height: 240px; max-height: 430px; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item span { position: absolute; left: .85rem; bottom: .75rem; padding: .35rem .6rem; border-radius: 99px; background: rgba(16,27,21,.7); font-size: .72rem; }

@media (max-width: 760px) {
    .sensor-panel { grid-template-columns: 1fr; }
    .gallery-item, .gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 2) { grid-column: span 12; min-height: 210px; }
    .gallery-item img { min-height: 210px; max-height: 390px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    font-family: var(--font);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--secondary);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 8px;
}

.logo-text {
    font-weight: 400;
    font-size: 1.05rem;
}

.main-nav {
    display: flex;
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    border-radius: 35px;
    transition: color 0.2s, background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: rgba(0, 154, 139, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
}

/* Hero */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 0 2.5rem;
}

.hero h1 {
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin: 0 0 0.75rem;
    letter-spacing: 0;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 720px;
    margin: 0;
}

.hero-compact {
    padding: 2rem 0 1.5rem;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.form-inline .form-group {
    flex: 1;
    min-width: 200px;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--secondary);
    margin: 0 0 0.5rem;
}

.section-sub {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}

/* Map */
.map-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}

#tourMap {
    height: 520px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    z-index: 1;
}

.tour-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.25rem;
    max-height: 520px;
    overflow-y: auto;
}

.tour-card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tour-card:hover,
.tour-card.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.tour-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary);
}

.tour-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(0, 154, 139, 0.15);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.tour-badge.poi {
    background: rgba(0, 74, 131, 0.12);
    color: var(--secondary);
}

/* Cards & metrics */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.metric {
    text-align: center;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.metric-value {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.2;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.grade-a { color: #009a8b; }
.grade-b { color: #006e93; }
.grade-c { color: #e6a800; }
.grade-d { color: #c44; }

/* Erholungs-Ampel */
.recovery-ampel--pending {
    border-style: dashed;
}

.recovery-ampel {
    background: linear-gradient(135deg, #f7fafb 0%, #eef6f8 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.recovery-ampel h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary);
}

.recovery-ampel-index {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

.ampel-overall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.ampel-lights {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.ampel-light {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    opacity: 0.22;
    border: 2px solid transparent;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.ampel-light--green { background: #22a06b; }
.ampel-light--yellow { background: #e6a800; }
.ampel-light--red { background: #d64545; }

.ampel-light.active {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(0, 74, 131, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
}

.ampel-result strong {
    display: block;
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
}

.ampel-result span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ampel-downgrade {
    font-size: 0.85rem;
    color: #8a6d00;
    margin: 0 0 0.75rem;
}

.ampel-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.ampel-factor {
    background: var(--white);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    font-size: 0.88rem;
}

.ampel-factor-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: var(--secondary);
}

.ampel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.ampel-dot--green { background: #22a06b; }
.ampel-dot--yellow { background: #e6a800; }
.ampel-dot--red { background: #d64545; }

.ampel-disclaimer-link {
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* Charts */
.chart-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.chart-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    min-height: 280px;
}

.chart-wrap h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-family: var(--font);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 154, 139, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: rgba(0, 74, 131, 0.06);
}

.btn-block { width: 100%; text-align: center; }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 40, 70, 0.55);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--gradient);
    color: var(--white);
}

.modal-header h2 { margin: 0; font-weight: 400; font-size: 1.35rem; }

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
}

.modal-body { padding: 1.5rem; }

.preview-map {
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.paywall {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: rgba(0, 154, 139, 0.06);
    border: 1px dashed var(--primary);
    border-radius: var(--radius);
    text-align: center;
}

.paywall-price {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--secondary);
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 400;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 35px;
    background: var(--white);
    color: var(--text);
}

.form-group textarea { border-radius: var(--radius); min-height: 100px; }

.file-drop {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    background: var(--white);
    transition: border-color 0.2s;
}

.file-drop.dragover { border-color: var(--primary); background: rgba(0,154,139,0.04); }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-success { background: rgba(0,154,139,0.12); color: #006b60; border: 1px solid var(--primary); }
.alert-error { background: rgba(200,60,60,0.1); color: #a33; border: 1px solid #e88; }
.alert-info { background: rgba(0,74,131,0.08); color: var(--secondary); border: 1px solid var(--accent); }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-grid ul { padding-left: 1.25rem; }

/* Footer */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.9);
    padding: 2rem 0;
    margin-top: 3rem;
}

.site-footer a { color: var(--primary); }
.site-footer a:hover { color: #00c4b0; }

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-small { font-size: 0.85rem; opacity: 0.75; }

.footer-legal {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal a:hover {
    color: #00c4b0;
}

/* Legal pages */
.section-legal {
    padding-top: 1rem;
}

.legal-content {
    max-width: 52rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.65;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--secondary);
    margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary);
    margin: 1.5rem 0 0.5rem;
}

.legal-content h4 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    margin: 1.25rem 0 0.5rem;
}

.legal-content p {
    margin: 0 0 0.85rem;
    color: var(--text);
}

.legal-content ul {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.legal-content li {
    margin-bottom: 0.35rem;
}

.legal-content a {
    color: var(--primary);
    word-break: break-word;
}

.legal-content a:hover {
    color: var(--accent);
}

.correlation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.correlation-table th,
.correlation-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.correlation-table th { color: var(--secondary); font-weight: 500; }

/* Wetterstationen (DWD / Bright Sky) */
.section-weather {
    background: linear-gradient(180deg, rgba(0, 154, 139, 0.06) 0%, transparent 100%);
    padding-top: 2rem;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.weather-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow);
    transition: border-color 0.2s, transform 0.15s;
}

.weather-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.weather-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.weather-card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary);
    line-height: 1.3;
}

.weather-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.weather-region {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.weather-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.weather-value {
    text-align: center;
    padding: 0.5rem 0.25rem;
    background: rgba(0, 74, 131, 0.04);
    border-radius: 8px;
}

.weather-value-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.2;
}

.weather-value-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.2rem;
}

.weather-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.weather-meta {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

.scientific-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
}

/* Responsive */
.admin-login { max-width: 520px; margin: 0 auto; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.admin-toolbar form { margin: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 1.25rem; align-items: start; }
.admin-tour-card { padding: 1.4rem; }
.admin-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-card-heading h2 { margin: .2rem 0 0; font-size: 1.25rem; }
.admin-card-heading small { color: var(--text-muted); overflow-wrap: anywhere; }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-tour-card select, .admin-tour-card textarea { width: 100%; }
.admin-files { margin: .75rem 0; padding: .7rem; border-radius: 8px; background: rgba(0, 74, 131, .05); color: var(--text-muted); font-size: .88rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.admin-danger { margin-top: 1rem; border-top: 1px solid var(--border); padding-top: .8rem; }
.admin-danger summary { cursor: pointer; color: #8a2f2f; font-weight: 500; }
.admin-danger form { display: grid; gap: .65rem; margin-top: .75rem; }
.btn-danger { background: #9b2c2c; color: #fff; border-color: #9b2c2c; }
.upload-toolbar { padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.upload-result { margin-top: 1rem; }
.upload-status { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid rgba(0, 154, 139, .25); border-radius: var(--radius); background: rgba(0, 154, 139, .07); }
.upload-status strong, .upload-status small { display: block; }
.upload-status small { margin-top: .2rem; color: var(--text-muted); }
.upload-spinner { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; border: 3px solid rgba(0, 154, 139, .22); border-top-color: var(--primary); border-radius: 50%; animation: upload-spin .8s linear infinite; }
@keyframes upload-spin { to { transform: rotate(360deg); } }
button:disabled { cursor: wait; opacity: .65; }

@media (max-width: 900px) {
    .map-layout { grid-template-columns: 1fr; }
    #tourMap { height: 400px; }
    .tour-sidebar { max-height: none; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .admin-toolbar { align-items: stretch; flex-direction: column; }
    .admin-form-row { grid-template-columns: 1fr; gap: 0; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .header-inner { position: relative; flex-wrap: wrap; }
}

/* Revamp overrides kept last so the new visual language wins the cascade. */
body { background: var(--paper); color: var(--ink); }
.hero { background: radial-gradient(circle at 82% 22%, rgba(150, 171, 97, .35), transparent 32%), linear-gradient(125deg, #172b27 0%, #31564e 58%, #65704f 100%); }
.hero-compact { padding: clamp(3.8rem, 8vw, 7rem) 0; }
.hero h1 { max-width: 850px; font-size: clamp(2.7rem, 6vw, 5.7rem); line-height: .94; letter-spacing: -.055em; margin: .5rem 0 1.25rem; }
.hero p { max-width: 720px; font-size: clamp(1rem, 2vw, 1.25rem); opacity: .86; }

/* Bioclimatic compass revamp */
.eyebrow { margin: 0 0 .7rem; color: var(--primary); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #c9dfad; font-size: .78rem; opacity: 1; }
.compass-hero { padding: clamp(5rem, 10vw, 9rem) 0 clamp(6rem, 11vw, 10rem); }
.compass-hero h1 { max-width: 1050px; }
.compass-intro { position: relative; z-index: 2; margin-top: -4rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
.compass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.compass-card { position: relative; overflow: hidden; min-height: 280px; padding: 2rem; border: 1px solid rgba(49, 86, 78, .13); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(23,43,39,.12); }
.compass-card > .bi { display: block; margin: 1.5rem 0 2.6rem; color: #31564e; font-size: 2rem; }
.compass-card h2 { max-width: 250px; margin: 0 0 .8rem; color: #172b27; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.08; }
.compass-card p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.compass-signal { display: block; width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(22,128,95,.1); }
.compass-card--green .compass-signal { background: #16805f; }
.compass-card--red .compass-signal { background: #b64035; box-shadow: 0 0 0 8px rgba(182,64,53,.1); }
.compass-card--red > .bi { color: #b64035; }
.compass-color-orbit { display: block; width: 52px; height: 11px; border-radius: 999px; background: linear-gradient(90deg,#536b3c,#d19b42,#8b2738,#517b91); }
.compass-card--color > .bi { color: #8b2738; }
.prevention-line { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0; padding: 1.25rem 1.5rem; border-radius: 16px; background: #e8ede3; color: #31564e; }
.prevention-line .bi { font-size: 1.7rem; }
.home-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.map-section { padding-top: clamp(4rem, 8vw, 7rem); background: #f4f1e9; }
.poi-legend { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: 1.2rem 0 1.4rem; padding: .85rem 1rem; border: 1px solid rgba(49,86,78,.12); border-radius: 12px; background: rgba(255,255,255,.72); color: #4b5b54; font-size: .84rem; }
.poi-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.legend-dot--green { background: #16805f; }.legend-dot--yellow { background: #d69b20; }.legend-dot--red { background: #b64035; }
.legend-dot--waypoint { background: #004a83; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #004a83; }
#tourMap { min-height: 650px; border-radius: 20px; box-shadow: 0 18px 55px rgba(23,43,39,.12); }
.tour-sidebar { border-radius: 20px; }
.poi-list-card { border-left: 4px solid #16805f; }
.poi-list-card--green { border-left-color: #16805f; }
.poi-list-card--yellow { border-left-color: #9a6700; }
.poi-list-card--red { border-left-color: #b64035; }
.poi-list-meta, .poi-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.poi-list-meta > .bi { color: #31564e; font-size: 1.25rem; }
.poi-category-svg { display: block; width: 1.35rem; height: 1.35rem; flex: 0 0 auto; color: currentColor; fill: currentColor; }
.poi-category-svg--list { color: #31564e; }
.poi-category-svg--legend { width: 1rem; height: 1rem; color: #31564e; }
.poi-card-footer { margin-top: .85rem; color: var(--text-muted); font-size: .72rem; }
.status-pill { display: inline-flex; align-items: center; padding: .28rem .55rem; border-radius: 999px; background: #dcefe6; color: #126447; font-size: .69rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.status-pill--green { background: #dcefe6; color: #126447; }
.status-pill--yellow { background: #fff0c8; color: #845b00; }
.status-pill--red { background: #f5dedb; color: #9c3028; }
.measured-color { display: inline-flex; align-items: center; gap: .4rem; }
.measured-color i { width: 15px; height: 15px; flex: 0 0 auto; border: 2px solid #fff; border-radius: 50%; background: var(--measured-color); box-shadow: 0 0 0 1px rgba(23,43,39,.22); }
.poi-marker-shell { background: transparent; border: 0; }
.poi-marker { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid #fff; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: #16805f; color: #fff; box-shadow: 0 5px 16px rgba(23,43,39,.3); }
.poi-marker--green { background: #16805f; }
.poi-marker--yellow { background: #9a6700; }
.poi-marker--red { background: #b64035; }
.poi-marker .bi { transform: rotate(45deg); font-size: 1.15rem; }
.poi-marker .poi-category-svg--marker { width: 1.35rem; height: 1.35rem; transform: rotate(45deg); color: #fff; }
.poi-marker--category-base { width: 48px; height: 48px; position: relative; box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 9px 24px rgba(23,43,39,.48); }
.poi-marker--category-base::after { content: ''; position: absolute; inset: -9px; border: 2px solid rgba(255,255,255,.78); border-radius: 50% 50% 50% 10px; animation: basislager-pulse 2.4s ease-out infinite; }
.poi-marker--category-base .poi-category-svg--marker { width: 1.55rem; height: 1.55rem; }
@keyframes basislager-pulse { 0%, 35% { opacity: .85; transform: scale(.88); } 80%, 100% { opacity: 0; transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .poi-marker--category-base::after { animation: none; } }

/* Briefing 2.0: accessible typography, symbols and editorial content */
:root { --font: 'Inter', 'Open Sans', Helvetica, Arial, sans-serif; --text-muted: #46534d; }
body { font-family: var(--font); font-size: 1.0625rem; font-weight: 400; line-height: 1.65; }
p, li, dd { line-height: 1.65; }
a, button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
.section-sub { color: #46534d; font-size: 1.0625rem; }
.compass-card p { color: #46534d; }

.legend-symbol { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; color: #fff; font-style: normal; font-size: .78rem; font-weight: 800; }
.legend-symbol--green { background: #08734f; }
.legend-symbol--yellow { background: #9a6700; }
.legend-symbol--red { background: #a12822; }
.status-pill { gap: .35rem; }
.status-pill b { display: inline-grid; place-items: center; width: 1rem; height: 1rem; border: 1px solid currentColor; border-radius: 50%; font-size: .7rem; line-height: 1; }
.poi-ampel-symbol { position: absolute; top: -8px; right: -8px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; transform: rotate(45deg); background: #fff; color: #17211c; font-size: .8rem; font-weight: 800; line-height: 1; box-shadow: 0 2px 7px rgba(0,0,0,.24); }
.audit-date { display: flex; align-items: center; gap: .35rem; margin: .7rem 0 0; color: #46534d; font-size: .78rem; font-weight: 600; }
.audit-stamp { display: flex; align-items: center; gap: .6rem; padding: .65rem .7rem; border: 1px solid rgba(49,86,78,.2); border-radius: 10px; background: #f4f6f1; color: #27372e; }
.audit-stamp > .bi { font-size: 1.15rem; }.audit-stamp span, .audit-stamp strong, .audit-stamp small { display: block; }.audit-stamp small { color: #46534d; font-size: .7rem; }

.editorial-hero h1 { max-width: 950px; }
.editorial-index { padding-bottom: clamp(2rem, 5vw, 4rem); }
.editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.editorial-card { display: block; padding: 1.6rem; border: 1px solid var(--line-soft); border-radius: 18px; background: #fff; color: #17211c; text-decoration: none; box-shadow: 0 14px 38px rgba(23,43,39,.08); transition: transform .2s, box-shadow .2s; }
.editorial-card:hover { transform: translateY(-4px); box-shadow: 0 19px 46px rgba(23,43,39,.13); }
.editorial-card span { color: #536342; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.editorial-card h3 { margin: 1.4rem 0 .6rem; font-size: 1.5rem; }.editorial-card p { margin: 0; color: #46534d; }
.editorial-articles { background: #ecefe7; }
.editorial-article { max-width: 850px; margin: 0 auto 1.5rem; padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid rgba(49,86,78,.15); border-radius: 22px; background: #fff; box-shadow: 0 16px 46px rgba(23,43,39,.08); scroll-margin-top: 100px; }
.editorial-article h2 { margin: .3rem 0 1rem; color: #172b27; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; }
.editorial-article p, .editorial-article li { font-size: 1.125rem; line-height: 1.75; }
.editorial-article .article-lead { color: #31564e; font-size: 1.25rem; font-weight: 500; }
.editorial-article ol { padding-left: 1.4rem; }

@media (max-width: 850px) { .editorial-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { body { font-size: 1rem; }.editorial-article p, .editorial-article li { font-size: 1.0625rem; } }

/* Selected GPX route in POI and analysis views */
.route-panel { margin: 1.5rem 0 2rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid rgba(49,86,78,.16); border-radius: 20px; background: #fff; box-shadow: 0 16px 44px rgba(23,43,39,.08); }
.route-panel--article { margin-top: 2rem; padding: 0; border: 0; box-shadow: none; }
.route-panel .section-heading { margin-bottom: 1rem; }
.route-panel .section-heading h2, .route-panel .section-heading h3 { margin: .2rem 0 .35rem; color: #172b27; font-size: clamp(1.45rem, 3vw, 2rem); }
.gpx-route-map { width: 100%; height: clamp(340px, 52vw, 540px); overflow: hidden; border: 1px solid #cbd6bf; border-radius: 16px; background: #e7ede2; }
.route-map-empty { display: grid; place-items: center; min-height: 220px; margin: 0; padding: 2rem; color: #46534d; text-align: center; }
.gpx-route-map .leaflet-control-attribution { font-size: .65rem; }
@media (max-width: 600px) { .gpx-route-map { height: 360px; border-radius: 12px; } }
.map-poi-popup { min-width: 240px; padding: .25rem; }
.map-poi-popup h3 { margin: .2rem 0 .55rem; color: #172b27; font-size: 1.15rem; }
.map-poi-popup p { margin: .45rem 0; line-height: 1.45; }
.map-popup-kicker { color: #65704f; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.map-measurement { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .8rem 0; }
.map-measurement span { padding: .55rem; border-radius: 9px; background: #edf1ea; }
.map-measurement small, .map-measurement strong { display: block; }
.map-measurement small { color: var(--text-muted); font-size: .62rem; text-transform: uppercase; }
.map-measurement strong { margin-top: .15rem; color: #172b27; }
.btn-small { padding: .55rem .75rem; font-size: .78rem; }

/* B2B offer for hosts */
.b2b-hero { background: radial-gradient(circle at 85% 20%,rgba(194,221,164,.24),transparent 31%),linear-gradient(125deg,#102a24,#254e43 62%,#536849); }
.b2b-hero-layout,.b2b-split,.b2b-reference,.b2b-cta,.home-b2b-card { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr); gap:clamp(2rem,6vw,5rem); align-items:center; }
.b2b-actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.75rem; }
.b2b-hero-outline { color:#fff; border-color:rgba(255,255,255,.55); }
.b2b-hero-outline:hover { color:#173d35; background:#fff; }
.b2b-hero-card { padding:clamp(1.5rem,4vw,2.5rem); border:1px solid rgba(255,255,255,.22); border-radius:22px; background:rgba(255,255,255,.1); box-shadow:0 24px 70px rgba(0,0,0,.18); backdrop-filter:blur(8px); }
.b2b-hero-card strong { display:block; margin:.7rem 0; font-size:clamp(1.3rem,3vw,2rem); line-height:1.2; }
.b2b-card-icon { display:grid; place-items:center; width:58px; height:58px; margin-bottom:1.4rem; border-radius:18px; background:#c9dfad; color:#173d35; font-size:1.7rem; }
.b2b-intro { background:#fff; }.b2b-copy { color:var(--text-muted); font-size:1.08rem; line-height:1.75; }
.b2b-services-section,.b2b-process-section { background:#f1f4ec; }.b2b-heading { max-width:760px; }
.b2b-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.b2b-service-grid article { position:relative; min-height:285px; padding:1.5rem; border:1px solid rgba(49,86,78,.14); border-radius:18px; background:#fff; box-shadow:0 12px 35px rgba(23,43,39,.06); }
.b2b-service-grid article>span { color:#819467; font-size:.72rem; font-weight:700; letter-spacing:.12em; }.b2b-service-grid i { display:block; margin:2rem 0 1.1rem; color:#31564e; font-size:2rem; }.b2b-service-grid h3 { margin:.3rem 0 .7rem; color:#172b27; }.b2b-service-grid p { color:var(--text-muted); line-height:1.65; }
.b2b-reference-section { background:#173d35; color:#fff; }.b2b-reference-copy .eyebrow { color:#c9dfad; }.b2b-reference-copy h2 { margin:.3rem 0 1rem; font-size:clamp(2.2rem,5vw,4.2rem); }.b2b-reference-copy>p { color:#d8e3df; line-height:1.7; }
.b2b-checks { padding:0; margin:1.5rem 0 2rem; list-style:none; }.b2b-checks li { margin:.75rem 0; }.b2b-checks i { margin-right:.55rem; color:#c9dfad; }
.b2b-data-card { display:grid; gap:.8rem; padding:1.2rem; border-radius:22px; background:#fff; color:#173d35; }.b2b-data-card>div { display:grid; grid-template-columns:44px 1fr; gap:.1rem .8rem; padding:1rem; border-radius:14px; background:#eef2e8; }.b2b-data-card div i { grid-row:1/3; align-self:center; font-size:1.55rem; }.b2b-data-card span { color:var(--text-muted); font-size:.72rem; text-transform:uppercase; }.b2b-data-card>i { justify-self:center; color:#c9dfad; }
.b2b-process { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; padding:0; list-style:none; counter-reset:none; }.b2b-process li { padding:1.3rem; border-top:2px solid #91a673; }.b2b-process li>span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#31564e; color:#fff; font-weight:700; }.b2b-process h3 { margin:1.2rem 0 .5rem; }.b2b-process p { color:var(--text-muted); line-height:1.6; }
.b2b-cta-section { background:#e1ead9; }.b2b-cta { grid-template-columns:minmax(0,1fr) auto; }.b2b-cta h2,.home-b2b-card h2 { margin:.3rem 0 .7rem; font-size:clamp(1.8rem,4vw,3rem); }.b2b-cta p,.home-b2b-card p { color:#46534d; }
.home-b2b-section { padding-top:0; background:#f4f1e9; }.home-b2b-card { padding:clamp(1.5rem,4vw,3rem); border-radius:22px; background:#e1ead9; grid-template-columns:minmax(0,1fr) auto; }
@media(max-width:900px){.b2b-service-grid,.b2b-process{grid-template-columns:repeat(2,minmax(0,1fr))}.b2b-hero-layout,.b2b-split,.b2b-reference{grid-template-columns:1fr}.b2b-hero-card{max-width:600px}}
@media(max-width:600px){.b2b-service-grid,.b2b-process{grid-template-columns:1fr}.b2b-cta,.home-b2b-card{grid-template-columns:1fr}.b2b-cta .btn,.home-b2b-card .btn{width:100%;text-align:center}.b2b-service-grid article{min-height:0}}
.leaflet-popup-content-wrapper { border-radius: 16px; }

/* POI editorial page */
.poi-hero { position: relative; }
.poi-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.poi-article { padding: clamp(1.5rem, 4vw, 3rem); }
.poi-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 2rem; color: var(--text-muted); font-size: .84rem; }
.poi-article .prose { font-size: 1.08rem; line-height: 1.8; white-space: normal; }
.contemplation-card { margin: 2rem 0; padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid #cbd6bf; border-radius: 18px; background: linear-gradient(135deg,#eef2e8,#e2eadb); }
.contemplation-card h2 { margin-top: 0; color: #31564e; }
.poi-facts { position: sticky; top: 100px; }
.poi-facts dl { margin: 1rem 0 1.5rem; }.poi-facts dt { margin-top: .8rem; color: var(--text-muted); font-size: .72rem; text-transform: uppercase; }.poi-facts dd { margin: .15rem 0; }

/* Extended POI backend */
.admin-fieldset { margin: 1rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; }
.admin-fieldset legend { padding: 0 .45rem; color: #31564e; font-weight: 700; }
.color-input-group { display: grid; grid-template-columns: 62px 1fr; gap: .65rem; }
.color-input-group input[type="color"] { width: 62px; min-height: 46px; padding: 3px; cursor: pointer; }

@media (max-width: 900px) {
    .compass-grid { grid-template-columns: 1fr; }
    .compass-card { min-height: 0; }
    .compass-card > .bi { margin-bottom: 1.3rem; }
    .poi-article-layout { grid-template-columns: 1fr; }
    .poi-facts { position: static; }
    #tourMap { min-height: 480px; }
}
@media (max-width: 600px) {
    .compass-intro { margin-top: -2rem; }
    .compass-card { padding: 1.5rem; }
    .prevention-line { align-items: flex-start; }
    .poi-card-footer { align-items: flex-start; flex-direction: column; }
}

/* Regionale Naturmotive hinter den Seitenüberschriften */
body { --hero-image: url('../images/heroes/erzgebirge-wiesen.jpg'); --hero-position: center 54%; }
.page-index { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Naturschutzgebiet_Geisingberg_im_Osterzgebirge_2H1A4121WI.jpg/1920px-Naturschutzgebiet_Geisingberg_im_Osterzgebirge_2H1A4121WI.jpg'); --hero-position: center 48%; }
.page-analysis { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/20240501.Georgenfelder_Hochmoor.-145.jpg/1920px-20240501.Georgenfelder_Hochmoor.-145.jpg'); --hero-position: center 52%; }
.page-about { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Eastern_Ore_mountains.jpg/1920px-Eastern_Ore_mountains.jpg'); --hero-position: center 48%; }
.page-backend { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Tharandter_Wald_2.jpg/1920px-Tharandter_Wald_2.jpg'); --hero-position: center 55%; }
.page-blog { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Bergwiesen_im.Osterzgebirge.jpg/1920px-Bergwiesen_im.Osterzgebirge.jpg'); --hero-position: center 48%; }
.page-datenschutz { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/20181017.Talsperre_Lehnm%C3%BChle.-023.jpg/1920px-20181017.Talsperre_Lehnm%C3%BChle.-023.jpg'); --hero-position: center 55%; }
.page-impressum { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/View_eastern_ore_mountains.jpg/1920px-View_eastern_ore_mountains.jpg'); --hero-position: center 52%; }
.page-poi { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Naturschutzgebiet_Geisingberg_im_Osterzgebirge_2H1A3390WI.jpg/1920px-Naturschutzgebiet_Geisingberg_im_Osterzgebirge_2H1A3390WI.jpg'); --hero-position: center 50%; }
.page-upload { --hero-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Kahleberg_Blick_Galgenteiche.jpg/1920px-Kahleberg_Blick_Galgenteiche.jpg'); --hero-position: center 46%; }
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #172b27;
    background-image:
        linear-gradient(105deg, rgba(10, 27, 23, .88) 0%, rgba(20, 48, 40, .74) 48%, rgba(25, 48, 39, .42) 100%),
        var(--hero-image);
    background-position: center, var(--hero-position);
    background-repeat: no-repeat;
    background-size: cover;
}
.hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(7, 20, 17, .32), transparent);
    pointer-events: none;
}
.hero > .container {
    position: relative;
    z-index: 1;
}
.hero h1,
.hero p,
.hero .eyebrow {
    text-shadow: 0 2px 18px rgba(0, 0, 0, .42);
}
.photo-credits {
    max-width: 42rem;
    line-height: 1.55;
}
.photo-credits summary { cursor: pointer; }
.photo-credits p { margin: .45rem 0 0; }

/* Stripe Checkout */
.stripe-paywall { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(8,115,79,.2); border-radius: 22px; background: linear-gradient(135deg, #f7faf6, #e8f1eb); box-shadow: 0 18px 50px rgba(23,43,39,.09); }
.stripe-paywall-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: #173f37; color: #fff; font-size: 1.55rem; }
.stripe-paywall-copy h3 { margin: .2rem 0 .4rem; color: #172b27; font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
.stripe-paywall-copy p { margin: 0; color: #52615a; line-height: 1.55; }
.stripe-trust { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .75rem; color: #31564e; font-size: .75rem; font-weight: 700; }
.stripe-trust span { display: inline-flex; align-items: center; gap: .3rem; }
.stripe-paywall-action { display: grid; justify-items: end; min-width: 175px; }
.stripe-paywall-action strong { color: #172b27; font-size: 1.8rem; line-height: 1; }
.stripe-paywall-action small { margin: .2rem 0 .75rem; color: #65716a; }
.stripe-paywall-action .btn { width: 100%; white-space: nowrap; }
.stripe-paywall-action > a { margin-top: .55rem; color: #31564e; font-size: .75rem; font-weight: 700; text-decoration: none; }
.stripe-paywall--compact { grid-template-columns: auto minmax(0, 1fr); margin-top: 1.5rem; }
.stripe-paywall--compact .stripe-paywall-action { grid-column: 1 / -1; justify-items: start; width: 100%; }
.stripe-paywall--compact .stripe-paywall-action .btn { width: 100%; }
@media (max-width: 760px) {
    .stripe-paywall { grid-template-columns: auto 1fr; }
    .stripe-paywall-action { grid-column: 1 / -1; justify-items: start; width: 100%; }
    .stripe-paywall-action .btn { width: 100%; }
}

/* Über mich & Medienbibliothek */
.about-hero { padding-block: clamp(4.5rem, 9vw, 8rem); }
.about-hero h1 { max-width: 950px; }
.about-hero-actions { margin-top: 1.4rem !important; }
.about-hero-actions .btn { display: inline-flex; align-items: center; gap: .35rem; text-shadow: none; }
.about-intro-section { background: #f4f2e9; }
.about-profile { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .7fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.about-profile-main { display: grid; grid-template-columns: 112px 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 26px; background: #fff; box-shadow: 0 24px 70px rgba(23, 43, 39, .1); }
.about-monogram { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(145deg, #08734f, #173f37); color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; box-shadow: 0 14px 34px rgba(8, 115, 79, .22); }
.about-profile-main h2 { margin: .35rem 0 1rem; color: #172b27; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.045em; }
.about-lead { color: #31564e; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.about-profile-main p:not(.eyebrow) { max-width: 770px; }
.about-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.about-actions .btn, .download-card .btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.about-profile-facts { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 26px; background: #173f37; color: #fff; }
.about-profile-facts .eyebrow { color: #c9dfad; }
.about-profile-facts dl { margin: 1.5rem 0 0; }
.about-profile-facts dl div { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.about-profile-facts dt { color: #b9c9c0; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about-profile-facts dd { margin: .25rem 0 0; font-size: 1.02rem; font-weight: 600; }
.about-method-section { background: #fff; }
.about-section-heading { max-width: 770px; }
.about-section-heading .section-title { margin: .35rem 0 .7rem; }
.about-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-method-grid article { position: relative; min-height: 260px; padding: 1.65rem; overflow: hidden; border: 1px solid #dce4d7; border-radius: 20px; background: linear-gradient(145deg, #f7f8f3, #edf2e9); }
.about-method-grid article > span { position: absolute; top: 1rem; right: 1.2rem; color: rgba(49,86,78,.15); font-size: 3rem; font-weight: 700; }
.about-method-grid i { display: block; margin: 1.2rem 0 2.5rem; color: #08734f; font-size: 2rem; }
.about-method-grid h3 { margin: 0 0 .65rem; color: #172b27; }
.about-method-grid p { margin: 0; color: #52615a; line-height: 1.6; }
.about-video-section { overflow: hidden; background: #173f37; color: #fff; }
.about-video-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-video-copy .eyebrow { color: #c9dfad; }
.about-video-copy h2 { margin: .35rem 0 1rem; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; }
.about-video-copy > p { color: #d5dfd9; font-size: 1.05rem; line-height: 1.7; }
.about-video-points { display: grid; gap: .65rem; margin: 1.4rem 0 1.7rem; padding: 0; list-style: none; }
.about-video-points li { display: flex; gap: .55rem; align-items: center; color: #eef4ef; }
.about-video-points i { color: #a8ce78; }
.about-video-download { display: inline-flex; align-items: center; gap: .45rem; border-color: rgba(255,255,255,.55); color: #fff; }
.about-video-download:hover { border-color: #fff; background: #fff; color: #173f37; }
.about-video-player { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: #071914; box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.about-video-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #071914; object-fit: contain; }
.about-video-player figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; color: #c7d4cd; font-size: .75rem; }
.about-video-player figcaption span { display: inline-flex; align-items: center; gap: .35rem; }
.about-downloads-section { background: #edf2ec; }
.about-pdf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.download-card { display: grid; grid-template-columns: minmax(190px, .8fr) minmax(250px, 1fr); overflow: hidden; border: 1px solid rgba(49,86,78,.14); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(23,43,39,.09); }
.download-preview { position: relative; display: block; min-height: 330px; overflow: hidden; background: #193c34; }
.download-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.download-preview:hover img { transform: scale(1.035); }
.download-preview--document::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,31,26,.45), transparent 55%); }
.file-badge { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .35rem; padding: .48rem .7rem; border-radius: 999px; background: #fff; color: #a12822; font-size: .75rem; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.download-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 3vw, 2rem); }
.download-card-body h3 { margin: .25rem 0 .65rem; color: #172b27; font-size: 1.65rem; }
.download-card-body > p:not(.eyebrow) { color: #52615a; line-height: 1.6; }
.download-meta { display: flex; gap: .5rem; margin: auto 0 1rem; color: #65716a; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.download-meta span + span::before { content: '·'; margin-right: .5rem; }
.download-card-body .btn { width: 100%; }
.about-gallery-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin: clamp(3rem, 7vw, 5rem) 0 1.25rem; }
.about-gallery-heading h3 { margin: .2rem 0 0; color: #172b27; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.about-gallery-heading > p { max-width: 370px; margin: 0; color: #65716a; }
.about-media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.media-download-card { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(23,43,39,.08); }
.media-download-image { position: relative; display: block; aspect-ratio: 16 / 8.3; overflow: hidden; background: #173f37; }
.media-download-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.media-download-image > span { position: absolute; right: .8rem; bottom: .8rem; padding: .4rem .6rem; border-radius: 999px; background: rgba(15,38,32,.85); color: #fff; font-size: .7rem; opacity: 0; transform: translateY(5px); transition: .2s; }
.media-download-image:hover img { transform: scale(1.025); }
.media-download-image:hover > span { opacity: 1; transform: none; }
.media-download-card > div { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: 1rem 1.1rem; }
.media-download-card h4 { margin: 0; color: #172b27; }
.media-download-card p { margin: 0; color: #65716a; font-size: .75rem; }
.media-download-card > div > a { grid-column: 2; grid-row: 1 / span 2; color: #08734f; font-size: .82rem; font-weight: 700; text-decoration: none; }
.about-closing-section { padding-block: clamp(2.5rem, 6vw, 5rem); background: #173f37; color: #fff; }
.about-closing { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.about-closing h2 { margin: .3rem 0 .5rem; color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.about-closing p { max-width: 700px; margin-bottom: 0; color: #d5dfd9; }
.about-closing .eyebrow { color: #c9dfad; }
.about-closing .btn { flex: 0 0 auto; }
@media (max-width: 1050px) {
    .about-profile { grid-template-columns: 1fr; }
    .about-profile-facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
    .about-pdf-grid { grid-template-columns: 1fr; }
    .about-video-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .about-profile-main { grid-template-columns: 1fr; }
    .about-monogram { width: 82px; height: 82px; font-size: 1.5rem; }
    .about-method-grid, .about-media-grid { grid-template-columns: 1fr; }
    .download-card { grid-template-columns: 1fr; }
    .download-preview { min-height: 260px; max-height: 380px; }
    .about-gallery-heading, .about-closing { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .about-profile-facts dl { grid-template-columns: 1fr; }
    .about-actions .btn, .about-closing .btn { width: 100%; }
    .about-video-download { width: 100%; justify-content: center; }
    .media-download-card > div { grid-template-columns: 1fr; }
    .media-download-card > div > a { grid-column: 1; grid-row: auto; margin-top: .55rem; }
}
