/* =========================================================
   FUSSBALLFERIENSCHULE BERLIN-BRANDENBURG
   CAMPS.CSS – FINAL UNIFIED UI
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --primary: #18a047;
  --primary-dark: #12803a;
  --primary-hover: #1db653;
  --primary-light: #eaf8ef;

  --bg-body:
    linear-gradient(
      180deg,
      #169542 0%,
      #18a047 240px,
      #1aa64a 100%
    );

  --bg-card: #ffffff;
  --bg-card-soft: #fcfffd;
  --bg-soft: #f7fbf8;

  --text: #263238;
  --text-light: #64748b;
  --text-dark: #111827;
  --text-white: #ffffff;
  --text-primary: #18a047;

  --border-light: rgba(24, 160, 71, 0.12);

  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-large: 0 22px 56px rgba(15, 23, 42, 0.14);
  --shadow-hover: 0 30px 70px rgba(15, 23, 42, 0.18);
  --shadow-cta: 0 18px 40px rgba(24, 160, 71, 0.30);

  --radius-ui: 24px;
  --radius-pill: 999px;

  --transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

/* =========================================================
   RESET
========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   BASE
========================================================= */
html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  background: var(--bg-body);
  color: var(--text);
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  padding-bottom: 100px;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 18px;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.page-title {
  margin-top: 46px;
  margin-bottom: 26px;

  text-align: center;
  color: var(--text-white);

  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;

  text-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18);
}

.section-title {
  margin: 68px 0 28px;

  color: var(--text-white);

  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  text-align: center;
}

.city {
  margin-bottom: 18px;

  color: var(--text-light);

  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
}

/* =========================================================
   IMAGES
========================================================= */
.hero-image,
.location-image {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.hero-image {
  margin-bottom: 34px;
  border-radius: var(--radius-ui);

  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   BUTTONS
========================================================= */
.cta-top {
  margin-bottom: 46px;
  text-align: center;
}

.details-btn,
.faq-link,
.contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 56px;
  padding: 16px 28px;

  text-decoration: none;
  transition: var(--transition);

  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.details-btn:focus-visible,
.faq-link:focus-visible,
.contact a:focus-visible {
  transform: translateY(-4px);
  outline: none;
}

.cta-top .details-btn {
  min-height: 68px;
  padding: 20px 42px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f8fff9 100%
    );

  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-ui);

  color: var(--primary);

  font-size: 18px;
  font-weight: 900;

  box-shadow:
    var(--shadow-cta),
    0 0 0 5px rgba(255, 255, 255, 0.12);
}

.partner-content .details-btn {
  background: var(--primary);
  color: var(--text-white);

  border: 2px solid transparent;
  border-radius: var(--radius-ui);

  box-shadow: var(--shadow-large);
}

.location-card .details-btn,
.faq-link,
.contact a {
  background: var(--bg-soft);
  color: var(--primary);

  border: 1px solid rgba(24, 160, 71, 0.18);
  border-radius: var(--radius-ui);
}

.location-card .details-btn {
  width: auto;
  min-height: 52px;
  margin: 0 auto;
}

/* =========================================================
   GRID
========================================================= */
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

/* =========================================================
   CARDS
========================================================= */
.card {
  padding: 28px;

  background: var(--bg-card-soft);

  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-ui);

  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card h3 {
  display: inline-flex;

  margin-bottom: 18px;
  padding: 9px 16px;

  background: var(--primary-light);
  border-radius: var(--radius-pill);

  color: var(--primary);

  font-size: 14px;
  font-weight: 900;
}

.card p,
.card li,
.location-text,
small {
  color: var(--text);
  line-height: 1.7;
}

.card p {
  font-weight: 600;
}

.card ul {
  padding-left: 20px;
}

.card li + li {
  margin-top: 6px;
}

