/* Praxis für Naturheilkunde – Thilo Ströhle & Beate Weller */

:root {
  --green: #6f9a1b;
  --green-dark: #4f7210;
  --green-light: #eef4e1;
  --orange: #e2701a;
  --orange-light: #fdf0e4;
  --text: #2f2f2a;
  --muted: #6b6a62;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --line: #e7e3d8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(60, 50, 20, .08);
  --max: 1120px;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: #26261f; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .3em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--green-dark); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo img { width: 220px; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  display: block; width: 26px; height: 2px; background: var(--text); position: relative; transition: .2s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text); font-weight: 500; font-size: .98rem;
}
.main-nav a:hover { background: var(--green-light); color: var(--green-dark); }
.main-nav a[aria-current="page"] { color: var(--green-dark); background: var(--green-light); }
.main-nav .cta a { background: var(--orange); color: #fff; }
.main-nav .cta a:hover { background: #c75e10; color: #fff; }

@media (max-width: 1100px) {
  .nav-toggle-label { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .main-nav ul { flex-direction: column; padding: 10px 20px 18px; }
  .main-nav a { padding: 12px; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }
  .logo img { width: 180px; }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: #3a3a30; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 30, 10, .72) 0%, rgba(25, 30, 10, .35) 60%, rgba(25, 30, 10, .1) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: clamp(70px, 12vw, 150px); padding-bottom: clamp(70px, 12vw, 150px); }
.hero h1 { color: #fff; max-width: 15em; }
.hero p { font-size: 1.2rem; max-width: 34em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 600; color: #ffd8b5; margin-bottom: .6em; }

.page-hero { position: relative; height: clamp(140px, 22vw, 240px); overflow: hidden; background: var(--green-light); }
.page-hero img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--orange); transition: .15s;
}
.btn:hover { background: #c75e10; border-color: #c75e10; color: #fff; }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--text); }
.btn.outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Sections */
main { display: block; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section > .container > h2:first-child, .section h2.first { margin-top: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.narrow { max-width: 780px; }

.breadcrumb { font-size: .9rem; color: var(--muted); padding-top: 22px; }
.breadcrumb a { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-top: 0; }
.card-body ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--muted); }
.card-body .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.card-body .more::after { content: " →"; }

/* Team */
.person { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.person img { border-radius: var(--radius); box-shadow: var(--shadow); width: 200px; aspect-ratio: 5 / 6; object-fit: cover; object-position: top; }
.person h2 { margin-top: 0; }
.person .role { color: var(--orange); font-weight: 600; margin-top: -.4em; }
@media (max-width: 640px) {
  .person { grid-template-columns: 1fr; gap: 18px; }
  .person img { width: 160px; }
}

/* Therapy list */
.therapy { padding: 26px 0; border-bottom: 1px solid var(--line); }
.therapy:last-child { border-bottom: 0; }
.therapy h3 { margin-top: 0; }
.price { display: inline-block; background: var(--orange-light); color: #9a4a0b; font-weight: 600; font-size: .95rem; padding: 4px 12px; border-radius: 999px; }
.group-title { font-family: var(--font); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--green-dark); margin: 3em 0 .3em; font-weight: 700; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5em 0 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 8px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; }
.toc a:hover { border-color: var(--green); color: var(--green-dark); }

/* Price table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td:last-child { white-space: nowrap; font-weight: 600; }
td small { display: block; font-weight: 400; color: var(--muted); white-space: normal; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
dialog.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 8px; }
dialog.lightbox button { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .6); color: #fff; border: 0; font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Info boxes */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.box h3 { margin-top: 0; }
.box.green { background: var(--green-light); border-color: #d6e4b8; box-shadow: none; }
.box.orange { background: var(--orange-light); border-color: #f5d6bb; box-shadow: none; }

.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 6px 0 6px 30px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

/* News */
.news { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.news:last-child { border-bottom: 0; }
.news img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.news time { color: var(--muted); font-size: .92rem; }
.news h2 { margin-top: .2em; }
@media (max-width: 700px) { .news { grid-template-columns: 1fr; } }

/* Contact strip */
.contact-strip { background: var(--green-dark); color: #fff; }
.contact-strip h2 { color: #fff; margin-top: 0; }
.contact-strip a { color: #fff; }
.contact-strip .btn.ghost:hover { color: var(--green-dark); }

/* Footer */
.site-footer { background: #2a2b22; color: #cfcdbf; font-size: .95rem; padding: 56px 0 28px; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .8em; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 3px 0; }
.footer-bottom { border-top: 1px solid #44463a; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

.membership { display: flex; align-items: center; gap: 18px; margin-top: 2em; }
.membership img { width: 80px; }
