/* ============================================================
   DEIN HERZWERK · Design v2 — „quiet luxury meets tech"
   Navy #121E44 + Gold #B8963A · Dark (default) + Light Theme
   Fonts: Spectral (Head, elegant serif) · Sora (Body, geometric)
   Gleiche Klassennamen wie v1 → alle Seiten übernehmen den Look.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400&family=Sora:wght@300;400;500;600;700&display=swap');

/* ---------- THEME TOKENS ---------- */
/* DARK = tiefes Navy */
:root, :root[data-theme="dark"] {
  --navy:        #121E44;
  --navy-deep:   #070B1C;
  --gold:        #C6A24C;
  --gold-soft:   #E6CE8A;
  --gold-deep:   #A98436;

  --bg:          #0A1026;
  --bg-grad-1:   #0C1330;
  --bg-grad-2:   #06091A;
  --glow:        rgba(198,162,76,0.14);
  --surface:     rgba(255,255,255,0.05);
  --surface-2:   rgba(255,255,255,0.08);
  --surface-solid: #141B3C;
  --border:      rgba(230,206,138,0.16);
  --border-soft: rgba(255,255,255,0.09);
  --text:        #ECE7DA;
  --text-soft:   #A6AEC6;
  --shadow:      0 24px 70px -34px rgba(0,0,0,0.75);
  --shadow-soft: 0 10px 40px -24px rgba(0,0,0,0.6);
  color-scheme: dark;
}
/* LIGHT = helleres Logo-Navy (kein Off-White), Text bleibt creme */
:root[data-theme="light"] {
  --navy:        #121E44;
  --navy-deep:   #0A1026;
  --gold:        #C6A24C;
  --gold-soft:   #E6CE8A;
  --gold-deep:   #A98436;

  --bg:          #182448;
  --bg-grad-1:   #1C2A52;
  --bg-grad-2:   #141F3E;
  --glow:        rgba(198,162,76,0.16);
  --surface:     rgba(255,255,255,0.06);
  --surface-2:   rgba(255,255,255,0.11);
  --surface-solid: #202C54;
  --border:      rgba(230,206,138,0.22);
  --border-soft: rgba(255,255,255,0.12);
  --text:        #ECE7DA;
  --text-soft:   #B3B9CE;
  --shadow:      0 24px 60px -34px rgba(0,0,0,0.55);
  --shadow-soft: 0 10px 34px -22px rgba(0,0,0,0.45);
  color-scheme: dark;
}

:root {
  --maxw: 1140px;
  --maxw-text: 720px;
  --space: clamp(3.6rem, 8vw, 7.5rem);
  --radius: 18px;
  --font-head: "Spectral", Georgia, serif;
  --font-body: "Sora", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text);
  font-family: var(--font-body); font-size: 1.03rem; line-height: 1.68; font-weight: 300;
  background:
    radial-gradient(1100px 620px at 88% -8%, var(--glow), transparent 60%),
    linear-gradient(168deg, var(--bg-grad-1), var(--bg-grad-2) 70%, var(--bg));
  background-attachment: fixed; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body, .site-header, .tile, .card, .step, .infogrid, .infogrid div, .btn, .safety, .ctaband,
.site-nav, .switch, .about__photo { transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease; }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0; color: var(--text); letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.section { padding-block: var(--space); }
.text { max-width: var(--maxw-text); }

