/* ====================================================================
   FJ PADEL – Stylesheet
   --------------------------------------------------------------------
   Design abgeleitet vom FJ-Padel-Logo: klares Weiß, tiefes Marineblau
   (exakter Logo-Farbton #0A1149), dezentes Grau für die Zwischentexte.

   ✏️ FARBEN ÄNDERN: Alle Markenfarben stehen direkt hier unten in
   :root. Eine Änderung dort wirkt auf die gesamte Website.
   ==================================================================== */

:root {
  /* Markenfarben (aus dem Logo) */
  --navy:       #0a1149;   /* Logo-Marineblau – Überschriften, Buttons, dunkle Bereiche */
  --navy-soft:  #1b2260;   /* etwas heller – Hover, Verläufe */
  --navy-deep:  #060b33;   /* fast schwarzblau – Footer */
  --ink:        #232a3f;   /* Fließtext */
  --muted:      #62687a;   /* gedämpfter Text (wie die Logo-Unterzeile) */
  --bg:         #ffffff;   /* Standard-Hintergrund */
  --bg-soft:    #f4f5f9;   /* Wechsel-Hintergrund für Abschnitte */
  --line:       #e3e5ee;   /* feine Linien und Rahmen */

  /* Typografie */
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Abstände / Radien */
  --radius: 14px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.container-narrow { width: min(820px, 92%); }

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 800;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

a { color: var(--navy); }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* Haupt-Button: Marineblau, weiße Schrift */
.btn-accent { background: var(--navy); color: #fff; }
.btn-accent:hover { background: var(--navy-soft); }

/* Zweit-Button: blauer Rahmen auf hellem Grund */
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Auf dunklen (marineblauen) Bereichen dreht sich der Haupt-Button um: weiß */
.section-dark .btn-accent { background: #fff; color: var(--navy); }
.section-dark .btn-accent:hover { background: #e8eaf4; }
.section-dark .btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.section-dark .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ------------------------------------------------------------------ */
/* Header / Navigation (hell, Logo oben links)                         */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(10, 17, 73, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 120px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.main-nav a:hover { color: var(--navy-soft); text-decoration: underline; text-underline-offset: 5px; }
.btn-nav { padding: 0.55rem 1.3rem; font-size: 0.9rem; }
.main-nav a.btn-nav { color: #fff; }
.main-nav a.btn-nav:hover { color: #fff; text-decoration: none; }

/* Mobil-Menü-Knopf (drei Striche) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 1rem 4% 1.4rem;
    gap: 0.4rem;
    display: none;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(10, 17, 73, 0.10);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0.4rem; font-size: 1.05rem; }
  .main-nav a.btn-nav { text-align: center; margin-top: 0.5rem; }
  .brand-logo { height: 80px; }
}

/* ------------------------------------------------------------------ */
/* Hero (hell, im Stil des Logos)                                      */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(175deg, #ffffff 30%, var(--bg-soft) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* dezente "Court-Linien" im Hintergrund */
.hero-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 17, 73, 0.05) 1.5px, transparent 1.5px) 0 0 / 100% 150px,
    linear-gradient(90deg, rgba(10, 17, 73, 0.05) 1.5px, transparent 1.5px) 0 0 / 150px 100%;
  mask-image: radial-gradient(ellipse at 80% 20%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, black 25%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-text { max-width: 46rem; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero h1 { margin-bottom: 1.4rem; }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink);
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.8rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-trust li::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy);
  margin-right: 0.55rem;
}

/* ------------------------------------------------------------------ */
/* Abschnitte allgemein                                                */
/* ------------------------------------------------------------------ */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-soft); }

.section-head { max-width: 46rem; margin-bottom: 2.8rem; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.65); }

.section-lead { color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }
.lead-light { color: rgba(255, 255, 255, 0.82); }

/* ------------------------------------------------------------------ */
/* Über mich                                                           */
/* ------------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

.about-photo {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

/* Platzhalter, bis echte Fotos vorliegen */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(150deg, var(--navy-soft), var(--navy));
  color: rgba(255, 255, 255, 0.65);
  border: 1px dashed rgba(255, 255, 255, 0.25);
}
.photo-placeholder span { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.photo-placeholder small { color: rgba(255, 255, 255, 0.4); }

.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1.1rem; }

.fact-list {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}
.fact-list li {
  padding-left: 1.6rem;
  position: relative;
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--navy);
}

/* ------------------------------------------------------------------ */
/* Karten (Leistungen, Testimonials)                                   */
/* ------------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 17, 73, 0.10); }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }

.card-highlight { border: 2px solid var(--navy); }
.card-badge {
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}
.card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Info-Leiste unter den Leistungen */
.info-strip {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
@media (min-width: 860px) { .info-strip { grid-template-columns: repeat(4, 1fr); } }
.info-strip strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 0.15rem; }
.info-strip span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }

/* ------------------------------------------------------------------ */
/* Pakete                                                              */
/* ------------------------------------------------------------------ */
.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 860px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }

