/* Voltigiergruppe Breitenfurt – Farben aus dem Logo */
:root {
  --navy: #1b2f4e;        /* Logo-Blau */
  --navy-deep: #142440;
  --navy-soft: #2a4268;
  --gold: #c9982f;        /* Logo-Gold auf Hell */
  --gold-light: #dba93e;  /* Logo-Gold auf Dunkel */
  --cream: #f6f2ea;       /* Logo-Weiß (Pferd auf dunklem Grund) */
  --paper: #fbf9f5;
  --ink: #1b2f4e;
  --muted: #5a6a82;
  --line: #e4dccd;

  --font: "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold-light); }

/* Eyebrow mit Goldstrich – wie „— BREITENFURT —" im Logo */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  text-transform: uppercase; letter-spacing: .32em; font-size: .8rem; font-weight: 700;
  color: var(--gold); margin-bottom: 14px;
}
.rule { display: inline-block; width: 38px; height: 2px; background: currentColor; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: .95rem; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(246,242,234,.5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,249,245,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.brand { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; font-weight: 800; text-transform: uppercase; color: var(--navy); line-height: 1.05; letter-spacing: .02em; }
.brand-text small { font-size: .62rem; letter-spacing: .4em; font-weight: 700; color: var(--navy); margin-top: 3px; }
.brand-text small::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 8px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Hero */
.hero {
  background: var(--navy); color: var(--cream);
  background-image: radial-gradient(circle at 85% 20%, rgba(219,169,62,.12), transparent 45%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero .eyebrow { color: var(--gold-light); }
.lead { font-size: 1.15rem; color: rgba(246,242,234,.82); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-logo img { width: 100%; max-width: 380px; margin-left: auto; border-radius: 6px; }
.hero-logo.no-img { min-height: 320px; border: 2px dashed rgba(219,169,62,.4); border-radius: var(--radius); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy .eyebrow { color: var(--gold-light); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.prose { color: var(--muted); }

.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { border-top: 2px solid var(--gold); padding-top: 12px; }
.facts strong { display: block; font-size: 1.7rem; color: var(--navy); }
.facts span { font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 36px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border-top: 4px solid var(--gold); box-shadow: 0 8px 30px rgba(27,47,78,.07);
}
.card p { color: var(--muted); }
.card .meta { color: var(--gold); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-top: -4px; }
.card .time { color: var(--navy); font-weight: 700; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.note { margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* Pferde & Galerie */
.photo {
  background: linear-gradient(135deg, var(--cream), #ece4d4);
  border-radius: var(--radius); display: grid; place-items: center;
  color: #b3a688; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; min-height: 220px;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; margin-top: 36px; }
.gallery .photo { min-height: 0; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Termine */
.events { list-style: none; padding: 0; margin: 36px 0 0; }
.events li { display: flex; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(246,242,234,.15); }
.events time {
  flex: 0 0 88px; text-align: center; text-transform: uppercase; font-size: .78rem; letter-spacing: .15em;
  color: var(--gold-light); font-weight: 700;
}
.events time span { display: block; font-size: 1.9rem; letter-spacing: 0; color: var(--cream); }
.events h3 { margin: 0 0 2px; }
.events p { margin: 0; color: rgba(246,242,234,.7); }

/* Kontakt */
.contact { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin-top: 28px; }
.contact dt { font-weight: 700; color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; padding-top: 2px; }
.contact dd { margin: 0; }
.form { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(27,47,78,.08); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,152,47,.2); }
.form .btn { justify-self: start; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(246,242,234,.75); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand { margin: 0; font-weight: 800; text-transform: uppercase; color: var(--cream); letter-spacing: .04em; }
.footer-brand span { color: var(--gold-light); letter-spacing: .3em; font-weight: 700; margin-left: 6px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.small { margin: 0; font-size: .85rem; }

/* Neue Bausteine */
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
.prose.big { font-size: 1.12rem; }
#voltigieren .two-col { align-items: end; }

.benefits { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefits li { padding: 26px 22px; border-radius: var(--radius); background: var(--cream); }
.benefits .ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); font-size: 1.1rem; margin-bottom: 16px;
}
.benefits p { color: var(--muted); font-size: .95rem; margin: 0; }

.cards .card { display: flex; flex-direction: column; }
.cards .card .btn { align-self: flex-start; margin-top: auto; }
.card-feature { background: var(--navy); color: var(--cream); }
.card-feature p { color: rgba(246,242,234,.8); }
.card-feature .meta { color: var(--gold-light); }
.card-feature .prices td { border-color: rgba(246,242,234,.15); }
.highlight {
  display: flex; flex-direction: column; padding: 14px 18px; margin: 4px 0 18px;
  border-left: 3px solid var(--gold-light); background: rgba(219,169,62,.1); border-radius: 0 10px 10px 0;
}
.highlight strong { color: var(--gold-light); }
.prices { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .95rem; }
.prices td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }

.horses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.horse { background: #fff; border-radius: var(--radius); padding: 14px 14px 4px; box-shadow: 0 6px 22px rgba(27,47,78,.06); }
.horse summary { list-style: none; cursor: pointer; }
.horse summary::-webkit-details-marker { display: none; }
.horse .photo { aspect-ratio: 2/3; min-height: 0; margin-bottom: 14px; object-position: center center; }
.horse h3 { margin: 0; }
.horse .tag { color: var(--gold); font-size: .85rem; font-weight: 600; margin: 2px 0 10px; }
.horse summary .tag::after { content: " · mehr"; color: var(--muted); font-weight: 400; }
.horse[open] summary .tag::after { content: ""; }
.horse > p { font-size: .92rem; color: var(--muted); }
.horse dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .88rem; margin: 0 0 12px; }
.horse dt { font-weight: 700; }
.horse dd { margin: 0; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--gold); }
.shop {
  margin-top: 56px; padding: 36px 40px; border-radius: var(--radius); background: var(--navy); color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.shop .eyebrow { color: var(--gold-light); }
.shop p { margin: 0; color: rgba(246,242,234,.8); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }

@media (max-width: 1000px) {
  .benefits, .horses { grid-template-columns: repeat(2, 1fr); }
}

/* Mobil */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); padding: 20px 24px 28px; gap: 18px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 220px; margin: 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 64px; gap: 28px; }
  .section { padding: 68px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

/* Fotos */
.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 400px; position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%;
  border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold-light);
  border-radius: 18px; z-index: -1;
}
.hero-inner { position: relative; z-index: 0; }
.wide-photo { margin: 56px 0 0; }
.wide-photo img { width: 100%; aspect-ratio: 16/7; object-fit: cover; object-position: center 40%; border-radius: var(--radius); }
.card-img { width: calc(100% + 60px); margin: -30px -30px 24px; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px 10px 0 0; max-width: none; }
.card { overflow: hidden; }
img.photo { width: 100%; object-fit: cover; object-position: center 25%; background: var(--cream); }
.gallery { grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img.tall { grid-row: span 2; }
@media (max-width: 860px) {
  .hero-photo { justify-self: start; max-width: 280px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .wide-photo img { aspect-ratio: 4/3; }
}
.horses { align-items: start; }
.gallery img.wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery img.wide { grid-column: span 2; } }

/* Rechtliche Seiten */
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p { color: var(--muted); }
.nav-simple { display: flex !important; position: static !important; background: none !important; padding: 0 !important; border: 0 !important; }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.contact-photo figcaption { margin-top: 12px; font-weight: 700; color: var(--navy); }
.contact dd, .legal p { overflow-wrap: anywhere; }

/* Logos */
.site-header { background: rgba(255,255,255,.96); }
.brand img { height: 54px; width: auto; }
.site-footer { background: var(--navy); }
.footer-logo img { height: 120px; width: auto; }
@media (max-width: 860px) { .brand img { height: 44px; } .nav { background: #fff; } }
.header-inner { height: 88px; }
.brand img { height: 68px; }
html { scroll-padding-top: 100px; }
@media (max-width: 860px) { .header-inner { height: 72px; } .brand img { height: 52px; } .nav { top: 72px; } }

/* Mobil: Fließtext im Blocksatz mit Silbentrennung (verhindert große Lücken) */
@media (max-width: 700px) {
  main p:not(.eyebrow):not(.small):not(.tag),
  main li, .horse details p, .legal p {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 7 3 3;
  }
  main .btn, main .hero-actions, main .prices td { text-align: left; hyphens: manual; }
  /* schmale Kästchen: linksbündig, nur Silbentrennung */
  .benefits li, .benefits p, .facts li, .horses p, .shop p { text-align: left !important; }
}
