/* ============================================================
   1. Angelverein Erlensee 1930 e.V. — Landingpage
   ============================================================ */

@font-face { font-family: "Alegreya Sans"; src: url("../assets/fonts/alegreya-sans-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../assets/fonts/alegreya-sans-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../assets/fonts/alegreya-sans-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../assets/fonts/alegreya-sans-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../assets/fonts/alegreya-sans-800.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../assets/fonts/libre-caslon-text-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../assets/fonts/libre-caslon-text-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("../assets/fonts/libre-caslon-text-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --navy-950: oklch(12% 0.03 255);
  --navy-900: oklch(16% 0.038 255);
  --navy-800: oklch(22% 0.052 255);
  --navy-700: oklch(30% 0.068 255);
  --blue-club: oklch(47% 0.18 258);
  --gold: oklch(82% 0.15 88);
  --gold-strong: oklch(87% 0.17 92);
  --gold-ink: oklch(18% 0.035 255);
  --reed: oklch(70% 0.085 136);
  --reed-deep: oklch(38% 0.07 140);
  --cream: oklch(95% 0.025 80);
  --text: oklch(94% 0.014 255);
  --text-dim: oklch(76% 0.025 255);

  --font-display: "Libre Caslon Text", Georgia, serif;
  --font-body: "Alegreya Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Intrinsische HTML-Maße reservieren Platz, dürfen responsive Bilder aber
   nicht verzerren, sobald ihre Breite per CSS verkleinert wird. */
img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; cursor: pointer; }

button,
input,
textarea,
select { font: inherit; }

::selection { color: var(--gold-ink); background: var(--gold); }

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--gold-ink);
  background: var(--gold);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

body::after {
  content: "";
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in oklch, var(--reed-deep) 36%, transparent), transparent 45%),
    var(--navy-950);
  transform: translateY(101%);
  transition: transform 0.42s var(--ease-out);
}
body.is-leaving::after { transform: translateY(0); }

/* ============ Navigation ============ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              backdrop-filter 0.35s var(--ease-out);
}

.nav--scrolled {
  background: rgba(8, 17, 31, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(242, 201, 76, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}

.nav__logo {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-text strong { font-size: 1rem; letter-spacing: 0.01em; }
.nav__brand-text small { font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.14em; }

.nav__links { display: flex; gap: 0.4rem; }

.nav__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.82rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }

.nav__link--active {
  color: var(--gold-ink);
  background: var(--gold);
  box-shadow: 0 0 22px rgba(242, 201, 76, 0.55);
  font-weight: 600;
}
.nav__link--active:hover { color: var(--gold-ink); background: var(--gold-strong); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -6% 0;
  will-change: transform;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 26, 0.82) 0%, rgba(9, 20, 40, 0.45) 34%,
                    rgba(8, 17, 31, 0.55) 68%, var(--navy-900) 100%),
    linear-gradient(115deg, rgba(6, 13, 26, 0.75) 0%, rgba(20, 39, 74, 0.25) 55%,
                    rgba(242, 160, 60, 0.12) 100%);
}

.hero__inner {
  position: relative;
  z-index: 6;
  max-width: 1240px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 9rem;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}
.hero__text,
.crest__fallback { pointer-events: auto; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero__eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.06;
  display: flex;
  flex-direction: column;
}

.hero__title-accent {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4rem, 9.5vw, 7rem);
  margin-top: 0.35rem;
  color: var(--gold);
  padding-right: 0.12em; /* italic overhang would clip the final glyph */
}

.hero__sub {
  max-width: 32rem;
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--text-dim);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 6px 26px rgba(242, 201, 76, 0.35);
}
.btn--gold:hover {
  background: var(--gold-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(242, 201, 76, 0.5);
}

.btn--ghost {
  border: 1px solid rgba(232, 237, 245, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: rgba(232, 237, 245, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* — schwebendes Wappen — */

.hero__crest {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 900px;
}

.crest__glow {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.28) 0%, rgba(27, 79, 170, 0.18) 45%, transparent 70%);
  filter: blur(30px);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

.crest__float {
  position: relative;
  width: min(340px, 68%);
  animation: crestFloat 6.5s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out);
}

@keyframes crestFloat {
  0%, 100% { translate: 0 0; rotate: -1.2deg; }
  50% { translate: 0 -22px; rotate: 1.2deg; }
}

.crest__img {
  width: 100%;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.55))
          drop-shadow(0 0 24px rgba(242, 201, 76, 0.18));
}

