/**
 * Asthaufen.ch - Stylesheet
 * Grünes Flat Design mit Verlauf
 */

:root {
    --green-dark: #1a472a;
    --green-medium: #2d5a3d;
    --green-light: #4a7c59;
    --green-pale: #8fbc8f;
    --green-bright: #6db36d;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-small: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 50%, var(--green-light) 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* ==================== HEADER ==================== */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
}

.logo-icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--green-dark), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: var(--green-medium);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-small);
    transition: background 0.2s;
}

.nav-link:hover {
    background: var(--gray-light);
}

/* ==================== MAIN CONTENT ==================== */

.main-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0;
    height: calc(100vh - 70px);
    position: relative;
}

@media (max-width: 900px) {
    .main-content {
        display: block;
        height: calc(100vh - 60px);
    }

    .sidebar {
        display: none;
    }

    .map-container {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .site-title {
        display: none;
    }

    .logo-icon {
        padding-right: 20px;
    }
}

/* ==================== MAP ==================== */

.map-container {
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 500;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.submit-mode-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
}

.submit-mode-btn.hidden {
    display: none;
}

.map-stats {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-dark);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== SIDEBAR ==================== */

.sidebar {
    background: var(--white);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-section {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==================== HERO IMAGE ==================== */

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
}

.hero-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* ==================== INFO TEXT ==================== */

.info-text {
    font-size: 0.9375rem;
    color: #333;
}

.info-text p {
    margin-bottom: 1rem;
}

.info-text ul {
    margin: 0 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

.info-text li {
    padding: 0.25rem 0;
    padding-left: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
}

/* ==================== LINK LIST ==================== */

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    color: var(--green-medium);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    transition: color 0.2s;
}

.link-list a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

/* ==================== ILLUSTRATION PLACEHOLDER ==================== */

.illustration-placeholder {
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-bright) 100%);
    border-radius: var(--radius);
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1rem;
}

.illustration-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.illustration-placeholder .text {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ==================== UPLOAD FORM ==================== */

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-drop-zone {
    border: 2px dashed var(--green-pale);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--gray-light);
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: var(--green-medium);
    background: rgba(45, 90, 61, 0.05);
}

.file-drop-zone.has-file {
    border-color: var(--green-bright);
    background: rgba(109, 179, 109, 0.1);
}

.file-drop-zone .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.file-drop-zone p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.file-drop-zone .hint {
    font-size: 0.75rem;
    color: #999;
}

.file-input {
    display: none;
}

.preview-container {
    display: none;
    position: relative;
}

.preview-container.visible {
    display: block;
}

.preview-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
}

.preview-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

/* Location Picker */
.location-picker {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 1rem;
}

.location-picker p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.location-status.found {
    color: var(--green-medium);
}

.location-status.pending {
    color: var(--gray);
}

#mini-map {
    height: 120px;
    border-radius: var(--radius-small);
    margin-top: 0.75rem;
    display: none;
}

#mini-map.visible {
    display: block;
}

/* Textarea */
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #eee;
    border-radius: var(--radius-small);
    font-family: inherit;
    font-size: 0.9375rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--green-pale);
}

.form-textarea::placeholder {
    color: #aaa;
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-small);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-medium), var(--green-light));
    color: var(--white);
}

.btn-secondary {
    background: var(--gray-light);
    color: var(--green-dark);
}

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

.btn-outline:hover {
    background: var(--green-pale);
    color: var(--green-dark);
}

.btn-block {
    width: 100%;
}

/* ==================== MESSAGES ==================== */

.message {
    padding: 1rem;
    border-radius: var(--radius-small);
    margin-bottom: 1rem;
    display: none;
}

.message.visible {
    display: block;
}

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}

/* ==================== INFO BOX ==================== */

