/* ==========================================================================
   Kerzenküche – Stylesheet
   Keine externen Dienste: Schriften liegen im Ordner /fonts.
   ========================================================================== */

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-latin-wght-normal.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/fonts/playfair-display-latin-wght-italic.woff2') format('woff2');
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --primary: #433835;   /* warmes Espresso-Braun */
    --sand: #F5F2EB;      /* warmer Sandton */
    --paper: #FDFBF7;     /* cremiges Off-White */
    --accent: #C59D5F;    /* mattes Gold */
    --accent-dark: #9A7638;
    --muted: #756D69;     /* Nebentexte (gut lesbar) */
    --line: #E6E0D6;
    --placeholder: #ECE8E1;
    --radius: 0.5rem;
    --shadow: 0 20px 40px -20px rgba(67, 56, 53, 0.35);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--primary);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--primary);
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
}
p { margin: 0 0 1.25rem; overflow-wrap: break-word; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--primary); color: var(--paper);
    padding: 0.75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout ---------- */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section--tight { padding: 3.5rem 0; }

.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--primary); color: var(--paper); }
.bg-dark h2, .bg-dark h3 { color: var(--paper); }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
    .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
    .split--reverse > :first-child { order: 2; }
}

.center { text-align: center; }
.section-head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }

/* ---------- Typo ---------- */

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 1.25rem;
}
.bg-dark .eyebrow { color: var(--accent); }

