/* ===== SCHRIFTEN (lokal eingebunden, keine Verbindung zu Google) ===== */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/cormorant-garamond-latin.woff') format('woff');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-latin.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Great Vibes';
    src: url('fonts/great-vibes-latin.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f7f5f0;
    --bg-alt: #e8ede0;
    --surface: #ffffff;
    --primary: #6b8168;
    --primary-dark: #4a5c47;
    --accent: #b8a882;
    --accent-dark: #9d8f6b;
    --text: #2d3a2b;
    --muted: #556655;
    --border: #d4e0cf;
    --success: #4a7a4d;
    --success-bg: #e0ecdc;
    --error: #a04848;
    --error-bg: #f5e3e3;
    --shadow: 0 15px 40px rgba(45, 58, 43, 0.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}
img { max-width: 100%; display: block; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 1rem 2rem;
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 1.1;
    text-transform: uppercase;
}
.nav-logo small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 2px;
}
/* "by Lea" in Schreibschrift direkt neben HERZBALANCE (Startseite) */
.nav-logo .nav-logo-line { white-space: nowrap; }
.nav-logo small.nav-logo-script {
    display: inline;
    font-family: 'Great Vibes', cursive;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent-dark);
    margin: 0 0 0 0.25rem;
    position: relative;
    top: 0.35rem;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
    color: var(--primary-dark);
    font-weight: 500;
}
.nav-links a.active::after { width: 100%; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ===== HERO (nur Bild) ===== */
/* Das Hauptbild wird immer vollständig gezeigt (nie beschnitten) und beginnt
   unterhalb der Menüleiste. --nav-h wird per Script an die echte Höhe angepasst. */
.hero {
    padding: var(--nav-h, 72px) 0 0;
    background: var(--bg);
}
.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== HERO-INTRO (Marken-Titel unter dem Bild) ===== */
.hero-intro {
    background: var(--bg);
    padding: 2.5rem 2rem 4rem;
    text-align: center;
    position: relative;
}
.hero-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-alt) 100%);
    pointer-events: none;
}
.hero-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--primary-dark);
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
    font-weight: 500;
}
.hero-intro .hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
    font-family: inherit;
}
.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107,129,104,0.3);
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
}
.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}
.btn-danger {
    background: var(--error);
    border-color: var(--error);
}
.btn-danger:hover {
    background: #7c3939;
    border-color: #7c3939;
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 2rem;
    scroll-margin-top: 80px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container-narrow { max-width: 800px; margin: 0 auto; }
.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

/* ===== ÜBER MICH ===== */
.about { background: var(--bg-alt); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.about-text p {
    margin-bottom: 1rem;
    color: var(--muted);
    text-align: justify;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align-last: left;
    text-wrap: pretty;
}

/* ===== ANGEBOT ===== */
.offer-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
}

/* ===== SECTION-IMAGE (Bild-Trenner in Sektionen) ===== */
.section-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}
.section-image.section-image-small {
    max-width: 550px;
    aspect-ratio: 4 / 3;
    margin-bottom: 3.5rem;
}
.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ablauf-Grid: Bild + Text pro Spalte (3 Paare nebeneinander, auf Mobile untereinander) */
.ablauf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: step;
}
.ablauf-pair {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.ablauf-pair .section-image {
    max-width: none;
    margin: 0;
    aspect-ratio: 3 / 4;
}
.ablauf-pair .process-step {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .section-image { aspect-ratio: 4 / 3; margin-bottom: 2rem; }
    .section-image.section-image-small { max-width: 100%; }
}

/* ===== GALERIE COVERFLOW-CAROUSEL ===== */
.gallery-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 3rem;
}
.carousel-stage {
    position: relative;
    width: 100%;
    height: 480px;
    perspective: 1400px;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55%;
    aspect-ratio: 4 / 3;
    transform: translate(-50%, -50%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.55s ease,
                z-index 0s;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(45,58,43,0.15);
    background: var(--bg-alt);
    will-change: transform, opacity;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide[data-pos="active"] {
    transform: translate(-50%, -50%) translateZ(0) scale(1);
    z-index: 10;
    opacity: 1;
}
.carousel-slide[data-pos="left"] {
    transform: translate(-105%, -50%) translateZ(-200px) scale(0.85) rotateY(15deg);
    z-index: 5;
    opacity: 0.75;
}
.carousel-slide[data-pos="right"] {
    transform: translate(5%, -50%) translateZ(-200px) scale(0.85) rotateY(-15deg);
    z-index: 5;
    opacity: 0.75;
}
.carousel-slide[data-pos="far-left"] {
    transform: translate(-160%, -50%) translateZ(-400px) scale(0.6) rotateY(20deg);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}
.carousel-slide[data-pos="far-right"] {
    transform: translate(60%, -50%) translateZ(-400px) scale(0.6) rotateY(-20deg);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}
.carousel-slide[data-pos="hidden"] {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--surface);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--primary-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    z-index: 20;
    font-family: 'Cormorant Garamond', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
}
.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(107,129,104,0.35);
}
.carousel-arrow:active { transform: scale(0.95); }
.carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.carousel-counter {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}
.carousel-counter strong {
    color: var(--primary-dark);
    font-weight: 600;
}
.gallery-empty {
    text-align: center;
    padding: 3rem;
    color: var(--muted);
    font-style: italic;
}

