/* ============================================================
   KAILUA · Erde trifft Meer
   Tiefsee-Grün als Tiefe, Bronze als Wärme, Cream als Raum.
   Keine externen Fonts: Georgia (Serif) + Systemgrotesk — schnell,
   DSGVO-sauber, und exakt die Brand-Typografie.
   ============================================================ */

:root {
  --tiefsee: #26403A;
  --tiefsee-deep: #1C312D;
  --tiefsee-night: #14211E;
  --espresso: #1A1816;
  --ton: #BB8362;
  --bronze: #9C8259;
  --sand: #E3DACB;
  --cream: #F5F0E8;
  --cream-warm: #FAF7F1;
  --ink-soft: #4A453D;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Calibri', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --w-content: 1080px;
  --w-narrow: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ton); color: var(--cream); }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--tiefsee);
  letter-spacing: 0.005em;
}

img { max-width: 100%; display: block; }
a { color: var(--tiefsee); }

/* ---------- Layout-Helfer ---------- */
.wrap { max-width: var(--w-content); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--w-narrow); }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ton);
  margin-bottom: 18px;
}

.on-dark .kicker { color: var(--ton); }

/* ---------- Reveal on scroll (nur wenn JS aktiv, sonst sofort sichtbar) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: 0.12s; }
html.js .reveal[data-delay="2"] { transition-delay: 0.24s; }
html.js .reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 28px 0;
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.42em;
  color: var(--cream);
  text-decoration: none;
}
.logo span { color: var(--ton); }
.site-header--light .logo { color: var(--tiefsee); }
.header-note {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}
.site-header--light .header-note { color: var(--bronze); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.btn--primary {
  background: var(--ton);
  color: #fff;
  padding: 18px 44px;
}
.btn--primary:hover { background: #A96F4F; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  padding: 17px 42px;
  border: 1px solid rgba(245, 240, 232, 0.4);
}
.btn--ghost:hover { border-color: var(--cream); }
.btn--dark {
  background: var(--tiefsee);
  color: var(--cream);
  padding: 18px 44px;
}
.btn--dark:hover { background: var(--tiefsee-deep); transform: translateY(-1px); }
.btn-note {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--bronze);
}
.on-dark .btn-note { color: rgba(245, 240, 232, 0.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 120% 90% at 75% -10%, rgba(187, 131, 98, 0.14), transparent 55%),
    radial-gradient(ellipse 100% 80% at 20% 110%, rgba(38, 64, 58, 0.9), transparent 60%),
    linear-gradient(165deg, var(--tiefsee) 0%, var(--tiefsee-deep) 55%, var(--tiefsee-night) 100%);
  color: var(--cream);
  padding: 180px 0 130px;
  overflow: hidden;
}
.hero::after {
  /* feines Korn für Tiefe */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.16;
  max-width: 17ch;
  margin-bottom: 30px;
}
.hero h1 em {
  font-style: italic;
  color: var(--ton);
}
.hero .sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(245, 240, 232, 0.78);
  max-width: 52ch;
  margin-bottom: 48px;
}
.hero-line {
  width: 64px;
  height: 1px;
  background: var(--bronze);
  margin-bottom: 36px;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--dark {
  background: linear-gradient(170deg, var(--tiefsee) 0%, var(--tiefsee-deep) 100%);
  color: var(--cream);
}
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--sand { background: var(--sand); }
.section--white { background: var(--cream-warm); }

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  max-width: 24ch;
  margin-bottom: 28px;
}

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.2em; }
.prose strong { color: var(--tiefsee); }
.section--dark .prose { color: rgba(245, 240, 232, 0.82); }
.section--dark .prose strong { color: var(--cream); }

/* ---------- Zweispalter: Für wen / nicht ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.panel {
  padding: 44px 40px;
  border-radius: 4px;
}
.panel--light { background: var(--cream-warm); border: 1px solid rgba(156, 130, 89, 0.25); }
.panel--dark { background: var(--tiefsee); color: var(--cream); }
.panel--dark h3 { color: var(--cream); }
.panel h3 { font-size: 1.25rem; margin-bottom: 22px; }
.panel ul { list-style: none; }
.panel li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 0.99rem;
}
.panel li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ton);
}
.panel--dark li { color: rgba(245, 240, 232, 0.85); }

/* ---------- Methode ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.method-card {
  border-top: 1px solid var(--bronze);
  padding-top: 26px;
}
.method-card .num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ton);
  display: block;
  margin-bottom: 12px;
}
.method-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.method-card p { font-size: 0.96rem; color: var(--ink-soft); }
.section--dark .method-card p { color: rgba(245, 240, 232, 0.75); }

/* ---------- Über Giulia ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(187, 131, 98, 0.35), transparent 60%),
    linear-gradient(160deg, var(--tiefsee) 0%, var(--tiefsee-night) 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.founder-photo .placeholder-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
}
.founder blockquote {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--tiefsee);
  border-left: 2px solid var(--ton);
  padding-left: 28px;
  margin: 30px 0;
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.testimonial {
  background: var(--cream-warm);
  border: 1px solid rgba(156, 130, 89, 0.22);
  border-radius: 4px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
}
.testimonial p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--tiefsee);
  flex: 1;
}
.testimonial cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- Angebot ---------- */
.offer-box {
  background: var(--tiefsee);
  color: var(--cream);
  border-radius: 4px;
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.offer-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 90% at 90% 10%, rgba(187, 131, 98, 0.16), transparent 55%);
}
.offer-box > * { position: relative; }
.offer-box h2 { color: var(--cream); }
.offer-box .offer-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ton);
  margin-bottom: 14px;
}
.offer-box p { color: rgba(245, 240, 232, 0.8); }
.offer-cta { text-align: center; }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .prose { margin: 0 auto 44px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tiefsee-night);
  color: rgba(245, 240, 232, 0.55);
  padding: 56px 0;
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer .logo { font-size: 0.9rem; }
.site-footer nav a {
  color: rgba(245, 240, 232, 0.55);
  text-decoration: none;
  margin-left: 28px;
}
.site-footer nav a:hover { color: var(--cream); }