.package {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  background: var(--bg);
}
.package ul { list-style: none; display: grid; gap: 0.5rem; flex: 1; }
.package li { padding-left: 1.5rem; position: relative; font-size: 0.95rem; color: var(--muted); }
.package li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--navy);
  font-weight: 700;
}
.package .btn { text-align: center; }

.package-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }

.package-featured { border: 2px solid var(--navy); box-shadow: 0 14px 34px rgba(10, 17, 73, 0.12); }
.package-badge {
  position: absolute;
  top: -0.8rem; left: 1.6rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* ------------------------------------------------------------------ */
/* Preise auf den Angebots-Karten                                      */
/* ------------------------------------------------------------------ */
.card-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.2rem;
}
.price-row strong { color: var(--navy); font-size: 1.2rem; font-weight: 800; }
.price-row s { color: var(--muted); font-weight: 400; margin-left: 0.35rem; }
.price-row em { font-style: normal; color: var(--muted); font-size: 0.85rem; margin-left: 0.35rem; }

.promo-badge {
  display: inline-block;
  margin-top: 1rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}

.price-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.package-price s { color: var(--muted); font-size: 0.95rem; font-weight: 400; margin-left: 0.35rem; }

/* ------------------------------------------------------------------ */
/* Anfrage-Formular                                                    */
/* ------------------------------------------------------------------ */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 17, 73, 0.12);
}

/* Unsichtbares Spam-Schutz-Feld */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}
.form-consent input { width: auto; margin-top: 0.25rem; }
.form-consent a { color: var(--navy); font-weight: 600; }

.form-hint { font-size: 0.8rem; color: var(--muted); }

/* Erfolgs- und Fehlermeldung nach dem Absenden */
.form-notice {
  padding: 1rem 1.3rem;
  border-radius: 10px;
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.form-success { background: #e8f3ea; color: #1d5a2a; border: 1px solid #c3e0c9; }
.form-error { background: #fbebe9; color: #8a231a; border: 1px solid #f0c7c1; }
.form-error a { color: #8a231a; }

/* ------------------------------------------------------------------ */
/* Dunkle Bereiche (Buchung, Kontakt) – im Logo-Marineblau             */
/* ------------------------------------------------------------------ */
.section-dark {
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
}
.section-dark h2 { color: #fff; }

.booking-inner { text-align: center; max-width: 720px; }
.booking-inner .section-lead { margin-bottom: 2rem; }
.booking-note { margin-top: 1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ------------------------------------------------------------------ */
/* Partner & Unterstützer                                              */
/* ------------------------------------------------------------------ */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 860px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }

.partner-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
  align-items: center;
}
.partner-card p { color: var(--muted); font-size: 0.95rem; }
.partner-card p a { color: var(--navy); font-weight: 700; }

/* Website-Link unten in der Partner-Karte */
.partner-site {
  margin-top: auto;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.partner-site:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Logo-Bereich der Partner-Karten: feste Höhe, Logo wird eingepasst */
.partner-logo {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Breite Wortmarken (z. B. NOX): gleicher Platz, aber mit Luft oben/unten,
   damit sie neben den Wappen-Logos nicht erschlagend wirken */
.partner-logo-wide {
  width: min(200px, 80%);
  padding: 26px 0;
}

/* Platzhalter, solange ein Partner-Logo noch fehlt */
.partner-logo-placeholder {
  display: grid;
  place-items: center;
  width: 110px;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  color: var(--muted);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ */
/* Testimonials (Sektion aktuell ausgeblendet, Stil ist vorbereitet)   */
/* ------------------------------------------------------------------ */
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial footer { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  background: var(--bg);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Kontakt                                                             */
/* ------------------------------------------------------------------ */
.section-contact { text-align: center; }
.section-contact .section-lead { margin-bottom: 2rem; }
.contact-actions { margin-bottom: 2.4rem; }
.contact-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.4rem;
}
.contact-list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.98rem;
}
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.6rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  gap: 1.6rem;
  text-align: center;
}
.footer-brand { color: #fff; font-weight: 700; }
.footer-brand small { color: rgba(255, 255, 255, 0.5); font-weight: 400; }

/* Weißes Logo im Footer */
.footer-logo {
  height: 110px;
  width: auto;
  margin: 0 auto 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.8rem;
}
.footer-nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-nav a:hover { color: #fff; }

.footer-copy { color: rgba(255, 255, 255, 0.4); }

/* ------------------------------------------------------------------ */
/* Sanftes Einblenden beim Scrollen                                    */
/* (Elemente mit class="reveal" starten unsichtbar und gleiten herein) */
/* ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Nutzer mit reduzierter Bewegung sehen alles sofort */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------ */
/* Unterseiten Impressum / Datenschutz                                 */
/* ------------------------------------------------------------------ */
.legal-page { padding: 3.5rem 0 5rem; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2.2rem 0 0.7rem; }
.legal-page p, .legal-page li { color: var(--ink); margin-bottom: 0.8rem; }
.legal-page ul { padding-left: 1.4rem; }
.legal-note {
  background: #fdf6dd;
  border: 1px solid #eadfa8;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 2rem;
  color: #6b5d1f;
  font-size: 0.95rem;
}