.crest__reflection {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  width: 100%;
  transform: scaleY(-0.55);
  transform-origin: top;
  opacity: 0.16;
  filter: blur(6px) brightness(1.4);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 70%);
  pointer-events: none;
}

/* — 3D-Wappen an der Angelschnur — */

/* Vollflächige Bühne: Rendering über dem Hero, Greiffläche nur rechts,
   damit Text und CTAs links jederzeit bedienbar bleiben. */
.crest__stage {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.crest__stage canvas { width: 100% !important; height: 100% !important; }
.crest__grab {
  position: absolute;
  z-index: 5;
  inset: 0 0 0 52%;
  pointer-events: none;
  touch-action: pan-y;
}
.crest__grab.is-active { pointer-events: auto; }

.hero { touch-action: pan-y; } /* Touch: Seite scrollt vertikal, Wappen-Drag horizontal */
.hero__crest.is-3d { min-height: 420px; }
.hero__crest.is-3d .crest__fallback { display: none; }

/* — Scroll-Indicator — */

.hero__scroll {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.hero__scroll:hover { color: var(--gold); }

/* — Angel-Pose als Scroll-Hinweis: dippt sanft ins Wasser — */

.hero__scroll-float { overflow: visible; }

.float__bob {
  animation: floatBob 3.2s ease-in-out infinite;
  transform-origin: 24px 30px;
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(5px) rotate(2.5deg); }
  65% { transform: translateY(1px) rotate(-2deg); }
}

.float__tip { fill: var(--gold); }
.hero__scroll:hover .float__tip { filter: drop-shadow(0 0 6px rgba(242, 201, 76, 0.8)); }

.float__ring {
  opacity: 0;
  animation: floatRing 3.2s ease-out infinite;
  transform-origin: 24px 46px;
}
.float__ring--2 { animation-delay: 1.6s; }
@keyframes floatRing {
  0% { transform: scale(0.4); opacity: 0; }
  20% { opacity: 0.55; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hero__scroll-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* — Wellen-Übergang — */

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 90px; display: block; }
.wave--back { fill: rgba(13, 27, 48, 0.65); }
.wave--front { fill: var(--navy-900); }

/* ============ Gewässer ============ */

.waters {
  position: relative;
  padding: 5.5rem 1.5rem 7rem;
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(27, 79, 170, 0.14), transparent 60%),
    var(--navy-900);
}

.waters__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}
.waters__head .section-eyebrow { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-sub { margin-top: 1.1rem; color: var(--text-dim); font-size: 1.02rem; }

/* — Gewässer-Explorer: große Bühne + Tabs — */

.explorer { max-width: 1240px; margin: 0 auto; }

.explorer__stage {
  position: relative;
  min-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(232, 237, 245, 0.1);
  box-shadow: var(--shadow-card);
}

.explorer__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s var(--ease-out), visibility 0.65s;
}
.explorer__slide.is-active { opacity: 1; visibility: visible; }

.explorer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 6s linear;
}
.explorer__slide.is-active .explorer__bg { transform: scale(1); }

.explorer__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 26, 0.15) 0%, rgba(6, 13, 26, 0.35) 50%, rgba(6, 13, 26, 0.9) 100%),
    linear-gradient(100deg, rgba(6, 13, 26, 0.55) 0%, transparent 60%);
}

.explorer__content {
  position: relative;
  z-index: 1;
  padding: 2.2rem 2.4rem 2.4rem;
  max-width: 40rem;
  transform: translateY(12px);
  transition: transform 0.65s var(--ease-out);
}
.explorer__slide.is-active .explorer__content { transform: none; }

.explorer__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.explorer__text { color: var(--text-dim); font-size: 1rem; max-width: 34rem; }

.explorer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.explorer__tab {
  position: relative;
  text-align: left;
  padding: 0.95rem 1.1rem 1.15rem;
  background: rgba(20, 39, 74, 0.25);
  border: 1px solid rgba(232, 237, 245, 0.09);
  border-radius: 16px;
  color: var(--text-dim);
  font-family: var(--font-body);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
}
.explorer__tab:hover { border-color: rgba(242, 201, 76, 0.3); transform: translateY(-3px); }
.explorer__tab.is-active {
  border-color: rgba(242, 201, 76, 0.55);
  background: rgba(242, 201, 76, 0.08);
  color: var(--text);
}

