/* ============================================================
   etsah consulting — style.css
   Dark, elegant, nature-driven one-pager
   ============================================================ */

:root {
  --bg: #0d110f;
  --bg-2: #131916;
  --bg-3: #1a211d;
  --line: rgba(233, 230, 223, 0.12);
  --text: #ece9e1;
  --muted: #a9a89d;
  --accent: #cfa96b;
  --accent-soft: rgba(207, 169, 107, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1160px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Language toggle: hide the inactive language */
html[data-lang="de"] .en { display: none !important; }
html[data-lang="en"] .de { display: none !important; }

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 420; line-height: 1.15; }

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #14100a; }
.btn-primary:hover { background: #ddb87a; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(207, 169, 107, 0.25); }

.btn-ghost { border-color: rgba(236, 233, 225, 0.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(236, 233, 225, 0.07); transform: translateY(-2px); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  padding: 1rem 0;
  /* Dunkler Verlauf, damit Logo und Menü auch über hellem Hero lesbar sind */
  background: linear-gradient(to bottom, rgba(13, 17, 15, 0.78), rgba(13, 17, 15, 0));
}

.nav.scrolled {
  background: rgba(13, 17, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #d9d6cd;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 0.55rem 1.25rem; font-size: 0.85rem; color: #14100a; }

/* Language switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.lang-switch button.active { background: var(--accent); color: #14100a; }

/* Mobile nav */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
  z-index: 110;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 15, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}
@media (max-width: 900px) {
  /* iOS/Android rendern background-attachment: fixed fehlerhaft */
  .hero-bg { background-attachment: scroll; }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,17,15,0.25) 0%, rgba(13,17,15,0.05) 40%, rgba(13,17,15,0.82) 82%, var(--bg) 100%);
}

.hero-content {
  width: 100%;
  padding-bottom: clamp(4rem, 10vh, 7.5rem);
}

.hero h1 { max-width: 12em; margin-bottom: 1.4rem; text-wrap: balance; }
.hero .lead { margin-bottom: 2.2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.4rem;
  text-decoration: none;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Name / meaning band ---------- */

.meaning { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.meaning-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.meaning-hebrew {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 5.5rem);
  color: var(--accent);
  line-height: 1;
}
.meaning-hebrew small {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

.meaning-intro {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* Rat · Plan · Purpose — drei typografische Säulen */
.meaning-triad {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.4rem);
  margin-bottom: 1.6rem;
}
.meaning-triad li {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1;
  color: var(--accent);
  position: relative;
}
.meaning-triad li + li::before {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 3vw, 2.4rem) / -2);
  top: 0.1em;
  bottom: 0.05em;
  width: 1px;
  background: rgba(207, 169, 107, 0.4);
}

.meaning-punchline {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.4;
  color: var(--text) !important;
  max-width: 24em;
}
.meaning-punchline .word-chaos {
  color: var(--muted);
  font-style: italic;
  /* leichter „Rauschen"-Effekt: unruhige Unterlinie */
  text-decoration: underline wavy rgba(169, 168, 157, 0.5);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
.meaning-punchline .word-kurs {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.05em;
}

.meaning p { color: var(--muted); margin-top: 1rem; max-width: 40em; }

@media (max-width: 700px) {
  .meaning-grid { grid-template-columns: 1fr; }
}

/* ---------- Pillars (Angebot) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.5vw, 2rem);
}
@media (max-width: 1080px) { .pillars { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

.pillar {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar:hover { transform: translateY(-5px); border-color: rgba(207, 169, 107, 0.4); }

.pillar-img { aspect-ratio: 16 / 9.5; overflow: hidden; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pillar:hover .pillar-img img { transform: scale(1.045); }

.pillar-body { padding: clamp(1.6rem, 3vw, 2.4rem); flex: 1; display: flex; flex-direction: column; }
.pillar-body .eyebrow { margin-bottom: 0.6rem; }
.pillar-body h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }
.pillar-body > p { color: var(--muted); margin-bottom: 1.4rem; }

/* Liste schließt direkt an den Text an — überschüssige Höhe bleibt unten frei */
.pillar ul { list-style: none; }
.pillar ul li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 0.97rem;
}
.pillar ul li::before { content: "—"; color: var(--accent); flex-shrink: 0; }
.pillar ul li strong { font-weight: 600; }
.pillar ul li span.desc { color: var(--muted); }

/* Weiterführender Link am Fuß einer Säule */
.pillar-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: gap 0.25s ease;
}
.pillar-more:hover { gap: 0.85rem; text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- Page hero (Unterseiten) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(70vh, 620px);
  padding-top: 6rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 900px) { .page-hero-bg { background-attachment: scroll; } }
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,17,15,0.55) 0%, rgba(13,17,15,0.35) 35%, rgba(13,17,15,0.85) 80%, var(--bg) 100%);
}
.page-hero-content { padding-bottom: clamp(3rem, 7vh, 5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.2rem; text-wrap: balance; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- CTA-Band ---------- */

.cta-band {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.7rem; }
.cta-band p { color: var(--muted); max-width: 34em; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 700px) {
  .cta-band { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-band-actions { flex-direction: column; }
  .cta-band-actions .btn { text-align: center; }
}

/* ---------- Panorama quote ---------- */

.panorama {
  position: relative;
  isolation: isolate;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
@media (max-width: 900px) { .panorama { background-attachment: scroll; min-height: 46vh; } }

.panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(13,17,15,0.35) 18%, rgba(13,17,15,0.35) 82%, var(--bg) 100%);
}

.panorama blockquote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 3rem);
  max-width: 22em;
  padding: 0 24px;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}

