/*
Theme Name: cROqueTARY 2026
Theme URI: https://rotary-aachen.de
Author: Rotary Club Aachen / POWER+RADACH
Author URI: https://rotary-aachen.de
Description: Onepager Theme für das 1. cROqueTARY Charity-Croquet-Turnier des Rotary Club Aachen – 27. September 2026
Version: 1.0
License: Private
Text Domain: croquetary
*/

/* ==========================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================== */
:root {
  /* Rotary Brand Colors */
  --rotary-royal-blue: #003F87;
  --rotary-gold: #CEAB57;
  --rotary-light-blue: #0056B3;
  --rotary-dark-navy: #001D4A;

  /* Extended Palette */
  --green-lawn: #2D6A4F;
  --green-light: #52B788;
  --cream: #FDF8F0;
  --warm-white: #FAFAF8;
  --text-dark: #1A1A2E;
  --text-muted: #555577;

  /* Typography */
  --font-heading: 'Open Sans', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-accent: 'Open Sans', system-ui, sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 120px);
  --container-max: 1200px;

  /* Animations */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rotary-gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--rotary-dark-navy);
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section {
  padding: var(--section-padding) 0;
}

.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

/* ==========================================
   NAVIGATION
   ========================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.site-nav.scrolled {
  background: rgba(0, 29, 74, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rotary-club-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 182px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Ensures logos are white on the dark background */
}

.nav-brand-divider {
  width: 1px;
  height: 140px;
  background: rgba(255,255,255,0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rotary-gold);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--rotary-gold);
  color: var(--rotary-dark-navy) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem !important;
  transition: background var(--transition-base), transform 0.2s ease !important;
}

.nav-cta:hover {
  background: #e8c570 !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 29, 74, 0.88) 0%,
    rgba(0, 63, 135, 0.70) 50%,
    rgba(0, 29, 74, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(206, 171, 87, 0.15);
  border: 1px solid rgba(206, 171, 87, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rotary-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rotary-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  color: white;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  animation: fadeInUp 0.9s var(--ease-out-expo) 0.1s both;
}

.hero-title .accent {
  color: var(--rotary-gold);
  display: block;
}

.hero-title .small-part {
  font-size: 0.28em;
  letter-spacing: 0.05em;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 0.25em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s var(--ease-out-expo) 0.3s both;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(206, 171, 87, 0.2);
  border: 1px solid rgba(206, 171, 87, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-meta-text {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease-out-expo);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--rotary-gold);
  color: var(--rotary-dark-navy);
}

.btn-primary:hover {
  background: #e8c570;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206, 171, 87, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================
   INTRO / EVENT INFO
   ========================================== */
.intro-section {
  background: var(--rotary-dark-navy);
  color: white;
  padding: 80px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.intro-stat {
  padding: 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition-base);
}

.intro-stat:last-child { border-right: none; }

.intro-stat:hover {
  background: rgba(255,255,255,0.04);
}

.intro-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--rotary-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.intro-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-img-wrap:hover img { transform: scale(1.05); }

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--rotary-gold);
  color: var(--rotary-dark-navy);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-family: var(--font-heading);
  box-shadow: 0 8px 24px rgba(206, 171, 87, 0.4);
}

.about-badge .year { font-size: 1.5rem; line-height: 1; }
.about-badge .premiere { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(0,29,74,0.7); margin-top: 4px; }

.about-content { max-width: 560px; }

.about-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1.25rem;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition-base);
}

.about-feature:hover {
  border-color: var(--rotary-gold);
  box-shadow: 0 4px 16px rgba(206,171,87,0.1);
  transform: translateY(-2px);
}

.about-feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rotary-dark-navy);
  margin-bottom: 2px;
}

.about-feature-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   TOURNAMENT MODE SECTION
   ========================================== */
.mode-section {
  background: var(--warm-white);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.mode-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out-expo);
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rotary-royal-blue), var(--rotary-gold));
}

.mode-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.mode-card-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0,63,135,0.08);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.mode-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rotary-royal-blue), var(--rotary-light-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0,63,135,0.25);
}

.mode-card h3 {
  font-size: 1.1rem;
  color: var(--rotary-dark-navy);
  margin-bottom: 0.75rem;
}

.mode-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================
   COURTS SECTION
   ========================================== */
.courts-section {
  background: var(--rotary-dark-navy);
  position: relative;
  overflow: hidden;
}

.courts-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206,171,87,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.courts-section .section-title { color: white; }
.courts-section .section-lead { color: rgba(255,255,255,0.65); }
.courts-section .section-eyebrow { color: var(--rotary-gold); }

.courts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.court-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out-expo);
}

.court-card::after {
  content: attr(data-court);
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.court-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(206,171,87,0.3);
  transform: translateY(-3px);
}

.court-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rotary-gold);
  margin-bottom: 0.75rem;
}

.court-card h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 0.75rem;
}

.court-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.court-sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(206,171,87,0.12);
  border: 1px solid rgba(206,171,87,0.25);
  color: var(--rotary-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-top: 1.25rem;
}

/* ==========================================
   REGISTRATION SECTION
   ========================================== */
.registration-section {
  background: linear-gradient(135deg, var(--cream) 0%, white 100%);
}

.registration-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.registration-info { max-width: 480px; }

.info-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.25rem;
  background: white;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.info-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-lawn);
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.registration-form-wrap {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 100px;
}

.form-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.form-header h3 {
  font-size: 1.4rem;
  color: var(--rotary-dark-navy);
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--rotary-dark-navy);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rotary-royal-blue);
  box-shadow: 0 0 0 3px rgba(0,63,135,0.1);
  background: white;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--rotary-royal-blue), var(--rotary-light-blue));
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.03em;
}

.form-submit:hover {
  background: linear-gradient(135deg, #002f6a, #0046a0);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,63,135,0.3);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--rotary-dark-navy);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-base);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rotary-gold);
  opacity: 0.8;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .about-grid,
  .registration-wrap {
    grid-template-columns: 1fr;
  }

  .about-badge { bottom: -16px; right: 16px; }
  .courts-grid { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
  }
  
  .rotary-club-logo:last-child { display: none; }
  .nav-brand-divider { display: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .nav-logo-img { height: 60px; }
  .nav-brand-divider { height: 50px; }
}

/* ==========================================
   MODAL (IMPRESSUM)
   ========================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.modal-container {
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  z-index: 10000;
  padding: 2.5rem;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal-header h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--rotary-blue);
  font-size: 1.8rem;
}
.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0;
}
.modal-close:hover {
  color: #000;
}
.modal-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.modal-content a {
  color: var(--rotary-royal-blue);
  text-decoration: underline;
}
