/* ==========================================================================
   Holzwerkstätte Schroedter – Premium Design System
   ========================================================================== */

:root {
    --color-primary: #8B5E3C;
    --color-primary-dark: #6B4423;
    --color-primary-light: #C4A882;
    --color-accent: #D4A574;
    --color-bg: #FDFBF8;
    --color-bg-alt: #F5F0EB;
    --color-surface: #FFFFFF;
    --color-text: #2C2416;
    --color-text-muted: #6B5E52;
    --color-border: #E8DFD4;
    --color-success: #2D6A4F;
    --color-error: #9B2226;

    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(44, 36, 22, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 36, 22, 0.1);
    --shadow-lg: 0 12px 40px rgba(44, 36, 22, 0.14);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --header-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --color-bg: #1A1410;
    --color-bg-alt: #241C16;
    --color-surface: #2C241C;
    --color-text: #F5F0EB;
    --color-text-muted: #B8A99A;
    --color-border: #3D342C;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }
address { font-style: normal; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-accent);
    color: var(--color-text);
    border-color: var(--color-accent);
}
.btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-text);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(253, 251, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

[data-theme="dark"] .site-header {
    background: rgba(26, 20, 16, 0.92);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 68px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}

.logo img { height: 48px; width: auto; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    background: var(--color-bg-alt);
}

.nav-cta {
    background: var(--color-primary) !important;
    color: #fff !important;
    margin-left: 0.5rem;
}
.nav-cta:hover {
    background: var(--color-primary-dark) !important;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text);
    transition: all var(--transition);
    flex-shrink: 0;
}
.theme-toggle:hover { background: var(--color-primary-light); color: var(--color-primary-dark); }
.theme-toggle svg { width: 20px; height: 20px; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 22, 0.75) 0%,
        rgba(107, 68, 35, 0.55) 50%,
        rgba(44, 36, 22, 0.4) 100%
    );
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(107, 68, 35, 0.9), rgba(139, 94, 60, 0.7)),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,0.03) 40px,
            rgba(255,255,255,0.03) 41px
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
    color: #fff;
    padding: 4rem 0;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
    opacity: 0.7;
    animation: bounce 2s infinite;
}
.hero-scroll svg { width: 28px; height: 28px; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: var(--color-bg-alt);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s 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; }

/* Services – moderne Hover-Kacheln */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    isolation: isolate;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--color-primary);
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.service-tile:hover::before,
.service-tile:focus-within::before {
    height: 100%;
}

.service-tile__bg {
    position: absolute;
    inset: 0;
    background-image: var(--tile-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-tile--fallback .service-tile__bg {
    background-image: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 45%, var(--color-primary-light) 100%);
}

.service-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 20, 16, 0.92) 0%,
        rgba(26, 20, 16, 0.55) 45%,
        rgba(26, 20, 16, 0.15) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.service-tile__content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
    color: #fff;
}

.service-tile__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    color: #fff;
}
.service-tile__icon svg { width: 22px; height: 22px; }

.service-tile__title {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.service-tile__detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
    margin-top: 0;
}

.service-tile__detail p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.service-tile__cta {
    background: #fff !important;
    color: var(--color-primary-dark) !important;
    border-color: #fff !important;
}
.service-tile__cta:hover {
    background: var(--color-bg-alt) !important;
    transform: translateY(-2px);
}

.service-tile:hover .service-tile__bg,
.service-tile:focus-within .service-tile__bg {
    transform: scale(1.08);
}

.service-tile:hover .service-tile__overlay,
.service-tile:focus-within .service-tile__overlay {
    background: linear-gradient(
        to top,
        rgba(26, 20, 16, 0.97) 0%,
        rgba(26, 20, 16, 0.82) 55%,
        rgba(26, 20, 16, 0.5) 100%
    );
}

.service-tile:hover .service-tile__detail,
.service-tile:focus-within .service-tile__detail {
    max-height: 280px;
    opacity: 1;
    margin-top: 1rem;
}

/* Touch-Geräte: Text immer sichtbar */
@media (hover: none) {
    .service-tile__detail {
        max-height: none;
        opacity: 1;
        margin-top: 0.75rem;
    }
}

/* Leistungen Detail-Abschnitte */
.service-detail {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.service-detail__banner {
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    background-image: linear-gradient(to top, rgba(26,20,16,0.85), rgba(26,20,16,0.2)), var(--tile-image);
    background-size: cover;
    background-position: center;
}

.service-detail__banner h2 {
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.service-detail__body {
    padding: 2rem;
}

.service-detail__body p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Legacy cards (Beratung etc.) */
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-primary);
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { height: 100%; }

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--color-text-muted); margin-bottom: 1.25rem; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.85rem; color: var(--color-text-muted); }

