@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-800.woff2') format('woff2');
}

:root {
  --black: #000000;
  --near-black: #0c0c0c;
  --yellow: #FDFF13;
  --yellow-dim: #d8da10;
  --off-white: #f2f2f2;
  --grey: #7a7a7a;
  --grey-line: #262626;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  color: var(--near-black);
  background: #fff;
  line-height: 1.65;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 9px 16px;
}
.topbar a { text-decoration: underline; }

/* Header */
header.site {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--off-white);
  font-weight: 800;
  white-space: nowrap;
  font-size: 1.05rem;
}

.brand img { height: 44px; width: auto; }

nav.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--off-white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

nav.main-nav a:hover::after { transform: scaleX(1); }

nav.main-nav a.cta {
  background: var(--yellow);
  color: var(--black);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
}
nav.main-nav a.cta::after { display: none; }

.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown-toggle .caret { font-size: 0.7em; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-toggle .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  min-width: 200px;
  background: var(--black);
  border: 1px solid var(--grey-line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.25);
  z-index: 70;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }

.nav-dropdown-menu a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); }

/* Search: nav links collapse away and the search field grows into their place */
nav.main-nav > a {
  transition: opacity 0.22s ease, max-width 0.3s ease, margin 0.3s ease;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
}
nav.main-nav.search-open > a:not(.cta) {
  opacity: 0;
  max-width: 0;
  margin: 0 -14px 0 0;
  pointer-events: none;
}

.nav-search-wrap {
  position: relative;
  flex: 0 0 0px;
  min-width: 0;
  opacity: 0;
  transition: flex-grow 0.35s ease, opacity 0.25s ease;
}
nav.main-nav.search-open .nav-search-wrap {
  flex: 1 1 auto;
  opacity: 1;
  transition: flex-grow 0.35s ease, opacity 0.25s ease 0.1s;
}

.nav-search { display: flex; align-items: center; width: 100%; }
.nav-search input[type="search"] {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--off-white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.nav-search input[type="search"]:focus { border-color: var(--yellow); }
.nav-search input[type="search"]::placeholder { color: var(--grey); }
.nav-search input[type="search"]::-webkit-search-cancel-button { filter: invert(1); opacity: 0.6; }

.nav-search-toggle {
  background: none;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-search-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-search-toggle .icon-close { display: none; }
nav.main-nav.search-open .nav-search-toggle { color: var(--yellow); }
nav.main-nav.search-open .nav-search-toggle .icon-search { display: none; }
nav.main-nav.search-open .nav-search-toggle .icon-close { display: block; }

.search-suggestions {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--black);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.3);
  z-index: 80;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.search-suggestions.open { display: flex; opacity: 1; transform: translateY(0); }

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--off-white);
}
.search-suggestion::after { display: none; }
.search-suggestion:hover,
.search-suggestion.active { background: rgba(255,255,255,0.08); }
.search-suggestion .thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
}
.search-suggestion .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-suggestion .body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-suggestion .tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.search-suggestion .title { font-size: 0.95rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggestion .snippet {
  font-size: 0.85rem;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggestion mark {
  background: var(--yellow);
  color: var(--black);
  border-radius: 2px;
  padding: 0 2px;
}
.search-suggestions .search-empty {
  padding: 14px 12px;
  color: var(--grey);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero image — stands alone, no text overlay */
.hero-image {
  position: relative;
  height: 100vh;
  height: 100svh; /* ohne Springen, wenn die Adressleiste auf dem Handy ein-/ausfährt */
  min-height: 640px;
  max-height: 1200px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

/* Dunkelheit → Licht: das Bild sinkt unten sanft ins Schwarz der folgenden Sektion */
.hero-image::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 55%, var(--black) 100%);
  pointer-events: none;
  z-index: 1;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  animation: bob 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Hero text — follows the image */
.hero-text {
  background: var(--black);
  color: var(--off-white);
  text-align: center;
  padding: 90px 24px 96px;
}

.hero-inner { max-width: 800px; margin: 0 auto; }

.hero-text .eyebrow {
  display: inline-block;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0 0 26px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-text h1 .highlight {
  position: relative;
  color: var(--yellow);
  white-space: nowrap;
}

/* handgezeichnete Unterstreichung — zeichnet sich einmalig, sobald sie ins Bild scrollt */
.highlight-underline {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -0.22em;
  width: 106%;
  height: 0.3em;
  overflow: visible;
  pointer-events: none;
}
.highlight-underline path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--underline-len, 400);
  stroke-dashoffset: var(--underline-len, 400);
}
.highlight-underline.draw path {
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  stroke-dashoffset: 0;
}

.hero-text p.lead {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: #d8d8d8;
}

/* Blog-post header — used by article/campaign subpages */
.post-header {
  background: #fff;
  padding: 64px 0 0;
}

.post-header .wrap { max-width: 800px; }

.post-header .eyebrow-sm { color: #a89f00; }

.post-title {
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 14px 0 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 40px;
}
.post-meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--grey);
  flex: none;
}

.post-featured {
  max-width: 900px;
  margin: 0 auto 8px;
  padding: 0 24px;
}
.post-featured img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.post-featured figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 10px 26px rgba(253,255,19,0.25);
}
.btn-primary:hover { background: var(--yellow-dim); }

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 2px solid var(--off-white);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-dark {
  background: var(--black);
  color: var(--off-white);
  border: 2px solid var(--black);
}
.btn-dark:hover { background: var(--near-black); }