@media (max-width: 900px) {
    .gallery-carousel { padding: 0 1rem; }
    .carousel-stage { height: 380px; }
    .carousel-slide { width: 70%; }
    .carousel-slide[data-pos="left"] { transform: translate(-115%, -50%) scale(0.75) rotateY(12deg); }
    .carousel-slide[data-pos="right"] { transform: translate(15%, -50%) scale(0.75) rotateY(-12deg); }
}
@media (max-width: 600px) {
    .carousel-stage { height: 300px; }
    .carousel-slide { width: 82%; }
    .carousel-slide[data-pos="left"] { transform: translate(-120%, -50%) scale(0.7) rotateY(10deg); opacity: 0.5; }
    .carousel-slide[data-pos="right"] { transform: translate(20%, -50%) scale(0.7) rotateY(-10deg); opacity: 0.5; }
    .carousel-arrow { width: 42px; height: 42px; font-size: 1.6rem; }
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
}
.offer-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(107,129,104,0.12);
}
.offer-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 1.25rem;
    display: block;
    color: var(--accent);
    flex-shrink: 0;
}
.offer-card h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    min-height: 3.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}
.offer-card p {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: justify;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align-last: left;
    text-wrap: pretty;
}

.offer-highlight {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    padding: 2rem 2.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 2rem;
}
.offer-highlight h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}
.offer-highlight p { color: var(--muted); }

.disclaimer {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: #f0ebe0;
    border-left: 4px solid var(--accent-dark);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
    color: var(--muted);
}
.disclaimer strong { color: var(--primary-dark); }

/* ===== ABLAUF ===== */
.process { background: var(--bg-alt); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.process-step {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    position: relative;
    counter-increment: step;
    border: 1px solid var(--border);
}
.process-step::before {
    content: counter(step);
    position: absolute;
    top: -20px;
    left: 2rem;
    background: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(107,129,104,0.25);
}
.process-step h3 {
    margin-top: 0.5rem;
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    line-height: 1.3;
}
.process-step p {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: justify;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align-last: left;
    text-wrap: pretty;
}
.process-step p + p { margin-top: 0.75rem; }

/* ===== PREISE ===== */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.price-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.price-card h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.price-card > p {
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    margin: 0;
}
.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin: 0.5rem 0 0.75rem;
}
.price-card .price-note {
    color: var(--muted);
    font-size: 0.9rem;
    min-height: 3.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.3;
    padding-top: 0.25rem;
}
.price-note-sub {
    display: block;
    font-size: 0.68rem;
    opacity: 0.75;
    margin-top: 0.15rem;
}
.price-card .price-duration {
    color: var(--muted);
    font-size: 0.78rem;
    font-style: italic;
    margin-top: auto;
    padding-top: 1rem;
    line-height: 1.5;
    opacity: 0.85;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.price-legal {
    text-align: center;
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-alt); }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question .faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
    will-change: max-height;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}
.faq-answer p {
    color: var(--muted);
    font-size: 0.98rem;
    text-align: justify;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align-last: left;
    text-wrap: pretty;
}
.faq-answer p + p { margin-top: 0.75rem; }