/* ---------- Reisen (journeys) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.5vw, 2rem);
}
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(207, 169, 107, 0.4); }

.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 1.5rem 1.6rem 1.8rem; }
.card-body h3 { margin-bottom: 0.6rem; font-size: 1.3rem; }
.card-body p { color: var(--muted); font-size: 0.95rem; }

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.9rem;
}

.reisen-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.5rem 1.8rem;
  border: 1px dashed rgba(207, 169, 107, 0.45);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- About ---------- */

.about { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-media {
  position: sticky;
  top: 100px;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  /* Einspaltig darf das Foto nicht kleben, sonst überdeckt es den Text */
  .about-media { position: static; }
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-photo img { width: 100%; }

/* Stationen — beruflicher Werdegang als ruhige Zeitleiste */
.stations {
  list-style: none;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}

.stations li { position: relative; padding-bottom: 2rem; }
.stations li:last-child { padding-bottom: 0; }

/* Punkt auf der Linie */
.stations li::before {
  content: "";
  position: absolute;
  left: calc(-1.6rem - 4.5px);
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.stations li:not(:first-child)::before { background: var(--muted); opacity: 0.55; }

.station-year {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.stations li:not(:first-child) .station-year { color: var(--muted); }

.stations h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.stations p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 40em; }

.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { color: var(--muted); margin-bottom: 1.1rem; max-width: 42em; }
.about-text p strong { color: var(--text); }

.badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.badge {
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: var(--muted);
}
.badge.gold { border-color: rgba(207, 169, 107, 0.5); color: var(--accent); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.5vw, 2rem);
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  counter-increment: step;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact {
  position: relative;
  isolation: isolate;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(13,17,15,0.72) 40%, rgba(13,17,15,0.86) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; max-width: 32em; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 1.02rem;
  transition: color 0.2s;
}
.contact-line:hover { color: var(--accent); }
.contact-line svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.75; }

.contact-ctas { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Form */
.form {
  background: rgba(19, 25, 22, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.form h3 { margin-bottom: 1.4rem; }

.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.1rem 0 0.4rem;
}
.form label:first-of-type { margin-top: 0; }

.form input, .form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }

.form .btn { margin-top: 1.5rem; width: 100%; text-align: center; }

.form-hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }
.form-hint a { color: var(--accent); }

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-status.sending { color: var(--muted); }
.form-status.success { background: rgba(126, 168, 134, 0.14); border: 1px solid rgba(126, 168, 134, 0.45); color: #a9cbb1; }
.form-status.error { background: rgba(200, 90, 80, 0.12); border: 1px solid rgba(200, 90, 80, 0.4); color: #dfa39c; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.footer img { height: 26px; opacity: 0.8; }
.footer nav { display: flex; gap: 1.4rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

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

/* ---------- Legal pages ---------- */

.legal { padding: 9rem 0 5rem; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--accent); }