/* Sections */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section.dark { background: var(--black); color: var(--off-white); }
section.grey { background: #faf9f4; }

.eyebrow-sm {
  display: inline-block;
  color: var(--yellow-dim);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
section.grey .eyebrow-sm, section:not(.dark):not(.grey) .eyebrow-sm {
  color: #a89f00;
}

h2.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-sub {
  color: var(--grey);
  margin: 0 0 48px;
  max-width: 640px;
  font-size: 1.08rem;
}
section.dark .section-sub { color: #b8b8b8; }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Breadcrumb / back link for subpages */
.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 28px;
  width: fit-content;
}
.back-link:hover { color: var(--near-black); }

/* Intro / Mission */
.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission blockquote {
  margin: 0 0 26px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  border-left: 4px solid var(--yellow);
  padding-left: 22px;
}

.mission p { font-size: 1.05rem; color: #3a3a3a; }

.mission-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.mission-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Initiativen */
.init-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.init-card {
  background: #111;
  border-radius: var(--radius);
  padding: 30px;
  border-top: 3px solid var(--yellow);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.init-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex: none;
}
.init-card .icon svg { width: 18px; height: 18px; display: block; }
.init-card .init-card-body { flex: 1; }
.init-card h3 { margin: 0 0 14px; font-size: 1.25rem; }
.init-card p { margin: 0; color: #bdbdbd; font-size: 0.98rem; }

/* Story spotlight */
.story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.story-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.story-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.story h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 20px; font-weight: 800; }
.story p { color: #3a3a3a; font-size: 1.05rem; margin: 0 0 18px; }
.story p:last-of-type { margin-bottom: 30px; }

/* Article (donation-call subpages) */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article p {
  font-size: 1.1rem;
  color: #2c2c2c;
  margin: 0 0 22px;
}
.article p:first-of-type {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--near-black);
}

.article h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 48px 0 18px;
  letter-spacing: -0.01em;
}
.article h2:first-child { margin-top: 0; }

.article h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--near-black);
  margin: 34px 0 12px;
}

.article ul, .article ol {
  margin: 0 0 24px;
  padding-left: 22px;
  color: #2c2c2c;
  font-size: 1.05rem;
}
.article li { margin-bottom: 8px; }

