/* =====================================================================
   Robertina Gut – Yoga
   Statische One-Page-Website · Mobile first (min-width-Breakpoints)
   Farbpalette: Navy / Creme / Salbei / Terrakotta-Braun
   ===================================================================== */

/* ---------- Farb- & Design-Tokens ---------- */
:root {
  /* Palette: colorhunt.co/palette/fff9d2ffebccbfddf08cc0eb
     Rollenbasiert benannt → Palette wechseln heisst nur diese Werte ändern. */
  --surface:   #FFF9D2;   /* Seitenhintergrund */
  --surface-2: #BFDDF0;   /* sekundäre Flächen / Bänder / Karten-Hintergrund */
  --wash-a:    #FFEBCC;   /* weicher Verlauf (Peach) */
  --wash-b:    #8CC0EB;   /* weicher Verlauf / kräftigeres Akzent-Blau */

  /* abgeleitete Töne für Lesbarkeit & Kontrast */
  --surface-soft: #FFFCEB;   /* minimal heller als Surface, für Karten */
  --deep:         #1E3A4F;   /* dunkler Anker: dunkle Flächen, Footer, Icons */
  --accent:       #2C6E9B;   /* kräftiges Blau für Links/Buttons/Akzent-Text (lesbar) */
  --accent-dark:  #21567A;   /* Hover */
  --ink:          #23414F;   /* Fliesstext auf hellem Grund */
  --ink-soft:     #566A76;   /* gedämpfter Text */

  --maxw: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -24px rgba(30, 58, 79, 0.45);

  --font-head: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* flüssige Abstände */
  --gap:   clamp(1rem, 4vw, 2rem);
  --pad-y: clamp(3.5rem, 9vw, 7rem);
}

/* ---------- Reset / Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;           /* niemals horizontal scrollen */
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 5vw, 2.5rem);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.eyebrow-light { color: var(--surface); opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;                    /* touch-taugliches Tap-Target */
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }

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

.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: rgba(30, 58, 79, 0.28);
}
.btn-ghost:hover { border-color: var(--deep); color: var(--deep); }

.btn-block { width: 100%; }

/* =====================================================================
   HEADER / NAVIGATION  (mobile first: Hamburger + Overlay)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 58, 79, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 249, 210, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--surface);
  font-family: var(--font-head);
  font-size: 1.25rem;
}
.brand:hover { color: var(--surface); }
.brand-mark { width: 30px; height: 30px; }
.brand-text { white-space: nowrap; }

/* Hamburger-Button */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  height: 2px;
  width: 100%;
  background: var(--surface);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay-Menü (mobil) */
.nav {
  position: fixed;
  inset: 4.25rem 0 auto 0;
  background: var(--deep);
  border-bottom: 1px solid rgba(255, 249, 210, 0.12);
  max-height: calc(100dvh - 4.25rem);
  overflow-y: auto;
  transform: translateY(-120%);
  transition: transform 0.28s ease;
  box-shadow: var(--shadow);
}
.nav.open { transform: translateY(0); }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem clamp(1.1rem, 5vw, 2.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-list a {
  display: block;
  padding: 0.85rem 0.25rem;
  color: var(--surface);
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 249, 210, 0.12);
}
.nav-list a:hover { color: var(--wash-b); }
.nav-list a.is-active { color: var(--wash-b); font-weight: 600; }
.nav-cta { color: var(--wash-b); font-weight: 600; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--wash-a) 52%, var(--surface) 100%);
  padding-block: clamp(3rem, 12vw, 7rem);
}
.hero-inner {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}
.hero-title {
  /* skaliert mit der Viewport-Breite und bleibt so einzeilig, ohne zu überlaufen */
  font-size: min(5.4vw, 3.8rem);
  white-space: nowrap;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* =====================================================================
   ABSCHNITTE (generisch)
   ===================================================================== */
.section { padding-block: var(--pad-y); }
.section-alt { background: var(--surface-2); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  gap: clamp(1.75rem, 6vw, 3.5rem);
}
.about-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-text h2 { font-size: clamp(2rem, 7vw, 3rem); }
.about-facts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.2rem 1.3rem;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 0.5rem;
}
.about-facts li { color: var(--ink-soft); }
.about-facts strong { color: var(--deep); font-weight: 600; }

