/* ============================================
   MARIA WALDER – Intuitive Ernährung
   Mobile-first, responsive, no framework
   ============================================ */

/* --- Fonts (self-hosted, OFL license) --- */
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/fahkwang-300-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: 'Fahkwang';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/fahkwang-300-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;
}
@font-face {
  font-family: 'Fahkwang';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/fahkwang-300italic-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: 'Fahkwang';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/fahkwang-300italic-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;
}
@font-face {
  font-family: 'Fahkwang';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fahkwang-400-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: 'Fahkwang';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fahkwang-400-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;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/raleway-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: 'Raleway';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/raleway-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;
}

/* --- Tokens --- */
:root {
  --black:   #000000;
  --white:   #ffffff;
  --yellow:  #F5C645;
  --orange:  #FE602F;
  --grey:    #404040;
  --light:   #f7f7f7;

  --font-display: 'Fahkwang', sans-serif;
  --font-body:    'Raleway', sans-serif;

  --max-w: 980px;
  --pad:   1.5rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  background: var(--black);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lang-switch a {
  display: flex;
  align-items: center;
  opacity: 0.45;
  transition: opacity 0.2s;
  font-size: 1.1rem;
  line-height: 1;
}
.lang-switch a.active,
.lang-switch a:hover { opacity: 1; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.nav-menu {
  display: none;
  flex-direction: column;
  background: var(--black);
  padding: 1rem var(--pad) 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-menu.open { display: flex; }
.nav-menu a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--yellow); }

/* Desktop nav */
@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0;
    background: none;
    padding: 0;
    border: none;
  }
  .nav-menu a {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.75rem;
    border: none;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.85;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}
.btn-primary {
  background: var(--white);
  color: var(--black);
}
.btn-primary:hover { background: var(--yellow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 5rem 0; }
.section-black { background: var(--black); color: var(--white); }
.section-white { background: var(--white); color: var(--black); }
.section-light { background: var(--light); color: var(--black); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.section-body {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 620px;
}
.section-body p + p { margin-top: 1.2rem; }

/* Two-column layout */
.two-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
  .two-col.reverse > *:first-child { order: 2; }
  .two-col.reverse > *:last-child  { order: 1; }
}

/* Image in section */
.section-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ============================================
   BENEFITS LIST
   ============================================ */
.benefits-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.benefits-list li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.65;
}
.benefits-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background: var(--yellow);
  color: var(--black);
  padding: 4rem var(--pad);
  text-align: center;
}
.cta-strip .section-title { color: var(--black); margin-bottom: 2rem; }
.cta-strip .btn-primary { background: var(--black); color: var(--white); }
.cta-strip .btn-primary:hover { background: var(--orange); }

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
  background: var(--black);
  color: var(--white);
}
.form-grid {
  display: grid;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--white); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 1rem; }

/* ============================================
   GOOGLE MAP
   ============================================ */
.map-embed {
  width: 100%;
  height: 300px;
  border: none;
  filter: grayscale(1) invert(0.9);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 3rem var(--pad);
  text-align: center;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.footer-email {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.footer-email a:hover { color: var(--yellow); opacity: 1; }
.footer-copy {
  font-size: 0.75rem;
  opacity: 0.3;
  letter-spacing: 0.05em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 1; }

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  width: 4rem;
  height: 1px;
  background: var(--white);
  margin: 1.5rem 0;
}
.divider-yellow { background: var(--yellow); }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-yellow { color: var(--yellow); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
