/* ============================================================
   EROSITY – Landingpage  |  Dunkel & edel
   Markenfarbe aus dem Logo: #FFC72C
   Farben, Schriften & Abstände zentral über Variablen anpassbar
   ============================================================ */

:root {
  --bg:        #0f0d09;   /* Seitenhintergrund */
  --bg-soft:   #16130c;   /* Sektionen */
  --bg-card:   #1d1910;   /* Karten */
  --line:      #2e2817;   /* Rahmen / Trennlinien */
  --text:      #ece7db;   /* Fließtext */
  --text-dim:  #a89f8c;   /* gedämpfter Text */
  --gold:      #ffc72c;   /* Markenfarbe aus dem Logo */
  --gold-soft: #ffdb70;
  --gold-deep: #c79613;
  --radius:    14px;
  --oct: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); /* Oktagon wie im Logo */
  --font-head: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.center    { text-align: center; }
.hidden    { display: none !important; }
.gold      { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}

/* ---------- Logo & Icons (Herz-im-Oktagon-Motiv) ---------- */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 34px; width: auto; display: block; }
.logo-img-footer { height: 30px; }

.ico { width: 1em; height: 1em; color: var(--gold); vertical-align: -.12em; }
.ico-xs   { width: .95em; height: .95em; }
.ico-md   { width: 44px; height: 44px; margin-bottom: 1.2rem; }
.ico-lg   { width: 56px; height: 56px; margin-bottom: 1.2rem; }
.ico-hero { width: 58px; height: 58px; margin-bottom: 1.6rem;
            filter: drop-shadow(0 0 18px rgba(255,199,44,.45)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  color: #1a1405;
}
.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,199,44,.25);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,199,44,.12); }

.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: #fff; }

.btn-lg { padding: .95rem 2.4rem; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,13,9,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; gap: .6rem; align-items: center; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,199,44,.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255,199,44,.07), transparent 60%),
    var(--bg);
}

/* großes Logo-Motiv als Wasserzeichen */
.hero-watermark {
  position: absolute;
  top: -120px;
  right: -140px;
  width: 560px;
  height: 560px;
  color: var(--gold);
  opacity: .05;
  transform: rotate(12deg);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,199,44,.07), transparent 55%);
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.2rem;
  color: var(--text-dim);
  font-size: .88rem;
  letter-spacing: .05em;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- Suchbox ---------- */
.search-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  padding: 1.4rem 1.6rem 1.7rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.search-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.2rem;
}

.search-tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: .5rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: all .2s;
}
.search-tab.active {
  background: rgba(255,199,44,.14);
  border-color: var(--gold);
  color: var(--gold);
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .9rem;
  align-items: end;
}

.field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .35rem;
}

.field input,
.field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .65rem .8rem;
  outline: none;
  transition: border-color .2s;
  color-scheme: dark;
}
.field input:focus,
.field select:focus { border-color: var(--gold); }

.field-wide { grid-column: span 2; }

.btn-search { width: 100%; text-align: center; }

/* ---------- Sektionen ---------- */
.section { padding: 100px 0; }

.section-dark { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Einblend-Animation */
.section, .search-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.section.visible, .search-card.visible { opacity: 1; transform: none; }

/* ---------- Split (Refugium) ---------- */
.split-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: center;
}

.split-text p { color: var(--text-dim); margin-bottom: 1.2rem; }
.split-text .btn { margin-top: .6rem; }

/* Zitat-Kachel in Oktagon-Form – wie das Logo */
.visual-frame {
  clip-path: var(--oct);
  background: var(--gold);
  padding: 2px;
}

.visual-inner {
  clip-path: var(--oct);
  background: linear-gradient(160deg, #2a2210, #14100a 70%);
  padding: 4.5rem 3rem;
  text-align: center;
}
.visual-inner p {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1.5;
}

/* ---------- Karten (Vorteile) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); }

/* Icon-Badge in Oktagon-Form – wie das Logo */
.card-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  clip-path: var(--oct);
  background: rgba(255,199,44,.14);
  border: 1px solid var(--gold);
  margin-bottom: 1.2rem;
}
.card-icon .ico { width: 24px; height: 24px; }

.card p { color: var(--text-dim); font-size: .95rem; }

/* ---------- Gastgeber ---------- */
.host-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 4rem;
  align-items: center;
}

.host-text p { color: var(--text-dim); margin-bottom: 1.2rem; }

.host-list {
  list-style: none;
  margin: 0 0 1.8rem;
}
.host-list li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: .6rem;
  color: var(--text);
}
/* Herz als Aufzählungszeichen – wie das Logo */
.host-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: .95em;
  height: .95em;
  background: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M32 52C19 41.5 10 33 10 23.5 10 16.5 15.5 11 22.5 11 26.4 11 30 12.9 32 16 34 12.9 37.6 11 41.5 11 48.5 11 54 16.5 54 23.5 54 33 45 41.5 32 52Z"/></svg>') no-repeat center / contain;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M32 52C19 41.5 10 33 10 23.5 10 16.5 15.5 11 22.5 11 26.4 11 30 12.9 32 16 34 12.9 37.6 11 41.5 11 48.5 11 54 16.5 54 23.5 54 33 45 41.5 32 52Z"/></svg>') no-repeat center / contain;
}

.host-stats {
  display: grid;
  gap: 1.2rem;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.3rem 1.6rem;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1.1;
}
.stat span { color: var(--text-dim); font-size: .9rem; }

/* ---------- CTA ---------- */
.section-cta {
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(255,199,44,.18), transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.section-cta p { color: var(--text-dim); max-width: 540px; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0906;
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-claim {
  color: var(--text-dim);
  font-size: .8rem;
  letter-spacing: .22em;
  margin-top: .9rem;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s;
}
.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  color: var(--text-dim);
  font-size: .82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split-inner, .host-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .host-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-watermark { width: 380px; height: 380px; top: -80px; right: -120px; }
}

@media (max-width: 680px) {
  .logo-img { height: 26px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: .5rem 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 24px; }
  .nav-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .field-wide { grid-column: span 1; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .btn-search { grid-column: span 2; }
  .host-stats { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