/* =========================================================
   PARTNER
========================================================= */
.partner-card {
  display: flex;
  align-items: center;
  gap: 40px;

  position: relative;
  overflow: hidden;

  margin-bottom: 48px;
  padding: 40px;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fbfffc 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-ui);

  box-shadow: var(--shadow-large);
  transition: var(--transition);
}

.partner-logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.partner-logo img {
  height: 160px;
  object-fit: contain;

  filter:
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.16));
}

.partner-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.partner-badge {
  display: inline-flex;

  margin-bottom: 16px;
  padding: 10px 16px;

  background: var(--primary-light);
  border-radius: var(--radius-ui);

  color: var(--primary);

  font-size: 14px;
  font-weight: 900;
}

.partner-content h2 {
  margin-bottom: 22px;

  color: var(--text-dark);

  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.08;
}

/* =========================================================
   SPORTANLAGE
========================================================= */
.location-card {
  padding: 36px;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-ui);
}

.location-text {
  margin: 16px 0 22px;

  font-size: 18px;
  font-weight: 600;
}

.sports-location-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fbfffc 100%
    );

  border-radius: var(--radius-ui);

  box-shadow: var(--shadow-large);
}

.sports-location-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;

  object-fit: cover;
}

.sports-location-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 48px;
  text-align: center;
}

.facility-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 28px;
  padding: 12px 18px;

  background: var(--primary-light);
  border: 1px solid rgba(24, 160, 71, 0.14);
  border-radius: var(--radius-ui);

  color: var(--primary);

  font-size: 15px;
  font-weight: 800;
}

/* =========================================================
   CAMP CARDS
========================================================= */
.camp-wrapper {
  margin-bottom: 32px;
}

.camp-row {
  position: relative;
  overflow: hidden;

  padding: 32px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfffc 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-ui);

  box-shadow: var(--shadow-large);
  transition: var(--transition);
}

.camp-left {
  position: relative;
}

.camp-info {
  padding-right: 180px;
}

.camp-logo {
  position: absolute;
  top: 0;
  right: 0;

  height: 150px;
  object-fit: contain;

  filter:
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.camp-info h3 {
  margin-bottom: 10px;

  color: var(--text-primary);

  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  line-height: 1.15;
}

.date-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px;

  margin: 10px;

  background:
    linear-gradient(
      135deg,
      var(--primary-light),
      #f7fff9
    );

  border: 1px solid rgba(24, 160, 71, 0.16);
  border-radius: var(--radius-ui);

  color: var(--primary);

  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
}

/* =========================================================
   WIDGET
========================================================= */
.camp-widget {
  overflow: hidden;

  padding: 10px;

  border: 1px solid rgba(24, 160, 71, 0.08);
  border-radius: var(--radius-ui);

  isolation: isolate;
  line-height: 0;
}

.yolawo-widget,
iframe.yolawo-widget {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100% !important;

  border: none;
  border-radius: var(--radius-ui);
}

/* =========================================================
   CONTACT
========================================================= */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  margin-bottom: 10px;
}

/* =========================================================
   HOVER
========================================================= */
@media (hover: hover) {
  .details-btn:hover,
  .faq-link:hover,
  .contact a:hover,
  .card:hover,
  .partner-card:hover,
  .camp-row:hover,
  .sports-location-card:hover,
  .faq-item:hover {
    transform: translateY(-5px);
  }

  .card:hover,
  .partner-card:hover,
  .camp-row:hover,
  .sports-location-card:hover,
  .faq-item:hover {
    box-shadow: var(--shadow-hover);
  }

  .partner-content .details-btn:hover {
    background: var(--primary-hover);
  }

  .cta-top .details-btn:hover {
    box-shadow:
      0 22px 46px rgba(24, 160, 71, 0.38),
      0 0 0 6px rgba(255, 255, 255, 0.14);
  }

  .faq-link:hover,
  .contact a:hover,
  .location-card .details-btn:hover {
    background: #ffffff;
    border-color: var(--primary);
  }

  .faq-question:hover {
    color: var(--primary);
  }
}

/* =========================================================
   FAQ PAGE
========================================================= */
.faq-main {
  padding-bottom: 100px;
}

