/* Little Roots Munich — one hand-written stylesheet.
 *
 * No framework and nothing from a CDN: the CSP allows only this origin, and a
 * brochure site needs a few dozen components, not a design system.
 *
 * Mood: warm, calm, grown-up. Cream paper, a deep garden green for trust, a
 * terracotta accent for warmth, and a soft sun yellow used sparingly.
 */

:root {
  --c-paper: #fbf7f0;
  --c-surface: #ffffff;
  --c-tint: #f3ece0;
  --c-sun: #fbe7b5;
  --c-sky: #dcebee;
  --c-ink: #22302b;
  --c-ink-soft: #4d5b55;
  --c-ink-faint: #636e68;
  --c-line: #e4dccd;
  --c-field-border: #8a8070;

  --c-brand: #2f5d50;
  --c-brand-dark: #22463c;
  --c-brand-tint: #e3eee9;
  --c-accent: #c8643f;
  --c-accent-dark: #a94f2f;
  --c-error: #a3322a;
  --c-error-tint: #fbeae7;

  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 5rem;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgb(34 48 43 / 5%), 0 8px 24px rgb(34 48 43 / 7%);
  --shadow-lift: 0 2px 4px rgb(34 48 43 / 6%), 0 16px 40px rgb(34 48 43 / 12%);

  --measure: 66ch;
  --page: 74rem;
}

/* ---------------------------------------------------------------- base */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

h1, h2, h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 var(--s-4); }

a { color: var(--c-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent-dark); }

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

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

small { font-size: 0.6em; font-family: var(--f-sans); font-weight: 400; color: var(--c-ink-faint); }

.skip {
  position: absolute; left: -999px; top: var(--s-2);
  background: var(--c-brand); color: #fff; padding: var(--s-2) var(--s-4); border-radius: 8px; z-index: 100;
}
.skip:focus { left: var(--s-2); }

/* -------------------------------------------------------------- layout */

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--s-4); }
@media (min-width: 48rem) { .wrap { padding: 0 var(--s-6); } }
.narrow { max-width: 48rem; }
.center { text-align: center; }
.center .lead, .center p { margin-left: auto; margin-right: auto; }

.section { padding: var(--s-8) 0; }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--c-tint); }
.section--sun { background: var(--c-sun); }
.section-title { text-align: center; margin-bottom: var(--s-6); }
.section-lead { text-align: center; max-width: 40rem; margin: calc(-1 * var(--s-4)) auto var(--s-6); color: var(--c-ink-soft); }
.section-foot { text-align: center; max-width: 42rem; margin: var(--s-6) auto 0; color: var(--c-ink-soft); }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 48rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); gap: var(--s-7); }
  .grid--tight { gap: var(--s-5); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 5fr 7fr; gap: var(--s-8); } }

/* ---------------------------------------------------------- typography */

.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-accent-dark); margin-bottom: var(--s-3);
}
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.2rem; color: var(--c-ink-soft); max-width: var(--measure); }
.fineprint { font-size: 0.9rem; color: var(--c-ink-faint); }
.meta { font-size: 0.9rem; color: var(--c-ink-faint); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin 0.15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid var(--c-brand);
  background: var(--c-brand); color: #fff; font: 600 1rem/1.2 var(--f-sans);
  text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn--ghost { background: transparent; color: var(--c-brand); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost:hover { background: var(--c-brand-tint); color: var(--c-brand-dark); border-color: transparent; box-shadow: none; }
.btn--outline { background: transparent; color: var(--c-brand); }
.btn--outline:hover { background: var(--c-brand); color: #fff; }
.btn--light { background: #fff; color: var(--c-brand); border-color: #fff; }
.btn--light:hover { background: var(--c-sun); border-color: var(--c-sun); color: var(--c-brand-dark); }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 247 240 / 92%); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 4.5rem; }
.logo {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font: 600 1.25rem/1 var(--f-serif); color: var(--c-ink); text-decoration: none; margin: 0;
}
.logo:hover { color: var(--c-brand); }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: var(--s-2) var(--s-3); border-radius: 999px;
  color: var(--c-ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}
.nav a:hover { color: var(--c-ink); background: var(--c-tint); }
.nav a[aria-current="page"] { color: var(--c-brand); background: var(--c-brand-tint); }
.header-cta { display: none; }

.nav-mobile { margin-left: auto; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-content: center; gap: 5px; background: var(--c-tint);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; }
.nav-mobile ul {
  position: absolute; right: 0; top: calc(100% + var(--s-2)); width: min(80vw, 18rem);
  list-style: none; margin: 0; padding: var(--s-3); background: var(--c-surface);
  border-radius: var(--radius); box-shadow: var(--shadow-lift);
}
.nav-mobile li a:not(.btn) { display: block; padding: var(--s-3); color: var(--c-ink); text-decoration: none; border-radius: 8px; }
.nav-mobile li a:not(.btn):hover { background: var(--c-tint); }
.nav-mobile .btn { width: 100%; margin-top: var(--s-2); }

@media (min-width: 66rem) {
  .nav, .header-cta { display: block; }
  .nav-mobile { display: none; }
}

/* ----------------------------------------------------------------- hero */

.hero { padding: var(--s-7) 0 var(--s-8); overflow: hidden; }
.hero--compact { padding-bottom: var(--s-7); }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 56rem) { .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--s-7); } }
.hero h1 em { font-style: italic; color: var(--c-brand); display: block; margin-top: var(--s-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0 var(--s-5); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; margin: 0; color: var(--c-ink-soft); font-size: 0.95rem; }
.hero__facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); margin-right: var(--s-2); vertical-align: middle; }
.hero__art img { width: 100%; max-width: 520px; display: block; margin: 0 auto; }

