/* ════════════════════════════════════════════════
   Skroče Coaching – gemeinsames Stylesheet
   ════════════════════════════════════════════════ */

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

:root {
  --cream:  #F1EFE8;
  --sand:   #D3D1C7;
  --stone:  #888780;
  --ink:    #2C2C2A;
  --accent: #0F6E56;
  --teal-800:   #085041;
  --coral:      #993C1D;
  --coral-hover:#D85A30;
  --purple:     #534AB7;
  --teal-50:    #E1F5EE;
  --teal-100:   #9FE1CB;
}

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background-color: var(--cream);
  color: var(--ink);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed; 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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* ── Topbar (fixe Leiste oben, scrollt mit) ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: rgba(241,239,232,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.topbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: .6rem;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-brand .tb-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--teal-800);
}
.topbar-brand .tb-role {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}
@media (max-width: 560px) {
  .topbar-brand .tb-role { display: none; }
  .topbar-brand .tb-name { font-size: 1.1rem; }
}

/* Burger im Balken (links) */
.nav-toggle {
  position: relative;
  z-index: 101;
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  transition: opacity .2s;
  padding: 0;
}
.nav-toggle:hover span { background: var(--accent); }
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .2s, background .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(44,44,42,0.35);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 105;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px; max-width: 80vw;
  background: var(--cream);
  border-right: 1px solid var(--sand);
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  z-index: 110;
  padding: 5.5rem 2.5rem 2.5rem;
  display: flex; flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer .nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--teal-800);
  margin-bottom: 0.25rem;
  letter-spacing: .02em;
}
.nav-drawer .nav-sub {
  font-size: .62rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2.5rem;
}

.nav-links { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.nav-links a {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  padding: .6rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, padding-left .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  padding-left: .5rem;
}
.nav-links a.active { border-bottom-color: var(--sand); }

.nav-drawer .nav-contact {
  margin-top: auto;
  padding-top: 2rem;
  font-size: .8rem; font-weight: 400;
  color: var(--stone);
}
.nav-drawer .nav-contact a { color: var(--accent); text-decoration: none; }

/* ── Seiten-Layout ── */
.page {
  position: relative; z-index: 1; flex: 1;
  display: grid; grid-template-rows: auto 1fr auto;
  max-width: 760px; margin: 0 auto; padding: 60px 2rem 0; width: 100%;
}

header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--sand);
}
.logo-line { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem,6vw,3.2rem); font-weight: 400;
  letter-spacing: .02em; color: var(--teal-800); line-height: 1.1;
}
.role-badge {
  font-size: .7rem; font-weight: 400; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal-800);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: .25rem .7rem; border-radius: 2rem;
  white-space: nowrap; position: relative; top: -.15rem;
}

main { padding: 4rem 0; display: flex; flex-direction: column; gap: 2.5rem; }
/* Index ohne Header: etwas mehr Abstand oben */
header + main { padding-top: 4rem; }
.page > main:first-child { padding-top: 3rem; }

.eyebrow {
  font-size: .65rem; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone);
  margin-bottom: 1.4rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content:''; display:inline-block; width:28px; height:1px; background:var(--stone); }

.headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem,6vw,3rem); font-weight: 400;
  line-height: 1.25; letter-spacing: -.01em; color: var(--teal-800);
}
.headline em { font-style: italic; color: var(--accent); }

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--teal-800); margin-bottom: 1rem;
}