.faq-hero {
  position: relative;
  padding: 80px 0 100px;
  text-align: center;
}

.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0)
    );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;
  padding: 10px 18px;

  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);

  color: var(--text-white);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;

  backdrop-filter: blur(10px);
}

.faq-hero h1 {
  margin-bottom: 20px;

  color: var(--text-white);

  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;

  text-shadow:
    0 8px 24px rgba(0,0,0,0.18);
}

.faq-hero p {
  max-width: 760px;
  margin: 0 auto 0;

  color: rgba(255,255,255,0.92);

  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.6;
}

.faq-category {
  margin-bottom: 18px;
}

.faq-item {
  overflow: hidden;

  margin-bottom: 18px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfffc 100%
    );

  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--radius-ui);

  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-hover);
}

.faq-question {
  width: 100%;
  padding: 28px 34px;
  padding-right: 80px;

  background: transparent;
  border: none;

  text-align: left;
  cursor: pointer;

  color: var(--text-dark);

  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;

  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);

  color: var(--primary);
  font-size: 30px;
  font-weight: 400;

  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 1400px;
}

.faq-answer p,
.faq-answer ul {
  padding: 0 34px 24px;
}

.faq-answer p {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.faq-answer ul {
  padding-left: 56px;
}

.faq-answer li {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.faq-contact {
  padding: 40px 0 100px;
  text-align: center;
}

.faq-contact h2 {
  margin-bottom: 16px;

  color: var(--text-white);

  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
}

.faq-contact p {
  margin-bottom: 28px;

  color: rgba(255,255,255,0.92);

  font-size: 18px;
  font-weight: 600;
}

.faq-contact .details-btn {
  min-width: 240px;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1024px) {
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .camp-info {
    padding-right: 140px;
  }

  .camp-logo {
    height: 110px;
  }

  .sports-location-content {
    padding: 36px;
  }

  .faq-question {
    font-size: 17px;
    padding: 24px 28px;
    padding-right: 72px;
  }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
  main,
  .faq-main {
    padding-bottom: 70px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta-top .details-btn,
  .partner-content .details-btn,
  .location-card .details-btn,
  .hero-actions .details-btn {
    width: 100%;
  }

  .partner-card {
    flex-direction: column;
    text-align: center;
    padding: 26px;
  }

  .sports-location-card {
    grid-template-columns: 1fr;
  }

  .sports-location-image img {
    min-height: 260px;
  }

  .sports-location-content {
    padding: 28px;
  }

  .camp-row {
    padding: 24px;
  }

  .camp-left {
    text-align: center;
  }

  .camp-info {
    padding-right: 0;
  }

  .camp-logo {
    position: static;
    height: 100px;
    margin: 0 auto 18px;
  }

  .date-box {
    width: 100%;
    font-size: 18px;
  }

  .faq-hero {
    padding: 60px 0 80px;
  }

  .faq-question {
    padding: 22px;
    padding-right: 60px;
    font-size: 16px;
  }

  .faq-question::after {
    right: 20px;
  }

  .faq-answer p,
  .faq-answer ul {
    padding-left: 22px;
    padding-right: 22px;
  }

  .faq-contact .details-btn {
    width: 100%;
    min-width: auto;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }

  .page-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 23px;
  }

  .card,
  .partner-card,
  .camp-row,
  .sports-location-content {
    padding: 18px;
  }

  .faq-hero h1 {
    font-size: 30px;
  }

  .faq-hero p {
    font-size: 16px;
  }
}

/* =========================================================
   TOUCH DEVICES
========================================================= */
@media (hover: none) {
  .card:hover,
  .partner-card:hover,
  .camp-row:hover,
  .sports-location-card:hover,
  .faq-item:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .details-btn:hover,
  .faq-link:hover,
  .contact a:hover {
    transform: none;
    box-shadow: none;
  }

  .faq-question:hover {
    color: var(--text-dark);
  }
}