.explorer__tab-no {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.explorer__tab-name { display: block; font-weight: 600; font-size: 1rem; }
.explorer__tab-meta { display: block; font-size: 0.76rem; margin-top: 0.15rem; color: var(--text-dim); }

.explorer__tab-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(232, 237, 245, 0.08);
}
.explorer__tab-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
}
.explorer__tab.is-active .explorer__tab-bar span {
  animation: tabProgress var(--autoplay, 7s) linear forwards;
}
.explorer--paused .explorer__tab.is-active .explorer__tab-bar span { animation-play-state: paused; }

@keyframes tabProgress { from { width: 0%; } to { width: 100%; } }

.water-card__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.8rem; }

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(8, 17, 31, 0.6);
  border: 1px solid rgba(242, 201, 76, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ============ Geschichte ============ */

.history {
  padding: 6rem 1.5rem;
  background:
    radial-gradient(900px 500px at 10% 20%, rgba(242, 201, 76, 0.05), transparent 60%),
    var(--navy-950);
}

.history__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.section-sub--left { text-align: left; margin-left: 0; }

.timeline {
  list-style: none;
  margin: 2.2rem 0 2rem;
  position: relative;
  padding-left: 1.6rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(242, 201, 76, 0.12));
}

.timeline__item { position: relative; padding: 0 0 1.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--gold);
  box-shadow: 0 0 10px rgba(242, 201, 76, 0.45);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold);
}
.timeline__item p { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.2rem; max-width: 34rem; }

.history__media {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(242, 201, 76, 0.2);
  box-shadow: var(--shadow-card);
}
.history__media img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.history__media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.4rem 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: linear-gradient(180deg, transparent, rgba(6, 13, 26, 0.85));
}

/* ============ Termine ============ */

.events { padding: 6rem 1.5rem 7rem; background: var(--navy-900); }

.events__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.event-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(232, 237, 245, 0.09);
  background: linear-gradient(180deg, rgba(20, 39, 74, 0.35), rgba(13, 27, 48, 0.15));
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.event-card:hover {
  border-color: rgba(242, 201, 76, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.event-card__date {
  flex: 0 0 auto;
  width: 64px;
  text-align: center;
  border-radius: 14px;
  background: rgba(242, 201, 76, 0.1);
  border: 1px solid rgba(242, 201, 76, 0.35);
  padding: 0.55rem 0.3rem 0.6rem;
}
.event-card__day {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.1;
}
.event-card__month {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.event-card__title { font-weight: 600; font-size: 1.02rem; }
.event-card__meta { color: var(--text-dim); font-size: 0.85rem; margin-top: 0.25rem; }

.events__more { text-align: center; margin-top: 2.4rem; }

/* ============ Schnellzugriffe ============ */

.quick {
  padding: clamp(4.5rem, 8vw, 7rem) 1.5rem;
  border-top: 1px solid color-mix(in oklch, var(--gold) 12%, transparent);
  background:
    radial-gradient(50rem 28rem at 100% 0%, color-mix(in oklch, var(--reed-deep) 20%, transparent), transparent 72%),
    var(--navy-950);
}

.quick__inner { max-width: 1240px; margin: 0 auto; }

.quick__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
  align-items: end;
  justify-content: space-between;
  gap: 2rem 5rem;
  margin-bottom: 2rem;
}

.section-title--left { text-align: left; }
.quick__intro { max-width: 33rem; color: var(--text-dim); font-size: 1.08rem; }

.quick__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quick-card {
  position: relative;
  min-height: 13.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 2.5rem 1rem;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--text) 11%, transparent);
  border-radius: 22px;
  background: color-mix(in oklch, var(--navy-800) 54%, transparent);
  transition: transform 0.3s var(--ease-out), border-color 0.25s ease, background-color 0.25s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in oklch, var(--gold) 44%, transparent);
  background: color-mix(in oklch, var(--navy-800) 82%, transparent);
}

.quick-card__no {
  grid-column: 1;
  grid-row: 1;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
}

.quick-card__copy { grid-column: 1 / -1; grid-row: 2; align-self: end; display: grid; gap: 0.45rem; }
.quick-card__copy strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.quick-card__copy span { color: var(--text-dim); font-size: 0.92rem; }
.quick-card__arrow { grid-column: 2; grid-row: 1; align-self: start; color: var(--gold); font-size: 1.5rem; transition: transform 0.25s var(--ease-out); }
.quick-card:hover .quick-card__arrow { transform: translate(0.2rem, -0.15rem); }

