/* ==========================================================================
   Alpha und Om – Basis-Styles
   Ruhig, modern, naturverbunden. Erdige Farbtöne, viel Weißraum.
   ========================================================================== */

:root {
  /* Farben */
  --color-bg: #f6f1ea;
  --color-bg-alt: #ece3d6;
  --color-bg-dark: #2f3527;
  --color-bg-accent: #746a52;
  --color-text: #2b2621;
  --color-text-soft: #5a5348;
  --color-text-on-dark: #f3efe6;
  --color-primary: #5c6b47;
  --color-primary-dark: #47532f;
  --color-accent: #a8653f;
  --color-line: #d9cdb9;
  --color-line-on-dark: rgba(243, 239, 230, 0.25);

  /* Typografie */
  --font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --header-height: 76px;
  --max-width: 1160px;
  --max-width-narrow: 760px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 2.75rem;
  --space-5: 4.5rem;
  --space-6: 7rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: var(--space-3); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 var(--space-2);
  color: var(--color-text-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.container.narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-6) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.section-dark h2,
.section-dark p {
  color: var(--color-text-on-dark);
}

.section-accent {
  background: var(--color-bg-accent);
  color: var(--color-text-on-dark);
}

.section-accent h2,
.section-accent p {
  color: var(--color-text-on-dark);
}

.section-intro {
  max-width: 640px;
  margin-bottom: var(--space-4);
}

.section-compact {
  padding: var(--space-4) 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-mark img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(43, 38, 33, 0.22);
}

.main-nav ul {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: var(--color-primary) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero {
  padding: var(--space-5) 0 var(--space-6);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.hero-intro {
  max-width: 480px;
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-logo {
  display: flex;
  justify-content: center;
}

.hero-logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(43, 38, 33, 0.2);
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
}

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

.btn-outline {
  border: 1px solid var(--color-text-soft);
  color: var(--color-text);
}

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

/* ---- Photo placeholders ---- */

.photo-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(155deg, var(--color-bg-alt), var(--color-line));
  border: 1px solid var(--color-line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-label {
  position: relative;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  padding: var(--space-2);
  letter-spacing: 0.02em;
}

.photo-frame--wide {
  aspect-ratio: 16 / 10;
}

.photo-frame--portrait {
  aspect-ratio: 3 / 4;
}

/* ---- Angebote ---- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

.offer-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 1rem 0.9rem;
}

.offer-icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.offer-icon svg {
  width: 100%;
  height: 100%;
}

.offer-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.offer-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ---- Yoga / Outdoor-Fitness / Kampfkunst / Meditation (Bild + Text) ---- */

.pillar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

/* ---- Transformation ---- */

.transformation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

/* ---- Men's Mobility / Über Marcel (Bild + Text) ---- */

.mens-mobility-inner,
.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-5);
  align-items: center;
}

.about-inner {
  align-items: start;
}

/* ---- Workshops (Text + Bild) ---- */

.workshops-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.photo-frame--workshop {
  aspect-ratio: 4 / 3;
}

/* ---- Einblicke ---- */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.insight-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--color-line);
}

.insight-item--large {
  grid-row: span 2;
}

.insight-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insight-item:hover img {
  transform: scale(1.04);
}

.insight-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--color-text-on-dark);
  background: linear-gradient(to top, rgba(20, 17, 13, 0.75), rgba(20, 17, 13, 0));
}

.insight-cta {
  text-align: center;
}

/* ---- Kontakt ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-5);
}

.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin-bottom: 0.2rem;
}

.contact-info a {
  font-size: 1.05rem;
}

.contact-note {
  font-size: 0.85rem;
  font-style: italic;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

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

.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-4) 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 68px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.footer-nav {
  display: flex;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--color-text-on-dark);
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-note {
  width: 100%;
  font-size: 0.8rem;
  color: var(--color-text-on-dark);
  opacity: 0.6;
  margin: var(--space-2) 0 0;
}

/* ---- Dezente Scroll-Reveal-Animation ---- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero-inner,
  .transformation-inner,
  .mens-mobility-inner,
  .about-inner,
  .workshops-inner,
  .pillar-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mens-mobility-inner .photo-frame,
  .about-inner .photo-frame,
  .pillar-inner .photo-frame {
    max-width: 360px;
    margin: 0 auto;
  }

  .workshops-inner .photo-frame,
  .pillar-inner--reverse .photo-frame {
    order: -1;
  }

  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .insight-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.25s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-3);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: var(--space-5) 0;
  }

  .section-compact {
    padding: var(--space-3) 0;
  }

  :root {
    --header-height: 64px;
  }

  .logo-mark img {
    height: 44px;
  }
}

@media (max-width: 560px) {
  .insight-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .insight-item--large {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }
}
