/* ==========================================================================
   Futbolista Camp — Design-System
   Farben und Typografie 1:1 aus dem Elementor-Kit der alten Seite übernommen.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #009432;
  --green-dark: #007527;
  --orange: #f79f1f;
  --orange-dark: #d9860d;
  --dark: #3f3f3f;
  --grey: #626262;
  --grey-light: #f4f4f4;
  --grey-line: #e3e3e3;
  --white: #fff;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-h1: 55px;
  --fs-h2: 30px;
  --fs-h3: 22px;
  --fs-body: 18px;

  --wrap: 1200px;
  --wrap-narrow: 800px;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --header-h: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Muss über allen Layout-Regeln stehen: sonst gewinnt z. B. .field{display:flex}
   gegen das hidden-Attribut und ausgeblendete Felder bleiben sichtbar. */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.1;
  font-weight: 700;
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* --------------------------------------------------------------- Layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}
.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: 70px;
}
.section--tight {
  padding-block: 45px;
}
.section--grey {
  background: var(--grey-light);
}
.section--green {
  background: var(--green);
  color: var(--white);
}
.section--green a {
  color: var(--white);
}

.section__title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
}
.section--green .section__title {
  color: var(--white);
}

.center {
  text-align: center;
}
.mt-40 {
  margin-top: 40px;
}

/* -------------------------------------------------------------- Buttons -- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 34px;
  border: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover,
.btn:focus {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.btn[disabled],
.btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
}
.btn--orange:hover {
  background: var(--green);
  border-color: var(--green);
}

/* --------------------------------------------------------------- Header -- */

