/* =========================================================
   Katja Stöver – Pferdegestütztes Coaching
   Stylesheet
   ========================================================= */

:root {
  /* Brand palette (kontrastreich & elegant) */
  --ink: #2B2F33;
  --paper: #FFFFFF;
  --paper-warm: #F6F4F0;
  --navy: #1F3A52;
  --navy-deep: #142838;
  --grey: #8A9097;
  --grey-light: #DAD7D2;
  --line: rgba(43, 47, 51, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.22);

  /* Type — system stacks: no external requests, fast, and avoids the
     Google-Fonts/DSGVO consent issue on German sites. */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

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

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow--on-dark { color: rgba(255,255,255,0.86); }
.eyebrow--grey { color: var(--grey); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-top: 10px;
}
.section-head p {
  margin-top: 16px;
  color: #4A4F54;
  font-size: 1.05rem;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-on-dark:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }

.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.98);
  padding: 12px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20,40,56,0.06);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 50px;
  width: auto;
  transition: height .3s ease;
}
.nav.is-scrolled .nav-brand img { height: 42px; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  transition: color .3s ease;
  line-height: 1.1;
}
.nav-brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.nav.is-scrolled .nav-brand-text { color: var(--ink); }
.nav.is-scrolled .nav-brand-text small { color: var(--grey); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  transition: color .3s ease, opacity .2s ease;
  opacity: 0.92;
}
.nav-links a:hover { opacity: 1; }
.nav.is-scrolled .nav-links a { color: var(--ink); }

.nav-cta { display: none; }
.nav.is-scrolled .btn-on-dark,
.nav .btn-on-dark {
  border-color: rgba(255,255,255,0.6);
}
.nav.is-scrolled .btn-outline { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: background-color .3s ease, transform .3s ease, opacity .3s ease;
}
.nav.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.mobile-open .nav-toggle span { background: var(--ink) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(15,26,36,0.86) 0%, rgba(15,26,36,0.42) 42%, rgba(15,26,36,0.12) 68%, rgba(15,26,36,0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 0 84px;
  max-width: 720px;
}
.hero-content .eyebrow { margin-bottom: 18px; }
.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: #fff;
  line-height: 1.02;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: #fff;
  margin-top: 22px;
  max-width: 520px;
}
.hero-sub {
  margin-top: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  max-width: 480px;
}
.hero-actions { margin-top: 38px; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 2;
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll span.line {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.5);
  display: block;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Intro ---------- */
.intro {
  background: var(--paper-warm);
  padding: 96px 0;
  text-align: center;
}
.intro .container { max-width: 760px; }
.intro p.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink);
}
.intro .highlight {
  margin-top: 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.intro .highlight::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 2px;
  background: var(--navy);
}
.intro .fine {
  margin-top: 22px;
  color: var(--grey);
  font-size: 0.95rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Angebote ---------- */
.offers { padding: 110px 0; }
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.offer-card {
  border: 1px solid var(--line);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.offer-card:hover {
  box-shadow: 0 22px 44px rgba(20,40,56,0.08);
  transform: translateY(-3px);
  border-color: rgba(31,58,82,0.3);
}
.offer-card .offer-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.offer-card h3 {
  font-size: 1.5rem;
  margin-top: 12px;
  line-height: 1.3;
}
.offer-card p {
  margin-top: 16px;
  color: #4A4F54;
  flex: 1;
}
.offer-tags {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.offer-tags strong { color: var(--grey); font-weight: 600; display: block; margin-bottom: 6px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.offer-card .btn { margin-top: 28px; align-self: flex-start; }
.offers-note {
  text-align: center;
  margin-top: 40px;
  color: var(--grey);
  font-size: 0.92rem;
}

/* ---------- Signature divider (portrait) ---------- */
.divider {
  position: relative;
  height: 62vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
}
.divider img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
}
.divider::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,26,36,0.72) 0%, rgba(15,26,36,0.38) 42%, rgba(15,26,36,0.15) 70%);
}
.divider-quote {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 0 28px 56px;
}
.divider-quote blockquote {
  max-width: 640px;
  margin: 0 auto 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: #fff;
  line-height: 1.3;
}
.divider-quote .container { max-width: var(--container); margin: 0 auto; }