.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 600; font-size: 0.92rem; font-family: var(--font-body); padding: 0.9rem 1.7rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.btn--gold { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #1A1305; box-shadow: 0 6px 22px -10px rgba(198,162,76,0.55); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(230,206,138,0.75), 0 0 0 1px rgba(230,206,138,0.4); }
.btn--solid { background: transparent; color: var(--text); border-color: var(--border); }
.btn--solid:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 0 26px -10px var(--gold); }
.btn--ghost { border-color: currentColor; color: var(--text); }
.btn--ghost:hover { background: var(--gold); color: #1A1305; border-color: var(--gold); transform: translateY(-2px); }
.btn--light { background: var(--gold); color: #1A1305; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 0 30px -8px var(--gold-soft); }

/* ============================================================
   HEADER / NAV  (Switches per JS eingefügt)
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); border-bottom: 1px solid var(--border-soft); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; justify-content: space-between; padding-block: 0.8rem; position: relative; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo__img { height: 64px; width: auto; display: block; }
.logo__img--ergo { height: 84px; }
@media (max-width: 560px) { .logo__img { height: 50px; } .logo__img--ergo { height: 64px; } }
.logo__mark, .logo__text { display: none; }

.site-header__inner .logo { margin-right: auto; }
.switches { display: flex; align-items: center; gap: 0.5rem; order: 1; }
.nav-toggle { order: 2; }
.site-nav { order: 3; }
@media (min-width: 900px) { .site-nav { order: 1; } .switches { order: 2; } }
.switch { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; height: 38px; padding: 0 0.8rem; border-radius: 999px; cursor: pointer; background: var(--surface); border: 1px solid var(--border-soft); color: var(--text); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.switch:hover { border-color: var(--gold); color: var(--gold); }
.switch--theme { width: 38px; padding: 0; font-size: 1rem; }
.lang-switch b { color: var(--gold); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; padding: 8px; cursor: pointer; border: 0; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: var(--surface-solid); border-bottom: 1px solid var(--border-soft); flex-direction: column; padding: 0.5rem 0; box-shadow: var(--shadow); }
.site-nav.is-open { display: flex; }
.site-nav a { text-decoration: none; font-weight: 400; padding: 0.85rem clamp(1.25rem,5vw,2.5rem); }
.site-nav a:hover { color: var(--gold); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; gap: 1.8rem; padding: 0; background: none; border: 0; box-shadow: none; align-items: center; }
  .site-nav a { padding: 0; font-size: 0.94rem; opacity: 0.9; }
  .site-nav a:hover { opacity: 1; }
  .site-nav a.btn { opacity: 1; padding: 0.6rem 1.3rem; }
}

/* ============================================================
   HERO + PAGEHEAD
   ============================================================ */
.hero { padding-block: clamp(3.4rem, 9vw, 6rem) var(--space); }
.hero__inner { max-width: 800px; }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 4.8rem); letter-spacing: -0.025em; margin-top: 1rem; font-weight: 500; }
.hero__sub { font-size: clamp(1.1rem, 2.5vw, 1.32rem); color: var(--text-soft); margin-top: 1.4rem; max-width: 42ch; }
.hero__quote { margin-top: 2.3rem; padding: 1.1rem 1.4rem; border-left: 2px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-style: italic; font-size: 1.22rem; color: var(--text); }
.hero__quote span { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold); margin-top: 0.5rem; }
.hero__orient { margin-top: 2.5rem; font-size: 0.98rem; color: var(--text-soft); }

.pagehead { padding-block: clamp(3rem, 7vw, 4.6rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--border-soft); }
.pagehead--ergo, .pagehead--warm { background: var(--surface); }
.pagehead h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); margin-top: 0.7rem; max-width: 16ch; }
.pagehead__lead { font-size: clamp(1.1rem, 2.4vw, 1.32rem); color: var(--text-soft); margin-top: 1.1rem; max-width: 48ch; }
.crumb { font-size: 0.84rem; color: var(--text-soft); }
.crumb a { color: var(--gold); text-decoration: none; }

/* ============================================================
   ERGO-SPUR
   ============================================================ */
.ergo { position: relative; }
.ergo::before { content:""; position:absolute; inset:0; background: var(--surface); border-block: 1px solid var(--border-soft); z-index:-1; }
.ergo__grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 760px) { .ergo__grid { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.ergo h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 0.5rem; }
.ergo p { color: var(--text-soft); margin-top: 0.9rem; max-width: 54ch; }

/* ============================================================
   PROBLEM-KACHELN
   ============================================================ */
.sort__head { max-width: 640px; }
.sort h2 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.sort__head p { color: var(--text-soft); margin-top: 1rem; font-size: 1.1rem; }
.tiles { display: grid; gap: 1.1rem; margin-top: 2.8rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .tiles { grid-template-columns: 1fr 1fr 1fr; } }
.tile { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.7rem 1.6rem 1.5rem; backdrop-filter: blur(6px); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.tile:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--surface-2); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(198,162,76,0.25); }
.tile h3 { font-size: 1.3rem; line-height: 1.22; }
.tile p { color: var(--text-soft); font-size: 0.96rem; margin-top: 0.6rem; }
.tile__arrow { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--gold); font-size: 0.86rem; letter-spacing: 0.02em; }

