/* ============================================================
   Mind Soul Balance — Birgit Fey
   Coaching für Hochsensible · Aschaffenburg
   v5 — woody, edel, warm gold
   ============================================================ */

:root {
    /* Linen & cream */
    --linen: #f4ecdc;
    --linen-warm: #ebdfc6;
    --parchment: #f7f0e0;
    --sand: #e0cda5;

    /* Wood tones */
    --walnut: #6b4f37;
    --walnut-deep: #3e2c1c;
    --bark: #2a1d10;

    /* Warm luminous gold */
    --gold: #c9a961;
    --gold-light: #ddc189;
    --gold-deep: #a88858;

    /* Text */
    --ink: #3e2c1c;
    --ink-soft: #5e4a36;
    --ink-muted: #8a755a;

    --line: rgba(168, 136, 88, 0.22);
    --shadow-soft: 0 16px 48px -16px rgba(62, 44, 28, 0.25);
    --shadow-deep: 0 30px 60px -25px rgba(62, 44, 28, 0.45);

    --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-script: "Pinyon Script", "Brush Script MT", cursive;

    --container: 1100px;
    --container-narrow: 760px;
}

/* ---------- Reset ---------- */
*,
*::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-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--linen);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--gold-deep);
    text-decoration: none;
    transition: color 0.25s ease;
}
a:hover, a:focus-visible { color: var(--walnut); }
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--bark);
    letter-spacing: 0.005em;
}
h1 {
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 5rem);
}
h2 {
    font-style: italic;
    font-size: clamp(2rem, 3.8vw, 3rem);
    margin-bottom: 1.25rem;
}
h3 {
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
h4 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 400;
}

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

.lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--ink-soft);
    line-height: 1.55;
}

.eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.signature {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--gold-deep);
    line-height: 1;
}

/* gold rule (small horizontal divider) */
.gold-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0.5rem auto 1.25rem;
    opacity: 0.7;
    border: none;
}
.gold-rule.left { margin: 0.5rem 0 1.25rem; }

/* pull quote */
.pullquote {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-deep);
    font-size: 1.35rem;
    margin: 2rem 0;
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-left: 1px solid var(--gold);
    line-height: 1.5;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4.5rem 1.5rem;
}
@media (min-width: 768px) {
    section {
        padding: 6rem 2rem;
    }
}

.section-warm { background: var(--linen-warm); }
.section-glow {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(224, 205, 165, 0.45) 0%, transparent 60%),
        var(--linen-warm);
}

/* ---------- Skip link / a11y ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--bark);
    color: var(--linen);
    padding: 0.5rem 1rem;
    z-index: 200;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

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

/* fixed header — same positioning on every page */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(244, 236, 220, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease;
}

/* transparent variant — used while sitting on top of a hero photo */
.site-header.over-hero {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

/* push first content below the fixed header on pages without a hero */
main > section:first-child:not(.hero) {
    padding-top: 7rem;
}
@media (min-width: 768px) {
    main > section:first-child:not(.hero) {
        padding-top: 8rem;
    }
}
.site-header.over-hero .brand-name { color: var(--linen); }
.site-header.over-hero .brand-sub { color: var(--gold-light); }
.site-header.over-hero .nav-list a { color: var(--linen); }
.site-header.over-hero .nav-list a::after { background: var(--gold-light); }
.site-header.over-hero .nav-toggle { color: var(--linen); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    max-width: var(--container);
    margin: 0 auto;
}
@media (min-width: 768px) {
    .nav { padding: 1.5rem 2rem; }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--bark);
}
.brand-logo {
    width: 46px;
    height: 46px;
    color: var(--gold);
    transition: transform 0.5s ease;
}
.brand:hover .brand-logo { transform: rotate(6deg) scale(1.05); }
.site-header.over-hero .brand-logo { color: var(--gold-light); }
.site-footer .brand-logo { color: var(--gold-light); }
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--bark);
}
.brand-sub {
    font-family: var(--font-script);
    font-size: 1.15rem;
    color: var(--gold-deep);
    line-height: 1;
    margin-top: 2px;
}

/* nav links */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--bark);
}
.nav-toggle svg { width: 28px; height: 28px; }

.nav-list {
    list-style: none;
    display: flex;
    gap: 2.25rem;
    align-items: center;
}
.nav-list a {
    color: var(--walnut);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.25s ease;
}
.nav-list a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -4px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: all 0.3s ease;
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after {
    width: 100%;
    left: 0;
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        right: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--linen);
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 0.5rem 0;
        min-width: 200px;
        box-shadow: var(--shadow-soft);
    }
    .nav-list.is-open { display: flex; }
    .nav-list a {
        display: block;
        padding: 0.75rem 1.25rem;
        width: 100%;
        color: var(--walnut);
    }
    .nav-list a::after { display: none; }
    .nav-list a:hover,
    .nav-list a[aria-current="page"] {
        background: var(--linen-warm);
        color: var(--gold-deep);
    }
    .site-header.over-hero .nav-list { background: var(--linen); }
    .site-header.over-hero .nav-list a { color: var(--walnut); }
}