.info-box {
    background: linear-gradient(135deg, rgba(45, 90, 61, 0.05), rgba(74, 124, 89, 0.05));
    border-left: 4px solid var(--green-medium);
    padding: 1rem;
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.info-box h4 {
    color: var(--green-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.info-box p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ==================== POPUP ==================== */

.leaflet-popup-content-wrapper {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
}

.popup-content {
    min-width: 200px;
}

.popup-content img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-small);
    margin-bottom: 0.5rem;
}

.popup-content .date {
    font-size: 0.75rem;
    color: var(--gray);
}

.popup-content .description {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #333;
}

/* ==================== LOADING ==================== */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 71, 42, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.visible {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== CUSTOM MARKER ==================== */

.custom-marker {
    background: var(--green-medium);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.custom-marker.active-marker {
    background: var(--green-bright);
    transform: scale(1.5);
    box-shadow: 0 0 12px rgba(109, 179, 109, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000 !important;
}

/* ==================== MARKER POPUP ==================== */

.asthaufen-popup .leaflet-popup-content-wrapper {
    padding: 0;
    overflow: hidden;
}

.asthaufen-popup .leaflet-popup-content {
    margin: 0;
    width: 180px !important;
}

.marker-popup {
    text-align: center;
}

.marker-popup .popup-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.marker-popup .popup-info {
    font-size: 0.8125rem;
    color: var(--green-dark);
    padding: 0.5rem 0.625rem 0;
    margin: 0;
    font-weight: 600;
}

.marker-popup .popup-date {
    font-size: 0.75rem;
    color: var(--gray);
    padding: 0.25rem 0.625rem 0.5rem;
    margin: 0;
}

.popup-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.625rem 0;
    flex-wrap: wrap;
}

.popup-badges-more {
    font-size: 0.6875rem;
    color: var(--text-secondary, #666);
    white-space: nowrap;
    padding-left: 0.125rem;
}

.popup-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-pale);
    background: var(--white);
    cursor: pointer;
}

/* ==================== TIMELINE ==================== */

.timeline-container {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    min-width: 220px;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.timeline-icon {
    font-size: 1rem;
}

.timeline-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-dark);
}

.timeline-current-date {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--gray);
    background: var(--gray-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.timeline-slider-container {
    width: 100%;
}

.timeline-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--green-pale) 0%, var(--green-medium) 100%);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.timeline-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--green-medium);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.timeline-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.timeline-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--green-medium);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.timeline-reset {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem;
    font-size: 0.75rem;
    background: var(--gray-light);
    color: var(--green-dark);
    border: none;
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: background 0.2s;
}

.timeline-reset:hover {
    background: var(--green-pale);
}

.timeline-reset.hidden {
    display: none;
}

/* Marker im Zeitfilter ausgeblendet */
.marker-hidden {
    opacity: 0.2;
    pointer-events: none;
}

@media (max-width: 600px) {
    .timeline-container {
        bottom: auto;
        top: 1rem;
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }
}

/* ==================== AKTUELL PAGE ==================== */

.intro-text {
    color: var(--gray);
    margin-bottom: 2rem;
}

.aktuell-section {
    margin-bottom: 2.5rem;
}

.aktuell-section h2 {
    margin-bottom: 1.25rem;
}

.aktuell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.aktuell-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.aktuell-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.aktuell-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.aktuell-info {
    padding: 0.75rem;
}

.aktuell-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.aktuell-date {
    color: var(--gray);
}

.aktuell-author {
    color: var(--green-medium);
    font-weight: 500;
}

.aktuell-desc {
    font-size: 0.8125rem;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.aktuell-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aktuell-observation {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 1rem;
    transition: background 0.2s;
}

.aktuell-observation:hover {
    background: var(--green-pale);
}

.aktuell-obs-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-small);
}

.aktuell-obs-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.aktuell-obs-content {
    flex: 1;
    min-width: 0;
}

.aktuell-obs-text {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.aktuell-link-hint {
    font-size: 0.75rem;
    color: var(--green-medium);
}

.aktuell-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.nav-link.active {
    background: var(--green-pale);
    color: var(--green-dark);
    font-weight: 500;
}

.empty-state {
    color: var(--gray);
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: var(--radius);
}

/* ==================== MOBILE OVERLAY ==================== */

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--white);
    flex-direction: column;
}

.mobile-overlay.visible {
    display: flex;
}