.topbar {
  background: var(--white);
  color: var(--grey);
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar__inner p {
  line-height: 1;
}
.topbar a {
  color: var(--dark);
}
.topbar a:hover {
  color: var(--green);
}
.topbar__partners {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__partners img {
  height: 22px;
  width: auto;
  opacity: 0.8;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 12px;
}
.header__logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover,
.nav__list a[aria-current='page'] {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Anmelde-Schaltfläche im grünen Header: orange mit weißem Rand */
.nav > .btn {
  background: var(--orange);
  border-color: var(--white);
  padding: 12px 26px;
}
.nav > .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle span + span {
  margin-top: 5px;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ----------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  min-height: 601px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.35;
  z-index: -1;
}
.hero__content {
  padding-block: 80px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero p {
  font-size: 20px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------- Presse --- */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.logo-row img {
  max-height: 60px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.logo-row img:hover {
  opacity: 1;
}

/* ---------------------------------------------------------- Camp-Kacheln -- */

.camp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px 30px;
}

.camp-tile {
  text-align: center;
  position: relative;
}
.camp-tile img {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  border-radius: 50%;
}
.camp-tile__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.5em;
  margin: 18px 0 4px;
  color: var(--dark);
}
.camp-tile__season {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  margin: 0;
}
.camp-tile__dates {
  font-size: 15px;
  color: var(--grey);
  margin: 4px 0 0;
}
.camp-tile.is-full img {
  filter: grayscale(1);
  opacity: 0.55;
}

.badge-full {
  display: inline-block;
  margin-top: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ------------------------------------------------------- Camp-Detailkarte -- */

.camp-detail {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.camp-detail + .camp-detail {
  margin-top: 36px;
}
.camp-detail h3 {
  font-size: 26px;
  margin-bottom: 2px;
  color: var(--dark);
}
.camp-detail__season {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 20px;
}
.camp-detail__poster img {
  border-radius: var(--radius);
  width: 100%;
}

.facts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 16px;
}
.facts li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}
.facts svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: var(--green);
  flex: none;
}
.facts strong {
  font-weight: 700;
}

/* -------------------------------------------------------------- Trainer -- */

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}
.trainer {
  text-align: center;
}
.trainer img {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 50%;
}
.trainer h3 {
  margin-top: 22px;
  font-size: 24px;
}

.trainer-bio {
  text-align: left;
  font-size: 16px;
}
.trainer-bio h4 {
  color: var(--green);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 22px 0 8px;
}
.trainer-bio ul {
  margin: 0;
  padding-left: 20px;
}
.trainer-bio li {
  margin-bottom: 4px;
}

/* ------------------------------------------------------------- Programm -- */

.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.day {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--green);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.day__no {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}
.day h3 {
  margin: 8px 0 6px;
  font-size: 21px;
}
.day p {
  color: var(--grey);
  font-size: 16px;
}

/* ------------------------------------------------------------------ FAQ -- */

.faq {
  max-width: var(--wrap-narrow);
  margin-inline: auto;
}
.faq__item {
  border-bottom: 1px solid var(--grey-line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 0;
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
}
.faq__q:hover {
  color: var(--green);
}
.faq__q::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s;
}
.faq__q[aria-expanded='true']::after {
  transform: rotate(-135deg) translateY(-3px);
}
.faq__a {
  padding: 0 0 22px;
  font-size: 16px;
  color: var(--grey);
}
.faq__a[hidden] {
  display: none;
}

/* --------------------------------------------------------------- Inhalt -- */

.prose {
  font-size: 17px;
  line-height: 1.7;
}
.prose h2 {
  margin-top: 1.8em;
}
.prose h3 {
  margin-top: 1.5em;
  font-size: 20px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 6px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.prose th,
.prose td {
  border: 1px solid var(--grey-line);
  padding: 10px 12px;
  text-align: left;
  font-size: 15px;
}
.prose th {
  background: var(--grey-light);
}

.page-head {
  background: var(--dark);
  color: var(--white);
  padding-block: 60px;
  text-align: center;
}
.page-head h1 {
  color: var(--white);
  margin: 0;
  font-size: 42px;
}
.page-head p {
  margin: 14px 0 0;
  opacity: 0.85;
}

.pull-quote {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* ------------------------------------------------------------------ Blog -- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.post-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.post-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__meta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  font-weight: 700;
}
.post-card h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  color: var(--dark);
}
.post-card p {
  font-size: 15px;
  color: var(--grey);
  flex: 1;
}
.post-card__link {
  margin-top: 16px;
  font-weight: 700;
}

/* --------------------------------------------------------------- Footer -- */

.footer {
  background: var(--dark);
  color: var(--white);
  padding-block: 60px 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer h2 {
  font-size: 20px;
  margin-bottom: 18px;
}
.footer img {
  max-width: 260px;
  margin-bottom: 18px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li {
  margin-bottom: 10px;
}
.footer a {
  color: var(--white);
  font-size: 16px;
}
.footer a:hover {
  color: var(--orange);
}
.footer__copy {
  font-size: 14px;
  opacity: 0.7;
}
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- Responsive */

@media (max-width: 900px) {
  :root {
    --fs-h1: 35px;
    --fs-h2: 26px;
    --fs-body: 15px;
    --header-h: 76px;
  }
  .hero {
    min-height: 420px;
  }
  .camp-detail {
    grid-template-columns: 1fr;
  }
  .camp-detail__poster {
    max-width: 380px;
    margin-inline: auto;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding-block: 50px;
  }

  .nav-toggle {
    display: block;
  }
  /* An der Unterkante des Headers verankert statt am Ansichtsfenster — sonst
     schiebt sich das Menü bei sichtbarer Topbar über den Header. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 26px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  /* Aufgeklapptes Menü ist weiß — dort brauchen die Links dunkle Schrift. */
  .nav__list a {
    display: block;
    padding: 14px 0;
    color: var(--dark);
    border-bottom: 1px solid var(--grey-line);
  }
  .nav__list a:hover,
  .nav__list a[aria-current='page'] {
    color: var(--green);
    border-bottom-color: var(--grey-line);
  }
  .nav > .btn {
    margin-top: 18px;
    border-color: var(--orange);
  }
  .topbar__partners {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 340px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .camp-detail {
    padding: 24px 20px;
  }
  .logo-row {
    gap: 30px;
  }
  .topbar {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__slide {
    transition: none;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