.display { font-size: clamp(2.6rem, 7vw, 4.5rem); line-height: 1.08; margin-bottom: 1.75rem; }
.display em { font-style: italic; color: rgba(67, 56, 53, 0.8); }
.title { font-size: clamp(2.1rem, 4.5vw, 3rem); margin-bottom: 1.5rem; }
.lead { font-size: 1.125rem; color: var(--muted); font-weight: 300; max-width: 34rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.text-light { font-weight: 300; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.tags li {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(67, 56, 53, 0.55); border-bottom: 1px solid rgba(67, 56, 53, 0.2); padding-bottom: 0.25rem;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none; cursor: pointer;
    transition: background-color .3s, color .3s, border-color .3s, transform .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn--primary { background: var(--primary); color: var(--paper); }
.btn--primary:hover { background: var(--accent); color: #fff; }
.btn--outline { border-color: #CFC8BE; color: var(--primary); background: transparent; }
.btn--outline:hover { border-color: var(--primary); background: #fff; }
.btn--light { background: var(--paper); color: var(--primary); }
.btn--light:hover { background: var(--accent); color: #fff; }
.btn--ghost-light { border-color: rgba(253, 251, 247, 0.35); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; color: var(--primary);
    border-bottom: 1px solid var(--accent); padding-bottom: 0.15rem;
}
.link-arrow:hover { color: var(--accent-dark); }

/* ---------- Header / Navigation ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253, 251, 247, 0.95);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--sand);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
@media (min-width: 1024px) { .nav { height: 6rem; } }

.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }

.nav-links { display: none; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
    font: inherit; background: none; border: 0; padding: 0.5rem 0; cursor: pointer;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links button:hover, .nav-links a[aria-current="page"] { color: var(--primary); }

.dropdown {
    position: absolute; top: 100%; left: -1.25rem; min-width: 15rem;
    list-style: none; margin: 0; padding: 0.75rem 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 0.55rem 1.25rem; letter-spacing: 0.08em; }

.nav-cta {
    display: none;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    border: 1px solid rgba(67, 56, 53, 0.2); border-radius: 999px; padding: 0.65rem 1.5rem;
    text-decoration: none; transition: background-color .3s, color .3s;
}
.nav-cta:hover { background: var(--primary); color: var(--paper); }

.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; margin-right: -0.5rem;
    background: none; border: 0; cursor: pointer; color: var(--primary);
}
.menu-toggle svg { width: 1.6rem; height: 1.6rem; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
    display: none;
    border-top: 1px solid var(--sand);
    padding: 1rem 0 2rem;
    max-height: calc(100vh - 5rem); overflow-y: auto;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
    display: block; padding: 0.8rem 0; text-decoration: none;
    font-family: var(--serif); font-size: 1.35rem; border-bottom: 1px solid var(--sand);
}
.mobile-menu .sub a { font-family: var(--sans); font-size: 1rem; padding-left: 1rem; color: var(--muted); }
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; font-family: var(--sans); font-size: 0.8rem; border: 0; }

@media (min-width: 1024px) {
    .nav-links, .nav-cta { display: flex; }
    .menu-toggle, .mobile-menu, .menu-open .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */

.hero { background: var(--sand); padding: 4rem 0 5rem; overflow: hidden; }
@media (min-width: 1024px) { .hero { padding: 7rem 0 8rem; } }
.hero--page { padding: 3rem 0 4rem; }
@media (min-width: 1024px) { .hero--page { padding: 5rem 0 6rem; } }

.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.6; }

/* ---------- Bilder ---------- */

.media {
    aspect-ratio: 5 / 4; overflow: hidden;
    background: var(--placeholder); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.media:hover img { transform: scale(1.03); }

/* ---------- Anlass-Karten ---------- */

.cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.card {
    display: flex; flex-direction: column;
    background: var(--paper); border-radius: var(--radius); overflow: hidden;
    text-decoration: none; box-shadow: 0 1px 2px rgba(67, 56, 53, 0.06);
    transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .media { box-shadow: none; border-radius: 0; }
.card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-weight: 300; font-size: 0.95rem; flex: 1; }
.card .link-arrow { align-self: flex-start; }

.card--text { background: var(--primary); color: var(--paper); justify-content: center; }
.card--text h3 { color: var(--paper); }
.card--text p { color: rgba(253, 251, 247, 0.75); }
.card--text .link-arrow { color: var(--paper); }

/* ---------- Region ---------- */

.region { text-align: center; }
.region p { max-width: 40rem; margin: 0 auto 1.75rem; }
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.places li {
    font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted);
    border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; background: var(--paper);
}

/* ---------- Termine ---------- */

.termine { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1rem; max-width: 980px; }
@media (min-width: 768px) { .termine { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.termin {
    display: flex; gap: 1.25rem; align-items: flex-start;
    background: var(--sand); border-radius: 0.75rem; padding: 1.25rem;
}
.termin-datum {
    flex: none; width: 5rem; padding: 0.7rem 0.4rem; text-align: center;
    background: var(--primary); color: var(--paper); border-radius: 0.5rem;
    font-variant-numeric: lining-nums;
}
.termin-tag { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.termin-monat { display: block; margin-top: 0.2rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.termine > li { min-width: 0; }
.termin-info { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.termin-info h3 { font-size: 1.25rem; margin: 0.1rem 0 0.3rem; }
.termin-zeit { display: block; font-size: 0.9rem; color: var(--primary); margin-bottom: 0.5rem; }
.termin-ort { display: inline-flex; gap: 0.45rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.termin-ort svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.15rem; color: var(--accent-dark); }
.termin-ort:hover { color: var(--primary); }
.termin:not([data-ende]) .termin-datum { background: var(--line); color: var(--muted); }
.termin:not([data-ende]) .termin-tag { font-size: 1rem; }

/* ---------- Ablauf ---------- */

.steps { display: grid; gap: 2rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block; font-family: var(--serif); font-size: 2.5rem; font-style: italic;
    color: var(--accent); line-height: 1; margin-bottom: 1rem;
}
.steps h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-weight: 300; font-size: 0.95rem; margin: 0; }

/* ---------- Gestaltungsmöglichkeiten ---------- */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li {
    position: relative; padding: 1.25rem 1.25rem 1.25rem 3.25rem;
    background: var(--paper); border-radius: var(--radius);
}
.checklist li::before {
    content: ''; position: absolute; left: 1.25rem; top: 1.5rem;
    width: 1.1rem; height: 1.1rem; border-radius: 50%;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4-6.6 6.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checklist strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.2rem; }
.checklist span { color: var(--muted); font-size: 0.9rem; font-weight: 300; }

.note {
    border-left: 3px solid var(--accent); background: var(--paper);
    padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 2rem;
}
.note p:last-child { margin: 0; }

/* ---------- Material / Duft (bestehende Bereiche) ---------- */

.divider { height: 1px; background: rgba(67, 56, 53, 0.1); margin: 3rem 0; border: 0; }
.stack > * + * { margin-top: 3rem; }
.panel { background: var(--paper); padding: 2rem; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(67, 56, 53, 0.06); }
.panel h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.panel p { margin: 0; color: var(--muted); font-weight: 300; font-size: 0.95rem; }

.collect {
    display: grid; gap: 2.5rem; text-align: left;
    background: var(--sand); padding: 2.5rem 1.5rem; border-radius: 1rem; margin-top: 3rem;
}
@media (min-width: 768px) { .collect { grid-template-columns: 1fr 1fr; padding: 4rem; } }
.collect h3 { font-size: 2rem; }
.collect h4 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }

/* ---------- Galerie ---------- */

.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.filter button {
    font: inherit; font-size: 0.8rem; letter-spacing: 0.04em;
    padding: 0.55rem 1.1rem; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line); background: var(--paper); color: var(--muted);
    transition: all .2s;
}
.filter button:hover { border-color: var(--primary); color: var(--primary); }
.filter button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--paper); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 0.75rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.25rem; } }
@media (min-width: 1200px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
    aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--placeholder);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery > * { min-width: 0; }
.gallery-caption { margin-top: 0.7rem; padding: 0 0.1rem; }
.gallery-cat {
    display: block; margin-bottom: 0.15rem;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent-dark);
}
.gallery-name {
    display: block; font-family: var(--serif); font-size: 1rem; line-height: 1.3; color: var(--primary);
    overflow-wrap: break-word;
}
@media (min-width: 768px) { .gallery-name { font-size: 1.1rem; } }

.gallery-empty {
    grid-column: 1 / -1; text-align: center; color: var(--muted);
    border: 1px dashed #D6CEC2; border-radius: var(--radius); padding: 3rem 1.5rem; background: var(--paper);
}
.gallery-empty p { margin-bottom: 1.25rem; }

/* Lightbox */
.lightbox {
    border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
    background: rgba(30, 24, 22, 0.94); color: #fff;
}
.lightbox::backdrop { background: rgba(30, 24, 22, 0.94); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; padding: 4rem 1rem 1rem; display: flex; flex-direction: column; align-items: center; max-height: 100%; }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { margin-top: 1rem; font-size: 0.95rem; text-align: center; color: rgba(255, 255, 255, 0.85); }
.lb-btn {
    position: absolute; display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, 0.12); color: #fff; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lb-btn svg { width: 1.4rem; height: 1.4rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Ratgeber: Taufsprüche ---------- */

.verse-group { font-size: 1.6rem; margin: 3rem 0 1.25rem; }
.verse-group:first-of-type { margin-top: 0; }
.verse-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .verse-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .verse-grid { grid-template-columns: repeat(3, 1fr); } }
.verse {
    display: flex; flex-direction: column;
    background: var(--paper); border-radius: var(--radius); padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(67, 56, 53, 0.06);
}
.verse blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--primary); }
.verse cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); }
.verse-link {
    margin-top: auto; padding-top: 1.1rem; align-self: flex-start;
    font-size: 0.8rem; color: var(--muted); text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.verse-link:hover { color: var(--primary); border-color: var(--accent); }
.note a { color: var(--accent-dark); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; position: relative;
    padding: 1.4rem 2.5rem 1.4rem 0;
    font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
    font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--accent-dark); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; color: var(--muted); font-weight: 300; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 5rem; } }