/* ============================================================
   HERO — full-bleed mood photo
   ============================================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.5rem;
    color: var(--linen);
    background-color: var(--bark);
}
.hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1.5%, 1%); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(42, 29, 16, 0.25) 0%, rgba(42, 29, 16, 0.7) 80%),
        linear-gradient(180deg, rgba(244, 236, 220, 0.18) 0%, rgba(42, 29, 16, 0.4) 70%, rgba(42, 29, 16, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: rise 1.4s ease 0.3s forwards;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero h1 {
    color: var(--linen);
    margin: 0 0 1.75rem;
    text-shadow: 0 4px 30px rgba(42, 29, 16, 0.5);
}
.hero h1 .glow {
    color: var(--gold-light);
    position: relative;
    display: inline-block;
    font-style: italic;
}
.hero h1 .glow::after {
    content: "";
    position: absolute;
    inset: -10px -16px;
    background: radial-gradient(ellipse, rgba(221, 193, 137, 0.35) 0%, transparent 70%);
    z-index: -1;
    animation: glow 4.5s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}
.hero p, .hero .lead {
    color: var(--linen-warm);
    text-shadow: 0 2px 18px rgba(42, 29, 16, 0.55);
}
.hero p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    max-width: 42ch;
    margin: 0 auto 2.5rem;
    line-height: 1.55;
}

/* lighter hero variant — for inner pages without dramatic photo */
.hero.hero-soft {
    min-height: 60vh;
    background:
        radial-gradient(ellipse at 78% 110%, rgba(168, 136, 88, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 12% 95%, rgba(216, 197, 160, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 0%, var(--parchment) 0%, var(--linen) 50%, var(--linen-warm) 100%);
    color: var(--ink);
}
.hero.hero-soft .hero-photo,
.hero.hero-soft .hero-overlay { display: none; }
.hero.hero-soft h1 {
    color: var(--bark);
    text-shadow: none;
}
.hero.hero-soft p, .hero.hero-soft .lead {
    color: var(--ink-soft);
    text-shadow: none;
}
.hero.hero-soft h1 .glow { color: var(--gold-deep); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.1rem 2.6rem;
    background: var(--gold);
    color: var(--bark);
    border: 1px solid var(--gold);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 32px -10px rgba(201, 169, 97, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn::before {
    content: "";
    position: absolute;
    top: 50%; left: -100%;
    width: 80%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateY(-50%) rotate(15deg);
    transition: left 0.6s ease;
}
.btn:hover::before { left: 120%; }
.btn:hover, .btn:focus-visible {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--bark);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(221, 193, 137, 0.6);
}

.btn-walnut {
    background: var(--walnut);
    color: var(--linen);
    border-color: var(--walnut);
    box-shadow: 0 10px 28px -10px rgba(62, 44, 28, 0.4);
}
.btn-walnut:hover, .btn-walnut:focus-visible {
    background: var(--bark);
    border-color: var(--bark);
    color: var(--linen);
}

.btn-ghost {
    background: transparent;
    color: var(--gold-deep);
    border-color: var(--gold);
    box-shadow: none;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    background: var(--gold);
    color: var(--bark);
    border-color: var(--gold);
}

/* ============================================================
   SPARKLES & DECORATION
   ============================================================ */
.sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    animation: shimmer 4.5s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { opacity: 0.25; transform: scale(0.85); }
    50% { opacity: 0.85; transform: scale(1.15); }
}

/* drift blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}
@keyframes drift1 { 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-50px, -30px) scale(0.95); } }
@keyframes drift3 { 50% { transform: translate(40px, -50px) scale(1.05); } }

/* scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--linen-warm);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    animation: bounce 2.6s ease-in-out infinite;
    z-index: 5;
    opacity: 0.85;
}
.scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, var(--gold-light) 0%, transparent 100%);
}
@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

/* ============================================================
   POETIC INTERLUDE
   ============================================================ */
.interlude {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--linen);
}
@media (min-width: 768px) {
    .interlude {
        padding: 6rem 2rem;
    }
}
.interlude blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.4;
    max-width: 28ch;
    margin: 0 auto;
    color: var(--ink);
}
.interlude blockquote::before,
.interlude blockquote::after {
    content: "✦";
    display: block;
    color: var(--gold);
    font-size: 0.9rem;
    margin: 1.5rem 0;
    opacity: 0.7;
}