.testimonial-source {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light);
    background: var(--color-bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
}
.partner-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}
.partner-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.partner-card--link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.partner-card h4 { margin-bottom: 0.5rem; color: var(--color-primary); transition: color var(--transition); }
.partner-card--link:hover h4 { color: var(--color-primary-dark); }
.partner-card p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0; }
.partner-card__link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* About / CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 2rem; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: #fff; color: var(--color-primary-dark); border-color: #fff; }
.cta-banner .btn-primary:hover { background: var(--color-bg-alt); }

/* Contact */
.contact-section { background: var(--color-bg-alt); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-item svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-file {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}
.form-file:hover { border-color: var(--color-primary); background: var(--color-bg-alt); }
.form-file input { display: none; }
.form-file p { font-size: 0.9rem; color: var(--color-text-muted); }

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: none;
}
.form-message.success { display: block; background: #D8F3DC; color: var(--color-success); border: 1px solid #95D5B2; }
.form-message.error { display: block; background: #FDE8E8; color: var(--color-error); border: 1px solid #F5C6CB; }

[data-theme="dark"] .form-message.success { background: #1B3A2D; color: #95D5B2; }
[data-theme="dark"] .form-message.error { background: #3A1B1B; color: #F5C6CB; }

/* Gallery */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-text);
    transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--color-bg-alt);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(44,36,22,0.8));
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: #fff; font-family: var(--font-sans); font-size: 1rem; }

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.team-photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
    font-size: 3rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-serif);
}

.team-info { padding: 1.5rem; }
.team-info h3 { margin-bottom: 0.25rem; }
.team-info .role { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }
.team-info p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Jobs */
.jobs-list { display: flex; flex-direction: column; gap: 1.5rem; }

.job-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}
.job-card:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-sm); }

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.job-tag {
    background: var(--color-bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Page Hero (subpages) */
.page-hero {
    padding: calc(var(--header-height) + 4rem) 0 3rem;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: #fff;
    text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Legal pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}
.legal-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.legal-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; }
.legal-content p, .legal-content li { color: var(--color-text-muted); margin-bottom: 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }

/* Map */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    min-height: 300px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
}

/* Servicegebiet */
.service-area {
    background: linear-gradient(160deg, #1A1410 0%, #2C2416 50%, #1A1410 100%);
    color: #fff;
    padding: 5rem 0;
}

.service-area .section-label {
    color: var(--color-accent);
}

.service-area__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.service-area__header h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.service-area__header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-area__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding: 0;
    list-style: none;
}

.service-area__cities li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color var(--transition), background var(--transition);
}

.service-area__cities li:hover {
    border-color: var(--color-accent);
    background: rgba(212, 165, 116, 0.12);
}

.service-area__cities svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.service-area__map-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.service-area__map {
    height: 420px;
    background: #2a2a2a;
    position: relative;
}

.service-area__map-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(26, 20, 16, 0.95);
}

.service-area__map-placeholder a {
    color: var(--color-accent);
    font-weight: 600;
}

.service-area__map.is-loaded .service-area__map-placeholder {
    display: none;
}

.service-area__map-footer {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.85rem 1.25rem;
    text-align: right;
}

.service-area__map-footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.service-area__map-footer a:hover {
    color: var(--color-accent);
}

.service-area__map .leaflet-control-zoom a {
    color: #2C2416 !important;
}

/* Footer */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand p { margin: 1rem 0 1.5rem; font-size: 0.95rem; line-height: 1.7; opacity: 0.85; }

.footer-logo {
    display: inline-block;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.25rem;
    transition: background var(--transition);
}

.footer-logo:hover {
    background: #fff;
}

.footer-logo img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all var(--transition);
}
.social-links a:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }

.footer-col h3 {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-col address p { margin-bottom: 0.4rem; font-size: 0.95rem; }

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    margin-top: 0.5rem !important;
    font-size: 0.8rem;
    opacity: 0.85;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-credit a:hover {
    color: var(--color-accent);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-inner { max-width: 900px; margin: 0 auto; }
.cookie-inner h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.cookie-inner > p { color: var(--color-text-muted); margin-bottom: 1rem; font-size: 0.95rem; }

.cookie-categories { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
}
.cookie-option input { margin-top: 4px; accent-color: var(--color-primary); }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav ul { flex-direction: column; }
    .main-nav a { padding: 0.75rem 1rem; }
    .nav-cta { margin-left: 0 !important; text-align: center; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content { padding: 2rem 0; }
    .cta-banner { padding: 2rem 1.5rem; }
    section { padding: 3.5rem 0; }

    .cookie-actions { justify-content: stretch; }
    .cookie-actions .btn { flex: 1; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