.article a { color: var(--near-black); text-decoration: underline; text-decoration-color: var(--yellow-dim); text-decoration-thickness: 2px; }
.article a:hover { color: #a89f00; }

.article strong { font-weight: 700; }

.article .lede {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--near-black);
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 0.98rem;
}
.article table th, .article table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e6e6e0;
  vertical-align: top;
}
.article table th { color: var(--grey); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

.article-source-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e6e6e0;
  color: var(--grey);
  font-size: 0.9rem;
}
.article-source-note a { color: var(--grey); text-decoration-color: var(--grey); }

.callout-donate {
  background: var(--black);
  color: var(--off-white);
  border-radius: var(--radius);
  padding: 36px;
  margin: 40px 0;
}
.callout-donate h3 { color: var(--yellow); margin: 0 0 14px; font-size: 1.15rem; }
.callout-donate p { color: #d8d8d8; margin: 0 0 18px; font-size: 1rem; }
.callout-donate dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0 0 24px; }
.callout-donate dt { color: var(--yellow); font-weight: 700; }
.callout-donate dd { margin: 0; }
.callout-donate .tag-hint {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 44px 0;
}
.gallery-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.gallery-2 .tall { aspect-ratio: 3/4; }
.gallery-2 .wide { aspect-ratio: 4/3; }

/* single inline image within article body — keeps the source's own proportions */
.post-inline-image {
  margin: 44px 0;
}
.post-inline-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.post-inline-image video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  background: #000;
}
.post-inline-image video.portrait {
  max-width: 380px;
  margin: 0 auto;
}
.post-inline-image figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
}

/* Product roundup grid (e.g. UV mask comparison) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.product-grid figure { margin: 0; }
.product-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.product-grid figcaption {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}

/* FAQ accordion */
.faq-list {
  margin: 0 0 40px;
  border-top: 1px solid #e6e6e0;
}
.faq-item {
  border-bottom: 1px solid #e6e6e0;
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--near-black);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--yellow-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--near-black);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq-item p {
  margin: 16px 0 0;
  color: #3a3a3a;
  font-size: 1.02rem;
}
.faq-item p a { color: var(--near-black); text-decoration: underline; text-decoration-color: var(--yellow-dim); }

/* Horse fact cards */
.horse-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.horse-fact {
  text-align: center;
}
.horse-fact img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  margin-bottom: 10px;
}
.horse-fact h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 800; }
.horse-fact p { margin: 0; font-size: 0.82rem; color: var(--grey); line-height: 1.4; }

/* Video */
.video-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  aspect-ratio: 16/9;
}

.video-thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--black);
  background: rgba(253,255,19,0.92);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: auto;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.video-thumb:hover::after { transform: scale(1.08); }
.video-thumb.is-playing::after { opacity: 0; }

.video-thumb .video-play-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video-thumb .video-play-btn img { width: 100%; height: 100%; object-fit: cover; }

.video-thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Blog / article listing grid (Informationen hub, future blog index) */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ece9dd;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.1); }

.post-card .post-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.post-card .post-card-image img { width: 100%; height: 100%; object-fit: cover; }

