/* Kinesiologie Michael Pickhard - kinesio.quantenenergie.at
   Palette (projekt-eigen): Grund Warmweiß, Moos (Primär), Kupfer (Akzent), Sand (Fläche) */
:root {
  --bg: #fbf8f3;
  --bg-alt: #f1ece3;
  --panel: #ffffff;
  --text: #1f2a2e;
  --muted: #5a6a6e;
  --line: #ddd6c9;
  --moss: #2f5d50;
  --moss-dark: #22463c;
  --moss-soft: #e4ede7;
  --copper: #c2703e;
  --copper-soft: #f6e6da;
  --ok-bg: #e8f3ea; --ok: #2e7d32;
  --err-bg: #fbe9e7; --err: #c62828;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 42, 46, .08);
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--moss-dark); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--moss-dark); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--moss); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons (E22 Ghost, Primär hell abgesetzt, keine dunklen Füllungen) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--moss); transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--copper-soft); border-color: var(--copper); color: #7a3f1a; }
.btn-primary:hover, .btn-primary:focus-visible { background: #f0d7c3; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(194, 112, 62, .25); color: #7a3f1a; }
.btn-ghost { background: transparent; color: var(--moss); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--moss-soft); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

/* Header (E03 sticky) */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-head.scrolled { box-shadow: 0 3px 14px rgba(31, 42, 46, .10); border-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 1.05rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--moss); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); transform: translate(-50%, -50%); }
.brand-text strong { color: var(--moss-dark); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease, color .15s ease; }
.nav a:not(.btn):hover { border-color: var(--copper); color: var(--moss-dark); }
.nav .btn { padding: 9px 16px; font-size: .95rem; }
.burger { display: none; background: none; border: 2px solid var(--moss); border-radius: 10px; width: 44px; height: 44px; padding: 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--moss); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--copper); margin-bottom: 14px; }
.lead { font-size: 1.18rem; color: #33434a; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.hero-facts strong { color: var(--moss-dark); }
.hero-portrait { margin: 0; text-align: center; }
.hero-portrait img { width: min(320px, 70vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 14px 40px rgba(47, 93, 80, .22); margin-inline: auto; }
.hero-portrait figcaption { margin-top: 14px; color: var(--muted); font-size: .92rem; }

/* Answer-first-Band (GEO) */
.answer-band { background: var(--moss-soft); border-block: 1px solid #cfdfd5; padding: 22px 0; }
.answer-band p { margin: 0; max-width: 80ch; color: #1f3a32; }

/* Sektionen */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 66ch; margin-bottom: 30px; }
.note { color: var(--muted); font-size: .92rem; margin-top: 26px; max-width: 80ch; }
.cta-row { margin-top: 30px; }

/* Karten (E18 Hover-Lift) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31, 42, 46, .12); border-color: var(--copper); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--moss-soft); display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: .95rem; }
.card li { margin: 4px 0; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--copper-soft); color: #7a3f1a; font-weight: 700; margin-bottom: 12px; font-family: var(--font-head); font-size: 1.2rem; }
.step p { margin: 0; color: #33434a; }

/* Preise */
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--moss-soft); color: var(--moss-dark); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td { background: #fcfaf6; }
.price-table td strong { color: var(--moss-dark); font-size: 1.1rem; }

/* Über mich (E19 Porträt rund) */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.about-portrait { margin: 0; }
.about-portrait img { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(47, 93, 80, .22); }
.about-text p { color: #33434a; }
.about-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .97rem; }
.about-facts strong { color: var(--moss-dark); font-weight: 600; }

/* FAQ (E10, native details) */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; transition: border-color .15s ease; }
.faq-item[open] { border-color: var(--moss); }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 16px 32px 16px 0; list-style: none; position: relative; color: var(--moss-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--copper); color: var(--copper); display: grid; place-items: center; font-weight: 700; line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.faq-item summary:hover { color: var(--copper); }
.faq-item p { margin: 0 0 18px; color: #33434a; }

/* Kontakt */
.section-contact { background: linear-gradient(180deg, var(--bg) 0%, var(--moss-soft) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.contact-direct { display: grid; gap: 12px; }
.contact-tile { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.contact-tile:hover { transform: translateY(-2px); border-color: var(--copper); box-shadow: var(--shadow); color: var(--text); }
.tile-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--moss-soft); display: grid; place-items: center; flex: none; }
.tile-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--moss); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tile-text { display: grid; line-height: 1.3; }
.tile-text span { color: var(--muted); font-size: .92rem; }
.contact-address { font-style: normal; background: transparent; padding: 10px 4px; color: #33434a; line-height: 1.5; }

/* Formular (Regel 8) */
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-intro { margin: 0; color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--moss-dark); font-size: .95rem; }
.req { color: var(--copper); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(47, 93, 80, .18); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--err); }
.field textarea { resize: vertical; min-height: 110px; }
.field-check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--moss); }
.field-check label { font-weight: 400; color: #33434a; font-size: .92rem; line-height: 1.45; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 10px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { background: var(--ok-bg); color: var(--ok); padding: 12px 14px; border-radius: 10px; border: 1px solid #bfdcc3; }
.form-status.err { background: var(--err-bg); color: var(--err); padding: 12px 14px; border-radius: 10px; border: 1px solid #f0c4bf; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Footer */
.site-foot { background: var(--moss-dark); color: #d9e4de; padding: 44px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.foot-brand { margin: 0; line-height: 1.5; }
.foot-brand strong { color: #fff; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.site-foot nav a { color: #e9f0ec; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; }
.site-foot nav a:hover { color: #fff; border-color: var(--copper); }
.foot-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; color: #b6c7bf; }
.foot-note p { margin: 0; }

/* E01 Scroll-up + mobile Sticky-CTA */
.to-top { position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--moss); background: #fff; color: var(--moss); font-size: 1.3rem; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; z-index: 40; box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--moss-soft); }
.sticky-cta { display: none; }

/* E05 Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding: 48px 0 72px; }
.legal h1 { margin-bottom: .3em; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p, .legal li { color: #33434a; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; font-weight: 600; text-decoration: none; }
.legal .back:hover { text-decoration: underline; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 1em; }
.legal dt { font-weight: 600; color: var(--moss-dark); }
.legal dd { margin: 0; color: #33434a; }
.legal table { border-collapse: collapse; width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.legal th { background: var(--moss-soft); color: var(--moss-dark); }
.legal tbody tr:last-child td { border-bottom: 0; }

/* Responsiv */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-portrait { order: -1; }
  .hero-portrait img { width: min(220px, 55vw); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .about-portrait img { width: 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .site-foot nav { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .burger { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 10px 24px rgba(31, 42, 46, .12); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .hero { padding: 36px 0 30px; }
  .section { padding: 48px 0; }
  .hero-cta .btn { width: 100%; }
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 10px; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 76px; bottom: 16px; z-index: 40; justify-content: center; padding: 13px 16px; border-radius: 999px; background: var(--copper-soft); border: 2px solid var(--copper); color: #7a3f1a; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(194, 112, 62, .25); }
  .sticky-cta.hidden-near { opacity: 0; pointer-events: none; }
  .sticky-cta { transition: opacity .25s ease; }
  .section-contact { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Unterseiten: Nav ohne Burger immer sichtbar */
.legal-page .nav { display: flex; position: static; background: none; border: 0; box-shadow: none; padding: 0; }

.nowrap { white-space: nowrap; }

@media (max-width: 760px) {
  .site-foot { padding-bottom: 84px; }
  .legal-page .nav { display: none; }
  .legal-page .brand-text { white-space: nowrap; }
}