/* ============ Footer ============ */

.footer {
  border-top: 1px solid rgba(232, 237, 245, 0.08);
  background: var(--navy-950);
  padding: 3rem 1.5rem 2rem;
}

.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
}

.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo { width: 52px; }
.footer__brand strong { font-size: 1rem; }
.footer__brand p { color: var(--text-dim); font-size: 0.86rem; margin-top: 0.2rem; }
.footer__brand p a { transition: color 0.2s ease; }
.footer__brand p a:hover { color: var(--gold); }

.footer__links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; }
.footer__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--gold); }

.footer__note {
  max-width: 1240px;
  margin: 2rem auto 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ============ Gemeinsamer Kontakt-/Arbeitsdienstblock ============ */

.duty {
  padding: 4rem 1.5rem 6rem;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.duty__card {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid color-mix(in oklch, var(--gold) 25%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(500px 240px at 0% 0%, color-mix(in oklch, var(--gold) 8%, transparent), transparent 70%),
    color-mix(in oklch, var(--navy-800) 50%, transparent);
}

.duty__title {
  margin: 0.2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
}
.duty__title em { color: var(--gold); font-weight: 400; }
.duty__text { max-width: 34rem; color: var(--text-dim); font-size: 1.05rem; }
.duty .btn { max-width: 100%; overflow-wrap: anywhere; text-align: center; }

/* ============ Scroll-Reveal ============ */

.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .hero__title .reveal {
  clip-path: inset(0 0 105% 0);
  transform: translateY(28px);
  transition-duration: 0.45s;
  transition-delay: 0s;
}
.js .hero__title .reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transform: none;
}

/* Der Titel trägt den eigentlichen Hero-Reveal. Unterzeile, CTA und mobiles
   Wappen werden sofort gerendert, damit zentrale Inhalte nicht zum LCP-Warten
   auf eine rein dekorative Eingangsanimation gezwungen werden. */
.js .hero__sub.reveal,
.js .hero__cta.reveal,
.js .hero__crest.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

html:not(.js) .explorer__stage { display: grid; gap: 1rem; min-height: 0; }
html:not(.js) .explorer__slide {
  position: relative;
  min-height: 28rem;
  opacity: 1;
  visibility: visible;
}
html:not(.js) .explorer__nav { display: none; }

/* ============ Focus & Motion ============ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crest__float, .crest__glow, .hero__title-accent, .float__bob, .float__ring { animation: none; }
  .float__ring { opacity: 0.4; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  body::after { display: none; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ Responsive ============ */

@media (max-width: 1024px) {
  .nav__inner { padding-inline: 1rem; }
  .nav__link { padding-inline: 0.62rem; }
  .explorer__nav { grid-template-columns: 1fr 1fr; }
  .history__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .history__media { max-width: 560px; }
  .events__grid { grid-template-columns: 1fr; max-width: 640px; }
  .quick__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body.nav-menu-open { overflow: hidden; }

  html:not(.js) .nav {
    position: static;
    background: var(--navy-950);
  }
  html:not(.js) .nav__inner { flex-wrap: wrap; }
  html:not(.js) .nav__links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
  }
  html:not(.js) .nav__link { justify-content: center; }

  .js .nav__links {
    position: fixed;
    top: 62px;
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.4rem;
    background: rgba(8, 17, 31, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(242, 201, 76, 0.15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
    height: calc(100dvh - 62px);
    overflow-y: auto;
  }
  .js .nav--open { background: rgba(8, 17, 31, 0.96); }
  .js .nav--open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 0.8rem 1rem; }
  .js .nav__burger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 10rem;
    gap: 3.5rem;
    text-align: center;
  }
  .hero__eyebrow { justify-content: center; gap: 0.45rem; font-size: 0.86rem; }
  .hero__eyebrow::before { width: 1.2rem; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__crest { order: -1; margin-top: 1rem; }
  .crest__float { width: min(220px, 55%); }
  .hero__crest.is-3d { min-height: 0; margin: 0; order: 0; }
  .hero__crest.is-3d .crest__glow { display: none; }
  .hero__scroll { bottom: 5rem; }

  .quick__head { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 560px) {
  .explorer__stage { min-height: 440px; }
  .explorer__content { padding: 1.6rem 1.3rem 1.7rem; }
  .explorer__nav { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .explorer__tab-meta { display: none; }
  .quick__grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 11.5rem; }
}