/* ============================================================
   QUIZ (/test)
   ============================================================ */
.quiz-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 120% 80% at 80% -20%, rgba(187, 131, 98, 0.10), transparent 55%),
    linear-gradient(170deg, var(--tiefsee) 0%, var(--tiefsee-night) 100%);
  color: var(--cream);
}
.quiz-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
}
.quiz-card { width: 100%; max-width: 680px; }

.quiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}
.quiz-bar {
  height: 2px;
  background: rgba(245, 240, 232, 0.15);
  margin-bottom: 56px;
  border-radius: 1px;
  overflow: hidden;
}
.quiz-bar i {
  display: block;
  height: 100%;
  background: var(--ton);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-question {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--cream);
  min-height: 3.6em;
  margin-bottom: 48px;
}

.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  font-family: var(--sans);
  font-size: 1rem;
  text-align: left;
  padding: 17px 24px;
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-radius: 3px;
  color: rgba(245, 240, 232, 0.85);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.quiz-option:hover {
  background: rgba(187, 131, 98, 0.18);
  border-color: var(--ton);
  transform: translateX(4px);
}
.quiz-option:active { transform: translateX(4px) scale(0.995); }

.quiz-step { animation: quizIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes quizIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Intro & Gate */
.quiz-intro h1 {
  color: var(--cream);
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 24px;
}
.quiz-intro p {
  color: rgba(245, 240, 232, 0.75);
  max-width: 48ch;
  margin-bottom: 40px;
}
.quiz-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 44px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ton);
}

.gate h2 { color: var(--cream); font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.gate > p { color: rgba(245, 240, 232, 0.72); margin-bottom: 40px; max-width: 46ch; }
.gate form { display: flex; flex-direction: column; gap: 18px; }
.gate label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 240, 232, 0.6); }
.gate input[type="text"],
.gate input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 1.05rem;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.25);
  border-radius: 3px;
  color: var(--cream);
  transition: border-color 0.25s ease;
}
.gate input:focus { outline: none; border-color: var(--ton); }
.gate .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: rgba(245, 240, 232, 0.65);
  margin-top: 6px;
}
.gate .consent input { margin-top: 4px; accent-color: var(--ton); }
.gate .legal-note {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 4px;
}
.gate .legal-note a { color: rgba(245, 240, 232, 0.6); }
.gate button { margin-top: 18px; }
.gate .error {
  color: #E8A87C;
  font-size: 0.9rem;
  display: none;
}
.gate .error.show { display: block; }

/* Honeypot unsichtbar, aber nicht display:none (manche Bots prüfen das) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   DANKE (/danke)
   ============================================================ */
.result-hero {
  background: linear-gradient(170deg, var(--tiefsee) 0%, var(--tiefsee-night) 100%);
  color: var(--cream);
  padding: 170px 0 100px;
}
.result-hero h1 { color: var(--cream); font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.18; margin-bottom: 20px; }
.result-hero .sub { color: rgba(245, 240, 232, 0.75); max-width: 54ch; }

.scores { display: grid; gap: 36px; margin: 64px 0 0; max-width: 620px; }
.score-row .score-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.score-row .score-label {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
}
.score-row .score-value {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ton);
}
.score-track {
  height: 3px;
  background: rgba(245, 240, 232, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.score-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bronze), var(--ton));
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.result-body { padding: 100px 0; }
.result-body .prose { max-width: 60ch; }

.booking-box {
  margin-top: 72px;
  background: var(--cream-warm);
  border: 1px solid rgba(156, 130, 89, 0.3);
  border-radius: 4px;
  padding: 56px 48px;
  text-align: center;
}
.booking-box h3 { font-size: 1.5rem; margin-bottom: 14px; }
.booking-box > p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 36px; }
.booking-embed {
  border: 1px dashed rgba(156, 130, 89, 0.5);
  border-radius: 4px;
  padding: 48px 24px;
  margin-bottom: 36px;
  color: var(--bronze);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.no-result { padding: 200px 0 120px; text-align: center; }
.no-result h1 { margin-bottom: 20px; }
.no-result p { margin-bottom: 40px; }

/* ============================================================
   Rechtsseiten
   ============================================================ */
.legal-page { padding: 170px 0 110px; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin: 44px 0 14px; }
.legal-page p { max-width: 70ch; margin-bottom: 14px; }
.legal-placeholder {
  background: var(--sand);
  border-radius: 4px;
  padding: 28px 32px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 70ch;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding: 150px 0 90px; }
  .split, .founder, .offer-box, .method-grid, .testimonials { grid-template-columns: 1fr; }
  .offer-box { padding: 48px 32px; }
  .founder { gap: 40px; }
  .founder-photo { max-width: 420px; }
}