.page-head { padding: var(--s-7) 0 var(--s-7); }

/* ---------------------------------------------------------------- tiles */

.tile {
  background: var(--c-surface); border-radius: var(--radius); padding: var(--s-5) var(--s-5) var(--s-4);
  box-shadow: var(--shadow);
}
.tile h3 { margin: var(--s-3) 0 var(--s-2); }
.tile p { color: var(--c-ink-soft); margin: 0; }
.section--tint .tile { background: var(--c-paper); }

.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: var(--s-6); box-shadow: var(--shadow);
}
.card__title { font-size: 1.35rem; margin-top: 0; }
.card--soft { background: var(--c-paper); box-shadow: none; }
.card--yes { border-top: 5px solid var(--c-brand); }
.card--no { border-top: 5px solid var(--c-accent); }

/* ---------------------------------------------------------------- steps */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } .steps--compact { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: var(--s-7); }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-content: center;
  background: var(--c-sun); color: var(--c-brand-dark); font: 700 1.1rem/1 var(--f-serif);
}
.steps h3 { margin-bottom: var(--s-2); }
.steps p { color: var(--c-ink-soft); margin: 0; }

.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 46rem; }
.timeline li { position: relative; padding: 0 0 var(--s-6) var(--s-6); border-left: 2px dashed var(--c-line); margin-left: var(--s-2); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 5px var(--c-paper);
}
.timeline__when { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--c-accent-dark); margin-bottom: var(--s-1); }
.timeline h3 { margin-bottom: var(--s-2); }
.timeline p:last-child { color: var(--c-ink-soft); }

/* ------------------------------------------------------------- services */

.services { display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-5) var(--s-5); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s; scroll-margin-top: 6rem;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.service--featured { border: 2px solid var(--c-brand); }
.badge {
  position: absolute; top: calc(-1 * var(--s-3)); left: var(--s-5); margin: 0;
  background: var(--c-brand); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: var(--s-1) var(--s-3); border-radius: 999px;
}
.service__name { margin-bottom: var(--s-1); }
.service__audience { color: var(--c-ink-faint); font-size: 0.95rem; }
.service__price { margin: 0; }
.service__price span { font: 600 2rem/1.1 var(--f-serif); color: var(--c-brand); }
.service__note { font-size: 0.9rem; color: var(--c-ink-soft); border-bottom: 1px solid var(--c-line); padding-bottom: var(--s-4); }
.service .ticks { flex: 1; }
.service__cta { margin-top: var(--s-4); align-self: flex-start; }
.service__summary { flex: 1; margin-top: var(--s-3); }

.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.ticks li, .crosses li { position: relative; padding-left: 1.8rem; margin-bottom: var(--s-2); }
.ticks li::before, .crosses li::before {
  position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  display: grid; place-content: center; font-size: 0.75rem; font-weight: 700;
}
.ticks li::before { content: "✓"; background: var(--c-brand-tint); color: var(--c-brand); }
.crosses li::before { content: "✕"; background: var(--c-error-tint); color: var(--c-accent-dark); }

.price-box { background: var(--c-surface); border-radius: var(--radius-lg); padding: var(--s-6); box-shadow: var(--shadow); }
.price-box__amount { font: 600 3rem/1 var(--f-serif); color: var(--c-brand); margin-bottom: var(--s-3); }

/* ------------------------------------------------------------- portrait */

.portrait { border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; box-shadow: var(--shadow-lift); display: block; margin: 0 auto; max-width: 360px; }

/* ------------------------------------------------------------------ faq */

.faq details {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  margin-bottom: var(--s-3); padding: 0 var(--s-5);
}
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-4) var(--s-6) var(--s-4) 0; position: relative;
  font: 600 1.1rem/1.35 var(--f-serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--f-sans); color: var(--c-accent);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--c-ink-soft); padding-bottom: var(--s-2); }

