/* ==========================================================================
   naturheilpraxis360° – Stylesheet (statische Website, kein JavaScript nötig)
   Mobile-First: Basis = Smartphone, größere Bildschirme per min-width.
   Farben und Schriften stehen oben unter :root und lassen sich dort ändern.
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/advent-pro-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/advent-pro-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/advent-pro-latin-700-normal.woff2") format("woff2");
}

/* ---------- Design-Variablen ---------- */
:root {
  --green: rgba(136,166,84,1);   /* Markenfarbe #88a654 */
  --green-dark: #6c8a3c;         /* Hover */
  --green-text: #5b7632;         /* Grün für kleine Schrift (besser lesbar) */
  --green-tint: #f4f7ee;         /* heller Abschnittshintergrund */
  --green-line: #dfe8cf;
  --text: #3d3d3d;               /* Fließtext */
  --heading: #404042;            /* Überschriften */
  --white: #fff;
  --warn-bg: #fff7d6;
  --warn-line: #e6c200;

  --font-text: "Advent Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-title: "Advent Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Advent Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 2px 14px rgb(136 166 84 / .16);
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  /* Platz für die feste Anruf-Leiste am Handy */
  padding-bottom: 4.75rem;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 1.3rem;       /* Advent Pro ist schmal und klein, daher etwas größer */
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 7.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 5.4vw, 2.7rem); }
h3 { font-size: clamp(1.45rem, 3.8vw, 1.75rem); }

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .3em; }
strong { font-weight: 700; }

a { color: var(--green-text); text-underline-offset: .15em; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: .5rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--white);
  color: var(--green-text);
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: .5rem; }

/* ---------- Layout-Bausteine ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding-block: 3rem; }
.section--tint { background: var(--green-tint); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2,
.section--green h3 { color: var(--white); }
.section--green a:not(.btn) { color: var(--white); }

.eyebrow {
  display: block;
  margin-bottom: .4rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-text);
}
.section--green .eyebrow,
.hero .eyebrow { color: #e3edd2; }

.lead { font-size: 1.08em; }
@media (min-width: 62rem) { .lead { font-size: 1.15em; } }
.center { text-align: center; }
.narrow { max-width: 46rem; }
.center.narrow { margin-inline: auto; }

.grid {
  display: grid;
  gap: 1.25rem;
}
.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .7rem 1.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--green-text); border-color: var(--white); }
.btn--white:hover { background: var(--green-tint); color: var(--green-dark); border-color: var(--green-tint); }
.btn--ghost { background: transparent; color: var(--green-text); }
.btn--ghost:hover { background: var(--green); color: var(--white); }
.section--green .btn--ghost,
.hero .btn--ghost { color: var(--white); border-color: var(--white); }
.section--green .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--white); color: var(--green-text); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------- Kopfzeile & Navigation (ohne JavaScript) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--green-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 3rem;
  height: 3rem;
  padding: 0 .75rem;
  cursor: pointer;
  border-radius: 10px;
  background: var(--green-tint);
}
.burger span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  transition: transform .2s, opacity .2s;
}
.nav-toggle:focus-visible + .burger { outline: 3px solid #ffb703; outline-offset: 2px; }
.nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--green-line);
  box-shadow: 0 10px 20px rgb(0 0 0 / .08);
}
.nav-toggle:checked ~ .main-nav { display: block; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: .5rem 1.25rem 1rem;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: .8rem .25rem;
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  border-bottom: 1px solid var(--green-tint);
}
.main-nav a:hover { color: var(--green-text); }
.main-nav a[aria-current="page"] { color: var(--green-text); }

.header-cta { display: none; }

@media (min-width: 62rem) {
  .burger { display: none; }
  .main-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    margin-left: auto;
  }
  .main-nav ul {
    display: flex;
    gap: .25rem;
    padding: 0;
  }
  .main-nav a {
    padding: .5rem .8rem;
    border: 0;
    border-radius: 999px;
    font-size: 1.3rem;
  }
  .main-nav a:hover { background: var(--green-tint); }
  .main-nav a[aria-current="page"] { background: var(--green-tint); }
  .header-cta { display: inline-flex; min-height: 2.6rem; padding: .5rem 1.2rem; }
}

/* ---------- Anruf-Leiste (nur Smartphone/Tablet) ---------- */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  box-shadow: 0 -3px 14px rgb(0 0 0 / .18);
}
.call-bar .btn { width: 100%; min-height: 3.2rem; font-size: 1.1rem; }

@media (min-width: 62rem) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
}

