/* =====================================================
   HAKIM-I GURABA – Islamische Bestattung München
   CSS Custom Properties
   ===================================================== */

:root {
    --color-primary: #2d6a4f;
    --color-primary-dark: #1b4332;
    --color-primary-light: #40916c;
    --color-gold: #c9a84c;
    --color-gold-dark: #a07c2e;
    --color-dark: #1a1a1a;
    --color-dark-2: #2a2a2a;
    --color-grey: #f4f5f2;
    --color-grey-2: #e8e8e8;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-border: #e0e0e0;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

    --radius: 4px;
    --radius-md: 8px;
    --transition: 0.3s ease;

    --container-max: 1200px;
    --container-pad: clamp(1rem, 4vw, 2rem);

    --nav-h: 80px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

address { font-style: normal; }

/* Scroll offset für Anker (sticky Nav) */
:target { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: clamp(60px, 8vw, 100px) 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-dark);
}

.section-title--light { color: var(--color-white); }

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 16px auto;
    border-radius: 2px;
}

.section-divider--gold { background: var(--color-gold); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-top: 8px;
}

.section-subtitle--light { color: rgba(255,255,255,0.7); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.7);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-white);
}

.btn--gold {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
}

.btn--gold:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

.btn--full { width: 100%; }

/* =====================================================
   WHATSAPP BUTTON
   ===================================================== */

.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.whatsapp-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    height: var(--nav-h);
}

#header.scrolled .navbar {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    background: rgba(255,255,255,0.08);
}

.nav-link--cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 8px 20px;
}

.nav-link--cta:hover {
    background: var(--color-primary-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   HERO SLIDER
   ===================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.75) 0%, rgba(26,26,26,0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    width: 100%;
    padding-top: var(--nav-h);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 700px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-controls {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.hero-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    right: 40px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition);
    animation: bounce 2s infinite;
}

.hero-scroll:hover { border-color: var(--color-white); }

.hero-scroll-arrow {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg) translate(-2px, -2px);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* =====================================================
   ÜBER UNS
   ===================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    margin-bottom: clamp(50px, 7vw, 80px);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 1.2em;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Features */

.features-block {
    border-top: 1px solid var(--color-border);
    padding-top: clamp(40px, 6vw, 60px);
}

.features-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 50px);
    color: var(--color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.feature-card h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   IM STERBEFALL
   ===================================================== */

.sterbefall-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    margin-bottom: clamp(50px, 7vw, 80px);
}

.sterbefall-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.sterbefall-intro {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.sterbefall-list {
    margin-bottom: 32px;
}

.sterbefall-list li {
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid var(--color-grey-2);
    font-size: 0.97rem;
    position: relative;
    line-height: 1.6;
}

.sterbefall-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* Unterlagen */

.unterlagen-block {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.unterlagen-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.unterlagen-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.unterlagen-text {
    padding: clamp(24px, 4vw, 48px);
}

.unterlagen-text h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.unterlagen-list li {
    padding: 8px 0 8px 24px;
    border-bottom: 1px solid var(--color-grey-2);
    font-size: 0.92rem;
    position: relative;
    line-height: 1.5;
}

.unterlagen-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.unterlagen-list em {
    color: var(--color-text-light);
    font-size: 0.87rem;
    display: block;
}

/* =====================================================
   LEISTUNGEN
   ===================================================== */

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.leistung-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.leistung-card--full {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 400px 1fr;
}

.leistung-card--full .leistung-img img {
    height: 100%;
    min-height: 260px;
}

.leistung-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.leistung-body {
    padding: 24px;
}

.leistung-body h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.leistung-body ul {
    list-style: none;
}

.leistung-body li {
    padding: 6px 0 6px 20px;
    font-size: 0.93rem;
    color: var(--color-text-light);
    position: relative;
    border-bottom: 1px solid var(--color-grey-2);
}

.leistung-body li:last-child { border-bottom: none; }

.leistung-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* =====================================================
   PREISE
   ===================================================== */

.preise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.preis-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.preis-card--featured {
    border-color: var(--color-gold);
    box-shadow: 0 0 40px rgba(201,168,76,0.15);
}

.preis-card-header {
    background: rgba(255,255,255,0.04);
    padding: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.preis-card-header h3 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.preis-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
    line-height: 1.4;
}

.preis-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

.preis-currency {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    padding-top: 8px;
}

.preis-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: var(--font-display);
    line-height: 1;
}

.preis-card-body {
    padding: 28px 32px 32px;
}

.preis-card-body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.preis-list {
    list-style: none;
}

.preis-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
}

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

