/* ==========================================================================
   Pferdephysiotherapie Münsterland – Chris Debski
   Styling nach der Akademie-Website pferde-gesund-bewegen.de (Flatsome):
   Primär #a91636, Sekundär/Gold #cfa440, Open Sans + Noto Sans (selbst gehostet)
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/noto-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #a91636;
  --primary-dark: #8d122d;
  --primary-light: #c41d42;
  --gold: #cfa440;
  --gold-light: #e9ddb8;
  --sand: #f7f5f0;
  --cream: #ffffff;
  --ink: #1d1d1d;
  --ink-soft: #555555;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  --font-heading: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

/* ---------- Basis ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: var(--sand);
}

/* Überschriften wie auf der Akademie-Seite: Noto Sans in Light */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--primary);
  font-weight: 200;
  margin: 0 0 0.6em;
}

h3, h4 { font-weight: 400; }

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1.1em; }

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--primary-light); }

ul { padding-left: 1.3em; }

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.section-sand { background: var(--sand); }

.section-intro {
  max-width: 46em;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.8em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(207, 164, 64, 0.35);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  text-decoration: none;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  height: 58px;
  width: auto;
  background: none;
  flex-shrink: 0;
}

.brand strong {
  display: block;
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-text > span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary);
}

.site-nav .nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.site-nav .nav-cta:hover {
  background: var(--primary-light);
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gold-light);
    display: none;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 4vw 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.05rem;
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

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

.hero {
  background:
    linear-gradient(100deg, rgba(141, 18, 45, 0.96) 0%, rgba(155, 20, 50, 0.82) 42%, rgba(169, 22, 54, 0.05) 78%, rgba(169, 22, 54, 0) 100%),
    url("../images/hero.jpg?v=3") center 35% / cover no-repeat,
    linear-gradient(115deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.hero h1 {
  color: var(--white);
  max-width: 15em;
}

.hero .motto {
  color: var(--gold-light);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  margin-bottom: 0.4em;
}

.hero p.lead {
  max-width: 36em;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

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

/* Buttons im Flatsome-Stil: Versalien, dezente Rundung */
.btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

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

.btn-bordeaux {
  background: var(--primary);
  color: var(--white);
}

.btn-bordeaux:hover {
  background: var(--primary-light);
  color: var(--white);
}

/* ---------- Karten / Raster ---------- */

.grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  border-top: 4px solid var(--gold);
}

.card h3 { margin-bottom: 0.4em; }

.card p:last-child { margin-bottom: 0; }

.card-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.6em;
}

.card-link::after { content: " →"; }

.card-link:hover { text-decoration: underline; }

/* Häkchen-Listen wie im CI-Flyer */
ul.checks {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

ul.checks li {
  padding-left: 1.7em;
  position: relative;
  margin-bottom: 0.55em;
}

ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Zweispalter mit Bild ---------- */

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse > .split-media { order: 2; }
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Zitatband (wie auf der Akademie-Startseite) ---------- */

.quote-band {
  background: linear-gradient(100deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

/* geschwungene weiße Unterkante */
.quote-band::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -3.5rem;
  width: 120%;
  height: 5rem;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.quote-band .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  text-align: center;
}

.quote-band img {
  width: clamp(110px, 14vw, 150px);
  height: clamp(110px, 14vw, 150px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: var(--primary-dark);
  flex-shrink: 0;
}

.quote-band blockquote {
  margin: 0;
  max-width: 38em;
}

.quote-band blockquote p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.5em;
}

.quote-band blockquote footer {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold-light);
}

/* ---------- Zitat ---------- */

blockquote.motto-quote {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
}

blockquote.motto-quote footer {
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.8em;
}

/* ---------- Ablauf (Schritte) ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.3rem 1.3rem;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.steps h3 { font-size: 1.05rem; }

/* ---------- Preise ---------- */

.price-cards { margin-top: 2rem; }

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.2em 0 0.1em;
}

.price small {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- Einzugsgebiet ---------- */

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.region-list li {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 5px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */

.faq details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.9rem;
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  padding: 1.1rem 1.4rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 400;
}

.faq details[open] summary::after { content: "–"; }

.faq .faq-body { padding: 0 1.4rem 1.2rem; }

/* ---------- Hinweis-Box ---------- */

.notice {
  background: var(--sand);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.8rem 0;
  font-size: 0.98rem;
}

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

.contact-info p { margin-bottom: 0.5em; }

.contact-info strong { color: var(--primary); }

form.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.contact-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
  font: inherit;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ---------- CTA-Band ---------- */

.cta-band {
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
}

.cta-band h2 { color: var(--white); }

.cta-band p {
  max-width: 38em;
  margin-inline: auto;
  color: var(--gold-light);
}

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

.site-footer {
  background: var(--ink);
  color: #d8d0ca;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer a { color: var(--gold-light); }

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.site-footer li { margin-bottom: 0.4em; }

.footer-bottom {
  border-top: 1px solid rgba(216, 208, 202, 0.2);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a89e97;
}

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-head {
  background: linear-gradient(115deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-head h1 { color: var(--white); margin-bottom: 0.2em; }

.page-head p {
  color: var(--gold-light);
  max-width: 42em;
  margin: 0;
  font-size: 1.1rem;
}

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.gallery img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

/* ---------- Reduzierte Bewegung ---------- */

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