:root {
  --ink: #1d2a27;
  --paper: #f6f7f4;
  --stone: #e6eae5;
  --spruce: #234d42;
  --spruce-dark: #173229;
  --rose: #b4655a;
  --muted: #55645f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*, *::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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--spruce); text-underline-offset: 0.2em; }
a:hover { color: var(--spruce-dark); }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--spruce);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.1rem var(--gutter);
  border-bottom: 1px solid rgba(29, 42, 39, 0.14);
  background: var(--paper);
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.4rem;
  font-size: 0.95rem;
}
.site-nav a { color: var(--ink); text-decoration: none; padding: 0.25rem 0; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .lang {
  border: 1px solid var(--spruce);
  border-radius: 2px;
  padding: 0.2rem 0.6rem;
  color: var(--spruce);
}

/* Hero */
.hero {
  padding: clamp(3rem, 9vw, 7rem) var(--gutter) 0;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.2vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--spruce);
  margin: 0;
  max-width: 14ch;
}
.hero .lead {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: 1.2rem;
  color: var(--ink);
}
.hero .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

.button {
  display: inline-block;
  background: var(--spruce);
  color: var(--paper);
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { background: var(--spruce-dark); color: var(--paper); }

.hero .place { color: var(--muted); font-size: 0.95rem; }

.ridge {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(2.5rem, 7vw, 5rem);
}
.ridge path { fill: none; stroke: var(--rose); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* Sections */
.sec {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
  gap: 1rem clamp(1.5rem, 5vw, 4rem);
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.sec.alt { background: var(--stone); }

.sec > h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0.35rem 0 0;
  color: var(--spruce);
  align-self: start;
  position: sticky;
  top: 1.5rem;
}

.body { max-width: 40rem; }
.body > :first-child { margin-top: 0; }
.body p { margin: 0 0 1.15rem; }
.body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  color: var(--spruce);
  margin: 2.4rem 0 0.8rem;
}
.body h3:first-child { margin-top: 0; }

.quiet { color: var(--muted); font-size: 0.95rem; }

/* Lists */
.body ul { padding-left: 1.2rem; margin: 0 0 1.3rem; }
.body li { margin-bottom: 0.6rem; }
.body li::marker { color: var(--rose); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.3rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.2rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--rose);
}

/* Prices */
.prices { margin: 0 0 1.5rem; padding: 0; }
.prices div {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(29, 42, 39, 0.2);
}
.prices dt { flex: 1; }
.prices dt small { display: block; color: var(--muted); font-size: 0.9rem; }
.prices dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--spruce);
  white-space: nowrap;
}

/* Contact */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2.5rem; margin: 0 0 1.5rem; }
.places address { font-style: normal; }
.places strong { display: block; margin-bottom: 0.2rem; }

.todo {
  background: #fff3d6;
  padding: 0 0.3rem;
  border-radius: 2px;
}

/* Footer */
.site-footer {
  padding: 2rem var(--gutter) 3rem;
  border-top: 1px solid rgba(29, 42, 39, 0.14);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0 0 0.3rem; }

@media (max-width: 760px) {
  .sec { grid-template-columns: 1fr; }
  .sec > h2 { position: static; margin: 0; }
  .site-header { align-items: flex-start; }
}

/* Offizielles ERA-Rolfing-Logo */
.era-badge { display: flex; align-items: center; gap: 1rem; margin: 1.2rem 0; color: var(--muted); font-size: 0.9rem; }
.era-badge img { flex: none; height: auto; max-width: 150px; }
.era-logo { display: block; height: auto; width: 110px; margin: 0 0 1rem; opacity: 0.9; }

.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.era-hero { flex: none; width: clamp(56px, 8vw, 104px); height: auto; margin-top: 0.4rem; margin-right: 0.5cm; }

/* Fotos */
.photo { margin: 0 0 1.8rem; }
.photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.photo-grid img { display: block; width: 100%; height: auto; border-radius: 2px; }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-klein { max-width: 20rem; }

/* Start: Porträt neben der Überschrift */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-grid h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); max-width: none; }
.hero-photo { display: block; width: 100%; max-width: 19rem; justify-self: end; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { justify-self: start; max-width: 18rem; } }