.body-text { font-size: 1rem; font-weight: 400; line-height: 1.85; color: #4a4843; }
.body-text p { margin-bottom: 1.25rem; }
.body-text p:last-child { margin-bottom: 0; }
.body-text strong { font-weight: 400; color: var(--ink); }

/* Statements (Zitate mit Gedankenstrichen erlaubt) */
.statements { display: flex; flex-direction: column; gap: 1.25rem; margin: .5rem 0; }
.statement {
  border-left: 2px solid var(--teal-100);
  padding: .25rem 0 .25rem 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem; font-weight: 400; font-style: italic;
  line-height: 1.6; color: var(--ink);
}

.divider { width: 48px; height: 1px; background: var(--sand); }

/* Ablauf-Schritte */
.steps { display: flex; flex-direction: column; gap: 2rem; }
.step { display: flex; flex-direction: column; gap: .6rem; }
.step-num {
  font-size: .65rem; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem; font-weight: 400; color: var(--teal-800);
}
.step-body { font-size: .98rem; font-weight: 400; line-height: 1.8; color: #4a4843; }
.step-body strong { font-weight: 400; color: var(--ink); }

/* CTA card */
.cta-card {
  border: 1px solid var(--teal-100);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  background: var(--teal-50);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.cta-card p { font-size: 1rem; font-weight: 400; line-height: 1.8; color: #4a4843; }
.cta-card strong { font-weight: 400; color: var(--ink); }
.cta-button {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--coral); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.75rem; border-radius: 2rem;
  transition: background .25s, transform .15s; align-self: flex-start;
}
.cta-button:hover { background: var(--coral-hover); transform: translateY(-1px); }
.cta-button svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }

/* Landing-spezifisch: Linkliste der Bereiche */
.lander-links { display: flex; flex-direction: column; gap: 0; margin-top: 1rem; }
.lander-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sand);
  text-decoration: none;
  transition: padding-left .25s;
}
.lander-link:first-child { border-top: 1px solid var(--sand); }
.lander-link:hover { padding-left: .75rem; }
.lander-link-text { display: flex; flex-direction: column; gap: .3rem; }
.lander-link-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 400; color: var(--teal-800);
}
.lander-link-desc { font-size: .85rem; font-weight: 400; color: var(--stone); }
.lander-link-arrow {
  color: var(--accent); flex-shrink: 0; margin-left: 1rem;
  transition: transform .25s;
}
.lander-link:hover .lander-link-arrow { transform: translateX(4px); }
.lander-link-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Kontaktformular */
.contact-form-block { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width:480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label {
  font-size: .7rem; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: var(--stone);
}
.form-group input, .form-group textarea {
  font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 400;
  color: var(--ink); background: transparent; border: none;
  border-bottom: 1px solid var(--sand); padding: .6rem 0;
  outline: none; transition: border-color .2s; width: 100%;
  resize: none; -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #b8b4ad; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 100px; line-height: 1.7; }
.hp-field { opacity: 0; position: absolute; top: -9999px; left: -9999px; height: 0; }
.form-submit {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--coral); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; cursor: pointer;
  padding: .85rem 1.75rem; border-radius: 2rem;
  transition: background .25s, transform .15s, opacity .2s;
  align-self: flex-start; margin-top: .5rem;
}
.form-submit:hover:not(:disabled) { background: var(--coral-hover); transform: translateY(-1px); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-submit svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.form-success {
  display: none; background: var(--teal-50); border: 1px solid var(--teal-100);
  border-radius: 4px; padding: 1.5rem 1.75rem;
  font-size: .95rem; font-weight: 400; color: #4a4843; line-height: 1.75;
}
.form-success strong { font-weight: 400; color: var(--ink); }
.form-error { display: none; font-size: .8rem; font-weight: 400; color: #a05050; margin-top: .25rem; }

.contact-block { display: flex; flex-direction: column; gap: 1rem; }
.contact-label { font-size: .65rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.contact-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 400;
  color: var(--ink); text-decoration: none; transition: color .25s;
  border-bottom: 1px solid var(--sand); padding-bottom: .4rem; letter-spacing: .02em;
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); }
.contact-link svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; opacity:.6; }

/* Impressum */
.impressum { border-top: 1px solid var(--sand); padding-top: 2rem; margin-top: 1rem; }
.impressum-toggle {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: .5rem;
  font-family: 'DM Sans', sans-serif; font-size: .68rem; font-weight: 400;
  letter-spacing: .15em; text-transform: uppercase; color: var(--stone);
  padding: 0; transition: color .2s;
}
.impressum-toggle:hover { color: var(--ink); }
.impressum-toggle svg { width:12px; height:12px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s; }
.impressum-toggle.open svg { transform: rotate(180deg); }
.impressum-content { display: none; margin-top: 1.5rem; font-size: .8rem; font-weight: 400; line-height: 1.9; color: var(--stone); max-width: 480px; }
.impressum-content.visible { display: block; }
.impressum-content h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: .75rem; }
.impressum-content .imp-section { margin-top: 1.25rem; }
.impressum-content strong { font-weight: 400; color: var(--ink); }
.impressum-content a { color: var(--accent); text-decoration: none; }

footer { padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--sand); display: flex; flex-direction: column; gap: .5rem; }
.footer-copy { font-size: .75rem; font-weight: 400; color: var(--stone); letter-spacing: .04em; }

@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
header { animation: fadeUp .7s ease both; }
main   { animation: fadeUp .7s .15s ease both; }
footer { animation: fadeUp .7s .3s ease both; }

/* ════════════════════════════════════════════════
   Footer Social-Links
   ════════════════════════════════════════════════ */