.preis-list strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 2px;
}

.preis-list span {
    color: rgba(255,255,255,0.55);
    font-size: 0.83rem;
}

.preise-hinweis {
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius);
    padding: 20px 24px;
}

.preise-hinweis p {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

.preise-hinweis strong {
    color: var(--color-gold);
}

/* =====================================================
   RÄUMLICHKEITEN / GALERIE
   ===================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    display: block;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45,106,79,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay span {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-close { top: 20px; right: 20px; font-size: 1.6rem; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* =====================================================
   KONTAKT
   ===================================================== */

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.kontakt-info h3 {
    font-size: 1.6rem;
    margin-bottom: 28px;
    color: var(--color-dark);
}

.kontakt-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.kontakt-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.kontakt-item span,
.kontakt-item a {
    font-size: 0.97rem;
    color: var(--color-text);
    line-height: 1.6;
}

.kontakt-item a:hover { color: var(--color-primary); }

.kontakt-map {
    margin-top: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */

.kontakt-form-wrapper {
    background: var(--color-grey);
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.form-group label span { color: var(--color-primary); }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group--checkbox { margin-top: 8px; }

.checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.87rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.checkbox-label a { color: var(--color-primary); text-decoration: underline; }

.form-feedback {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(45,106,79,0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary-dark);
}

.form-feedback.error {
    display: block;
    background: rgba(200,50,50,0.08);
    border: 1px solid #c83232;
    color: #8b1c1c;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--color-dark-2);
    color: rgba(255,255,255,0.75);
    padding: clamp(48px, 7vw, 80px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: clamp(32px, 5vw, 60px);
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.footer-nav h4,
.footer-kontakt h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}

.footer-nav a:hover { color: var(--color-white); }

.footer-kontakt p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.55);
}

.footer-kontakt a {
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}

.footer-kontakt a:hover { color: var(--color-white); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--color-white); }

/* =====================================================
   IMPRESSUM / DATENSCHUTZ PAGES
   ===================================================== */

.page-hero {
    background: var(--color-dark);
    padding: calc(var(--nav-h) + 60px) 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-white);
}

.page-content {
    padding: 60px 0 80px;
}

.page-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    color: var(--color-dark);
}

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

.page-content p {
    font-size: 0.97rem;
    color: var(--color-text);
    margin-bottom: 1em;
    line-height: 1.7;
}

.page-content a { color: var(--color-primary); text-decoration: underline; }

.page-content ul {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.page-content li {
    margin-bottom: 6px;
    font-size: 0.97rem;
    color: var(--color-text);
}

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

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image img {
        height: 400px;
        max-width: 500px;
    }
    .preise-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .leistung-card--full { grid-column: auto; grid-template-columns: 1fr; }
    .leistung-card--full .leistung-img img { height: 220px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --nav-h: 66px; }

    /* Mobile Nav */
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-link--cta { margin-top: 8px; border-radius: var(--radius); text-align: center; }

    /* Hero */
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-scroll { display: none; }

    /* Sections */
    .about-grid { grid-template-columns: 1fr; }
    .sterbefall-grid { grid-template-columns: 1fr; }
    .sterbefall-image { order: -1; }
    .unterlagen-header { grid-template-columns: 1fr; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .preis-value { font-size: 2.8rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
