/* ============================================================
   KA-VERBINDET.DE – Gemeinsames Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* --- CSS-Variablen --- */
:root {
  --navy:    #1a2461;
  --pink:    #d81b60;
  --teal:    #00838f;
  --green:   #2e7d32;
  --orange:  #f57c00;
  --gold:    #f9a825;
  --red:     #c62828;
  --light:   #f9f8f5;
  --white:   #ffffff;
  --text:    #1a1a2e;
  --muted:   #5c6070;
  --border:  #e0e0e0;

  --grad-rainbow: linear-gradient(90deg, #1a2461, #1565c0, #2e7d32, #f9a825, #f57c00, #d81b60);
  --grad-hero:    linear-gradient(160deg, #0d1b5e 0%, #1a2461 40%, #1b3a6b 100%);
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
}

/* --- Reset & Basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--navy); text-decoration: none; }
a:hover { color: var(--pink); }

/* --- Typografie --- */
h1, h2, h3, h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  line-height: 1.2;
}

.rainbow-text {
  background: var(--grad-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.italic-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--muted);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 36, 97, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid transparent;
  border-image: var(--grad-rainbow) 1;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: var(--pink) !important;
  color: #fff !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 25px !important;
}

.nav-cta:hover {
  background: #b0144f !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,27,94,0.85) 40%, rgba(13,27,94,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 25px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero h1 .highlight {
  background: var(--grad-rainbow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 0.5rem;
}

.hero-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 4px 18px rgba(216,27,96,0.4);
}

.btn-primary:hover {
  background: #b0144f;
  transform: translateY(-2px);
  color: #fff;
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: #111a4a;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Sections --- */
.section {
  padding: 5rem 1.5rem;
}

.section-white  { background: var(--white); }
.section-light  { background: var(--light); }
.section-navy   { background: var(--navy); color: #fff; }
.section-dark   { background: #0f1540; color: #fff; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-navy .section-sub,
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

/* --- Werte-Karten --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid;
  transition: transform 0.2s;
}

.value-card:hover { transform: translateY(-4px); }
.value-card:nth-child(1) { border-color: var(--navy); }
.value-card:nth-child(2) { border-color: var(--teal); }
.value-card:nth-child(3) { border-color: var(--green); }
.value-card:nth-child(4) { border-color: var(--orange); }
.value-card:nth-child(5) { border-color: var(--pink); }

.value-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.value-card h3 { font-size: 1.05rem; color: var(--text); }

/* --- Feature-Karten (3er-Reihe) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-card p { color: var(--muted); font-size: 0.97rem; }

/* --- Veranstaltungs-Banner --- */
.event-banner {
  background: var(--grad-rainbow);
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.event-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin-bottom: 0.3rem;
}

.event-banner p { font-size: 1.1rem; opacity: 0.9; }

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.step-number {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

.step-number.c1 { background: var(--navy); }
.step-number.c2 { background: var(--teal); }
.step-number.c3 { background: var(--green); }
.step-number.c4 { background: var(--gold); color: #333; }
.step-number.c5 { background: var(--orange); }
.step-number.c6 { background: var(--red); }
.step-number.c7 { background: #7b1fa2; }
.step-number.c8 { background: #1565c0; }
.step-number.c9 { background: var(--pink); }

.step-card h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--navy); }
.step-card p  { font-size: 0.9rem; color: var(--muted); }

/* --- Menü-Karten --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.menu-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.menu-card-header {
  padding: 1.25rem 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-card-header .emoji { font-size: 1.8rem; }
.menu-card-header h3 { font-size: 1.1rem; letter-spacing: 0.03em; }
.menu-card-header p  { font-size: 0.8rem; opacity: 0.85; }

.mh-badisch    { background: linear-gradient(135deg, #1a2461, #2a3a8a); }
.mh-italienisch{ background: linear-gradient(135deg, #c62828, #e53935); }
.mh-tuerkisch  { background: linear-gradient(135deg, #e65100, #f57c00); }
.mh-indisch    { background: linear-gradient(135deg, #f57c00, #ff8f00); }
.mh-asiatisch  { background: linear-gradient(135deg, #00695c, #00897b); }
.mh-burger     { background: linear-gradient(135deg, #4a148c, #6a1b9a); }

.menu-items { padding: 1rem 1.5rem 1.5rem; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.menu-item:last-child { border-bottom: none; }

.menu-item-info { flex: 1; }
.menu-item-info strong { display: block; font-size: 0.97rem; color: var(--text); }
.menu-item-info small  { color: var(--muted); font-size: 0.82rem; }

.menu-item-price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--pink);
  white-space: nowrap;
}

.veggie-badge {
  display: inline-block;
  background: #e8f5e9;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  margin-top: 0.2rem;
}

/* --- Events-Karten --- */
.event-location {
  margin-bottom: 3rem;
}

.event-location h3 {
  font-size: 1.4rem;
  color: var(--navy);
  border-left: 4px solid var(--pink);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-tag {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.event-tag:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
}

/* --- Partner --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.partner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  transition: transform 0.2s;
}

.partner-card:hover { transform: translateY(-4px); }

.partner-card.hauptpartner { border-color: var(--gold); }
.partner-card.infrastruktur{ border-color: var(--teal); }
.partner-card.digital      { border-color: var(--navy); }
.partner-card.gastronomie  { border-color: var(--green); }
.partner-card.getraenke    { border-color: var(--orange); }
.partner-card.family       { border-color: var(--pink); }

.partner-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.partner-card p  { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
.partner-card ul { list-style: none; }
.partner-card ul li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.2rem 0;
}
.partner-card ul li::before {
  content: "→ ";
  color: var(--pink);
  font-weight: 700;
}

/* --- Kontakt / Anmelden --- */
.contact-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}

.contact-box h2 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--navy); }
.contact-box p  { color: var(--muted); margin-bottom: 1.5rem; }

.info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.info-row strong { display: block; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.info-row a { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.info-row a:hover { color: var(--pink); }

/* --- Image-Showcase --- */
.img-showcase {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-full-width {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* --- Stat-Band --- */
.stats-band {
  background: var(--grad-rainbow);
  color: #fff;
  padding: 3rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item .number {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.stat-item .label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.3rem;
}

/* --- Quote-Block --- */
.quote-block {
  border-left: 5px solid var(--pink);
  padding: 1.5rem 2rem;
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.quote-block blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1.5;
}

/* --- Ticket-Box --- */
.ticket-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ticket-box::after {
  content: "♥";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.06;
}

.ticket-box h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.ticket-box p  { opacity: 0.8; margin-bottom: 1.5rem; }

/* --- Footer --- */
.site-footer {
  background: #0d1234;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img { height: 50px; margin-bottom: 1rem; filter: brightness(1.1); }
.footer-brand p   { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-values {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-values span {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* --- Trennlinie Regenbogen --- */
.rainbow-divider {
  height: 4px;
  background: var(--grad-rainbow);
  border: none;
  margin: 0;
}

/* --- Bahn-Section --- */
.bahn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bahn-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bahn-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--navy);
}

.bahn-feature .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-rainbow);
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .bahn-grid    { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(26,36,97,0.98);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
  }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps-grid    { grid-template-columns: 1fr; }
  .menu-grid     { grid-template-columns: 1fr; }
}

/* ============================================================
   DEMO-Banner (wibewa.com-Integration)
   ============================================================ */
.demo-banner{
  position:fixed;
  top:0; left:0; right:0;
  z-index:2000;
  background:linear-gradient(90deg,#c62828,#e53935);
  color:#fff;
  text-align:center;
  padding:8px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:0.88rem;
  box-shadow:0 2px 10px rgba(0,0,0,0.25);
}

.demo-banner .demo-tag{
  background:#fff;
  color:#c62828;
  padding:2px 12px;
  border-radius:20px;
  font-weight:900;
  font-size:1rem;
  letter-spacing:0.08em;
}

.demo-banner .demo-text{
  font-weight:700;
  opacity:0.95;
}

.demo-banner a{
  color:#fff;
  text-decoration:underline;
  font-weight:700;
  white-space:nowrap;
}

.demo-banner a:hover{
  color:#ffe082;
}

.site-nav{ top:38px; }
.hero{ padding-top:108px; }

@media (max-width:680px){
  .demo-banner{ font-size:0.76rem; padding:6px 12px; gap:8px; }
}
