/* =========================================================
   Naturheilpraxis Ostermann – Stylesheet
   Basiert auf dem Stil der Baustellenseite (Olive/Creme, Alex Brush + Jost)
   ========================================================= */

/* ---------- Lokal gehostete Schriften (kein Google Fonts CDN, DSGVO-konform) ---------- */

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alex Brush';
  src: url('../fonts/AlexBrush-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --olive: #a3b06a;
  --olive-dark: #8b9a54;
  --olive-light: #eef1e3;
  --cream: #fdfdfb;
  --cream-alt: #f6f5ef;
  --text-dark: #3c3c3c;
  --text-muted: #6b6b62;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(60, 60, 50, 0.08);
  --radius: 14px;
  --max-width: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

/* ---------- Typography ---------- */

h1, h2, h3, .script {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  color: var(--olive-dark);
  line-height: 1.2;
}

h2 { font-size: 2.6rem; margin-bottom: 6px; }
h3 { font-size: 1.7rem; margin-bottom: 4px; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-head .divider {
  width: 46px;
  height: 1px;
  background: var(--olive);
  opacity: 0.5;
  margin: 18px auto 0;
}

p { font-weight: 400; color: var(--text-dark); }
p + p { margin-top: 14px; }

ul { list-style: none; margin: 0; padding: 0; }
ul.check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
ul.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--olive);
  border-radius: 50%;
}

/* ---------- Decorative circles (from Baustellenseite) ---------- */

.deco-circle {
  position: absolute;
  border: 1px solid var(--olive-light);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Header / Nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 251, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--olive-light);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .icon-mark {
  width: 32px;
  height: 32px;
  color: var(--olive);
}
.brand .icon-mark svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--olive);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.brand span {
  font-family: 'Alex Brush', cursive;
  font-size: 1.5rem;
  color: var(--olive-dark);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav.main-nav a {
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--olive-dark);
  transition: width 0.25s ease;
}
nav.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--olive-dark);
  transition: 0.25s;
}
.nav-toggle span { top: 10px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero .icon-mark {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  color: var(--olive);
}
.hero .icon-mark svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--olive);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 8px;
}

.hero .eyebrow { margin-bottom: 30px; }

.hero .lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.hero .cta-row {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--olive-dark);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent;
  color: var(--olive-dark);
  border: 1px solid var(--olive);
}
.btn-secondary:hover { background: var(--olive-light); }

.hero-banner {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ---------- Generic section ---------- */

section { padding: 90px 0; position: relative; }
section.alt { background: var(--cream-alt); }

/* ---------- Ueber mich ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-text .eyebrow { margin-top: 0; }

/* ---------- Leistungen ---------- */

.leistungen-intro {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--olive-light);
  height: fit-content;
}

.service-card .thumb {
  height: 150px;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .thumb img { transform: scale(1.06); }

.service-card .body { padding: 26px 28px 10px; }

.service-card h3 { font-size: 2.1rem; margin-bottom: 8px; }

.service-card p.intro-text {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.service-card details {
  margin-top: 10px;
}
.service-card summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--olive-dark);
  font-weight: 500;
  padding: 16px 28px;
  border-top: 1px solid var(--olive-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--olive-dark);
  transition: transform 0.25s ease;
}
.service-card details[open] summary::after { content: "\2212"; }

.service-card .detail-content {
  padding: 0 28px 24px;
  font-size: 0.93rem;
  color: var(--text-dark);
}
.service-card .detail-content ul.check { margin-top: 10px; }
.service-card .detail-content ul.check li { font-size: 0.88rem; }

/* ---------- Weiterbildungen (Akkordeon) ---------- */

.accordion-group {
  max-width: 780px;
  margin: 0 auto;
}
.accordion-group details {
  background: var(--white);
  border: 1px solid var(--olive-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-group summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 26px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion-group summary::-webkit-details-marker { display: none; }
.accordion-group summary::after {
  content: "+";
  font-size: 1.2rem;
}
.accordion-group details[open] summary::after { content: "\2212"; }
.accordion-group .acc-body {
  padding: 0 26px 24px;
}
.accordion-group .acc-body ul { margin-left: 0; }
.accordion-group .acc-body li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--olive-light);
}
.accordion-group .acc-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--olive);
  border-radius: 50%;
}
.accordion-group .acc-body li:last-child { border-bottom: none; }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  border: 1px solid var(--olive-light);
  height: fit-content;
}
.contact-info .name {
  font-family: 'Alex Brush', cursive;
  font-size: 1.9rem;
  color: var(--olive-dark);
  margin-bottom: 6px;
}
.contact-info .practice {
  font-weight: 500;
  margin-bottom: 18px;
}
.contact-info .line {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-left: 26px;
  position: relative;
}
.contact-info .line .ico {
  position: absolute;
  left: 0; top: 2px;
  width: 16px; height: 16px;
  color: var(--olive);
}
.contact-info a {
  text-decoration: none;
  color: var(--olive-dark);
  font-weight: 500;
}
.contact-info a:hover { text-decoration: underline; }

.map-link {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid var(--olive-light);
}

.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--text-dark);
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd8c8;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--olive);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.consent-row input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--olive-dark);
  flex-shrink: 0;
}
.consent-row label {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.consent-row a { color: var(--olive-dark); text-decoration: underline; }

/* Honeypot - hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

.form-msg {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-msg.success { background: var(--olive-light); color: var(--olive-dark); }
.form-msg.error { background: #fbe6e2; color: #a3432f; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--olive-dark);
  color: var(--olive-light);
  padding: 46px 0 26px;
  text-align: center;
}
footer .icon-mark.footer-icon {
  width: 250px; height: 250px;
  margin: 0 auto 14px;
  color: var(--cream);
}
footer .icon-mark.footer-icon svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--cream);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
footer .foot-name {
  font-family: 'Alex Brush', cursive;
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 6px;
}
footer .foot-links {
  margin: 18px 0 20px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
footer .foot-links a {
  color: var(--olive-light);
  text-decoration: none;
  font-size: 0.85rem;
}
footer .foot-links a:hover { text-decoration: underline; }
footer .copyright {
  font-size: 0.78rem;
  color: #d8ddc4;
  opacity: 0.85;
}

/* ---------- Legal pages (Impressum/Datenschutz) ---------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 24px 90px;
}
.legal-page h1 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}
.legal-page h2 {
  font-size: 1.4rem;
  margin: 34px 0 12px;
  color: var(--olive-dark);
}
.legal-page p { color: var(--text-dark); font-family: 'Jost', sans-serif; margin-bottom: 12px; }
.legal-page a.back {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.85rem;
  color: var(--olive-dark);
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { height: 300px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--olive-light);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav ul {
    flex-direction: column;
    padding: 20px 24px 26px;
    gap: 18px;
  }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 2.3rem; }
  h2 { font-size: 2.1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
