/* ==========================================================================
   Pedersen Sporthorses
   Eine Schrift (Source Sans 3 – die Schrift aus dem Logo) in leichten Schnitten,
   Weiß, Stein, Anthrazit. Logo-Rot nur als feiner Akzent. Große Fotos, viel Raum.
   ========================================================================== */

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #fff;
  --alt: #F3F2EE;
  --ink: #141414;
  --text: #4A4946;
  --muted: #85827B;
  --line: #E2E0DA;
  --red: #D90B1C;
  --dark: #111110;
  --dark-text: #B7B4AC;
  --dark-line: rgba(255, 255, 255, .14);

  --font: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --gap: clamp(20px, 3vw, 48px);
  --section: clamp(96px, 12vw, 184px);
  --hdr: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ── Basis ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.125rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ── Typografie ── */
.kicker {
  font-size: .8125rem; line-height: 1.4; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.display {
  max-width: 19ch;
  font-size: clamp(2.5rem, 1.35rem + 3.9vw, 5.25rem); line-height: 1.03; font-weight: 300; letter-spacing: -0.032em;
  color: var(--ink); text-wrap: balance;
}
.h3 { font-size: clamp(1.5rem, 1.25rem + .7vw, 2rem); line-height: 1.18; font-weight: 400; letter-spacing: -0.018em; color: var(--ink); }
.lead { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.5rem); line-height: 1.5; font-weight: 300; color: var(--ink); }
.prose p { max-width: 60ch; }
.prose p + p { margin-top: 1.1em; }
.prose .lead { margin-bottom: 1.6em; }
.sign { margin-top: 1.6em !important; color: var(--ink); font-weight: 600; }
figcaption { margin-top: 14px; font-size: .875rem; line-height: 1.5; color: var(--muted); }

/* Buttons & Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 32px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--red); border-color: var(--red); }
.btn-small { min-height: 46px; padding: 0 22px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(20, 20, 20, .35); transition: text-decoration-color .25s, color .25s; }
.link:hover { text-decoration-color: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.icon-btn:hover { background: var(--alt); }
.icon-btn-line { width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; }
.icon-btn-line:hover { background: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .25; pointer-events: none; }
.text-btn { padding: 10px 0; border: 0; background: none; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.text-btn:hover { color: var(--red); }

/* Bilder */
.pic { display: block; overflow: hidden; background: #d8d5ce center / cover no-repeat; }
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* ── Header ── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: var(--hdr); padding-inline: var(--gutter); max-width: 1560px; margin-inline: auto; }
.brand { position: relative; display: block; flex: none; width: 150px; margin-right: auto; }
.brand img { width: 100%; height: auto; transition: opacity .4s; }
.brand-color { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav a, .lang a { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.lang { display: flex; gap: 0; padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .35); }
.lang a { padding: 6px 8px; opacity: .55; transition: opacity .25s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.menu-btn { display: none; align-items: center; gap: 14px; padding: 8px 0; border: 0; background: none; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn-icon { position: relative; width: 24px; height: 10px; }
.menu-btn-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn-icon i:first-child { top: 0; }
.menu-btn-icon i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:last-child { top: 4px; transform: rotate(-45deg); }

.site-header.is-solid, .site-header.menu-open { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand-white, .site-header.menu-open .brand-white { opacity: 0; }
.site-header.is-solid .brand-color, .site-header.menu-open .brand-color { opacity: 1; }
.site-header.is-solid .lang, .site-header.menu-open .lang { border-left-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }

.menu { position: fixed; inset: 0; z-index: 45; overflow-y: auto; background: #fff; padding: calc(var(--hdr) + 24px) var(--gutter) 40px; }
.menu-inner > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 2rem; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.menu-foot { display: grid; gap: 14px; margin-top: 36px; }
.menu-foot a { text-decoration: none; }
.menu-foot .lang { padding-left: 0; border: 0; margin-left: -8px; }

/* ── Hero ── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: #2b2f26; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .18) 140px, rgba(0, 0, 0, 0) 260px),
    linear-gradient(to top, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .12) 42%, rgba(0, 0, 0, 0) 62%);
}
.hero-inner { position: absolute; left: 0; right: 0; bottom: clamp(56px, 11vh, 128px); }
.hero-title {
  max-width: 14ch;
  font-size: clamp(2.875rem, 1.3rem + 5.2vw, 6.25rem); line-height: .98; font-weight: 300; letter-spacing: -0.038em;
}
.hero-sub { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(1.0625rem, .95rem + .4vw, 1.3125rem); font-weight: 300; color: rgba(255, 255, 255, .86); }
.hero-pause {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 11vh, 128px);
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: transparent; color: #fff;
  transition: background-color .3s, border-color .3s;
}
.hero-pause:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero-pause svg { width: 16px; height: 16px; fill: currentColor; }
.hero-pause .i-play, .hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* ── Abschnitte ── */
.section { padding-block: var(--section); }
.section-alt { background: var(--alt); }
.section-flush { padding-bottom: 0; }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-bottom: clamp(56px, 7vw, 112px); }
.section-head > * { grid-column: 1 / span 11; }
.section-head > .kicker { margin-bottom: clamp(20px, 2vw, 28px); }
.section-head > .lead { grid-column: 7 / span 6; margin-top: clamp(28px, 3vw, 44px); max-width: 44ch; color: var(--text); }

/* Über uns */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.intro-media { grid-column: 1 / span 7; }
.intro-text { grid-column: 9 / span 4; padding-bottom: 36px; }
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap);
  margin-top: clamp(80px, 10vw, 152px);
}
.facts > div { padding-top: 22px; border-top: 1px solid var(--ink); }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 10px; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4.5rem); line-height: 1; font-weight: 200; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }

/* Bildmoment */
.band { margin: 0; }
.band-media { position: relative; height: clamp(440px, 64vw, 940px); overflow: hidden; }
.band-media .pic { position: absolute; inset: -8% 0; height: 116%; aspect-ratio: auto !important; }
.band-cap { margin-top: 14px; }
@supports (animation-timeline: view()) {
  .band-media .pic { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
}

/* Anlage: Rundflug */
.tour { position: relative; }
.tour-frame { position: relative; overflow: hidden; height: min(94vh, 64vw); min-height: 540px; background: #c9c6bd; }
.tour-stage { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 3; transform-origin: 0 0; will-change: transform; }
.tour.is-ready .tour-stage { transition: transform 1.4s var(--ease-io); }
.tour-stage .pic { width: 100%; height: 100%; }
.tour-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10, 10, 9, .62) 0%, rgba(10, 10, 9, .28) 26%, rgba(10, 10, 9, 0) 50%); }
.tour-pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 1; transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink);
  transition: opacity .5s var(--ease);
}
.tour-pin span {
  position: relative; display: grid; place-items: center; width: 32px; height: 32px; margin: 6px; border-radius: 50%;
  background: #fff; font-size: .875rem; font-weight: 600; box-shadow: 0 4px 18px rgba(0, 0, 0, .3);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.tour-pin::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); animation: halo 3.2s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.7); opacity: 0; } 35% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.tour-pin:hover span, .tour-pin.is-hover span { background: var(--ink); color: #fff; transform: scale(1.08); }
.tour.is-zoomed .tour-pin { opacity: 0; pointer-events: none; }

.tour-ui { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; pointer-events: none; }
.tour-ui > * { pointer-events: auto; }
.tour-nav { display: flex; flex-direction: column; align-items: flex-start; }
.tour-nav button {
  position: relative; padding: 7px 0 7px 30px; border: 0; background: none; text-align: left;
  font-size: clamp(1.125rem, .95rem + .55vw, 1.5rem); font-weight: 300; letter-spacing: -0.01em; color: rgba(255, 255, 255, .62);
  transition: color .3s, padding-left .4s var(--ease);
}
.tour-nav button::before { content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: currentColor; opacity: .5; transition: width .4s var(--ease), background-color .3s, opacity .3s; }
.tour-nav button:hover { color: #fff; }
.tour-nav button[aria-pressed="true"] { color: #fff; }
.tour-nav button[aria-pressed="true"]::before { width: 22px; background: var(--red); opacity: 1; height: 2px; margin-top: -.5px; }
.tour-nav button[data-spot="0"] { margin-bottom: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.tour-card { align-self: flex-end; width: min(400px, 100%); margin-bottom: clamp(32px, 5vh, 56px); padding: 30px 30px 16px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .22); }
.tour-card-count { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tour-card-title { margin-top: 8px; font-size: 1.75rem; line-height: 1.15; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); }
.tour-card-text { margin-top: 10px; font-size: 1.0625rem; line-height: 1.6; }
.tour-card-nav { display: flex; align-items: center; gap: 2px; margin-top: 14px; margin-left: -10px; }
.tour-card-nav .text-btn { margin-left: auto; }
.tour-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--gap); padding-block: 40px; }
.tour-list strong { display: block; color: var(--ink); }
.js .tour-list { display: none; }
html:not(.js) .tour-ui { display: none; }

/* Erfolge (dunkel) */
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark .display, .section-dark .h3, .section-dark .lead, .section-dark strong { color: #fff; }
.section-dark .kicker, .section-dark figcaption { color: #8E8B84; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.split-media { grid-column: 1 / span 5; }
.split-text { grid-column: 7 / span 6; }
.results { margin-top: clamp(96px, 12vw, 176px); }
.results .h3 { margin-bottom: 28px; }
.table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.table th { padding: 0 24px 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .55); text-align: left; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8E8B84; }
.table td { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--dark-line); vertical-align: baseline; }
.table .c-year { width: 96px; color: #8E8B84; font-variant-numeric: tabular-nums; }
.table .c-event strong { display: block; font-size: 1.1875rem; line-height: 1.35; font-weight: 400; }
.table .c-event span { display: block; margin-top: 2px; font-size: .9375rem; color: #8E8B84; }
.table .c-horse { width: 30%; }
.table .c-place { width: 80px; padding-right: 0; text-align: right; font-size: 1.75rem; line-height: 1; font-weight: 200; color: #fff; font-variant-numeric: tabular-nums; }
.table .is-win { color: #FF3B48; }
.table th.c-place { font-size: .8125rem; font-weight: 600; color: #8E8B84; vertical-align: bottom; }
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(80px, 10vw, 144px); align-items: start; }
.duo > :first-child { grid-column: 1 / span 7; }
.duo > :last-child { grid-column: 9 / span 4; margin-top: 22%; }

/* Ausbildung */
.offers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.offer { grid-column: 1 / span 5; }
.offer-offset { grid-column: 8 / span 5; margin-top: clamp(80px, 12vw, 200px); }
.offer .h3 { margin: clamp(32px, 3.4vw, 48px) 0 18px; }
.checks { margin-top: 28px; }
.checks li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); color: var(--ink); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 1px; top: 1.15em; width: 13px; height: 6px; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg); }
.offers-cta { margin-top: clamp(64px, 8vw, 112px); text-align: center; }

/* Turnier */
.split-even { align-items: start; }
.split-even .split-text { grid-column: 1 / span 6; }
.split-aside { grid-column: 8 / span 5; }
.spec { margin-top: 44px; }
.spec > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { color: var(--ink); }
.next { padding-top: 22px; border-top: 1px solid var(--ink); }
.next-text { margin-top: 14px; font-size: 1.375rem; line-height: 1.45; font-weight: 300; color: var(--ink); }
.next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 20px; }
.history-head { margin-top: 64px; margin-bottom: 8px; }
.history li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.history li:last-child { border-bottom: 1px solid var(--line); }
.history-date { font-size: .875rem; color: var(--muted); }
.history-title { margin-top: 4px; font-size: 1.25rem; font-weight: 400; color: var(--ink); }

.gallery { margin-top: clamp(96px, 11vw, 160px); }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-track {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-inline: var(--pad);
  scrollbar-width: none; scroll-behavior: smooth;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > li { flex: none; width: clamp(280px, 40vw, 600px); scroll-snap-align: start; }
.gallery-track > li:last-child { margin-right: 1px; }
.gallery-track p { margin-top: 12px; font-size: .9375rem; color: var(--muted); }
.gitem { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gitem .pic img { transition: transform 1.2s var(--ease); }
.gitem:hover .pic img { transform: scale(1.04); }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 11, .97); color: #fff; }
.lightbox::backdrop { background: rgba(12, 12, 11, .97); }
.lightbox[open] { display: grid; place-items: center; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox-figure { display: grid; justify-items: center; gap: 16px; padding: 80px 88px 48px; }
.lightbox-figure img { max-width: min(86vw, 1600px); max-height: calc(100dvh - 180px); width: auto; height: auto; object-fit: contain; }
.lightbox-figure figcaption { margin: 0; color: rgba(255, 255, 255, .7); }
.lightbox-btn { position: fixed; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: transparent; color: #fff; transition: background-color .25s, border-color .25s; }
.lightbox-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.contact-info { grid-column: 1 / span 5; }
.letter { grid-column: 7 / span 6; }
.contact-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin-top: 6px; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.2; font-weight: 300; letter-spacing: -0.015em; color: var(--ink); font-variant-numeric: lining-nums; }
.contact-list .dd-mail { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.contact-place { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; font-size: 1.0625rem; }
.contact-place .kicker { margin-bottom: 10px; }
.contact-fax { margin-top: 10px; color: var(--muted); }
.route { margin-top: 12px; line-height: 2; }

.letter { padding: clamp(32px, 4vw, 56px); background: var(--alt); }
.letter > .kicker { margin-bottom: 22px; }
.letter fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.letter-line { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); line-height: 1.95; font-weight: 300; color: var(--ink); }
.field { display: inline-block; max-width: 100%; }
.field input, .field select {
  max-width: 100%; min-width: 7ch; margin: 0 .15em; padding: 0 .1em;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
  font: inherit; font-weight: 400; color: var(--ink); line-height: 1.3; transition: border-color .25s;
}
.field input { field-sizing: content; width: 11ch; }
@supports (field-sizing: content) { .field input { width: auto; } }
.field input::placeholder { color: #A7A49D; font-weight: 300; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 1.2em; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right .15em center / .5em auto; }
.field input:focus, .field select:focus { outline: none; border-bottom-width: 2px; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.field.is-invalid input { border-bottom: 2px solid var(--red); }
.letter-area { margin: 18px 0 10px; }
.letter-area textarea { width: 100%; min-height: 140px; resize: vertical; padding: 16px 18px; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 1.0625rem; line-height: 1.6; transition: border-color .25s; }
.letter-area textarea:focus { border-color: var(--ink); outline: none; }
.letter-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.letter-status { min-height: 1.5em; margin-top: 14px; font-size: 1rem; }
.letter-status.is-error { color: #B3091A; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: #9C9992; font-size: 1rem; border-top: 1px solid #262624; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px var(--gap); padding-block: clamp(72px, 8vw, 112px) clamp(56px, 6vw, 80px); }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { margin-top: 22px; max-width: 24ch; font-size: 1.125rem; font-weight: 300; color: #CFCCC5; }
.footer-col { font-style: normal; line-height: 2; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 36px; border-top: 1px solid #262624; font-size: .875rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-copy { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-credit { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(156, 153, 146, .45); }
.footer-credit:hover { text-decoration-color: currentColor; }

/* ── Unterseiten ── */
.page-head { padding-top: calc(var(--hdr) + clamp(56px, 8vw, 128px)); padding-bottom: clamp(48px, 6vw, 96px); }
.page-head .section-head { margin-bottom: 0; }
.section-tight { padding-top: clamp(24px, 3vw, 48px); }
.section-head-compact { margin-bottom: clamp(32px, 4vw, 56px); }
.band-media-short { height: clamp(320px, 40vw, 600px); }
.page-next { margin-top: clamp(80px, 10vw, 140px); text-align: right; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-inner > a[aria-current="page"] { color: var(--red); }

.h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); line-height: 1.08; font-weight: 300; letter-spacing: -0.026em; color: var(--ink); text-wrap: balance; }
.section-dark .h2 { color: #fff; }

.more {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 32px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.more::after { content: ''; width: 40px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.more:hover::after { width: 72px; }
.section-dark .more { color: #fff; }
.prose .more { margin-top: 36px; }

/* Startseite: Überblick */
.teaser { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.teaser + .teaser { margin-top: clamp(96px, 12vw, 184px); }
.teaser-media { grid-column: 1 / span 7; display: block; overflow: hidden; }
.teaser-media .pic img { transition: transform 1.4s var(--ease); }
.teaser-media:hover .pic img { transform: scale(1.03); }
.teaser-text { grid-column: 9 / span 4; }
.teaser.is-flipped .teaser-media { grid-column: 6 / span 7; grid-row: 1; }
.teaser.is-flipped .teaser-text { grid-column: 1 / span 4; grid-row: 1; }
.teaser-text .kicker { margin-bottom: 18px; }
.teaser-text .h2 { margin-bottom: 24px; }
.teaser-text p:not(.kicker) { max-width: 44ch; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; margin-top: clamp(-24px, -2vw, 0px); }
.cta-phone { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4rem); line-height: 1; font-weight: 200; letter-spacing: -0.03em; color: #fff; text-decoration: none; font-variant-numeric: lining-nums; }
.cta-phone:hover { color: #fff; opacity: .8; }
.btn-light, .section-dark .btn { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-light:hover, .section-dark .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Über uns: Familie */
.team { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.team-media { grid-column: 1 / span 5; }
.team-text { grid-column: 7 / span 6; }
.team-text .kicker { margin-bottom: 18px; }
.team-list { margin-top: 36px; }
.team-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.team-list li:last-child { border-bottom: 1px solid var(--line); }
.team-list .h3 { font-weight: 300; }
.team-list p { margin-top: 4px; color: var(--muted); }

/* Anlage: Bereiche & Anfahrt */
.stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.stations li { padding: 26px 0 40px; border-top: 1px solid var(--ink); }
.stations .h3 { margin-bottom: 10px; font-weight: 300; }
.stations p { max-width: 36ch; }
.way-addr { margin-top: 28px; font-size: 1.25rem; line-height: 1.55; font-weight: 300; color: var(--ink); }
.split-even .split-media { grid-column: 1 / span 6; }
.split-even .split-media + .split-text { grid-column: 8 / span 5; }

.footer-nav { display: grid; gap: 0; }

/* ── Sprach-Hinweis ── */
.toast {
  position: fixed; right: var(--gutter); top: calc(var(--hdr) + 12px); z-index: 60; max-width: calc(100vw - 2 * var(--gutter));
  display: flex; align-items: center; gap: 18px; padding: 10px 8px 10px 20px;
  background: #fff; color: var(--ink); box-shadow: 0 14px 40px rgba(0, 0, 0, .16); font-size: 1rem;
  opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast a { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-underline-offset: 5px; }
.toast button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.375rem; line-height: 1; color: var(--muted); }
.toast button:hover { color: var(--ink); }

/* ── Rechtstexte ── */
.legal { padding-top: calc(var(--hdr) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(88px, 10vw, 152px); }
.legal > * { max-width: 760px; }
.legal .h2 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); line-height: 1.04; font-weight: 300; letter-spacing: -0.03em; color: var(--ink); }
.legal-back { margin-bottom: 36px; font-size: 1rem; }
.legal-note { margin-top: 16px; color: var(--muted); }
.legal-body { margin-top: 48px; }
.legal-body h2 { margin: 2.2em 0 .5em; font-size: 1.375rem; font-weight: 400; color: var(--ink); }
.legal-body p + p { margin-top: .8em; }
.legal-body .lede { font-size: 1.3125rem; font-weight: 300; color: var(--ink); }
.legal-body .small { margin-top: 2.5em; font-size: .9375rem; color: var(--muted); }

/* ── Blur-Einblendung für Texte ──
   Die Texte sind bis zur Aufteilung in Wörter unsichtbar (kein Aufblitzen),
   dann werden sie Wort für Wort aus der Unschärfe scharfgezogen. */
.js [data-blur-group] [data-blur] { visibility: hidden; }
.js [data-blur-group].is-split [data-blur] { visibility: visible; }
.js [data-blur-group]:not(.is-split) [data-blur] { animation: blur-safety 0s 3s forwards; }
@keyframes blur-safety { to { visibility: visible; } }
.bw { display: inline-block; }
.js .is-split .bw, .js .is-split .bw-line { opacity: 0; }
.js .is-split.is-in .bw, .js .is-split.is-in .bw-line {
  animation: blur-in 1.7s cubic-bezier(.2, .65, .15, 1) both;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 75ms);
}
@keyframes blur-in {
  from { opacity: 0; filter: blur(18px); transform: translate3d(0, .32em, 0); }
  50% { opacity: 1; }
  to { opacity: 1; filter: blur(0); transform: none; }
}
.page-home .site-header { animation: chrome-in 1.6s 1.15s cubic-bezier(.2, .65, .15, 1) backwards; }
.hero-pause { animation: chrome-in 1.6s 1.5s cubic-bezier(.2, .65, .15, 1) backwards; }
@keyframes chrome-in { from { opacity: 0; filter: blur(10px); } }

/* ── Einblendungen ── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal] .pic img { transform: scale(1.05); transition: transform 2s var(--ease); }
.js [data-reveal].is-in .pic img { transform: none; }
.js .gitem .pic img { transform: none; }

@view-transition { navigation: auto; }

/* ── Responsiv ── */
@media (max-width: 1120px) {
  .nav, .header-inner > .lang { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  :root { --hdr: 72px; }
  .brand { width: 124px; }
  .section-head > * { grid-column: 1 / -1 !important; }
  .section-head > .lead { margin-top: 24px; }
  .intro, .split, .offers, .contact, .duo { grid-template-columns: minmax(0, 1fr); }
  .intro > *, .split > *, .offers > *, .contact > *, .duo > * { grid-column: 1 / -1 !important; }
  .intro-text { padding: 40px 0 0; }
  .split-media { max-width: 540px; margin-bottom: 40px; }
  .split-aside { margin-top: 56px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .offer-offset { margin-top: 72px; }
  .duo > :last-child { margin-top: 24px; width: 70%; justify-self: end; }
  .letter { margin-top: 56px; }
  .teaser, .team { grid-template-columns: minmax(0, 1fr); }
  .teaser > *, .team > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .teaser-text, .team-text { margin-top: 32px; }
  .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-even .split-media + .split-text { margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .tour-frame { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .tour-shade { display: none; }
  .tour-ui { position: static; display: block; width: auto; margin: 0; }
  .tour-nav { flex-direction: row; gap: 4px; overflow-x: auto; padding: 18px var(--gutter) 4px; scrollbar-width: none; }
  .tour-nav::-webkit-scrollbar { display: none; }
  .tour-nav button { flex: none; padding: 8px 14px; border: 1px solid var(--line); font-size: 1rem; font-weight: 400; color: var(--ink); }
  .tour-nav button::before { display: none; }
  .tour-nav button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .tour-nav button[data-spot="0"] { margin: 0; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .tour-card { width: auto; margin: 0 var(--gutter); padding: 22px 0 8px; box-shadow: none; background: transparent; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.5rem, 1.4rem + 5.4vw, 3.25rem); }
  .hero-pause { bottom: 24px; width: 44px; height: 44px; }
  .hero-inner { bottom: 84px; }
  .band-media { height: 70vh; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--dark-line); }
  .table td { padding: 0; border: 0; width: auto !important; }
  .table .c-year { grid-row: 1 / 3; padding-top: 3px; }
  .table .c-event { grid-column: 2; grid-row: 1; }
  .table .c-horse { grid-column: 2; grid-row: 2; font-size: .9375rem; color: #8E8B84; }
  .table .c-place { grid-column: 3; grid-row: 1; }
  .contact-place, .tour-list { grid-template-columns: 1fr; }
  .stations { grid-template-columns: 1fr; }
  .stations li { padding-bottom: 28px; }
  .page-next { text-align: left; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .letter { padding: 28px 20px; margin-inline: calc(-1 * var(--gutter)); }
  .gallery-track > li { width: 84vw; }
  .gallery-nav .icon-btn-line { width: 46px; height: 46px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox-figure { padding: 72px 12px 96px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-reveal] .pic img { opacity: 1; transform: none; }
  .js [data-blur-group] [data-blur] { visibility: visible; }
  .js .is-split .bw, .js .is-split .bw-line { opacity: 1; animation: none !important; }
  .page-home .site-header, .hero-pause { animation: none !important; }
}
@media print {
  .site-header, .hero-video, .hero-pause, .tour-ui, .gallery-nav, .toast, .menu { display: none !important; }
  .hero { height: auto; min-height: 0; color: var(--ink); background: none; }
  .hero-inner { position: static; }
  .section-dark, .site-footer { background: none; color: var(--ink); }
  .js .tour-list { display: grid; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
