:root {
    --cream: #f7f1e8;
    --ink: #382d29;
    --terra: #994b35;
    --sage: #e5e6da;
    --line: #d6cbbd;
    --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
a { color: inherit; text-underline-offset: .35em; }
a:hover { color: var(--terra); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 3.5vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); margin-bottom: 1.3rem; }
h3 { font-size: clamp(1.2rem, 1.65vw, 1.55rem); margin: 1rem 0 .65rem; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
.centered { text-align: center; }
.section { padding-block: 4.5rem; }

/* No outer vertical margins: the header touches the hero photograph. */
.header { position: sticky; top: 0; z-index: 10; background: var(--cream); }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
/* Trim only the PNG's transparent margins, keeping the complete mark visible. */
.brand { display: flex; align-items: center; justify-content: center; width: 112px; height: 92px; flex-shrink: 0; overflow: hidden; text-decoration: none; }
.brand img { display: block; width: 112px; height: 112px; max-width: none; }
.header nav { display: flex; align-items: center; gap: 1.8rem; }
.header nav a { font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.header nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--terra); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px 9px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin-block: 5px; }
.button { display: inline-block; padding: .55rem 1.3rem; border: 1px solid var(--terra); border-radius: 3px; font-size: .9rem; text-decoration: none; transition: background .2s, color .2s; }
.outline { color: var(--terra); background: transparent; }
.outline:hover { color: #fff; background: var(--terra); }
.text-link { font-size: .9rem; text-decoration-thickness: 1px; }

/* The text is real HTML, over a dedicated full-width illustration. */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 580px;
    color: #fffaf3;
    background-color: #292d21;
    background-image: linear-gradient(90deg, rgba(22, 27, 16, .6), rgba(22, 27, 16, .3) 48%, rgba(22, 27, 16, .04) 80%), url('hero-veronika-zoomout.png');
    background-position: center, left 30%;
    background-size: 100% 100%, cover;
    background-repeat: no-repeat;
}
.hero-copy { position: relative; z-index: 1; width: min(1200px, 90%); margin-inline: auto; padding-block: 3.5rem; }
/* A smaller portrait fades into the forest background on wide screens. */
@media (min-width: 721px) {
    .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(12px); background: rgba(22, 27, 16, .25); }
    .hero::after { content: ''; position: absolute; inset: 0 0 0 30%; z-index: 0; background: url('hero-veronika-zoomout.png') right 32% / cover no-repeat; mask-image: linear-gradient(90deg, transparent, #000 40%); }
}
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; margin-bottom: 1.8rem; }
.hero h1 { margin-bottom: .6rem; font-size: clamp(2.6rem, 4vw, 3.8rem); }
.hero-name { font: clamp(1.5rem, 2.4vw, 2.25rem)/1.4 var(--serif); margin-bottom: 1.5rem; }
.intro { line-height: 1.7; margin-bottom: 0; }