.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--stone);
  text-decoration: none;
  transition: color .2s;
}
.footer-social a:hover { color: var(--accent); }
.footer-social svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  max-width: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ════════════════════════════════════════════════
   Index: aktuelle Blog-Beiträge
   ════════════════════════════════════════════════ */
.home-blog { display: flex; flex-direction: column; gap: 0; }
.home-blog-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: .5rem;
}
.home-blog-head .section-title { margin-bottom: 0; }
.home-blog-head a {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
}
.home-blog-card {
  display: flex; gap: 1.25rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--sand);
  text-decoration: none; transition: padding-left .25s; align-items: center;
}
.home-blog-card:first-of-type { border-top: 1px solid var(--sand); }
.home-blog-card:hover { padding-left: .75rem; }
.home-blog-card-img { width: 120px !important; height: 90px !important; min-width: 120px; max-width: 120px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: var(--sand); }
.home-blog-card-noimg { width: 120px; height: 90px; min-width: 120px; border-radius: 4px; flex-shrink: 0; background: var(--teal-50); display: flex; align-items: center; justify-content: center; }
.home-blog-card-noimg svg { width: 24px; height: 24px; stroke: var(--teal-100); fill: none; stroke-width: 1.5; }
.home-blog-card-text { display: flex; flex-direction: column; gap: .3rem; }
.home-blog-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--teal-800); line-height: 1.2; }
.home-blog-card-date { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
@media (max-width:520px){ .home-blog-card-img,.home-blog-card-noimg{ width:80px !important; height:64px !important; min-width:80px; max-width:80px; } .home-blog-card-title{ font-size:1.2rem; } }

/* ════════════════════════════════════════════════
   Sprachumschalter im Menü – moderner Pill-Toggle
   ════════════════════════════════════════════════ */
.nav-lang {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: .25rem;
  background: var(--sand);
  border-radius: 2rem;
  position: relative;
  align-self: flex-start;
  gap: 0;
}
.nav-lang a,
.nav-lang button {
  position: relative;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  padding: .4rem 0;
  width: 3.2rem;
  text-align: center;
  border-radius: 2rem;
  transition: color .25s ease;
  /* Button-Reset für den Umschalter */
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-lang a:hover,
.nav-lang button:hover { color: var(--ink); }
.nav-lang a.active,
.nav-lang button.active {
  color: #fff;
}
/* Der gleitende Hintergrund-Indikator */
.nav-lang::before {
  content: '';
  position: absolute;
  top: .25rem;
  bottom: .25rem;
  width: calc(50% - .25rem);
  background: var(--teal-800);
  border-radius: 2rem;
  transition: transform .3s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
}
/* Indikator links (DE aktiv) = Standard; rechts wenn EN aktiv */
.nav-lang.lang-en::before { transform: translateX(100%); }
.nav-lang-sep { display: none; }

/* ════════════════════════════════════════════════
   Fixe Topbar mit Burger + zentriertem Namen
   ════════════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 60;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: rgba(241,239,232,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.topbar-burger {
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  flex-shrink: 0;
  z-index: 120;
  position: relative;
}
.topbar-burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.topbar-burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.topbar-burger.open span:nth-child(2) { opacity: 0; }
.topbar-burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.topbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: .6rem;
  text-decoration: none;
  white-space: nowrap;
}
.topbar-brand .tb-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal-800);
  letter-spacing: .02em;
}
.topbar-brand .tb-role {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}
@media (max-width: 540px) {
  .topbar-brand .tb-name { font-size: 1.05rem; }
  .topbar-brand .tb-role { display: none; }
}

/* Inhalt unter die fixe Topbar schieben */
body.has-topbar .page { padding-top: 64px; }

/* ════════════════════════════════════════════════
   Portrait-Bild (z.B. Über mich)
   ════════════════════════════════════════════════ */
.content-image {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.content-image-wrap {
  margin: .5rem 0;
}
.content-image-caption {
  font-size: .75rem;
  font-weight: 400;
  color: var(--stone);
  text-align: center;
  margin-top: .6rem;
  letter-spacing: .03em;
}

/* ════════════════════════════════════════════════
   Zweisprachigkeit – Inline-Sprachumschaltung
   Standard: Deutsch sichtbar, Englisch versteckt.
   body.lang-en dreht das um. display:revert stellt
   die natürliche Anzeige (inline/block) je Tag wieder her.
   ════════════════════════════════════════════════ */
[data-lang="en"] { display: none; }
body.lang-en [data-lang="de"] { display: none; }
body.lang-en [data-lang="en"] { display: revert; }