.safety { margin-top: 2.6rem; background: linear-gradient(120deg, var(--navy), var(--navy-deep)); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem; display: grid; gap: 1.1rem; align-items: center; color: #ECE7DA; }
@media (min-width: 720px) { .safety { grid-template-columns: 1fr auto; gap: 2rem; } }
.safety p { font-size: 1.08rem; }
.safety strong { font-family: var(--font-head); font-weight: 600; color: var(--gold-soft); }

/* ============================================================
   FÜR WEN
   ============================================================ */
.fit { position: relative; }
.fit::before { content:""; position:absolute; inset:0; background: var(--surface); border-block: 1px solid var(--border-soft); z-index:-1; }
.fit h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); max-width: 22ch; }
.fit__grid { display: grid; gap: 1.8rem 2.6rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .fit__grid { grid-template-columns: 1fr 1fr; } }
.fit__col h3 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.fit__col--no h3 { color: var(--text-soft); }
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.fit__list li { position: relative; padding-left: 1.6rem; }
.fit__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.55rem; height: 0.55rem; border-radius: 50%; }
.fit__col--yes .fit__list li::before { background: var(--gold); box-shadow: 0 0 10px -1px var(--gold); }
.fit__col--no .fit__list li::before { background: var(--border); }
.fit__closer { margin-top: 2.5rem; font-family: var(--font-head); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: var(--text); max-width: 48ch; }

/* ============================================================
   CARDS
   ============================================================ */
.cards { display: grid; gap: 1.2rem; margin-top: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.8rem 1.7rem; backdrop-filter: blur(6px); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--surface-2); box-shadow: var(--shadow-soft); }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--text-soft); margin-top: 0.55rem; font-size: 0.98rem; }
.card__arrow { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--gold); font-size: 0.86rem; }

/* ============================================================
   PROSE / INFOGRID / STEPS / QUOTE / FAQ
   ============================================================ */
.prose { max-width: var(--maxw-text); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.9rem; }
.prose p { color: var(--text); }
.prose ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 0.7rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px -1px var(--gold); }
.lead { font-size: 1.22rem; color: var(--text-soft); font-weight: 300; }

.infogrid { display: grid; margin-top: 2.3rem; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.infogrid div { display: grid; grid-template-columns: 1fr; gap: 0.2rem; padding: 1.15rem 1.5rem; border-top: 1px solid var(--border-soft); }
.infogrid div:first-child { border-top: 0; }
@media (min-width: 620px) { .infogrid div { grid-template-columns: 210px 1fr; gap: 1.5rem; align-items: baseline; } }
.infogrid dt, .infogrid .k { font-weight: 600; color: var(--text); font-family: var(--font-head); }
.infogrid dd, .infogrid .v { margin: 0; color: var(--text-soft); }

.steps__grid { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .steps__grid { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.7rem; }
.step__n { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold); }
.step h3 { font-size: 1.25rem; margin-top: 0.5rem; }
.step p { color: var(--text-soft); margin-top: 0.5rem; font-size: 0.97rem; }

.quote { max-width: 840px; margin-inline: auto; text-align: center; font-family: var(--font-head); font-style: italic; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--text); line-height: 1.32; }
.quote span { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

.faq { max-width: var(--maxw-text); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--border-soft); padding: 1.1rem 0; }
.faq summary { font-family: var(--font-head); font-size: 1.18rem; color: var(--text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--text-soft); margin-top: 0.8rem; }

/* ============================================================
   CTA-BAND
   ============================================================ */
