/*
Theme Name: Zeit & Begleitung
Theme URI: https://treppenhauer.de
Author: Tanja Treppenhauer
Description: Schlankes, barrierearmes One-Pager-Theme für Tanja Treppenhauer – Zeit & Begleitung.
Version: 0.4.0
Text Domain: zeit-und-begleitung
*/

:root {
  --ink: #302c27;
  --deep-green: #4e5540;
  --olive: #70765b;
  --paper: #f7f3ec;
  --soft-paper: #fcfaf6;
  --warm-paper: #f1e8dd;
  --moss: #5f634b;
  --sand: #ded1c1;
  --line: #c9b9a8;
  --max: 72rem;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; text-rendering: optimizeLegibility; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid #333; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 20; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--sand); background: rgba(252,250,246,.96); box-shadow: 0 2px 18px rgba(65, 54, 38, .035); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.header-inner, .section-inner, .footer-inner { width: min(calc(100% - 2.5rem), var(--max)); margin: auto; }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--deep-green); font-family: var(--serif); font-size: 1.18rem; font-weight: 700; line-height: 1.1; text-decoration: none; }
.brand span { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .08em; margin-top: .24rem; text-transform: uppercase; }
.site-nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { border-radius: .2rem; color: var(--deep-green); display: block; font-size: .91rem; font-weight: 700; padding: .6rem .68rem; text-decoration: none; }
.site-nav a:hover { color: var(--moss); text-decoration: underline; }
.hero { background: radial-gradient(circle at 83% 18%, rgba(214, 196, 173, .5), transparent 26rem), linear-gradient(135deg, #f9f5ef 0%, #eee4d7 100%); border-bottom: 1px solid var(--sand); overflow: hidden; padding: clamp(3.6rem, 8vw, 6.7rem) 0; position: relative; }
.hero::before { border: 1px solid rgba(149, 128, 106, .34); border-radius: 1.25rem; content: ""; inset: 1.25rem; pointer-events: none; position: absolute; }
.hero-grid { align-items: start; display: grid; gap: clamp(2rem, 5vw, 5.5rem); grid-template-columns: minmax(0, 1.3fr) minmax(19rem, .48fr); position: relative; }
.hero-copy { padding-top: clamp(1.2rem, 5vw, 4.4rem); }
.eyebrow { color: var(--olive); font-size: .82rem; font-weight: 800; letter-spacing: .13em; margin: 0 0 .75rem; text-transform: uppercase; }
.eyebrow::after { background: currentColor; content: ""; display: inline-block; height: 1px; margin: 0 0 .28rem .72rem; opacity: .55; width: 3.4rem; }
h1, h2, h3 { color: var(--deep-green); font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); letter-spacing: -.04em; margin: 0; max-width: 16ch; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.03em; margin: 0 0 1rem; }
h3 { font-size: 1.5rem; margin: 0 0 .4rem; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.45rem); max-width: 42rem; margin: 1.45rem 0 2rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { align-items: center; background: var(--deep-green); border: 2px solid var(--deep-green); border-radius: 999px; box-shadow: 0 5px 14px rgba(56, 63, 45, .12); color: #fff; display: inline-flex; font-weight: 750; min-height: 3.25rem; padding: .7rem 1.15rem; text-decoration: none; }
.button:hover { background: #363d2d; border-color: #363d2d; }
.button--quiet { background: rgba(255,255,255,.22); box-shadow: none; color: var(--deep-green); }
.button--quiet:hover { background: var(--deep-green); color: #fff; }
.hero-portrait { background: rgba(252,250,246,.8); border: 1px solid rgba(149, 128, 106, .5); box-shadow: 0 18px 45px rgba(75, 60, 40, .15); justify-self: end; margin: 0; padding: .7rem; transform: rotate(1.2deg); width: min(100%, 23rem); }
.hero-portrait img { height: clamp(22rem, 34vw, 28rem); object-fit: cover; object-position: center 18%; width: 100%; }
.hero-portrait figcaption { color: var(--deep-green); font-family: var(--serif); font-size: 1.13rem; line-height: 1.32; padding: .9rem .3rem .25rem; }
.hero-note { color: var(--moss); display: block; font-family: var(--serif); font-size: 1.05rem; font-style: italic; margin-top: .2rem; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; scroll-margin-top: 5.5rem; }
.section--soft { background: var(--soft-paper); border-block: 1px solid var(--sand); }
.section-intro { max-width: 43rem; margin-bottom: 2.3rem; }
.section-intro p { margin: 0; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.card { background: linear-gradient(145deg, #faf7f2, #f0e8dd); border: 1px solid rgba(178, 157, 135, .72); border-radius: .75rem; box-shadow: 0 8px 24px rgba(72, 58, 40, .055); padding: 1.55rem; }
.card p { margin: 0; }
.two-col { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.about-intro { font-size: 1.18rem; line-height: 1.58; margin: 0 0 1.5rem; }
.origin-story { background: var(--warm-paper); border: 1px solid rgba(178, 157, 135, .72); border-radius: .75rem; margin-top: 1.65rem; padding: 1.45rem 1.55rem; }
.origin-story h3 { font-size: 1.7rem; }
.origin-story p:last-child { margin-bottom: 0; }
.about-aside { align-self: start; background: #f4efe7; border-left: 1px solid var(--line); padding: clamp(1.45rem, 3vw, 2.15rem); }
.check-list { display: grid; gap: .85rem; list-style: none; margin: 1.5rem 0; padding: 0; }
.check-list li { border-bottom: 1px solid var(--sand); padding: 0 0 .85rem 1.7rem; position: relative; }
.check-list li::before { color: var(--olive); content: "✦"; left: 0; position: absolute; }
.notice { border-left: 4px solid var(--olive); background: #e9e4d9; border-radius: 0 .55rem .55rem 0; padding: 1.25rem 1.35rem; }
.notice p { margin: 0; }
.price-table { background: var(--soft-paper); border: 1px solid var(--line); border-collapse: separate; border-radius: .75rem; border-spacing: 0; box-shadow: 0 8px 24px rgba(72, 58, 40, .05); overflow: hidden; width: 100%; }
.price-table th, .price-table td { border-bottom: 1px solid var(--sand); padding: 1rem; text-align: left; vertical-align: top; }
.price-table th { background: #e9e1d5; color: var(--deep-green); font-weight: 800; }
.price-table td:last-child, .price-table th:last-child { font-weight: 800; text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-details { background: #f1ebe1; border: 1px solid var(--sand); border-radius: .75rem; margin-top: 1.25rem; padding: 1.55rem; }
.price-details dl { display: grid; gap: 1rem 2rem; grid-template-columns: minmax(8rem, .4fr) 1fr; margin: 0; }
.price-details dt { color: var(--deep-green); font-weight: 800; }
.price-details dd { margin: 0; }
.contact-panel { background: linear-gradient(135deg, #4e5540, #62674e); border: 1px solid #74795f; border-radius: 1rem; box-shadow: 0 14px 34px rgba(54, 61, 45, .15); color: #fff; padding: clamp(1.7rem, 5vw, 3.3rem); position: relative; overflow: hidden; }
.contact-panel::after { border: 1px solid rgba(255,255,255,.25); border-radius: .8rem; content: ""; inset: .75rem; pointer-events: none; position: absolute; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { color: #fff; }
.contact-panel p { max-width: 42rem; }
.contact-links { display: grid; gap: .75rem; margin-top: 1.75rem; }
.contact-links a { color: #fff; font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 700; }
.contact-meta { border-top: 1px solid rgba(255,255,255,.45); margin-top: 1.75rem; padding-top: 1.25rem; }
.site-footer { background: #3c4232; border-top: 5px solid #bcb08e; color: #fff; padding: 2.4rem 0; }
.footer-inner { align-items: end; display: flex; gap: 1rem; justify-content: space-between; }
.footer-inner p { font-size: .92rem; margin: 0; }
.footer-nav { display: flex; gap: 1rem; }
.footer-nav a { font-size: .92rem; }
.legal-page { padding: clamp(3rem, 7vw, 6rem) 0; }
.legal-page .prose { max-width: 48rem; }
.legal-page h2 { font-size: 1.65rem; margin-top: 2.3rem; }
.legal-page h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 800; margin-top: 1.5rem; }
.worknote { background: #eee4d5; border: 1px solid var(--line); font-weight: 650; padding: 1rem 1.2rem; }
.faq { border-top: 1px solid var(--sand); margin-top: .5rem; }
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item summary { color: var(--deep-green); cursor: pointer; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; list-style: none; padding: 1.2rem 2.1rem 1.2rem 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { color: var(--olive); content: "+"; font-family: var(--sans); font-size: 1.7rem; font-weight: 400; line-height: 1; position: absolute; right: .15rem; top: 1.05rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 2rem 1.35rem 0; max-width: 46rem; }

@media (max-width: 44rem) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: .8rem 0; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: space-between; width: 100%; }
  .site-nav a { font-size: .8rem; padding: .5rem .08rem; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero { padding-block: 2.6rem; }
  .hero::before { inset: .8rem; }
  .hero-copy { padding-top: 1rem; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 2.6rem); letter-spacing: -.035em; line-height: 1.05; max-width: 22rem; }
  .hero-portrait { justify-self: start; max-width: 22rem; transform: rotate(.6deg); width: 100%; }
  .hero-portrait img { height: min(112vw, 26rem); object-position: center 18%; }
  .cards { grid-template-columns: 1fr; }
  .price-details dl { grid-template-columns: 1fr; gap: .25rem; }
  .price-details dd { margin-bottom: 1rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .faq-item p { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
