/* ============================================================
   HOOVES & MIND — Reittherapie Jenny Dias
   Design tokens derived from the original Wix theme:
   cream / sage / deep green / dusty rose, airy letter-spaced type
   ============================================================ */

:root {
  /* colors */
  --cream:      #FDF6EB;
  --cream-soft: #FBF2E3;
  --sand:       #E3D8C5;
  --sand-line:  #E0D6C3;
  --sage-100:   #EFF1E6;
  --sage-200:   #CFD5BF;
  --sage-300:   #BBC4A3;
  --sage-400:   #A2AC87;
  --green-700:  #515644;
  --green-900:  #292B22;
  --rose-100:   #EFD7CD;
  --rose-300:   #DEB3A0;
  --taupe:      #ADA28E;
  --ink:        #3B3833;
  --ink-soft:   #5C5850;

  /* type */
  --font-head: 'Josefin Sans', 'Segoe UI', sans-serif;
  --font-body: 'Mulish', 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --nav-h: 76px;
  --maxw: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); }

::selection { background: var(--sage-200); color: var(--green-900); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-700);
  color: var(--cream);
  padding: 10px 18px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- typography helpers ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--green-900);
  text-transform: uppercase;
}

.overline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--taupe);
  display: block;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: 0.22em;
  line-height: 1.25;
  margin-bottom: 28px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(253, 246, 235, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-nav.scrolled {
  border-bottom-color: var(--sand-line);
  background: rgba(253, 246, 235, 0.96);
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img { height: 50px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-700);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--green-900); border-bottom-color: var(--sage-400); }

/* desktop: logo hard left, language toggle hard right, links dead-center */
@media (min-width: 961px) {
  .nav-inner { position: relative; }
  .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.lang-toggle {
  font-family: var(--font-head);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--taupe);
  border: 1px solid var(--sand-line);
  border-radius: 3px;
  padding: 7px 12px 5px;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.lang-toggle:hover, .lang-toggle:focus-visible { color: var(--green-900); border-color: var(--sage-400); }
.lang-toggle strong { font-weight: 400; color: var(--green-900); }

/* hamburger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--green-900);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 960px) {
  .nav-burger { display: block; margin-left: auto; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 15px 28px;
    border-bottom: 1px solid var(--sage-100);
  }
  .site-nav.open .nav-links { max-height: 480px; }
  .site-nav.open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .site-nav.open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 90px;
  background-image:
    radial-gradient(ellipse 62% 48% at 50% 52%,
      rgba(253, 246, 235, 0.60),
      rgba(253, 246, 235, 0) 72%),
    linear-gradient(to bottom,
      rgba(253, 246, 235, 0.42) 0%,
      rgba(253, 246, 235, 0.30) 40%,
      rgba(253, 246, 235, 0.32) 100%),
    url('../img/hero-herd.jpg');
  background-size: cover;
  background-position: center 65%;
}

.hero-content { max-width: 780px; }

.hero-overline {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.3rem, 7.5vw, 4.8rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em; /* balances the trailing letter-spacing when centered */
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-tagline {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-900);
  text-shadow: 0 0 16px rgba(253, 246, 235, 0.95), 0 0 6px rgba(253, 246, 235, 0.9);
  margin-bottom: 40px;
}
.hero h1, .hero-overline {
  text-shadow: 0 0 18px rgba(253, 246, 235, 0.85);
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn:not(.btn-solid) {
  background: rgba(253, 246, 235, 0.78);
}
.hero-actions .btn:not(.btn-solid):hover,
.hero-actions .btn:not(.btn-solid):focus-visible {
  background: var(--green-700);
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 78px;
  overflow: hidden;
  background: rgba(253, 246, 235, 0.35);
}
.scroll-cue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-700);
  animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px 13px;
  border-radius: 3px;
  border: 1px solid var(--green-700);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  background: transparent;
  color: var(--green-700);
}
.btn:hover, .btn:focus-visible {
  background: var(--green-700);
  color: var(--cream);
}
.btn-solid {
  background: var(--green-700);
  color: var(--cream);
}
.btn-solid:hover, .btn-solid:focus-visible {
  background: var(--green-900);
  border-color: var(--green-900);
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section { scroll-margin-top: var(--nav-h); }

.section {
  padding: clamp(70px, 10vw, 110px) 24px;
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-alt  { background: var(--sage-100); }
.section-soft { background: var(--cream-soft); }

/* section that fills the viewport below the nav (content centered) */
.section-fill {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
}
.section-fill .section-inner { width: 100%; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

.prose p + p { margin-top: 1.1em; }
.prose .lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

/* ---------- quote panel ---------- */
.quote-panel {
  background: var(--sage-200);
  border-radius: 6px;
  padding: clamp(30px, 4vw, 48px);
  position: relative;
}
.quote-panel blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  color: var(--green-900);
}
.quote-panel cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-head);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-700);
}

