:root {
  --ink: #071c24;
  --deep: #092b36;
  --water: #0d6874;
  --aqua: #20c4c0;
  --coral: #ff5d47;
  --sun: #ffc94d;
  --paper: #f2efe8;
  --white: #fff;
  --muted: #52646a;
  --line: #cfd7d4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--sun); }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.16);
}
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.04em; }
.logo b { color: var(--sun); }
.logo-mark {
  display: grid; place-items: center; width: 38px; aspect-ratio: 1;
  color: var(--ink); background: var(--sun); border-radius: 50%;
  font: 900 1rem/1 Georgia, serif;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: .84rem; font-weight: 700; }
nav a:hover { color: var(--sun); }
.nav-button { padding: 9px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }

.hero { position: relative; min-height: 800px; display: grid; overflow: hidden; color: #fff; isolation: isolate; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image {
  z-index: -2;
  background: url("assets/schwerin-pfaffenteich-drachenboot-rennen-archiv.webp") 58% center/cover no-repeat;
  transform: scale(1.01);
}
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,20,27,.92) 0%, rgba(3,20,27,.74) 39%, rgba(3,20,27,.14) 72%),
    linear-gradient(0deg, rgba(3,20,27,.66), transparent 48%);
}
.hero-content { align-self: center; padding-top: 88px; }
.hero-content > * { max-width: 650px; }
.overline {
  margin: 0 0 16px; color: var(--sun); text-transform: uppercase;
  font-size: .73rem; line-height: 1.3; font-weight: 900; letter-spacing: .19em;
}
.overline.dark { color: #a33b2f; }
h1, h2, h3 { margin-top: 0; line-height: .99; letter-spacing: -.055em; }
h1 { margin-bottom: 24px; font-size: clamp(4.2rem, 9vw, 8.3rem); text-transform: uppercase; }
h2 { margin-bottom: 20px; font-size: clamp(2.8rem, 5.5vw, 5.6rem); text-transform: uppercase; text-wrap: balance; }
h3 { font-size: 1.55rem; }
.hero-content > p:not(.overline) { margin: 0; color: #d9e4e5; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  text-decoration: none; font-size: .88rem; font-weight: 800;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--ink); background: var(--sun); }
.button.primary:hover { background: #ffda78; }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.button.secondary:hover { background: rgba(255,255,255,.1); }
.photo-label {
  display: block; width: max-content; margin-top: 48px; padding: 6px 10px;
  background: rgba(3,20,27,.66); border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px; color: #d2dcdd; font-size: .68rem;
}
.waterline {
  position: absolute; right: -3%; bottom: 34px; width: 48%; height: 9px;
  border-top: 2px solid rgba(255,255,255,.55); border-bottom: 2px solid rgba(255,255,255,.2);
  transform: rotate(-2deg);
}

.search-strip { background: var(--sun); }
.search-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 52px; padding-block: 44px; }
.search-layout h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 3.2rem); }
form label { display: block; margin-bottom: 7px; font-size: .78rem; font-weight: 800; }
.search-box { display: grid; grid-template-columns: 1fr auto; padding: 6px; background: #fff; border-radius: 13px; box-shadow: 0 12px 28px rgba(7,28,36,.12); }
.search-box input, .search-box button { min-height: 52px; border: 0; font: inherit; }
.search-box input { width: 100%; padding: 0 16px; background: transparent; outline: none; }
.search-box button { padding: 0 20px; color: #fff; background: var(--ink); border-radius: 9px; font-weight: 800; cursor: pointer; }

.section { padding-block: 112px; }
.section-heading { display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: end; margin-bottom: 60px; }
.section-heading h2 { margin-bottom: 0; }
.lead { color: var(--muted); font-size: 1.02rem; }
.lead p:first-child { margin-top: 0; }
.lead p:last-of-type { margin-bottom: 20px; }
.text-link { font-weight: 800; font-size: .83rem; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.role-grid article { padding: 32px 34px 38px 0; }
.role-number { color: var(--coral); font-size: .75rem; font-weight: 900; }
.role-line { width: 42px; height: 3px; margin: 30px 0; background: var(--coral); }
.role-grid h3 { margin-bottom: 12px; text-transform: uppercase; }
.role-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.wide-photo { position: relative; margin: 40px 0 0; overflow: hidden; border-radius: 2px; }
.wide-photo img { width: 100%; height: 560px; object-fit: cover; object-position: center 61%; }
figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 9px;
  color: #fff; background: rgba(7,28,36,.76); font-size: .68rem;
}

.equipment { color: #fff; background: var(--deep); }
.section-heading.inverse .lead { color: #a9bec1; }
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.gear-grid a {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  gap: 4px 16px; align-items: center; min-height: 128px; padding: 22px;
  color: #fff; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px; text-decoration: none; transition: border-color .2s, transform .2s, background .2s;
}
.gear-grid a:hover { transform: translateY(-3px); border-color: var(--aqua); background: rgba(32,196,192,.1); }
.gear-icon {
  grid-row: 1 / 3; display: grid; place-items: center; width: 48px; aspect-ratio: 1;
  color: var(--sun); background: rgba(255,255,255,.08); border-radius: 50%; font-size: 1.3rem;
}
.gear-grid strong { align-self: end; }
.gear-grid small { align-self: start; color: #8fa9ad; line-height: 1.35; }
.gear-grid b { grid-row: 1 / 3; color: var(--aqua); }
.shop-note { margin: 22px 0 0; color: #829b9f; font-size: .74rem; }

.city-kicker { display: flex; gap: 15px; margin-bottom: 32px; color: #7c898b; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.city-kicker span:not(:last-child)::after { content: "·"; margin-left: 15px; color: var(--coral); }
.schwerin-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: start; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 70px 0 55px; border-top: 2px solid var(--ink); }
.timeline div { position: relative; padding: 28px 28px 0 0; }
.timeline div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.timeline strong, .timeline span { display: block; }
.timeline strong { margin-bottom: 8px; font-size: 1.45rem; }
.timeline span { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.photo-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2, 260px); gap: 14px; }
.photo-grid figure { position: relative; margin: 0; overflow: hidden; }
.photo-grid .photo-large { grid-row: 1 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-grid figure:hover img { transform: scale(1.025); }
.event-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  margin-top: 28px; padding: 28px; color: #fff; background: var(--water); border-radius: 4px;
}
.event-date { display: grid; place-items: center; width: 112px; aspect-ratio: 1; border: 2px solid var(--sun); border-radius: 50%; }
.event-date span, .event-date b { display: block; line-height: 1; }
.event-date span { font-size: 1.55rem; font-weight: 900; }
.event-date b { margin-top: 5px; color: var(--sun); font-size: .65rem; letter-spacing: .08em; }
.event-card h3 { margin-bottom: 8px; font-size: 1.85rem; }
.event-card p:not(.overline) { margin: 0; color: #cce0e1; font-size: .88rem; }
.dark-button { color: var(--ink); background: #fff; white-space: nowrap; }

.mv-cta { padding-block: 74px; color: #fff; background: var(--ink); }
.mv-layout { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }
.mv-mark {
  display: grid; place-items: center; width: 100px; aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  color: var(--aqua); font-size: 1.7rem; font-weight: 900;
}
.mv-layout h2 { margin-bottom: 12px; font-size: clamp(2.4rem, 4.2vw, 4.3rem); }
.mv-layout p:not(.overline) { margin: 0; color: #a9b9bc; }

.faq > .wrap > h2 { margin-bottom: 44px; }
.faq-list { border-top: 1px solid #aebdbc; }
details { border-bottom: 1px solid #aebdbc; }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--coral); font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 800px; margin: -5px 0 25px; color: var(--muted); }

footer { color: #d5e0e1; background: #041216; }
.footer-main { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; padding-block: 64px; }
.footer-logo { color: #fff; }
.footer-main > div > p { max-width: 360px; color: #778e92; font-size: .84rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-links strong, .footer-links a { display: block; }
.footer-links strong { margin-bottom: 13px; color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { width: fit-content; margin: 7px 0; color: #789095; font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.09); color: #597075; font-size: .7rem; }

@media (max-width: 930px) {
  nav a:not(.nav-button) { display: none; }
  .search-layout, .section-heading, .schwerin-grid, .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .event-card { grid-template-columns: auto 1fr; }
  .event-card .button { grid-column: 2; justify-self: start; }
  .mv-layout { grid-template-columns: auto 1fr; }
  .mv-layout .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 70px; }
  .logo { font-size: .88rem; }
  .nav-button { padding: 8px 11px; font-size: .7rem; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 67% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,20,27,.93), rgba(3,20,27,.48)), linear-gradient(0deg, rgba(3,20,27,.7), transparent); }
  .hero-content { padding-top: 78px; }
  h1 { font-size: clamp(3.3rem, 14.5vw, 3.7rem); }
  h2 { font-size: clamp(2.5rem, 12.5vw, 4.2rem); }
  .hero-content > p:not(.overline) { font-size: .95rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .search-layout { padding-block: 36px; }
  .search-box { grid-template-columns: 1fr; gap: 6px; }
  .section { padding-block: 78px; }
  .role-grid, .gear-grid { grid-template-columns: 1fr; }
  .role-grid article { padding-right: 0; border-bottom: 1px solid var(--line); }
  .wide-photo img { height: 400px; }
  .timeline { grid-template-columns: 1fr; border-left: 2px solid var(--ink); border-top: 0; margin-left: 5px; }
  .timeline div { padding: 0 0 28px 28px; }
  .timeline div::before { top: 5px; left: -7px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: 380px 250px 250px; }
  .photo-grid .photo-large { grid-row: auto; }
  .event-card { grid-template-columns: 1fr; }
  .event-card .button { grid-column: 1; }
  .mv-layout { grid-template-columns: 1fr; }
  .mv-layout .button { grid-column: 1; }
  .mv-mark { width: 78px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

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