/* ---------- Startseite: Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background-color: var(--green);
  background-image:
    linear-gradient(115deg, rgb(52 72 24 / .93) 0%, rgb(136 166 84 / .55) 55%, rgb(136 166 84 / .12) 100%),
    url("../images/naturheilpraxis360_eingang.jpg");
  background-size: cover;
  background-position: center;
}
.hero .wrap { padding-block: 4rem 4.5rem; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p { max-width: 34rem; font-size: 1.2em; }
.hero .note-small { margin: 0; font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; line-height: 1.3; color: var(--white); }
.hero-box {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.6rem;
  padding: 1.3rem 1.5rem 1.5rem;
  background: var(--green);
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgb(40 55 18 / .35);
}
.hero-box .btn-row { margin-top: 1.1rem; }

.page-head {
  background: var(--green-tint);
  border-bottom: 1px solid var(--green-line);
}
.page-head .wrap { padding-block: 2.5rem 2.25rem; }
.page-head h1 { margin-bottom: .35em; }
.page-head p { margin-bottom: 0; max-width: 46rem; }

/* ---------- Info-Leiste ---------- */
.infostrip { margin-top: -2rem; position: relative; z-index: 2; }
.infostrip .grid { gap: 1rem; }
.info-card {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card svg { flex: none; width: 1.7rem; height: 1.7rem; fill: var(--green); margin-top: .15rem; }
.info-card h2 { font-size: 1.35rem; margin: 0 0 .2em; }
.info-card p { margin: 0; line-height: 1.4; }

/* ---------- Karten ---------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h2,
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: .6rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--green-text); }

.card--link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgb(136 166 84 / .28); color: inherit; }
.card--link h3 { color: var(--green-text); }
.card .icon {
  width: 3rem; height: 3rem;
  margin-bottom: .9rem;
  padding: .7rem;
  background: var(--green-tint);
  border-radius: 12px;
  fill: var(--green);
}

/* Leistungs-Übersicht (Startseite) */
.service-tiles { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.service-tile {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, color .15s;
}
.service-tile::before {
  content: "";
  flex: none;
  width: .55rem; height: 1.4rem;
  border-radius: 3px;
  background: var(--green);
}
.service-tile:hover { transform: translateY(-2px); color: var(--green-text); box-shadow: 0 6px 22px rgb(136 166 84 / .28); }

/* Hinweisbox */
.note {
  padding: 1.25rem 1.4rem;
  background: var(--green-tint);
  border-left: 5px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note h2, .note h3 { font-size: 1.45rem; margin-bottom: .35em; }
.note p:last-child { margin-bottom: 0; }
.section--tint .note { background: var(--white); }

/* Kosten-Kachel */
.fact {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.4rem 1.5rem;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.fact .fact-num { font-family: var(--font-title); font-size: 3.2rem; font-weight: 700; line-height: 1; }
.fact .fact-label { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }

/* ---------- Bilder ---------- */
.photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo--portrait img { aspect-ratio: 1 / 1; object-position: center 30%; }
.photo figcaption {
  padding: .55rem .9rem;
  font-size: .95rem;
  background: var(--white);
  border-top: 1px solid var(--green-line);
}
.split .photo--portrait { max-width: 22rem; justify-self: center; }

.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.gallery .photo:first-child { grid-column: 1 / -1; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: .8rem;
}
.contact-list svg { flex: none; width: 1.4rem; height: 1.4rem; margin-top: .2rem; fill: var(--green); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  padding: .6rem 0;
  text-align: left;
  border-bottom: 1px solid var(--green-line);
}
.hours th { font-family: var(--font-head); font-weight: 700; color: var(--heading); padding-right: 1rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: 1.8rem; margin-top: 2rem; }
.legal h3 { font-size: 1.4rem; margin-top: 1.4rem; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal dl { margin: 0 0 1em; }
.legal dt { font-family: var(--font-head); font-weight: 700; color: var(--heading); margin-top: .8rem; }
.legal dd { margin: 0; }
.todo {
  padding: .9rem 1.1rem;
  margin: 1rem 0;
  background: var(--warn-bg);
  border: 2px solid var(--warn-line);
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: .95rem;
  color: #5c4a00;
}
mark.todo-inline {
  background: var(--warn-bg);
  outline: 1px solid var(--warn-line);
  padding: 0 .25em;
  color: #5c4a00;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  background: #2d3424;
  color: #e4e9dc;
  font-size: 1.1rem;
}
.site-footer .wrap { padding-block: 2.5rem 1.5rem; }
.site-footer h2 {
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .7em;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #cfe0b2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer address { font-style: normal; }
.footer-grid { display: grid; gap: 1.8rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / .15);
  font-size: .95rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Akkordeon (Leistungen) ---------- */
.acc-list { display: grid; gap: .75rem; max-width: 56rem; }
details.acc {
  background: var(--white);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
details.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc > summary > h3 { margin: 0; font-size: clamp(1.35rem, 3.8vw, 1.7rem); }
details.acc > summary:hover > h3 { color: var(--green-text); }
details.acc summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-text);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
details.acc[open] summary { border-bottom: 1px solid var(--green-line); }
details.acc[open] summary::after { content: "\2212"; background: var(--green); color: var(--white); }
details.acc .acc-body { padding: 1rem 1.25rem 1.25rem; }
details.acc .acc-body p:last-child { margin-bottom: 0; }
details.acc .acc-body h4 { margin: 1.3rem 0 .4rem; font-size: 1.35rem; color: var(--green-text); }
details.acc .acc-body ul { list-style: none; padding: 0; }
details.acc .acc-body li { position: relative; padding-left: 1.4rem; }
details.acc .acc-body li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); }

/* ---------- Hilfe-Box (Beratung per Telefon) ---------- */
.help-box {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--green-line);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.help-box h2 { margin-bottom: .4em; }
.help-box p:last-child { margin-bottom: 0; }
.help-box .help-call { text-align: center; }
.help-box .help-call .btn { width: 100%; min-height: 3.4rem; font-size: 1.2rem; }
.help-box .help-call small { display: block; margin-top: .6rem; font-size: .95rem; }
@media (min-width: 62rem) {
  .help-box { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; padding: 2.25rem 2.5rem; }
  .help-box .help-call { padding-left: 2.5rem; border-left: 1px dashed var(--green-line); }
}

/* ---------- Ab Tablet ---------- */
@media (min-width: 40rem) {
  .section { padding-block: 4rem; }
  .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .photo:first-child { grid-column: auto; }
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Ab Desktop ---------- */
@media (min-width: 62rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .infostrip .grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .split--reverse > :first-child { order: 2; }
  .service-tiles { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .hero .wrap { padding-block: 6rem 7rem; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .call-bar, .btn-row, .skip-link { display: none !important; }
  body { padding: 0; font-size: 12pt; color: #000; }
  .hero { background: none; color: #000; }
  .hero h1, .hero p { color: #000; }
  a { color: #000; text-decoration: none; }
}

/* ---------- Einblend-Effekte beim Laden und Scrollen ----------
   Aktiv nur, wenn JavaScript läuft (js/reveal.js) und der Besucher keine
   reduzierten Bewegungen eingestellt hat. */
@keyframes rv-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rv-bg { from { background-position: 50% 58%; } to { background-position: 50% 50%; } }
html.js-reveal :where(.page-head .wrap > *,.hero .wrap > *,.section > .wrap > :not(.grid):not(.gallery):not(.service-tiles):not(.split),:is(.section,.infostrip) :is(.grid,.gallery,.service-tiles,.split) > *):not(.is-visible) { opacity: 0; transform: translateY(28px); }
html.js-reveal :where(.page-head .wrap > *,.hero .wrap > *,.section > .wrap > :not(.grid):not(.gallery):not(.service-tiles):not(.split),:is(.section,.infostrip) :is(.grid,.gallery,.service-tiles,.split) > *).is-visible { animation: rv-up .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s) backwards; }
html.js-reveal .hero { animation: rv-bg 1.4s ease-out both; }

/* ---------- Dekor-Blatt in weißen Abschnitten (statt Mensch.png) ---------- */
.section:not(.section--tint):not(.section--green):not(.legal) { position: relative; isolation: isolate; overflow: hidden; }
.section:not(.section--tint):not(.section--green):not(.legal)::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -3rem;
  width: 22rem;
  height: 22rem;
  z-index: -1;
  background: url("../images/blatt.svg") no-repeat left top / contain;
  opacity: var(--deko-opacity, .10);   /* Deckkraft hier anpassen (0–1) */
  pointer-events: none;
}
@media (min-width: 62rem) {
  .section:not(.section--tint):not(.section--green):not(.legal) { --deko-opacity: .16; }
}

/* ---------- Fotogalerien ---------- */
.gallery--2 .photo:first-child { grid-column: auto; }
.gallery--2 .photo img { aspect-ratio: 12 / 5; }
@media (min-width: 62rem) { .gallery--2 { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 40rem) {
  .hero-box { padding: 1.1rem 1rem 1.2rem; }
  .hero-box .btn { padding-inline: .9rem; font-size: .98rem; }
}