/* ============================================================
   STORY SECTION (image + text)
   ============================================================ */
.story {
    background: linear-gradient(180deg, var(--linen) 0%, var(--linen-warm) 100%);
}
.story-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
    }
}
.story-image {
    aspect-ratio: 3/4;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    background-image: url('assets/birgit-neu.jpeg');
    background-size: cover;
    background-position: center top;
    background-color: var(--linen-warm);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    transition: transform 0.6s ease;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}
.story-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 236, 220, 0.05) 0%, rgba(107, 79, 55, 0.08) 100%);
    pointer-events: none;
}
.story-image:hover { transform: rotate(-1deg) scale(1.02); }

/* Story image — reverse order on certain layouts */
.story.story-reverse .story-grid {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .story.story-reverse .story-grid {
        grid-template-columns: 1.1fr 1fr;
    }
    .story.story-reverse .story-image { order: 2; }
}

/* ============================================================
   PEBBLES (organic cards)
   ============================================================ */
.pebbles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}
.pebble {
    padding: 2.25rem 1.5rem;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    transition: all 0.5s ease;
    cursor: default;
    position: relative;
    border: 1px solid rgba(201, 169, 97, 0.22);
    text-align: center;
}
@media (min-width: 768px) {
    .pebble {
        padding: 2.5rem 1.75rem;
    }
}
.pebble:nth-child(1) { background: var(--linen-warm); }
.pebble:nth-child(2) {
    background: var(--parchment);
    border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%;
    transform: translateY(15px);
}
.pebble:nth-child(3) {
    background: var(--linen-warm);
    border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
}
.pebble:nth-child(4) {
    background: var(--parchment);
    border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
    transform: translateY(15px);
}
.pebble:hover {
    transform: translateY(-8px) rotate(-1.5deg);
    box-shadow: 0 20px 40px -18px rgba(62, 44, 28, 0.3);
    border-color: var(--gold);
}
.pebble-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.45rem;
    color: var(--bark);
    margin-bottom: 0.5rem;
}
.pebble-sub {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.5;
}
@media (max-width: 760px) {
    .pebble:nth-child(2),
    .pebble:nth-child(4) { transform: translateY(0); }
}

/* ============================================================
   PACKAGE CARDS (rectangular but warm)
   ============================================================ */
.card-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
}
@media (min-width: 768px) {
    .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: var(--parchment);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 2.25rem 2rem;
    transition: all 0.4s ease;
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--gold);
}
.card .eyebrow {
    margin-bottom: 0.5rem;
}
.card h3 {
    font-style: italic;
    color: var(--bark);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.card .price {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-style: italic;
    color: var(--gold-deep);
    margin: 0.25rem 0 1.25rem;
    line-height: 1.1;
}
.card .price-note {
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-weight: 400;
    font-family: var(--font-sans);
    font-style: normal;
    margin-left: 0.5rem;
}
.card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    line-height: 1.5;
    color: var(--ink-soft);
}
.card ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.7em;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
}
.card .goal {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--line);
    font-style: italic;
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}
.card-feature {
    background: linear-gradient(135deg, var(--linen-warm) 0%, var(--sand) 100%);
    text-align: center;
    border-color: var(--gold);
}

/* ============================================================
   JOURNEY (numbered steps)
   ============================================================ */
.journey {
    counter-reset: journey;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}
.journey li {
    counter-increment: journey;
    position: relative;
    padding: 1.75rem 0 1.75rem 4.5rem;
    border-bottom: 1px solid var(--line);
}
.journey li:last-child { border-bottom: none; }
.journey li::before {
    content: counter(journey, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1.75rem;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--gold);
    font-style: italic;
}
.journey h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}
.journey p {
    color: var(--ink-soft);
    margin-bottom: 0;
}

/* ============================================================
   CHECKLIST (✦ markers)
   ============================================================ */
.list-checks {
    list-style: none;
    padding: 0;
}
.list-checks li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.65;
    color: var(--ink-soft);
}
.list-checks li::before {
    content: "✦";
    position: absolute;
    left: 0; top: 0.05em;
    color: var(--gold);
    font-size: 1.05em;
}

/* ============================================================
   DAILY INTENTION (flip card)
   ============================================================ */
