/* Hypnosepraxis Dirk Harlinghausen – Stylesheet
   Alle Schriften lokal eingebunden (keine Verbindung zu Google oder anderen Drittanbietern). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf7f0;
  --cream: #f3eadb;
  --sand: #e9dcc6;
  --ink: #2b1f19;
  --muted: #6a574b;
  --rust: #8a3a12;
  --rust-dark: #6e2c0c;
  --ember: #c8711f;
  --amber: #eab45a;
  --night: #33190f;
  --night-2: #42221a;
  --on-night: #f6ead9;
  --on-night-muted: #d7c0a6;
  --line: rgba(43, 31, 25, .14);

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-dark); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ember); margin: 0 0 1.25rem;
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: .95rem 1.6rem; border-radius: 999px; text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  border: 1px solid transparent; min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { border-color: rgba(43,31,25,.3); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: .975rem; font-weight: 500; }
.nav ul a { position: relative; padding: .3rem 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { padding: .65rem 1.2rem; min-height: 44px; font-size: .95rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink);
  width: 48px; height: 48px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(43,31,25,.25);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 1.5rem; padding: .95rem 1.4rem; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 var(--section); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.9rem); font-weight: 400; line-height: 1.02; margin-bottom: 1.75rem; }
.hero h1 em { font-style: italic; color: var(--rust); }
.hero-lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 32em; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-note { margin-top: 1.5rem; font-size: .95rem; color: var(--muted); }

.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 1077 / 855; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); }
.hero-figure::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--amber);
  border-radius: 230px 230px var(--radius) var(--radius); z-index: -1; opacity: .7;
}
.hero-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .9rem; text-align: right; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { border-radius: 160px 160px var(--radius) var(--radius); }
  .hero-figure::before { inset: -12px 12px 12px -12px; border-radius: 166px 166px var(--radius) var(--radius); }
}
@media (max-width: 480px) {
  .hero-figure img { border-radius: 120px 120px var(--radius) var(--radius); aspect-ratio: 1 / 1; }
  .hero-figure::before { border-radius: 126px 126px var(--radius) var(--radius); }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Über mich ---------- */
.about { background: var(--cream); padding: var(--section) 0; }
.about-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: saturate(.92); }
.portrait::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 55%; height: 55%;
  background: var(--sand); z-index: -1; border-radius: var(--radius);
}
.portrait { z-index: 0; }
.about h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); margin-bottom: 1.5rem; }
.about-lead { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); line-height: 1.35; font-weight: 500; margin-bottom: 2.5rem; max-width: 26em; }

.quals { border-top: 1px solid var(--line); margin: 0 0 2.5rem; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
.quals li { padding: .95rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .85rem; align-items: baseline; }
.quals li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; transform: translateY(-2px); }
.quals-label { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 .25rem; }

.cert { display: flex; gap: 1.25rem; align-items: center; background: var(--paper); padding: 1.1rem 1.4rem; border-radius: var(--radius); max-width: 34rem; }
.cert img { width: 64px; height: auto; flex: none; mix-blend-mode: multiply; opacity: .85; }
.cert p { margin: 0; font-size: 1rem; }
.cert strong { display: block; font-weight: 600; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 400px; margin-right: 16px; }
}
@media (max-width: 560px) { .quals { grid-template-columns: 1fr; } }

/* ---------- Schwerpunkte ---------- */
.focus { background: var(--night); color: var(--on-night); padding: var(--section) 0; position: relative; overflow: hidden; }
.focus::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(234,180,90,.20), rgba(234,180,90,0) 62%); pointer-events: none;
}
.focus .eyebrow { color: var(--amber); }
.focus-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); position: relative; }
.focus h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); }
.focus-head p { color: var(--on-night-muted); margin: 0; max-width: 30em; }

.area { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 4vw, 56px); padding: clamp(32px, 4.5vw, 52px) 0; border-top: 1px solid rgba(246,234,217,.16); position: relative; }
.area:last-of-type { border-bottom: 1px solid rgba(246,234,217,.16); }
.area-num { font-family: var(--serif); font-style: italic; font-size: 3.2rem; line-height: .9; color: var(--amber); font-weight: 400; }
.area h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 500; }
.area-items { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .55rem .55rem; align-content: flex-start; }
.area-items li {
  font-size: 1rem; padding: .45rem 1rem; border: 1px solid rgba(246,234,217,.28); border-radius: 999px; color: var(--on-night);
}
.focus-more { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 110px 1fr; gap: clamp(20px, 4vw, 56px); position: relative; }
.focus-more p { margin: 0; color: var(--on-night-muted); max-width: 46em; }
.focus-more strong { color: var(--on-night); font-weight: 600; }