.mobile-overlay-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-overlay-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-light);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mobile-overlay-close:hover {
    background: var(--green-pale);
}

.mobile-overlay-header h2 {
    font-size: 1.125rem;
    color: var(--green-dark);
    margin: 0;
}

.mobile-overlay-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
}

.mobile-detail .detail-image-container {
    margin: -1rem -1rem 1rem -1rem;
}

.mobile-detail .detail-image {
    height: 200px;
    border-radius: 0;
}

.mobile-detail .detail-meta {
    margin-bottom: 1rem;
}

.mobile-detail .sidebar-section {
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.mobile-submit .location-info {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--gray-light);
    border-radius: var(--radius-small);
}

/* Mobile Location Hint */
.mobile-location-hint {
    display: none;
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.mobile-location-hint.visible {
    display: block;
}

.mobile-location-hint .hint-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mobile-location-hint .hint-icon {
    font-size: 1.5rem;
}

.mobile-location-hint .hint-text {
    font-size: 0.9375rem;
    color: var(--green-dark);
    font-weight: 500;
}

.mobile-location-hint .hint-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-location-hint .hint-use-location,
.mobile-location-hint .hint-cancel {
    width: 100%;
    padding: 0.625rem;
    border: none;
    border-radius: var(--radius-small);
    font-size: 0.875rem;
    cursor: pointer;
}

.mobile-location-hint .hint-use-location {
    background: var(--green-medium);
    color: var(--white);
    font-weight: 600;
}

.mobile-location-hint .hint-use-location:hover {
    background: var(--green-dark);
}

.mobile-location-hint .hint-cancel {
    background: var(--gray-light);
    color: var(--gray);
}

.mobile-location-hint .hint-cancel:hover {
    background: #e0e0e0;
}

/* Body mit offenem Overlay */
body.overlay-open {
    overflow: hidden;
}

/* ==================== SUCCESS MODAL ==================== */

.success-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.success-modal.visible {
    display: flex;
}

.success-modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.success-modal .success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.success-modal p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-modal .btn {
    min-width: 120px;
}

/* Timeline auf Mobile anpassen */
@media (max-width: 900px) {
    .timeline-container {
        bottom: 5rem;
        right: 1rem;
        left: auto;
        min-width: 180px;
        padding: 0.75rem;
        height: 90px;
    }

    .timeline-header {
        margin-bottom: 0.5rem;
    }

    .map-overlay {
        bottom: 1rem;
        left: 1rem;
        right: auto;
    }

    .map-stats {
        display: none;
    }

    .submit-mode-btn {
        padding: 0.875rem 1.25rem;
    }
}

/* ==================== PANEL CONTENT ==================== */

.panel-content {
    display: block;
}

.panel-content.hidden {
    display: none;
}

.detail-panel,
.submit-panel {
    display: none;
}

.detail-panel.visible,
.submit-panel.visible {
    display: block;
}

.btn-back {
    margin-bottom: 0.5rem;
}

.detail-image-container {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-date {
    font-size: 0.875rem;
    color: var(--gray);
}

.detail-submitter {
    font-size: 0.875rem;
    color: var(--green-medium);
    font-weight: 500;
}

.detail-description {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.6;
    background: var(--gray-light);
    padding: 1rem;
    border-radius: var(--radius-small);
}

.hidden {
    display: none !important;
}

/* ==================== OBSERVATIONS ==================== */

.observations-list {
    margin-bottom: 1rem;
}

.observations-list .empty-state {
    color: var(--gray);
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--radius-small);
}

.observation-item {
    background: var(--gray-light);
    border-radius: var(--radius-small);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.observation-item:last-child {
    margin-bottom: 0;
}

.observation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray);
}

.observation-text {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
}

.observation-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-small);
    margin-top: 0.75rem;
}

.file-drop-zone-small {
    padding: 1rem;
}

.file-drop-zone-small .icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.file-drop-zone-small p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.button-group {
    display: flex;
    gap: 0.75rem;
}

.button-group .btn {
    flex: 1;
}

/* ==================== PAGE CONTENT ==================== */