/* ---------- Über mich ---------- */
.about { padding: 110px 0; }
.about .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img.main {
  border-radius: 2px;
  width: 100%;
}
.about-inset {
  position: absolute;
  bottom: -34px;
  right: -34px;
  width: 44%;
  border: 6px solid #fff;
  box-shadow: 0 18px 40px rgba(20,40,56,0.18);
}
.about-inset img { display: block; width: 100%; }
.about-inset figcaption {
  position: absolute;
  bottom: -26px;
  left: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  white-space: nowrap;
}
.about-text .eyebrow { margin-bottom: 10px; }
.about-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 22px;
}
.about-text p { color: #43484D; margin-top: 16px; }
.about-text p.emphasis {
  margin-top: 26px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.5;
}

/* ---------- Ablauf teaser ---------- */
.process {
  background: var(--navy);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.process .container { max-width: 620px; }
.process .eyebrow { justify-content: center; color: rgba(255,255,255,0.75); }
.process h3 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-top: 14px;
}
.process p {
  margin-top: 18px;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
}
.process .btn { margin-top: 32px; }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; background: var(--paper-warm); }
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icon {
  flex: none;
  width: 26px; height: 26px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  position: relative;
}
.faq-item .icon::before, .faq-item .icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item .icon::before { width: 10px; height: 1.4px; }
.faq-item .icon::after { width: 1.4px; height: 10px; transition: transform .2s ease, opacity .2s ease; }
.faq-item[open] .icon::after { opacity: 0; }
.faq-item .faq-answer {
  padding: 0 4px 26px;
  color: #4A4F54;
  max-width: 640px;
}

/* ---------- Galerie / Slideshow ---------- */
.gallery { padding: 110px 0; }
.slideshow {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}
.slideshow-viewport {
  overflow: hidden;
  border-radius: 2px;
}
.slideshow-track {
  display: flex;
  transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.slide {
  flex: 0 0 100%;
  margin: 0;
}
.slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.slide figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
}
.slide-nav {
  position: absolute;
  top: calc(50% - 22px);
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(20,40,56,0.14);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.slide-nav:hover { background: var(--navy); color: #fff; transform: translateY(-50%) scale(1.05); }
.slide-nav svg { width: 20px; height: 20px; }
.slide-nav.prev { left: -23px; }
.slide-nav.next { right: -23px; }
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.slide-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grey-light);
  border: none;
  padding: 0;
  transition: background-color .2s ease, transform .2s ease;
}
.slide-dots button.active { background: var(--navy); transform: scale(1.2); }

/* ---------- Kontakt ---------- */
.contact { padding: 110px 0; }
.contact .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
}
.contact-info-list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.contact-info-item .icon {
  flex: none;
  width: 22px; height: 22px;
  color: var(--navy);
  margin-top: 2px;
}
.contact-info-item .icon svg { width: 100%; height: 100%; }
.contact-info-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}
.contact-info-item a, .contact-info-item span.value { font-size: 1.02rem; }
.contact-info-item a:hover { color: var(--navy); }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line-strong, #CFCBC4);
  border: 1px solid #D7D3CC;
  padding: 13px 14px;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.84rem;
  color: var(--grey);
  margin-top: 14px;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper-warm);
  border-left: 3px solid var(--navy);
  font-size: 0.92rem;
}
.form-success.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 108px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; font-size: 0.94rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.96rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 26px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 22px; }

/* ---------- Impressum page ---------- */
.legal-page { padding: 150px 0 100px; max-width: 720px; margin: 0 auto; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal-page .eyebrow { margin-bottom: 14px; }
.legal-page h2 { font-size: 1.15rem; margin-top: 44px; margin-bottom: 12px; }
.legal-page h3 { font-size: 0.98rem; margin-top: 28px; margin-bottom: 4px; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.legal-page p, .legal-page li { color: #43484D; margin-top: 10px; }
.legal-page ul { margin-top: 10px; padding-left: 20px; }
.legal-page li { margin-top: 6px; }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--navy); font-size: 0.92rem; font-weight: 600; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .about .container { grid-template-columns: 1fr; gap: 40px; }
  .about-inset { width: 46%; right: 0; }
  .contact .container { grid-template-columns: 1fr; gap: 56px; }
  .offers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 150;
    isolation: isolate;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav.mobile-open .nav-links { transform: translateX(0); }
  .nav-links a { color: var(--ink) !important; font-size: 1.3rem; }
  .nav-cta { display: none !important; }
  .nav-toggle { display: flex; }
  .nav.mobile-open { background: #fff; }

  .hero-content { padding-bottom: 64px; }
  .hero-scroll { display: none; }
  .footer-brand img { height: 84px; }

  .intro { padding: 72px 0; }
  .offers { padding: 76px 0; }
  .offer-card { padding: 34px 26px; }
  .about { padding: 76px 0; }
  .about-inset { position: static; width: 60%; margin-top: 18px; box-shadow: none; }
  .about-inset figcaption { position: static; margin-top: 8px; }
  .process { padding: 64px 0; }
  .faq { padding: 76px 0; }
  .gallery { padding: 76px 0; }
  .slide-nav { width: 38px; height: 38px; }
  .slide-nav.prev { left: 4px; }
  .slide-nav.next { right: 4px; }
  .slide img { aspect-ratio: 4 / 3; }
  .contact { padding: 76px 0; }
  .form-row { grid-template-columns: 1fr; }
  .divider { height: 46vh; }
  .footer-grid { padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
