/* =========================================================
   Sophia Debryckyi — Coaching Website
   Palette: 344E41 (dark) / 3A5A40 / 5C7650 / A3B18A / DAD7CD (light)
   ========================================================= */

/* Inter — self-hosted (kein Nachladen von Google-Servern, kein IP-Abfluss an Google) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --dark: #344E41;
  --primary: #3A5A40;
  --secondary: #5C7650;
  --accent: #A3B18A;
  --cream: #DAD7CD;
  --white: #FFFFFF;
  --text: #2B332C;
  --max-width: 1120px;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(52, 78, 65, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#about,
#angebot,
#stimmen,
#kontakt {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, .display {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.section {
  padding: 96px 0;
}

.section--muted {
  background: var(--cream);
}

.section--tight-bottom {
  padding-bottom: 48px;
}

.section--tighter-bottom {
  padding-bottom: 24px;
}

.section--flush-bottom {
  padding-bottom: 0;
}

.section--tight-top {
  padding-top: 48px;
}

.section--tighter-top {
  padding-top: 24px;
}

.section--flush-top {
  padding-top: 0;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head p {
  color: #55604F;
  font-size: 1.05rem;
}

/* "Über mich" and "Mein Coaching-Ansatz" intros span the full container
   width, flush with the hero image above and the credentials column to
   the right, set in justified type. */
.section-head--wide {
  max-width: none;
}

.section-head--wide p {
  text-align: justify;
  text-justify: inter-word;
}

/* "Angebot" intro text follows the same full-width, justified treatment.
   It's also the last element in the section, so its default bottom margin
   is removed to keep the beige area's top/bottom padding symmetric. */
#angebot .section-head {
  max-width: none;
  margin-bottom: 0;
}

#angebot .section-head p {
  text-align: justify;
  text-justify: inter-word;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover { background: var(--dark); }

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn--outline:hover { background: var(--primary); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(52, 78, 65, 0.08);
}

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

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  line-height: 1.2;
}

.logo-block {
  position: relative;
  display: block;
}

.logo-sub {
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.lang-toggle {
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover {
  background: var(--primary);
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark);
  cursor: pointer;
}

@media (max-width: 859px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--cream) 0%, #EFEEE7 55%, var(--white) 100%);
  padding: 64px 0 0;
  position: relative;
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}

.hero-copy {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
}

.hero .lead {
  font-size: 1.3rem;
  color: #465045;
  text-align: justify;
  text-justify: inter-word;
}

.hero .lead a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.hero-portrait {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

@media (max-width: 899px) {
  .hero-portrait { justify-content: center; }
}

.hero-portrait img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.08);
  transform-origin: bottom center;
}

@media (max-width: 899px) {
  .hero-portrait img {
    height: auto;
    max-height: 380px;
    margin: 0 auto;
  }
}

/* ---------- Werdegang / Timeline ---------- */
.about-grid {
  display: grid;
  gap: 56px;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.werdegang-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.timeline {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
  justify-content: space-between;
}

.timeline-item { position: relative; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--cream);
}

.timeline-item .when {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-item h3 {
  font-size: 1.08rem;
  margin: 4px 0 2px;
}

.timeline-item .where {
  font-size: 0.92rem;
  color: #6B7566;
  font-weight: 500;
}

.col-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  margin-bottom: 20px;
}

.credential-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credential-list li {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(52,78,65,0.1);
  border-radius: 12px;
  font-size: 0.95rem;
}

.credential-list li strong { color: var(--dark); }

.section-divider {
  border: 0;
  border-top: 1px solid var(--dark);
  margin: 56px 0;
}

.checklist {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .checklist { grid-template-columns: 1fr 1fr; }
}

.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #55604F;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* ---------- Angebot ---------- */
.coach-section {
  margin-top: 56px;
}

.coach-heading {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.coach-subtitle {
  color: #55604F;
  font-size: 1rem;
  margin-bottom: 12px;
}

.coach-lead {
  color: #55604F;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.coach-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .coach-grid--two,
  .coach-grid--three,
  .coach-grid--four { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}

@media (min-width: 1080px) {
  .coach-grid--three { grid-template-columns: repeat(3, 1fr); }
  .coach-grid--four { grid-template-columns: repeat(4, 1fr); }
}

.coach-box {
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.coach-box h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0;
}

.coach-box__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 16px;
}

.coach-box__duration {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.coach-box__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.coach-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coach-box ul li {
  font-size: 0.92rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.coach-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.coach-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

.coach-box p:last-child {
  margin-bottom: 0;
}

.coach-box__tagline {
  font-size: 0.95rem;
}

.coach-box--accent {
  background: var(--cream);
  color: var(--dark);
}

.coach-box--white {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(52, 78, 65, 0.12);
  box-shadow: none;
}

.coach-box--photo {
  padding: 0;
  overflow: hidden;
}

.coach-box--photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

/* ---------- Testimonials ---------- */
.testimonial-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 0 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (min-width: 760px) {
  .testimonial-card { flex: 0 0 calc((100% - 2 * 32px) / 3); }
}

.testimonial-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(52, 78, 65, 0.15);
  box-shadow: var(--shadow);
  color: var(--primary);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.testimonial-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

.testimonial-arrow[hidden] { display: none; }

.testimonial-card .quote-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.testimonial-card p.quote {
  font-style: italic;
  color: #55604F;
}

.testimonial-card .author {
  margin-top: 16px;
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

.calendly-inline-widget {
  background: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: var(--cream);
  padding: 56px 0 28px;
  font-family: 'Inter', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr 0.95fr auto;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

.footer-brand { display: flex; flex-direction: column; }

.footer-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
}

.footer-tagline {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(218, 215, 205, 0.85);
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--cream);
  margin: 0 0 14px;
}

.footer-contact-links {
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
}

.footer-contact-links a[href^="mailto"] {
  white-space: nowrap;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-legal-links {
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 16px;
}

.footer-cancel-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(163, 177, 138, 0.35);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-cancel-btn:hover {
  background: rgba(163, 177, 138, 0.55);
  text-decoration: none;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  height: auto;
}

.footer-logo--eca { width: 165px; }
.footer-logo--qsa { width: 195px; }

.footer-grid a { color: var(--cream); opacity: 0.9; }
.footer-grid a:hover { opacity: 1; }

.footer-bottom {
  margin-top: 36px;
  font-size: 0.8rem;
  color: rgba(218, 215, 205, 0.7);
}

.legal-page .section { padding-top: 140px; }
.legal-page h2 { margin-top: 32px; }
.legal-page h3 { margin-top: 20px; font-size: 1.05rem; }

/* ---------- Kontaktformular (Impressum) ---------- */
.contact-form { margin-top: 20px; max-width: 480px; }
.contact-form .form-row { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.form-notice--success { background: var(--cream); color: var(--dark); border-left: 4px solid var(--primary); }
.form-notice--error { background: #FCE4D6; color: #7A2E0E; border-left: 4px solid #C0522A; }

.legal-note {
  background: var(--cream);
  border-left: 4px solid var(--secondary);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 32px;
}