.contact h2 { font-size: clamp(2.1rem, 5vw, 3rem); margin-bottom: 1.25rem; }
.contact .lead { color: rgba(253, 251, 247, 0.78); margin-bottom: 2.25rem; }
.contact-tip { margin: 1.25rem 0 0; font-size: 0.85rem; color: rgba(253, 251, 247, 0.6); }

.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 560px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-cards > li > a,
.contact-box {
    display: flex; flex-direction: column; height: 100%;
    padding: 1.5rem; border-radius: 0.75rem; text-decoration: none;
    background: rgba(253, 251, 247, 0.05);
    border: 1px solid rgba(253, 251, 247, 0.12);
    transition: background-color .3s, border-color .3s, transform .3s;
}
.contact-cards > li > a:hover { background: rgba(253, 251, 247, 0.1); border-color: rgba(197, 157, 95, 0.6); transform: translateY(-2px); }
.contact-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; border-radius: 50%; margin-bottom: 1.1rem;
    background: rgba(197, 157, 95, 0.16); color: var(--accent);
}
.contact-icon svg { width: 1.3rem; height: 1.3rem; }
.contact-label {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.35rem;
}
.contact-value { font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; color: var(--paper); overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
.contact-hint { margin-top: auto; padding-top: 0.9rem; font-size: 0.8rem; color: rgba(253, 251, 247, 0.55); }
.contact-cards > li > a:hover .contact-hint { color: rgba(253, 251, 247, 0.85); }
.contact-address { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.55; color: rgba(253, 251, 247, 0.8); font-variant-numeric: lining-nums; }

/* Zwei Aktionen in einer Karte (WhatsApp & Telefon) */
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0 1rem; }
.contact-box .contact-value { margin-top: auto; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.03em; color: rgba(253, 251, 247, 0.7); }
.contact-actions a {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.9rem; border-radius: 999px; text-decoration: none;
    font-size: 0.78rem; color: var(--paper);
    border: 1px solid rgba(253, 251, 247, 0.25);
    transition: background-color .2s, border-color .2s, color .2s;
}
.contact-actions a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-actions svg { width: 0.95rem; height: 0.95rem; }