.post-card .post-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.post-card .post-card-tag {
  color: #a89f00;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card h3 { margin: 0 0 10px; font-size: 1.15rem; font-weight: 800; line-height: 1.35; }
.post-card p { margin: 0 0 16px; color: var(--grey); font-size: 0.94rem; flex: 1; }
.post-card .post-card-link { font-weight: 700; font-size: 0.9rem; color: var(--near-black); }
.post-card:hover .post-card-link { color: #a89f00; }

/* Spenden */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.support-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  border: 2px solid var(--black);
}
.support-card h3 { margin: 0 0 10px; }
.support-card p { color: var(--grey); font-size: 0.92rem; margin: 0 0 18px; }
.support-card img { margin: 0 auto 16px; max-width: 220px; }

.bank-box {
  background: var(--black);
  color: var(--off-white);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; }
.bank-box dt { color: var(--yellow); font-weight: 700; }
.bank-box dd { margin: 0; }

/* Footer */
footer.site {
  background: var(--black);
  color: #cfcfcf;
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand span { color: var(--off-white); font-weight: 800; font-size: 1.05rem; }

footer.site h4 {
  color: var(--yellow);
  margin: 0 0 14px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

footer.site p, footer.site a { text-decoration: none; font-size: 0.95rem; }
footer.site a:hover { color: var(--yellow); }
footer.site p a { display: block; margin-bottom: 8px; }

.social-row { display: flex; gap: 14px; margin-top: 6px; }
.social-row a {
  width: 42px; height: 42px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-row a svg { width: 19px; height: 19px; }
footer.site .social-row a:hover { background: var(--yellow); color: var(--black); }

.footer-bottom {
  border-top: 1px solid var(--grey-line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #888;
}
.footer-bottom a { color: #888; text-decoration: underline; }

@media (max-width: 900px) {
  section { padding: 64px 0; }
  section.tight { padding: 44px 0; }
  .mission, .story, .video-block { grid-template-columns: 1fr; }
  .story-photo { order: -1; }
  .init-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .bank-box { grid-template-columns: 1fr; text-align: center; }
  .bank-box dl { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-2 { grid-template-columns: 1fr; }
  .callout-donate dl { grid-template-columns: auto 1fr; }
  .post-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .horse-facts { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section-sub { margin-bottom: 32px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero-text { padding: 64px 18px 72px; }
  .post-header { padding: 44px 0 0; }
  section { padding: 48px 0; }
  .init-card { padding: 22px; gap: 14px; }
  .support-card { padding: 24px 20px; }
  .bank-box { padding: 26px; }
  .btn { padding: 13px 26px; font-size: 0.95rem; }
  .horse-facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .horse-fact h4 { font-size: 0.92rem; }
  .horse-fact p { font-size: 0.76rem; }
}

@media (max-width: 860px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--grey-line);
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 4px 0; }
  .nav-dropdown-menu {
    position: static;
    display: none;
    margin: 6px 0 0;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }

  /* Mobile nav stacks vertically, so the search field just replaces the links'
     block instead of growing horizontally into them. No overflow:hidden here,
     since the results dropdown is an absolutely-positioned child and must not
     be clipped by the collapse animation. */
  nav.main-nav.search-open { gap: 10px; }
  nav.main-nav.search-open > a:not(.cta) { display: none; max-width: none; margin: 0; }
  .nav-search-wrap { width: 100%; flex: none; opacity: 1; display: none; }
  nav.main-nav.search-open .nav-search-wrap { display: block; }
  nav.main-nav.search-open .nav-search-toggle { align-self: flex-end; }
}

/* Membership application form (Aufnahmeantrag) — intro */
.form-intro { max-width: 760px; margin: 0 auto 36px; }
.form-intro-lede {
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--near-black);
  text-wrap: balance;
  margin: 0 0 22px;
}

.form-intro-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .form-intro-steps { grid-template-columns: 1fr; }
}
.form-intro-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #faf9f4;
  border: 1px solid #ece9df;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.form-intro-steps a { color: var(--near-black); text-decoration: underline; text-decoration-color: var(--yellow-dim); text-decoration-thickness: 2px; }
.form-intro-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--near-black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Membership application form (Aufnahmeantrag) */
.app-form {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ece9df;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(12,12,12,0.06);
  padding: 12px 48px 44px;
}
@media (max-width: 640px) {
  .app-form { padding: 8px 20px 32px; border-radius: 18px; }
}

.form-section {
  padding: 34px 0;
  border-bottom: 1px solid #ece9df;
}
.form-section:last-of-type { border-bottom: none; padding-bottom: 6px; }

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.form-step {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--near-black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-section h2 {
  font-size: 1.18rem;
  font-weight: 800;
  margin: 2px 0 4px;
  letter-spacing: -0.01em;
}
.form-section .form-section-hint {
  color: var(--grey);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Filled/underline inputs with floating labels */
.field { display: flex; flex-direction: column; }
.field .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--grey);
}

.field-group { display: flex; flex-direction: column; gap: 10px; }
.field-group-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
}
.field-date-group { display: flex; gap: 12px; }
.field-date-group .field-float:nth-child(1) { flex: 1; }
.field-date-group .field-float:nth-child(2) { flex: 1.15; }
.field-date-group .field-float:nth-child(3) { flex: 1.4; }

.field-float { position: relative; }
.field-float input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #d9d4c4;
  border-radius: 10px 10px 0 0;
  padding: 22px 14px 10px;
  font: inherit;
  font-size: 0.98rem;
  background: #f6f4ec;
  color: var(--near-black);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field-float input[type="number"] { -moz-appearance: textfield; }
.field-float label {
  position: absolute;
  left: 14px;
  top: 16px;
  font-size: 0.98rem;
  color: var(--grey);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease, letter-spacing 0.15s ease;
}
.field-float input::placeholder { color: transparent; }
.field-float input:focus,
.field-float input:not(:placeholder-shown) {
  background: #f0eee2;
  border-bottom-color: var(--near-black);
}
.field-float input:focus + label,
.field-float input:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--near-black);
}
.field-float input:focus-visible {
  outline: 2px solid var(--near-black);
  outline-offset: 2px;
}

.field .field-hint { font-size: 0.8rem; color: var(--grey); margin-top: 8px; }

/* Custom checkboxes — plain rows, divided by hairlines */
.consent-list { display: flex; flex-direction: column; }
.consent-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid #ece9df;
}
.consent-item:first-child { border-top: none; padding-top: 0; }

.check {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}
.check input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.check .box {
  position: absolute;
  inset: 0;
  border: 1.5px solid #c9c3b2;
  border-radius: 6px;
  background: #fff;
  pointer-events: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.check .box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--near-black);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.1s ease;
}
.check input:checked + .box { background: var(--yellow); border-color: var(--yellow-dim); }
.check input:checked + .box::after { opacity: 1; }
.check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(12,12,12,0.15); }

