/* Skydive Westerwald – Basis-Stylesheet */
:root {
  --red: #c9242b;
  --red-dark: #9f1a20;
  --ink: #1d2226;
  --ink-soft: #4a5258;
  --line: #e3e6e8;
  --paper: #ffffff;
  --mist: #f4f6f7;
  --night: #15191c;
  --radius: 6px;
  --wrap: 1120px;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 1.6em 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; margin-top: 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
p, ul, ol, table { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: #fff; padding: .5rem 1rem; }

/* Topbar & Header */
.topbar { background: var(--night); color: #cfd4d7; font-size: .875rem; }
.topbar__inner { display: flex; gap: 1.25rem; justify-content: flex-end; padding-top: .35rem; padding-bottom: .35rem; flex-wrap: wrap; }
.topbar a { color: #cfd4d7; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-header { background: #fff; border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand img { height: 56px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .8rem; font-family: var(--font-head); font-weight: 600;
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 3px; background: var(--ink); border-radius: 2px;
}
.nav-toggle__bar { top: 50%; transform: translateY(-50%); }
.nav-toggle__bar::before { top: -8px; left: 0; right: 0; }
.nav-toggle__bar::after { top: 8px; left: 0; right: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 4px solid var(--red); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: .5rem 16px 1rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  .brand img { height: 44px; }
}

/* Page head */
.page-head {
  background:
    linear-gradient(115deg, rgba(21,25,28,.92) 0%, rgba(21,25,28,.78) 55%, rgba(201,36,43,.85) 100%),
    var(--night);
  color: #fff; padding: 2.25rem 0 2rem;
}
.page-head h1 { margin: .4rem 0 0; }
.page-head .lead { font-size: 1.2rem; max-width: 46rem; margin: .75rem 0 0; color: #e7eaec; }
.breadcrumb { font-size: .9rem; color: #c3c9cd; }
.breadcrumb a { color: #fff; }
.breadcrumb strong { color: #fff; font-weight: 600; }

.content { padding-top: 2.25rem; padding-bottom: 3.5rem; max-width: 860px; }
.content--wide { max-width: var(--wrap); }
.content > h2:first-child, .content > h3:first-child { margin-top: 0; }

/* Hero (Startseite) */
.hero {
  position: relative; color: #fff; overflow: hidden;
  /* Ebenen von oben nach unten: Abdunklung für lesbaren Text, Heldenbild,
     Farbverlauf als Fallback, falls das Bild fehlt. Pfad relativ zu dieser CSS-Datei. */
  background-color: var(--night);
  background-image:
    linear-gradient(90deg, rgba(21,25,28,.82) 0%, rgba(21,25,28,.55) 50%, rgba(21,25,28,.15) 100%),
    url("../images/tandemsprung_freifall_hero.jpg"),
    linear-gradient(180deg, #1b3a55 0%, #0f2233 55%, var(--night) 100%);
  background-size: cover, cover, cover;
  background-position: center, center 30%, center;
  background-repeat: no-repeat;
  min-height: clamp(420px, 62vh, 640px);
  display: flex; align-items: center;
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
}
.hero > .wrap { width: 100%; }
.hero h1, .hero__ticker, .hero__kicker { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
@media (max-width: 640px) {
  .hero { background-image:
    linear-gradient(180deg, rgba(21,25,28,.55) 0%, rgba(21,25,28,.8) 100%),
    url("../images/tandemsprung_freifall_hero.jpg"),
    linear-gradient(180deg, #1b3a55 0%, #0f2233 55%, var(--night) 100%); }
}
.hero__kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; color: #ffb3b6; margin: 0 0 .5rem; font-size: 1.05rem; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 5.5rem); margin: 0 0 1rem; line-height: .95; }
.hero__ticker { font-family: var(--font-head); font-size: clamp(1.05rem, 2.4vw, 1.35rem); letter-spacing: .03em; color: #dfe6ea; max-width: 46rem; margin: 0 0 2rem; }
.hero__ticker { display: flex; flex-wrap: wrap; row-gap: .15em; }
.hero__ticker span { white-space: nowrap; }
.hero__ticker span + span::before { content: "|"; color: var(--red); margin: 0 .55em; }

/* Buttons */
.btn {
  display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .7rem 1.4rem; border-radius: var(--radius); border: 2px solid var(--red); font-size: 1.05rem;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { color: #fff; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0; }

/* Notice / Status-Banner */
.notice {
  border-left: 5px solid var(--red); background: #fdf1f1; padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.5rem;
}
.notice p:last-child { margin-bottom: 0; }
.status-strip { background: var(--red); color: #fff; }
.status-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; flex-wrap: wrap; }
.status-strip p { margin: 0; }
.status-strip a { color: #fff; font-weight: 700; }

/* Sections & Cards */
.section { padding: 3.5rem 0; }
.section--mist { background: var(--mist); }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin: 1.25rem 0 2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.card h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.card h4 { margin-top: 0; }
.card p { color: var(--ink-soft); }
.card--link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--red); transform: translateY(-2px); color: inherit; }
.card__more { color: var(--red); font-weight: 700; font-size: .95rem; }
.card__more::after { content: " →"; }

/* Preis-Pakete */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.price-card { border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; background: #fff; }
.price-card h3 { margin: 0; text-transform: uppercase; }
.price-card .sub { color: var(--ink-soft); margin: .35rem 0 1rem; min-height: 3em; }
.price-card .price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--red); line-height: 1; margin: 0 0 1rem; }
.price-card .price small { font-size: 1rem; color: var(--ink-soft); margin-right: .3rem; }
.price-card ul { padding-left: 1.1rem; flex: 1; }
.price-card .btn { align-self: flex-start; }
.small { font-size: .925rem; color: var(--ink-soft); }

/* Figures */
figure { margin: 1.75rem 0; }
figure img { border-radius: var(--radius); }
figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .img-pair { grid-template-columns: 1fr; } }

.map__frame { height: 340px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); overflow: hidden; }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem; }
.map__consent p { margin: 0 0 .6rem; max-width: 30rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-weight: 700; }

/* Kontakt-Kacheln */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 0 0 2rem; }
.contact-grid .card h4 { color: var(--red); }

.related-title { margin-top: 3rem; }

/* FAQ-Einzelseite: Frage im dunklen Band, Antwort als Karte, die in das Band hineinragt */
.page-head--faq { padding-bottom: 5.5rem; }
.faq-kicker {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .95rem; color: #ffb3b6; margin: 1.1rem 0 .35rem;
}
.faq-question {
  text-transform: none; letter-spacing: 0; margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem); max-width: 22em;
}
.faq-body { padding-bottom: 3.5rem; }
.faq-answer {
  position: relative; margin-top: -4rem; max-width: 780px;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--red);
  border-radius: var(--radius); box-shadow: 0 12px 32px -12px rgba(21,25,28,.28);
  padding: 1.75rem 2rem 1.5rem;
}
.faq-answer__label {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .95rem; color: var(--red); margin: 0 0 .6rem;
}
.faq-answer__text { font-size: 1.15rem; line-height: 1.7; }
.faq-answer__text > :first-child { margin-top: 0; }
.faq-answer__text > :last-child { margin-bottom: 0; }
.faq-answer__text h3 { font-size: 1.3rem; margin-top: 1.6em; }
.faq-answer__footer {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft);
}
.faq-back { margin: 1.5rem 0 0; font-weight: 600; }
.faq-back a { text-decoration: none; }
@media (max-width: 640px) {
  .page-head--faq { padding-bottom: 4.5rem; }
  .faq-answer { margin-top: -3rem; padding: 1.35rem 1.2rem 1.2rem; border-left-width: 5px; }
  .faq-answer__text { font-size: 1.075rem; }
}

/* Kalender */
.termine { list-style: none; padding: 0; }
.termine li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.termine time { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--red); line-height: 1.25; }
.termine__wt { color: var(--ink-soft); margin-right: .15em; }
.termine__bis { display: block; font-size: .95rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 480px) { .termine li { grid-template-columns: 1fr; gap: .25rem; } }

/* Code */
pre { background: var(--night); color: #e7eaec; padding: 1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: .9rem; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:not(pre) > code { background: var(--mist); padding: .1em .35em; border-radius: 3px; font-size: .92em; }

/* Footer */
.site-footer { background: var(--night); color: #b9c0c4; padding: 3rem 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; margin: 0 0 .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer a { color: #b9c0c4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.footer-bottom { border-top: 1px solid #2c3337; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.5rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
/* Beitragskarten mit Kategorie-Bild (News, Events, "Weitere Themen") */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--night); }
.card__body { padding: 1.1rem 1.35rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card__body p:last-of-type { flex: 1; }
.card__meta { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .35rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

/* Titelbild oben im Beitrag – füllt die volle Breite der Inhaltsspalte (Seitenverhältnis bleibt 16:9) */
.beitrag-bild { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 0 0 2rem; background: var(--night); }

/* Startseite, Kasten "Aktuelles" */
.aktuelles-bild { display: block; margin: 1rem 0 .5rem; }
.aktuelles-bild__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; }