.page-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.content-card h1 {
    color: var(--green-dark);
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.content-card h2 {
    color: var(--green-medium);
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.content-card h3 {
    color: var(--green-dark);
    margin: 1.5rem 0 0.75rem;
    font-size: 1rem;
}

.content-card section {
    margin-bottom: 1.5rem;
}

.content-card p {
    margin-bottom: 1rem;
    color: #333;
}

.content-card ul {
    margin: 0 0 1rem 1.5rem;
    color: #333;
}

.content-card li {
    margin-bottom: 0.5rem;
}

.content-card a {
    color: var(--green-medium);
}

.content-card a:hover {
    color: var(--green-dark);
}

/* ==================== FORM INPUT ==================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-dark);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #eee;
    border-radius: var(--radius-small);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--green-pale);
}

.form-hint {
    font-size: 0.75rem;
    color: #999;
}

/* ==================== MESSAGE INFO ==================== */

.message.info {
    background: #cce5ff;
    color: #004085;
}

/* ==================== ANIMAL BADGES ==================== */

.badge-container {
    background: #f5f3ef;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.badge-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* JS-basierter Tooltip (wird von app.js positioniert) */
.js-tooltip {
    position: fixed;
    background: var(--green-dark, #2d5016);
    color: #fff;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    line-height: 1.4;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    max-width: 260px;
    text-align: center;
    word-wrap: break-word;
}

.badge-tooltip-wrap {
    display: inline-block;
    position: relative;
}

.badge-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.badge-image:hover {
    transform: scale(1.1);
}

/* Badge Sections */
.badge-section {
    margin-bottom: 1rem;
}

.badge-section:last-child {
    margin-bottom: 0;
}

/* Jahreszeiten Badges */
.season-badges {
    gap: 0.75rem;
}

.season-badge {
    position: relative;
    cursor: help;
}

.season-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-pale);
    transition: transform 0.2s;
}

.season-badge:hover .season-image {
    transform: scale(1.1);
}

.season-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--white);
    padding: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Earned Badges (Meta, Datums-Badges) */
.earned-badges {
    gap: 0.5rem;
}

.earned-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #fff8e1, #fff3c4);
    border: 1px solid #ffd54f;
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    cursor: help;
    transition: transform 0.2s;
}

.earned-badge:hover {
    transform: scale(1.05);
}

.earned-badge-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.earned-badge-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green-dark);
}

/* Badge Info Link */
.badge-info-link {
    margin-top: 0.75rem;
    text-align: center;
}

.badge-info-link a {
    font-size: 0.8125rem;
    color: var(--green);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.badge-info-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Badge Overlay */
.badge-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.badge-overlay-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.badge-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--green-pale);
}

.badge-overlay-header h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--green-dark);
}

.badge-overlay-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    line-height: 1;
}

.badge-overlay-close:hover {
    color: var(--green-dark);
}

.badge-overlay-body {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
}

.overlay-badge-section {
    margin-bottom: 1.25rem;
}

.overlay-badge-section:last-child {
    margin-bottom: 0;
}

.overlay-badge-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overlay-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ede8;
}

.overlay-badge-row:last-child {
    border-bottom: none;
}

.overlay-badge-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.overlay-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.overlay-badge-text strong {
    font-size: 0.875rem;
    color: var(--green-dark);
}

.overlay-badge-text span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Image Zoom Overlay (fullscreen photos) */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-zoom-overlay .image-zoom-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: none;
}

.image-zoom-overlay.badge-zoom .badge-zoom-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.image-zoom-overlay.badge-zoom .image-zoom-img {
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    padding: 8px;
    cursor: default;
}

.badge-zoom-beschreibung {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    text-align: center;
    max-width: 300px;
    line-height: 1.4;
}

.image-zoom-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.image-zoom-close:hover {
    opacity: 1;
}

/* Magnifier Glass */
.magnifier-glass {
    position: fixed;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 10003;
    background-repeat: no-repeat;
    /* Glaseffekt-Highlight */
    background-color: transparent;
}