.consent-text { font-size: 0.92rem; line-height: 1.55; }
.consent-text strong { display: block; margin-bottom: 2px; }

.publish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 20px;
}
@media (max-width: 640px) { .publish-grid { grid-template-columns: 1fr; } }
.publish-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  cursor: pointer;
}

.form-legal-note {
  background: #fff9d9;
  border: 1px solid #e9dd8f;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 4px 0 28px;
}
.form-legal-note strong { display: block; margin-bottom: 4px; }

/* Full-width submit + secondary action, like the reference layout */
.form-submit { margin-top: 8px; }
.btn-block {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 18px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-block.btn-primary {
  background: var(--yellow);
  color: var(--near-black);
  box-shadow: 0 10px 26px rgba(253,255,19,0.25);
}
.btn-block.btn-primary:hover { background: var(--yellow-dim); }

.form-submit-note {
  color: var(--grey);
  font-size: 0.88rem;
  margin-top: 14px;
  text-align: center;
}

.form-submit-divider {
  border: none;
  border-top: 1px solid #ece9df;
  margin: 28px 0 20px;
}

.btn-block.btn-outline {
  background: transparent;
  color: var(--near-black);
  border: 2px solid var(--near-black);
}
.btn-block.btn-outline:hover { background: var(--near-black); color: #fff; }

/* Mobile Feinschliff */

/* Überlange Wörter (z. B. „Gläubiger-Identifikationsnummer“) umbrechen statt überstehen */
body { overflow-wrap: break-word; }
@media (max-width: 520px) {
  p, li, dd, figcaption, h1, h2, h3, h4,
  .post-title, .post-card-body, .callout-donate {
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

/* iOS Safari zoomt bei Eingabefeldern unter 16px automatisch in die Seite */
@media (pointer: coarse) {
  .nav-search input[type="search"],
  .field-float input {
    font-size: 16px;
  }
}