@media (max-width: 860px) {
  .focus-head { grid-template-columns: 1fr; }
  .area { grid-template-columns: 64px 1fr; }
  .area-items { grid-column: 2; }
  .area-num { font-size: 2.4rem; }
  .focus-more { grid-template-columns: 64px 1fr; }
}
@media (max-width: 480px) {
  .area { grid-template-columns: 1fr; gap: 14px; }
  .area-items { grid-column: auto; }
  .focus-more { grid-template-columns: 1fr; }
  .focus-more > span { display: none; }
}

/* ---------- Praxis ---------- */
.room { padding: var(--section) 0; }
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.room h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); margin-bottom: 1.5rem; }
.room-text p { max-width: 30em; }
.room-address { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; color: var(--ink); margin-top: 2rem; }
.room-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 22px); align-items: start; }
.room-photos figure { margin: 0; }
.room-photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.room-photos .p1 img { aspect-ratio: 517 / 490; }
.room-photos .p2 { margin-top: clamp(48px, 8vw, 110px); }
.room-photos .p2 img { aspect-ratio: 520 / 615; }
.room-photos figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 860px) { .room-grid { grid-template-columns: 1fr; } }

/* ---------- Termin / Gut zu wissen ---------- */
.steps { background: var(--cream); padding: var(--section) 0; }
.steps h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); max-width: 14em; margin-bottom: clamp(40px, 6vw, 72px); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: s; }
.step-list li { counter-increment: s; position: relative; padding-top: 1.6rem; border-top: 1px solid var(--rust); }
.step-list li::before { content: "0" counter(s); font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--rust); position: absolute; top: -.85rem; left: 0; background: var(--cream); padding-right: .6rem; }
.step-list h3 { font-size: 1.65rem; margin-bottom: .6rem; }
.step-list p { color: var(--muted); margin: 0; }
.step-list a { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }

.faq { margin-top: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 96px); }
.faq h3 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 600; font-size: 1.075rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 1.5px solid var(--rust); border-bottom: 1.5px solid var(--rust); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.4rem 0; margin: 0; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { padding: var(--section) 0; background: var(--night-2); color: var(--on-night); }
.contact .eyebrow { color: var(--amber); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); margin-bottom: 1.25rem; }
.contact-intro { color: var(--on-night-muted); max-width: 28em; margin-bottom: 2.25rem; }
.contact-phone { font-family: var(--serif); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); color: var(--on-night); text-decoration: none; line-height: 1; display: inline-block; border-bottom: 1px solid var(--amber); padding-bottom: .3rem; }
.contact-phone:hover { color: var(--amber); }
.contact-hint { margin-top: 1rem; color: var(--on-night-muted); font-size: 1rem; }
.contact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(246,234,217,.16); }
.contact-list div { padding: 1.2rem 0; border-bottom: 1px solid rgba(246,234,217,.16); display: grid; grid-template-columns: 110px 1fr; gap: 1rem; }
.contact-list dt { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); font-weight: 600; padding-top: .2rem; }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--on-night); word-break: break-word; }
.contact-list a:hover { color: var(--amber); }
.contact .btn-light { background: var(--on-night); color: var(--night); margin-top: 2rem; }
.contact .btn-light:hover { background: var(--amber); color: var(--night); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact-list div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 2.25rem 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer nav { display: flex; gap: 1.75rem; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0 var(--section); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.8rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.85rem; margin: 3rem 0 1rem; }
.legal h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 2rem 0 .5rem; }
.legal p, .legal li { color: #3f322b; }
.legal address { font-style: normal; line-height: 1.75; background: var(--cream); padding: 1.5rem 1.75rem; border-radius: var(--radius); }
.legal .source { font-size: .9rem; color: var(--muted); font-style: italic; }
.legal .back { display: inline-flex; gap: .4rem; margin-bottom: 2rem; font-weight: 600; text-decoration: none; }

/* ---------- Korrekturen nach Sichtprüfung ---------- */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.room-text p:not(.eyebrow):not(.room-address) { color: var(--muted); }
.room-text .room-address { color: var(--ink); }
.room-text .eyebrow { color: var(--ember); }
@media (max-width: 860px) {
  .hero-figure figcaption { margin-top: 1.6rem; text-align: left; }
}
.legal address { margin-bottom: 1.25rem; }