.intention {
    text-align: center;
}
.intention .label,
.intention .eyebrow { margin-bottom: 0.5rem; }
.intention h3 {
    margin-bottom: 2.5rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.card-flip {
    display: inline-block;
    width: 320px;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}
.card-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.95s cubic-bezier(0.6, 0, 0.4, 1);
    transform-style: preserve-3d;
}
.card-flip.flipped .card-inner { transform: rotateY(180deg); }
.card-front, .card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 16px 38px -16px rgba(62, 44, 28, 0.4);
}
.card-front {
    background: linear-gradient(135deg, var(--sand), var(--gold-light));
    color: var(--walnut-deep);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
}
.card-front::after {
    content: "klick";
    position: absolute;
    bottom: 1rem;
    font-family: var(--font-script);
    font-size: 1.15rem;
    color: var(--walnut);
    font-style: normal;
}
.card-back {
    background: linear-gradient(135deg, var(--walnut), var(--bark));
    color: var(--linen);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.3rem;
    transform: rotateY(180deg);
    line-height: 1.4;
    padding: 2rem;
}

.ee-hint {
    margin-top: 3rem;
    font-size: 0.82rem;
    color: var(--ink-muted);
    font-style: italic;
    opacity: 0.85;
}
.ee-hint code {
    font-family: var(--font-serif);
    color: var(--gold-deep);
    font-style: italic;
    background: var(--parchment);
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    border: 1px solid rgba(201, 169, 97, 0.3);
}

/* easter egg overlay */
.magic-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
}
.petal {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    opacity: 0;
    animation: fall 4.8s ease-in forwards;
}
@keyframes fall {
    0% { opacity: 0; transform: translateY(-30px) rotate(0deg) scale(0.6); }
    10% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(110vh) rotate(720deg) scale(1.1); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bark);
    color: var(--linen);
    padding: 4.5rem 1.5rem 2rem;
    margin-top: 0;
}
@media (min-width: 768px) {
    .site-footer {
        padding: 5rem 2rem 2rem;
    }
}
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { color: var(--linen); }

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    max-width: var(--container);
    margin: 0 auto 2.5rem;
}
@media (min-width: 720px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}
.footer-brand .brand-logo { width: 42px; height: 42px; }
.footer-brand .brand-name { color: var(--gold-light); }
.footer-brand .brand-sub { color: var(--linen-warm); }
.footer-grid h4 {
    color: var(--gold-light);
    margin-bottom: 0.85rem;
    font-style: italic;
}
.footer-grid ul {
    list-style: none;
    padding: 0;
}
.footer-grid li {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}
.footer-grid p {
    color: var(--linen-warm);
    font-size: 0.95rem;
}
.footer-bottom {
    border-top: 1px solid rgba(244, 236, 220, 0.12);
    padding-top: 1.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(244, 236, 220, 0.7);
    max-width: var(--container);
    margin: 0 auto;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.max-narrow { max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   Heller Hero (Startseite) – helles Bild, dunkle Schrift
   ============================================================ */
.hero.hero-light {
    color: var(--ink);
    background-color: var(--linen);
}
/* Weicher heller Schleier statt der dunklen Abdunklung,
   damit das Bild sichtbar bleibt und dunkle Schrift lesbar ist */
.hero.hero-light .hero-overlay { display: none; }
.hero.hero-light h1 {
    color: #6F4E37;
    text-shadow: 0 2px 22px rgba(247, 240, 224, 0.85);
}
.hero.hero-light h1 .glow {
    color: var(--gold-deep);
}
.hero.hero-light p,
.hero.hero-light .lead {
    color: #6F4E37;
    text-shadow: 0 1px 14px rgba(247, 240, 224, 0.9);
}
.hero.hero-light .scroll-cue,
.hero.hero-light .scroll-cue span { color: var(--ink-soft); }
.hero.hero-light .scroll-line { background: var(--ink-soft); }

/* Menüleiste über hellem Hero – dunkle Schrift statt heller */
.site-header.over-hero-dark .brand-name { color: var(--bark); }
.site-header.over-hero-dark .brand-sub { color: var(--gold-deep); }
.site-header.over-hero-dark .brand-logo { color: var(--gold-deep); }
.site-header.over-hero-dark .nav-list a { color: #6F4E37; }
.site-header.over-hero-dark .nav-list a::after { background: var(--gold-deep); }
.site-header.over-hero-dark .nav-toggle { color: var(--ink); }

/* Bild-Logo im Header (voller Marken-Schriftzug) */
.brand-img {
    height: 72px;
    width: auto;
    display: block;
    transition: transform 0.5s ease;
}
.brand:hover .brand-img { transform: scale(1.04); }
@media (max-width: 640px) {
    .brand-img { height: 52px; }
}

/* Pebbles sind jetzt Links – Aussehen unveraendert lassen */
a.pebble { text-decoration: none; color: inherit; }

/* Bild-Logo im Footer (goldene Version fuer dunklen Hintergrund) */
.footer-logo {
    height: 68px;
    width: auto;
    display: block;
    margin-bottom: 0.25rem;
}