.magnifier-glass::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 30%;
    height: 20%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.magnifier-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    pointer-events: none;
    white-space: nowrap;
}

/* Zoomable cursor */
.zoomable {
    cursor: zoom-in;
}

/* Inline Illustration Icons */
.inline-illus {
    width: 1.4em;
    height: 1.4em;
    vertical-align: middle;
    object-fit: contain;
    display: inline-block;
    margin-right: 0.15em;
}

.inline-illus-large {
    width: 4rem;
    height: 4rem;
    vertical-align: middle;
    object-fit: contain;
    display: inline-block;
}

/* Emoji Select Dropdown */
.form-select-emoji {
    font-size: 1rem;
}

/* Tier-Badge in Beobachtungen */
.observation-tier {
    display: inline-block;
    background: var(--gray-light);
    color: var(--gray);
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.observation-tier.verified {
    background: #d4edda;
    color: #155724;
    font-weight: 500;
}

/* ==================== SUBMIT MODE ==================== */

body.submit-mode #map {
    cursor: crosshair;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 600px) {
    .header {
        padding: 0.75rem 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .sidebar-section {
        padding: 1rem;
    }

    .map-overlay {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .submit-mode-btn {
        width: 100%;
    }

    .map-stats {
        justify-content: center;
    }

    .submit-panel {
        max-height: 85vh;
    }

    .detail-image {
        height: 200px;
    }
}

/* ==================== SCROLL PAGE ==================== */

.scroll-page {
    overflow-x: hidden;
}

.scroll-page .page-content {
    padding: 0;
    max-width: none;
}

.scroll-section {
    padding: 5rem 2rem;
    position: relative;
}

.scroll-section--dark {
    background: var(--green-dark);
    color: var(--white);
}

.scroll-section--dark h2,
.scroll-section--dark h3,
.scroll-section--dark p,
.scroll-section--dark li {
    color: var(--white);
}

.scroll-section--dark .step-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.scroll-section--dark .step-card h3 {
    color: var(--white);
}

.scroll-section--dark .step-card p {
    color: rgba(255, 255, 255, 0.85);
}

.scroll-section--dark .step-card::before {
    background: var(--white);
    color: var(--green-dark);
}

.scroll-section--alt {
    background: var(--gray-light);
}

.scroll-section--white {
    background: var(--white);
}

.scroll-inner {
    max-width: 900px;
    margin: 0 auto;
}

.scroll-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--green-dark);
}

.scroll-section--dark h2 {
    color: var(--white);
}

/* ==================== SCROLL HERO ==================== */

.scroll-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 50%, var(--green-light) 100%);
}

.scroll-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/illus/hedgehog.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2;
}

.scroll-hero__content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.scroll-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.scroll-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================== SCROLL REVEAL ==================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ==================== STATS COUNTER ==================== */

.stats-section {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
}

.stats-section h2 {
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.stats-subtitle {
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card__number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stat-card__label {
    font-size: 0.9375rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-scroll-hint {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--green-pale);
    opacity: 0;
    transition: opacity 0.5s;
    animation: bounce-hint 2s ease-in-out infinite;
}

.stats-scroll-hint.visible {
    opacity: 1;
}

@keyframes bounce-hint {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* Scroll-Lock Indicator */
body.scroll-locked {
    overflow: hidden;
}

/* ==================== WARUM SECTION ==================== */

.warum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.warum-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.warum-card:hover {
    transform: translateY(-4px);
}

.warum-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.warum-card h3 {
    font-size: 1.125rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
}

.warum-card p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.5;
}

/* ==================== STEPS ==================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    counter-reset: step;
}

.step-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    counter-increment: step;
}

.step-card::before {
    content: counter(step);
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--green-medium), var(--green-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.step-card h3 {
    font-size: 1rem;
    color: var(--green-dark);
    margin-bottom: 0.375rem;
}

.step-card p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

.round {
    background: white;
    border-radius: 35px;
    width: 65px;
}

/* ==================== VIDEO EMBED ==================== */

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

.video-placeholder:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.15);
}