@media (min-width: 560px) {
    .contact-card--wide { grid-column: 1 / -1; }
    .contact-cards > .contact-card--wide > a { display: grid; grid-template-columns: auto 1fr auto; column-gap: 1.25rem; align-items: start; }
    .contact-card--wide .contact-icon { grid-row: 1 / span 3; margin: 0; }
    .contact-card--wide .contact-label,
    .contact-card--wide .contact-value,
    .contact-card--wide .contact-address { grid-column: 2; }
    .contact-card--wide .contact-hint { grid-column: 3; grid-row: 1 / span 3; align-self: end; padding: 0; text-align: right; max-width: 11rem; }
}
@media (max-width: 559px) {
    .contact-cards > li > a,
    .contact-box {
        display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center;
        padding: 1rem 1.1rem;
    }
    .contact-icon { grid-row: 1 / span 4; margin: 0; align-self: start; }
    .contact-value { font-size: 1.1rem; }
    .contact-hint { padding-top: 0.2rem; }
    .contact-actions { grid-column: 2; margin: 0.4rem 0 0.6rem; }
}

/* ---------- Rechtstexte ---------- */

.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 2rem; }
.prose h2 { font-size: 1.6rem; margin: 2.75rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.prose p, .prose li { color: #5A504C; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--accent-dark); }
.prose .box { background: var(--sand); padding: 1.5rem; border-radius: var(--radius); margin: 1.5rem 0; }
.prose .box p:last-child { margin: 0; }
.prose .box p { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */

.site-footer { background: var(--sand); padding: 4.5rem 0 2rem; }
/* Platz für den schwebenden WhatsApp-Button, damit er die unteren Links nicht verdeckt */
@media (max-width: 767px) { .site-footer { padding-bottom: 6rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; margin-bottom: 3rem; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
    .footer-brand { grid-column: auto; }
}
.footer-brand .logo { display: inline-block; font-size: 1.75rem; margin-bottom: 0.25rem; }
.site-footer .footer-sign { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--accent-dark); margin: 0 0 1rem; }
.site-footer address { font-style: normal; font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.25rem; font-variant-numeric: lining-nums; }
.footer-note { display: inline-block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--accent-dark); }
.site-footer h4 {
    font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.75rem; }
.site-footer li, .site-footer p { font-size: 0.9rem; color: var(--muted); }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--primary); }
.footer-contact li { margin-bottom: 0.55rem; }
.footer-contact a { display: inline-flex; align-items: flex-start; gap: 0.7rem; }
.footer-contact svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.15rem; color: var(--accent-dark); }
.footer-contact span { overflow-wrap: anywhere; }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--line); padding-top: 1.75rem;
    font-size: 0.8rem; color: var(--muted);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-bottom li { margin: 0; font-size: 0.8rem; }

/* ---------- Schwebender WhatsApp-Button ---------- */

.wa-fab {
    position: fixed; z-index: 40;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    height: 3.5rem; min-width: 3.5rem; padding: 0 1rem;
    border-radius: 999px;
    background: var(--primary); color: var(--paper);
    text-decoration: none;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 10px 25px -8px rgba(67, 56, 53, 0.55);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.95);
    transition: opacity .3s, transform .3s, visibility .3s, background-color .3s;
}
.wa-fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-fab:hover { background: var(--accent); color: #fff; }
.wa-fab svg { width: 1.5rem; height: 1.5rem; flex: none; }
.wa-fab span { display: none; }
@media (min-width: 768px) {
    .wa-fab { padding: 0 1.4rem 0 1.1rem; }
    .wa-fab span { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
@media print { .wa-fab { display: none; } }

/* ---------- Animation ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease-out, transform .8s ease-out; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .media img, .gallery-item img { transition: none; }
}