/* Temporary illustration sheet: six photographs in a 3 × 2 grid. */
.photo { display: block; background-image: url('photos.png'); background-size: 300% auto; background-repeat: no-repeat; aspect-ratio: 1.5; }
.portrait { background-position: 0 0; }
.pregnancy { background-position: 50% 0; }
.ritual { background-position: 100% 0; }
.family { background-position: 0 100%; }
.circle { background-position: 50% 100%; }
.candles { background-position: 100% 100%; }
.photo-link { display: block; }
.welcome { max-width: 760px; padding-block: 3.5rem 1rem; text-align: center; }
.welcome .eyebrow { color: var(--terra); margin-bottom: 1rem; }
.welcome p:last-child { margin-bottom: 0; }
.offers { padding-block: 3rem 4.5rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
.offer { text-align: center; }
.about { background: var(--line); padding-block: 2.8rem; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.about-photo { display: block; width: 100%; max-width: 420px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0; }
.about p { margin-bottom: 1.2rem; }
.contact { text-align: center; padding-block: 2.7rem 2rem; }
.contact h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 1.8rem; }
.footer { padding-block: 1.5rem 2rem; text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.8rem; margin-bottom: 1.4rem; }
.footer nav a { font-size: .8rem; text-decoration: none; }
.footer p { font-size: .75rem; margin-bottom: .5rem; }
.small { color: #61544b; }
.small { font-size: .875rem; }

/* Shared layout for separate content pages. */
.inner-page { padding-block: 2rem 5rem; min-height: 55vh; }
.inner-page > h1 { margin-bottom: 2.5rem; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.page-photo { aspect-ratio: 1.25; }
.prose { max-width: 42rem; }
.prose p { margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.8rem; }
.offer h2 { font-size: 1.5rem; margin-top: 1rem; }
.contact-note { margin-top: 1.8rem; }
.skip-link { position: fixed; top: -100px; left: 1rem; background: var(--cream); color: var(--ink); padding: 1rem; z-index: 20; }
.skip-link:focus { top: 1rem; }

@media (min-width: 1600px) {
    .hero::after { background-position: right 36%; }
}

@media (max-width: 1000px) {
    .header-inner { gap: 1rem; }
    .header nav { gap: 1rem; }
    .hero { min-height: 530px; }
    .offer-grid { gap: 1.7rem; }
    .about-grid, .content-grid { gap: 2.5rem; }
}

@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; gap: 0; padding-block: .5rem; min-height: 102px; }
    .brand { width: 104px; height: 86px; }
    .brand img { width: 104px; height: 104px; }
    .header nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: .5rem; max-height: calc(100dvh - 102px); overflow-y: auto; }
    .header nav a { padding-block: .65rem; }
    /* Without JavaScript the navigation remains accessible. */
    .js .menu-toggle { display: block; }
    .js .header nav { display: none; }
    .js .header.is-open nav { display: flex; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 720px) {
    .hero { min-height: 540px; background-size: 100% 100%, cover; background-position: center, right 25%; background-image: linear-gradient(90deg, rgba(22, 27, 16, .68), rgba(22, 27, 16, .12)), url('hero-veronika-zoomout.png'); }
    .hero-copy { padding-block: 3rem; }
    .hero h1 { font-size: 2.65rem; }
    .hero-name { font-size: 1.6rem; }
    .eyebrow { font-size: .65rem; letter-spacing: .12em; }
    .offers { padding-block: 2.5rem 3rem; }
    .offer-grid { grid-template-columns: 1fr; gap: 2.2rem; margin-top: 2rem; }
    .offer h3 { font-size: 1.5rem; }
    .about-grid, .content-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { max-width: 500px; width: 100%; }
    .about { padding-block: 2.5rem; }
    .inner-page { padding-bottom: 3rem; }
    .inner-page > h1 { margin-bottom: 2rem; }
    .contact { padding-block: 2.5rem 1.5rem; }
    .footer nav { gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}


.market { background-image: url('frauenmarkt-real.png'); background-size: cover; background-position: center 70%; }
.back-link { display: inline-block; font-size: .85rem; margin-bottom: 1.5rem; }

/* Individual illustrations for the circle overview and detail pages. */
.women-circle, .mothers-circle, .mother-daughter { background-size: cover; background-position: center; }
.women-circle { background-image: url('frauenkreis-real.jpg'); background-position: center 60%; }
.mothers-circle { background-image: url('muetterkreis-real.jpg'); background-position: center 85%; }
.mother-daughter { background-image: url('mutter-tochter.png'); }

.event-details { margin-block: 2rem; padding-block: 1.5rem; border-block: 1px solid var(--line); }
.event-details h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.event-details dl { margin: 0; }
.event-details dl > div + div { margin-top: .9rem; }
.event-details dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); }
.event-details dd { margin: .2rem 0 0; }

/* Alternating chapters of Veronika's story. Images retain their portrait framing. */
.story-row + .story-row { margin-top: 4.5rem; }
.story-photo { display: block; width: 100%; height: auto; }
.story-reverse .story-photo { grid-column: 2; grid-row: 1; justify-self: end; }
.story-reverse .prose { grid-column: 1; grid-row: 1; }
@media (max-width: 720px) {
    .story-row + .story-row { margin-top: 3rem; }
    .story-reverse .story-photo, .story-reverse .prose { grid-column: auto; grid-row: auto; justify-self: start; }
}

/* Selected photographs, shared by home cards and their detail pages. */
.pregnancy, .ritual, .candles { background-size: cover; background-position: center; }
.pregnancy { background-image: url('mother-blessing.png'); }
.ritual { background-image: url('closing-ritual.jpg'); background-position: center 60%; }
.candles { background-image: url('ritualkerzen-real.jpg'); }
.mother-daughter { background-image: url('mutter-tochter-real.jpg'); background-position: center 25%; }
.candles.page-photo { aspect-ratio: 3 / 4; }

/* Wide outpaint for the home card; the detail keeps the original portrait. */
.offers .candles { background-image: url('ritualkerzen-wide.png'); }