/* ---------- tag pills (Anwendungsfelder) ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  list-style: none;
}
.tags li {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
  border: 1px solid var(--sage-300);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  padding: 8px 16px 6px;
}

/* ---------- feature list (Reittherapie für Kinder) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin: 44px 0;
}
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--sage-200);
  border-radius: 6px;
  padding: 30px 26px;
  text-align: center;
}
.feature .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  margin-bottom: 10px;
}
.feature p { font-size: 0.95rem; color: var(--ink-soft); }

/* ============================================================
   ANGEBOTE
   ============================================================ */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: 20px;
}
.offer-card {
  background: #fff;
  border: 1px solid var(--sand-line);
  border-radius: 6px;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offer-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: 0 14px 34px rgba(81, 86, 68, 0.10);
}
.offer-card h3 {
  font-size: 1rem;
  letter-spacing: 0.16em;
  line-height: 1.5;
  margin-bottom: 4px;
}
.offer-duration {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 18px;
}
.offer-price {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 2rem;
  color: var(--green-700);
  margin-bottom: 14px;
}
.offer-price small {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  color: var(--taupe);
  letter-spacing: 0.04em;
}
.offer-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  flex-grow: 1;
  margin-bottom: 24px;
}
.offer-note {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   PFERDE
   ============================================================ */
.horses-banner {
  height: clamp(260px, 45vw, 460px);
  /* same soft cream veil as the hero — no fade-out at the bottom */
  background-image:
    linear-gradient(to bottom,
      rgba(253, 246, 235, 0.42) 0%,
      rgba(253, 246, 235, 0.30) 40%,
      rgba(253, 246, 235, 0.32) 100%),
    url('../img/herd-white.jpg');
  background-size: cover;
  background-position: center 60%;
}
.horses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: 20px;
}
.horse-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--sage-200);
  border-radius: 6px;
  padding: 34px 28px;
  text-align: center;
}
.horse-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage-200);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
}
.horse-card .icon svg { width: 32px; height: 32px; }
.horse-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.horse-role {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--taupe);
  margin-bottom: 14px;
}
.horse-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* ============================================================
   ÜBER JENNY
   ============================================================ */
.about-photo {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(41, 43, 34, 0.14);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* on wide screens the text column sets the height and the photo matches it */
@media (min-width: 821px) {
  .about-grid { align-items: stretch; }
  .about-grid .about-photo { position: relative; }
  .about-grid .about-photo img {
    position: absolute;
    inset: 0;
  }
}

.about-head {
  margin-bottom: 22px;
}
.about-head .name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-900);
}
.about-head .role {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--taupe);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Kontakt is kept compact so the whole section fits one viewport */
#kontakt {
  padding-top: clamp(44px, 6vw, 64px);
  padding-bottom: clamp(44px, 6vw, 64px);
}
#kontakt .section-title { margin-bottom: 18px; }

.contact-info address {
  font-style: normal;
  line-height: 1.65;
  margin-bottom: 14px;
}
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--sage-300); }
.contact-info a:hover { border-bottom-color: var(--green-700); }

.contact-logo {
  margin-top: 18px;
  max-width: 170px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(41, 43, 34, 0.12);
}

/* form */
.contact-form { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-700);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--sand-line);
  border-radius: 4px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-400);
  box-shadow: 0 0 0 3px rgba(162, 172, 135, 0.25);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-status {
  font-size: 0.9rem;
  color: var(--green-700);
  margin: 0;
}
.form-status:empty { display: none; }
/* honeypot — hidden from humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-900);
  color: var(--sage-200);
  padding: 46px 24px;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-head);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--cream);
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  color: var(--sage-200);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { color: var(--cream); border-bottom-color: var(--sage-400); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 50px) 24px 90px;
}
.legal-main h1 { font-size: 1.8rem; letter-spacing: 0.2em; margin-bottom: 30px; }
.legal-main h2 {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  margin: 36px 0 12px;
}
.legal-main p + p { margin-top: 0.9em; }
.legal-note {
  background: var(--sage-100);
  border-left: 3px solid var(--sage-400);
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin: 26px 0;
}

/* ============================================================
   REVEAL ANIMATION (subtle, respects reduced motion)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

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