.video-play-btn {
    width: 72px;
    height: 72px;
    background: rgba(255, 0, 0, 0.85);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
    background: rgba(255, 0, 0, 1);
}

.video-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.video-privacy-bar {
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    line-height: 1.4;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.video-privacy-bar a {
    color: var(--green-pale);
    text-decoration: underline;
}

/* Aktuell-Kacheln auf scroll-section--alt brauchen weissen Hintergrund */
.scroll-section--alt .aktuell-item {
    background: var(--white);
    box-shadow: var(--shadow);
}

.scroll-section--alt .aktuell-observation {
    background: var(--white);
    box-shadow: var(--shadow);
}

/* ==================== LINKS SECTION ==================== */

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

.link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.link-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.link-card__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.link-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--green-dark);
}

.link-card__desc {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ==================== AUDIO PLAYER ==================== */

.audio-section {
    text-align: center;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 0 auto 1.5rem;
    max-width: 600px;
    text-align: left;
}

.audio-player__play {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
}

.audio-player__play:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.audio-player__play:active {
    transform: scale(0.96);
}

.audio-player__icon {
    width: 24px;
    height: 24px;
}

.audio-player__icon--play {
    margin-left: 3px;
}

.audio-player__track {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audio-player__progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.audio-player__progress:hover {
    height: 10px;
}

.audio-player__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green-bright), var(--green-pale));
    border-radius: 4px;
    transition: width 0.1s linear;
}

.audio-player__time {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
}

.audio-player__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.audio-player__actions .btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .audio-player {
        flex-direction: column;
        text-align: center;
    }

    .audio-player__play {
        width: 64px;
        height: 64px;
    }

    .audio-player__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-player__actions .btn {
        justify-content: center;
    }
}

/* ==================== CTA SECTION ==================== */

.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 100%);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-section .btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--green-dark);
}

.cta-section .btn:hover {
    background: var(--gray-light);
}

/* ==================== DATENSCHUTZ SCROLL ==================== */

.datenschutz-hero {
    background: linear-gradient(135deg, var(--green-dark), var(--green-medium));
    padding: 4rem 2rem;
    text-align: center;
}

.datenschutz-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.datenschutz-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.datenschutz-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.datenschutz-body section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.datenschutz-body h2 {
    color: var(--green-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.datenschutz-body h3 {
    color: var(--green-medium);
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

.datenschutz-body p {
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.datenschutz-body ul {
    margin: 0 0 1rem 1.5rem;
    color: #333;
}

.datenschutz-body li {
    margin-bottom: 0.375rem;
    line-height: 1.5;
}

.datenschutz-body a {
    color: var(--green-medium);
}

.datenschutz-body a:hover {
    color: var(--green-dark);
}

/* ==================== SCROLL PAGE RESPONSIVE ==================== */

@media (max-width: 900px) {
    .scroll-hero {
        min-height: 45vh;
    }

    .scroll-hero::before {
        background-attachment: scroll;
    }

    .scroll-hero__title {
        font-size: 2rem;
    }

    .scroll-hero__subtitle {
        font-size: 1rem;
    }

    .scroll-section {
        padding: 3rem 1.25rem;
    }

    .stats-section {
        padding: 4rem 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card__number {
        font-size: 2.5rem;
    }

    .warum-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .scroll-section h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .datenschutz-hero h1 {
        font-size: 1.75rem;
    }

    .datenschutz-body {
        padding: 1.5rem 1rem;
    }

    .datenschutz-body section {
        padding: 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== NEWS ==================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card__date {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.news-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-card__content {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.6;
}

.news-card__content p {
    margin-bottom: 0.75rem;
}

.news-card__content p:last-child {
    margin-bottom: 0;
}

/* News-Archiv */
.news-archiv-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.news-archiv-item h2 {
    color: var(--green-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.news-archiv-date {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.news-archiv-content {
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.6;
}

.news-archiv-content p {
    margin-bottom: 0.75rem;
}

.news-archiv-content p:last-child {
    margin-bottom: 0;
}

/* Sidebar: Benefit-Liste (kompakt) */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.benefit-list li:last-child {
    border-bottom: none;
}