/* ---------- Angebote (Karten) ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 12px 30px -22px rgba(30, 58, 79, 0.5);
  border: 1px solid rgba(30, 58, 79, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px -24px rgba(30, 58, 79, 0.5);
}
.card-icon { font-size: 1.9rem; display: block; margin-bottom: 0.6rem; }
.card h3 { font-size: 1.4rem; }
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Ansatz / Zitat-Band ---------- */
.section-quote {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(44, 110, 155, 0.35), transparent 55%),
    var(--deep);
  color: var(--surface);
}
.quote-inner { max-width: 46rem; }
.section-quote h2 { color: var(--surface); font-size: clamp(2rem, 6.5vw, 3.2rem); }
.quote-text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  line-height: 1.5;
  color: rgba(255, 249, 210, 0.92);
  margin: 0;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 6vw, 3rem);
}
.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.contact-list li { display: grid; gap: 0.15rem; }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}
.contact-list a, .contact-list span:not(.contact-label) { font-size: 1.1rem; color: var(--deep); }
.contact-list a:hover { color: var(--accent); }

.contact-card {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.2rem);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.5rem; }
.contact-card p { color: var(--ink-soft); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--deep);
  color: rgba(255, 249, 210, 0.85);
  padding-block: clamp(2.5rem, 7vw, 4rem);
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--surface);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.footer-nav a { color: rgba(255, 249, 210, 0.85); font-weight: 500; }
.footer-nav a:hover { color: var(--surface); }

.footer-social { display: flex; justify-content: center; }
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 249, 210, 0.35);
  color: var(--surface);
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.footer-ig:hover {
  color: var(--surface);
  background: rgba(255, 249, 210, 0.12);
  border-color: rgba(255, 249, 210, 0.6);
}
.footer-ig svg { display: block; }

.footer-legal {
  max-width: 42rem;
  margin-inline: auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.4rem 1rem;
}
.footer-legal summary {
  cursor: pointer;
  padding: 0.6rem 0;
  font-weight: 600;
  color: var(--surface);
  list-style-position: inside;
}
.footer-legal-body { font-size: 0.9rem; padding-bottom: 0.6rem; }
.footer-legal-body p { color: rgba(255, 249, 210, 0.8); }

.footer-copy { font-size: 0.85rem; margin: 0; opacity: 0.7; }

/* =====================================================================
   REVEAL-ANIMATION (sanftes Einblenden)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* =====================================================================
   BREAKPOINTS (nach oben skalieren)
   ===================================================================== */

/* --- ab ~600px: Karten 2-spaltig --- */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { gap: 1.75rem; }
}

/* --- ab ~900px: Desktop-Navigation, mehrspaltige Layouts --- */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .nav {
    position: static;
    inset: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
  }
  .nav-list a {
    border-bottom: none;
    padding: 0.5rem 0.9rem;
    font-size: 1rem;
    border-radius: 999px;
  }
  .nav-list a:hover { background: rgba(255, 249, 210, 0.1); color: var(--wash-b); }
  .nav-list a.is-active { background: rgba(140, 192, 235, 0.18); color: var(--wash-b); }
  .nav-cta { border: 1.5px solid rgba(140, 192, 235, 0.55); }

  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }
  .cards { grid-template-columns: repeat(4, 1fr); }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }
  .footer-brand { justify-content: flex-start; }
  .footer-nav { justify-content: flex-end; }
  .footer-social { grid-column: 1 / -1; }
  .footer-legal { grid-column: 1 / -1; }
  .footer-copy { grid-column: 1 / -1; }
}

/* --- ab ~1100px: Angebote atmen etwas mehr --- */
@media (min-width: 1100px) {
  .card { padding: 1.9rem 1.7rem; }
}