/* ===== GALERIE — Grid-Styles obsolet, durch Coverflow-Carousel ersetzt (siehe unten) ===== */

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(45, 58, 43, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.3s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== KONTAKT ===== */
#kontakt { background: var(--bg-alt); }
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}
.contact-image-col {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 400px;
}
.contact-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.contact-info h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-icon {
    font-size: 1.4rem;
    line-height: 1;
    padding-top: 0.15rem;
    flex-shrink: 0;
}
.contact-icon-svg {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--primary);
}
.contact-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.2rem;
    font-weight: 500;
    font-size: 0.95rem;
}
.contact-item a {
    color: var(--accent-dark);
    text-decoration: none;
    word-break: break-word;
}
.contact-item a:hover { text-decoration: underline; }
.contact-item small {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,168,130,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-privacy {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}
.form-privacy a { color: var(--accent-dark); }

.form-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    display: none;
    font-size: 0.95rem;
}
.form-message.success {
    display: block;
    background: var(--success-bg);
    color: var(--success);
    border-left: 4px solid var(--success);
}
.form-message.error {
    display: block;
    background: var(--error-bg);
    color: var(--error);
    border-left: 4px solid var(--error);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: #d4e0cf;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
}
footer h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    color: white;
}
footer .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}
footer p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 0.5rem; }
.footer-links {
    margin: 1.5rem 0;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-links a {
    color: #d4e0cf;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: white; }
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.footer-social a {
    color: #d4e0cf;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-social a:hover { color: white; transform: translateY(-2px); }
.footer-social a svg { width: 1.5rem; height: 1.5rem; display: block; }
.copyright {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ===== STICKY MOBILE CALL BUTTON ===== */
.mobile-call {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 90;
    font-size: 0.95rem;
}

/* ===== SUBPAGES (Impressum, Datenschutz) ===== */
.subpage {
    padding: 8rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
/* Hauptüberschrift */
.subpage h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}
/* Abschnittsüberschriften */
.subpage h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}
/* Unterüberschriften */
.subpage h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}
/* Fließtext – überall gleiche Schrift, Größe und Farbe */
.subpage p,
.subpage li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 1rem;
    /* Blocksatz wie auf der Startseite, mit Silbentrennung gegen große Wortlücken */
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    text-wrap: pretty;
}
.subpage li { margin-bottom: 0.35rem; }
.subpage ul { margin-bottom: 1rem; }
.subpage h2 + p, .subpage h3 + p, .subpage h2 + ul { margin-top: 0; }
.subpage strong { font-weight: 500; color: inherit; }
.subpage em { font-style: italic; color: inherit; }
.subpage a { color: var(--accent-dark); }
.subpage ul { padding-left: 1.5rem; }

/* Header der Unterseiten: nur „Zur Startseite“, auch am Handy sichtbar */
@media (max-width: 768px) {
    .nav-links.nav-links-sub {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        border: none;
        background: none;
        gap: 0;
    }
    .nav-links.nav-links-sub a { font-size: 0.9rem; white-space: nowrap; }
}

/* ===== ADMIN ===== */
.admin-wrap {
    min-height: 100vh;
    background: var(--bg-alt);
    padding: 4rem 2rem;
}
.admin-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}
.admin-header h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
}
.admin-login-box {
    max-width: 400px;
    margin: 6rem auto;
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}
.admin-login-box h1 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.admin-image {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}
.admin-image img { width: 100%; height: 100%; object-fit: cover; }
.admin-image form {
    position: absolute;
    top: 8px;
    right: 8px;
}
.admin-image button {
    background: rgba(160, 72, 72, 0.9);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}
.admin-image button:hover { background: var(--error); }
.upload-box {
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.upload-box input[type="file"] { margin: 1rem 0; }
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert.success { background: var(--success-bg); color: var(--success); border-left: 4px solid var(--success); }
.alert.error { background: var(--error-bg); color: var(--error); border-left: 4px solid var(--error); }

/* ===== SCROLL-ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE ===== */
@media (max-width: 1100px) {
    .offer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-content { display: flex; flex-direction: column; gap: 2.5rem; }
    .contact-image-col {
        order: 3;
        aspect-ratio: auto;
        min-height: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        text-align: center;
    }
    .contact-image-col img {
        object-fit: contain;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 60vh;
        margin: 0 auto;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }
    .contact-info { order: 2; }
    .contact-form-wrapper { order: 1; }
    .process-steps { grid-template-columns: 1fr; gap: 1.75rem; }
    .ablauf-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 700px) {
    .offer-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border);
        gap: 1rem;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    section { padding: 3.5rem 1.5rem; }
    .mobile-call { display: inline-flex; align-items: center; gap: 0.5rem; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.3rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .hero-intro { padding: 3.5rem 1.5rem 3rem; }
    .hero-intro h1 { font-size: 3rem !important; }
}