.ctaband { position: relative; overflow: hidden; }
.ctaband::before { content:""; position:absolute; inset:0; background: linear-gradient(120deg, var(--navy), var(--navy-deep)); z-index:-1; }
.ctaband::after { content:""; position:absolute; width:520px; height:520px; right:-140px; top:-160px; background: radial-gradient(circle, var(--glow), transparent 62%); z-index:-1; }
.ctaband .wrap { display: grid; gap: 1.4rem; }
.ctaband h2 { color: #F1ECE0; font-size: clamp(1.9rem, 4.5vw, 2.8rem); max-width: 18ch; }
.ctaband p { color: rgba(236,231,218,0.8); max-width: 46ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.5rem; }

/* ============================================================
   ÜBER JULIA
   ============================================================ */
.about__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; } }
.about__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, var(--surface-2), var(--surface)); display: grid; place-items: center; color: var(--text-soft); font-size: 0.85rem; text-align: center; padding: 1rem; border: 1px dashed var(--gold); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: inherit; }
.about__photo:has(img) { border: 0; padding: 0; background: none; }
.rooms { display: grid; gap: 1.1rem; margin-top: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rooms { grid-template-columns: 1fr 1fr 1fr; } }
.room { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, var(--surface-2), var(--surface)); border: 1px dashed var(--gold); display: grid; place-items: center; text-align: center; color: var(--text-soft); font-size: 0.85rem; padding: 1rem; }
.room img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.about h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.about__lead { font-size: 1.22rem; margin-top: 1.1rem; color: var(--text); }
.about blockquote { margin: 1.4rem 0 0; padding-left: 1.1rem; border-left: 2px solid var(--gold); font-family: var(--font-head); font-style: italic; font-size: 1.14rem; color: var(--text); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcards { display: grid; gap: 1.1rem; margin-top: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .tcards { grid-template-columns: 1fr 1fr 1fr; } }
.tcard { margin: 0; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.7rem 1.6rem; }
.tcard p { font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--text); line-height: 1.4; }
.tcard cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: #ECE7DA; padding-block: 3.6rem 2.5rem; border-top: 1px solid var(--border); }
.footer-nl { display: grid; gap: 1.2rem; padding-bottom: 2rem; margin-bottom: 2.2rem; border-bottom: 1px solid rgba(236,231,218,0.15); align-items: center; }
@media (min-width: 760px) { .footer-nl { grid-template-columns: 1fr 1.2fr; gap: 2.5rem; } }
.footer-nl__text h4 { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin: 0 0 0.35rem; letter-spacing: 0; text-transform: none; }
.footer-nl__text p { color: rgba(236,231,218,0.72); font-size: 0.92rem; margin: 0; max-width: 34ch; }
.footer-nl__form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.footer-nl__form input { flex: 1 1 170px; min-width: 0; font-family: var(--font-body); font-size: 0.95rem; padding: 0.72rem 0.95rem; border-radius: 999px; border: 1px solid rgba(236,231,218,0.22); background: rgba(255,255,255,0.06); color: #fff; }
.footer-nl__form input::placeholder { color: rgba(236,231,218,0.5); }
.footer-nl__form button { flex: 0 0 auto; }
.site-footer .wrap { display: grid; gap: 2rem; }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(236,231,218,0.5); margin: 0 0 0.9rem; }
.site-footer a { display: block; text-decoration: none; color: rgba(236,231,218,0.85); padding-block: 0.25rem; }
.site-footer a:hover { color: var(--gold); }
.footer__brand .logo__img { height: 74px; }
.footer__brand .logo__img--ergo { height: 96px; }
.footer__brand p { color: rgba(236,231,218,0.7); font-size: 0.92rem; margin-top: 0.9rem; max-width: 34ch; }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(236,231,218,0.15); margin-top: 1rem; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(236,231,218,0.55); }
.footer__legal a { display: inline; color: rgba(236,231,218,0.7); }

/* ============================================================
   REVEAL-ON-SCROLL (per JS aktiviert → ohne JS sichtbar)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
