/* Wellness Anzela – ein Stylesheet für alle Seiten */

:root {
  --bg: #fbf8f5;
  --sand: #f4efeb;
  --sand-dark: #e8e0d9;
  --text: #3d3438;
  --muted: #7a6b70;
  --mauve: #8b7478;
  --accent: #a8407a;
  --accent-dark: #86305f;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(80, 50, 65, .09);
  --max: 1080px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  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(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--mauve);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-style: italic; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; color: var(--text); }

p { margin: 0 0 1em; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: .6rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Kopf & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 245, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand {
  font-family: var(--serif); font-style: italic; font-size: 1.4rem;
  color: var(--mauve); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--accent); }

.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5rem .9rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: .98rem;
}
.nav a:hover { background: var(--sand); color: var(--accent-dark); }
.nav a[aria-current="page"] { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--sand-dark);
  border-radius: 10px; padding: .5rem .7rem; cursor: pointer; color: var(--text);
  font: inherit; line-height: 1; width: 46px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--sand-dark);
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 1rem 1rem; }
  .nav a { padding: .8rem 1rem; border-radius: 10px; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--sand);
  margin-block: 1.5rem;
  border-radius: calc(var(--radius) * 1.6);
  overflow: hidden;
}
.hero .wrap { width: 100%; }
.hero-inner {
  display: grid; grid-template-columns: minmax(180px, 320px) 1fr;
  align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.hero-inner img {
  border-radius: 50%; box-shadow: var(--shadow); width: 100%; aspect-ratio: 1;
  object-fit: cover; background: #fff;
}
.hero-text .lead { color: var(--muted); }
.hero-text .lead p { margin-bottom: .35em; }
.hero-text .lead p:last-child { margin: 1em 0 0; color: var(--text); font-weight: 500; }

.page-hero {
  background: var(--sand); border-radius: calc(var(--radius) * 1.6);
  margin-block: 1.5rem; padding: clamp(1.5rem, 4vw, 2.75rem);
}
.page-hero h1 { margin: 0 0 .3em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 60ch; }

/* Tablet: kleinere Orchidee, damit der Text Platz hat */
@media (min-width: 681px) and (max-width: 900px) {
  .hero-inner { grid-template-columns: 200px 1fr; }
}
/* Telefon: Orchidee ausblenden, alles zentriert */
@media (max-width: 680px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-inner img { display: none; }
}

/* ---------- Abschnitte & Karten ---------- */
section { margin-block: 2.5rem; }

.cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .card span { font-size: 1.05rem; padding: .8rem .9rem; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card span { font-size: 1.15rem; padding: .9rem 1.1rem; }
}
.card {
  display: block; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(80, 50, 65, .15); color: inherit; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card span { display: block; padding: .9rem 1.1rem; font-family: var(--serif); font-size: 1.15rem; color: var(--mauve); }
.card span::after { content: "\00a0→"; color: var(--accent); }

.split {
  display: grid; grid-template-columns: 1fr minmax(120px, 190px);
  gap: 2rem; align-items: start;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split strong { color: var(--accent-dark); font-weight: 600; }
/* Tablet und Telefon: Rückenbild ausblenden, nur am Desktop zeigen */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split img { display: none; }
}

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: .75rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; transition: background .2s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

/* Telefon: alle Buttons zentriert, gleich breit */
@media (max-width: 680px) {
  .btn { display: block; width: fit-content; max-width: 100%; margin-inline: auto; text-align: center; }
  .btn-row { justify-content: center; }
  .btn-row .btn { flex: 1 1 100%; max-width: 20rem; width: auto; margin-inline: 0; }
}

/* ---------- Service ---------- */
.service {
  display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem; margin-bottom: 1.25rem;
}
.service img { border-radius: 10px; width: 200px; aspect-ratio: 4 / 3; object-fit: cover; }
.service h2, .service h3 { margin: 0 0 .25em; font-size: 1.3rem; }
.service p { margin: 0; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.pill {
  display: inline-block; font-size: .9rem; padding: .15rem .8rem; border-radius: 999px;
  background: var(--sand); color: var(--text);
}
.pill.price { background: var(--accent); color: #fff; font-weight: 600; }
@media (max-width: 600px) {
  .service { grid-template-columns: 1fr; }
  .service img { width: 100%; aspect-ratio: 16 / 9; }
}

.pricelist { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.pricelist li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem;
  padding: .9rem 1.25rem; border-bottom: 1px solid var(--sand);
}
.pricelist li:last-child { border: 0; }
.pricelist .name { font-weight: 500; }
.pricelist .name small { display: block; font-weight: 400; color: var(--muted); }
.pricelist .info { color: var(--muted); white-space: nowrap; }
.pricelist .info b { color: var(--accent-dark); font-weight: 600; margin-left: .75rem; }

/* Telefon: jede Zeile gleich aufgebaut: Name oben, darunter Dauer links und Preis rechts */
@media (max-width: 680px) {
  .pricelist li { display: grid; grid-template-columns: 1fr; justify-content: stretch; gap: .2rem; }
  .pricelist .info { display: flex; justify-content: space-between; align-items: baseline; }
  .pricelist .info b { margin-left: 1rem; }
}

/* ---------- Produkte ---------- */
.product {
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem; margin-bottom: 1.25rem;
}
.product .logo { display: grid; place-items: center; text-decoration: none; }
.product .logo img { max-height: 120px; width: auto; object-fit: contain; }
.product .caption { font-size: .9rem; margin-top: .5rem; text-align: center; }
.product strong { color: var(--accent-dark); font-weight: 600; }
@media (max-width: 680px) {
  .product { grid-template-columns: 1fr; gap: 1rem; }
  .product .logo { justify-items: start; }
}

.notice {
  background: var(--sand); border-radius: var(--radius); padding: 1.5rem;
  border-left: 5px solid var(--accent);
}
.notice p { margin: 0; }

/* ---------- Zertifikate ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery button {
  padding: 0; border: 0; background: var(--white); border-radius: 10px; overflow: hidden;
  cursor: zoom-in; box-shadow: var(--shadow); transition: transform .2s;
}
.gallery button:hover { transform: scale(1.03); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(30, 20, 26, .82); }
dialog.lightbox img {
  max-height: 88vh; width: auto; max-width: 92vw; border-radius: 6px; background: #fff;
  min-width: min(420px, 90vw); object-fit: contain;
}
.lightbox .close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow);
}
.lightbox .nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.lightbox .prev { left: -16px; }
.lightbox .next { right: -16px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1.2fr; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.box h2 { font-size: 1.3rem; }

dl.contact { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 0 0 1.25rem; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; }
address { font-style: normal; }

.map { border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: clamp(300px, 55vw, 420px); border: 0; display: block; }
.map-placeholder {
  min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; gap: .75rem; color: var(--muted);
}
.map-placeholder p { margin: 0; max-width: 46ch; font-size: .95rem; }

/* ---------- Textseiten (AGB, Impressum) ---------- */
.legal { max-width: 760px; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { margin-top: 2em; font-size: 1.35rem; }
.legal h3 { margin-top: 1.5em; }

/* ---------- Fuß ---------- */
.site-footer {
  margin-top: 4rem; background: var(--sand); border-top: 1px solid var(--sand-dark);
  padding: 2rem 0; font-size: .95rem; color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent-dark); }
.site-footer p { margin: 0; }

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

/* ---------- Vitalstoff-Analyse ---------- */
.vital {
  background: var(--sand); border-radius: calc(var(--radius) * 1.6);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.vital .eyebrow { margin: 0; letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; color: var(--muted); }
.vital h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2em; }
.vital-lead { font-family: var(--serif); font-size: 1.25rem; color: var(--text); }
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; background: var(--white); border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.1rem 4rem; position: relative; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.05rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 600;
}
.steps h3 { margin: 0 0 .3em; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.steps h3 small { font-weight: 400; color: var(--muted); margin-left: .5rem; }
.steps p { margin: 0; color: var(--muted); }

.legal ul { margin: 0 0 1em; padding-left: 1.25rem; }
.legal li { margin-bottom: .3em; }

.vital-contact { margin: 0; font-size: 1.15rem; font-weight: 600; }
.vital-contact a { color: var(--accent-dark); white-space: nowrap; }