/* ------------------------------------------------------------- articles */

.article-card {
  display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--radius);
  padding: var(--s-5); box-shadow: var(--shadow); color: var(--c-ink); text-decoration: none;
  border-top: 5px solid var(--c-sky); transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--c-ink); }
.article-card h2, .article-card h3 { font-size: 1.3rem; }
.article-card p { color: var(--c-ink-soft); flex: 1; }
.section--tint .article-card { background: var(--c-paper); }

.article__head { padding-top: var(--s-7); padding-bottom: var(--s-5); }
.prose { padding-bottom: var(--s-8); }
.prose h2 { margin-top: var(--s-7); font-size: 1.75rem; }
.prose h3 { margin-top: var(--s-5); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--c-accent); }

.glossary { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-5); background: var(--c-surface); padding: var(--s-5); border-radius: var(--radius); }
.glossary dt { font-weight: 700; font-style: italic; }
.glossary dd { margin: 0; color: var(--c-ink-soft); }

.callout { background: var(--c-brand-tint); border-left: 5px solid var(--c-brand); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--s-5); margin: var(--s-7) 0; }
.callout p { margin: 0; }

.author-box { display: flex; gap: var(--s-4); align-items: flex-start; border-top: 1px solid var(--c-line); padding-top: var(--s-5); margin-top: var(--s-7); }
.author-box img { border-radius: 50%; flex-shrink: 0; }

/* ----------------------------------------------------------------- form */

.contact-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 2fr 1fr; } }
.contact-aside { display: grid; gap: var(--s-5); }
.mini-steps { padding-left: 1.25rem; margin: 0; }
.mini-steps li { margin-bottom: var(--s-2); }

.form__row { display: grid; gap: 0 var(--s-5); }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 var(--s-5); border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: var(--s-2); }
.optional { font-weight: 400; color: var(--c-ink-faint); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--c-ink); background: var(--c-paper);
  border: 1.5px solid var(--c-field-border); border-radius: 10px; padding: 0.75rem 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-tint); background: #fff; }
[aria-invalid="true"] { border-color: var(--c-error) !important; }
textarea { resize: vertical; min-height: 8rem; }
.field__hint { font-size: 0.9rem; color: var(--c-ink-faint); margin: var(--s-2) 0 0; }
.field__error { color: var(--c-error); font-size: 0.92rem; font-weight: 600; margin: var(--s-2) 0 0; }
.choices { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.field .choice { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 400; cursor: pointer; margin: 0; }
.field .choice--consent { align-items: flex-start; }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--c-brand); margin: 0.2rem 0 0; flex-shrink: 0; }
.alert { background: var(--c-error-tint); color: var(--c-error); border-radius: 10px; padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- legal */

.legal h2 { font-size: 1.35rem; margin-top: var(--s-6); }
.legal h3 { font-size: 1.15rem; }
.box { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5); margin-bottom: var(--s-5); }
.box--plain { background: transparent; }

/* --------------------------------------------------------------- admin */

.admin-list { display: grid; gap: var(--s-5); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-1) var(--s-4); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.pre { white-space: pre-wrap; background: var(--c-paper); padding: var(--s-4); border-radius: 10px; margin-top: var(--s-4); }

.thanks-art { display: block; margin: 0 auto var(--s-5); }

/* ------------------------------------------------------------- cta band */

.cta-band { background: var(--c-brand); color: #fff; padding: var(--s-7) 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -6rem; top: -6rem; width: 20rem; height: 20rem;
  border-radius: 50%; background: rgb(255 255 255 / 6%);
}
.cta-band__inner { display: grid; gap: var(--s-5); align-items: center; position: relative; z-index: 1; }
@media (min-width: 48rem) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-band p { margin: 0; color: rgb(255 255 255 / 85%); max-width: 40rem; }

/* --------------------------------------------------------------- footer */

.site-footer { background: var(--c-ink); color: rgb(255 255 255 / 78%); padding: var(--s-7) 0 var(--s-5); font-size: 0.95rem; }
.site-footer a { color: rgb(255 255 255 / 88%); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s-2); }
.logo--footer { color: #fff; margin-bottom: var(--s-3); }
.footer-title { font: 700 0.8rem/1 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgb(255 255 255 / 55%); margin-bottom: var(--s-4); }
.site-footer__note { border-top: 1px solid rgb(255 255 255 / 12%); margin-top: var(--s-6); padding-top: var(--s-5); font-size: 0.85rem; color: rgb(255 255 255 / 55%); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }
.site-footer__note p { margin: 0; }

/* --------------------------------------------------------- small fixes */

.services + .center { margin-top: var(--s-6); }
@media (max-width: 55.99rem) { .hero__art img { max-width: 340px; } }
