/* ═══════════════════════════════════════════════════════════════
   Bavaria Swiss AG – Haupt-Styles
   ═══════════════════════════════════════════════════════════════ */
@import url('variables.css');
@import url('base.css');
@import url('cookie.css');

/* ── NAVBAR ──────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  will-change: transform;
  transform: translateZ(0);
}
#navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.35); }
@supports not (backdrop-filter: blur(1px)) { #navbar { background: var(--bg2); } }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 2rem; height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-logo-img { height: 34px; width: auto; object-fit: contain; }
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--red); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; color: #fff; letter-spacing: .05em;
}
.nav-logo-text {
  font-family: var(--font-cond); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
}
.nav-logo-text span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin-left: auto; }
.nav-links a {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-cond); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--border); }
.nav-links a.cta { background: var(--red); color: #fff !important; padding: 0.4rem 1rem; }
.nav-links a.cta:hover { background: var(--red-light); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }
.lang-toggle {
  display: flex; gap: 2px; background: var(--bg3);
  border-radius: var(--radius); padding: 2px; border: 1px solid var(--border);
}
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-cond); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; padding: 0.28rem 0.55rem; border-radius: 2px;
  color: var(--text-muted); transition: all var(--t) var(--ease);
}
.lang-toggle button.active { background: var(--red); color: #fff; }

.theme-btn {
  width: 34px; height: 34px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--t) var(--ease);
}
.theme-btn:hover { color: var(--text); border-color: var(--red); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 34px; height: 34px; justify-content: center; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
}
.hamburger span {
  display: block; width: 16px; height: 2px; background: var(--text);
  transition: all var(--t) var(--ease); border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--nav-bg); border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem; backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-cond); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t) var(--ease);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.cta { color: var(--red); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero-bg      { position: fixed; inset: 0; background: radial-gradient(ellipse 70% 70% at 80% 40%, rgba(192,57,43,0.06) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.hero-bg-blob { position: fixed; top: 15%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(192,57,43,0.04) 0%, transparent 60%); pointer-events: none; z-index: 0; }

#hero {
  position: relative; z-index: 1;
  min-height: 100vh; padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem;
}
.hero-content { animation: fadeUp 0.8s var(--ease) both; }
.hero-eyebrow {
  font-family: var(--font-cond); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem;
}
.hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--red); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  text-transform: uppercase; line-height: 1; margin-bottom: 1.5rem;
}
.switcher-wrap { overflow: hidden; }
.switcher-wrap .switcher { display: flex; flex-direction: column; }
.switcher-wrap .switcher span { color: var(--red); }
.hero-sub { color: var(--text-muted); font-weight: 300; max-width: 440px; margin-bottom: 2rem; line-height: 1.7; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.play-circle {
  width: 32px; height: 32px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.play-circle svg { width: 10px; height: 10px; fill: #fff; }

.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-display); font-size: 2.25rem;
  line-height: 1; color: var(--text);
}
.stat-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-cond); }

.hero-image-wrap { animation: fadeRight 0.9s var(--ease) 0.2s both; }
.hero-image-frame {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-image-frame img { width: 100%; height: 460px; object-fit: cover; }
.hero-image-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: rgba(10,10,10,0.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.5rem 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.hero-image-badge-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
.hero-image-badge-text { font-family: var(--font-cond); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; color: #fff; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-cond); font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint);
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--text-faint), transparent); animation: scrollPulse 2.5s infinite; }

/* ── BRANDS TICKER ───────────────────────────────────────────── */
#brands {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.5rem 0; background: var(--bg2); overflow: hidden; position: relative; z-index: 1;
}
.brands-label {
  text-align: center; font-family: var(--font-cond); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 1rem;
}
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 1rem; padding: 0 2.5rem;
  font-family: var(--font-cond); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap; transition: color var(--t) var(--ease);
}
.ticker-item:hover { color: var(--text); }
.ticker-dot { width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ── KATEGORIEN ──────────────────────────────────────────────── */
#categories { background: var(--bg); padding: 6rem 2rem; position: relative; z-index: 1; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden;
}
.cat-card {
  background: var(--surface); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: background var(--t) var(--ease);
  cursor: pointer;
}
.cat-card:hover { background: var(--surface2); }
.cat-icon { color: var(--red); margin-bottom: 0.25rem; }
.cat-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.cat-name {
  font-family: var(--font-cond); font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cat-count { font-size: 0.72rem; color: var(--red); font-weight: 600; font-family: var(--font-cond); letter-spacing: 0.08em; }
.cat-arrow {
  margin-top: auto; color: var(--text-muted);
  display: flex; align-items: center;
  transition: color var(--t) var(--ease), transform var(--t) var(--ease);
}
.cat-arrow svg { width: 15px; height: 15px; stroke-width: 2; }
.cat-card:hover .cat-arrow { color: var(--red); transform: translateX(3px); }
.cat-footer { margin-top: 2rem; text-align: center; }

/* ── WHY US ──────────────────────────────────────────────────── */
#why { background: var(--bg2); padding: 6rem 2rem; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px; background: var(--border);
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border);
}
.why-card { background: var(--surface); padding: 2.25rem 1.75rem; position: relative; overflow: hidden; }
.why-card:first-child { grid-column: 1 / -1; background: var(--red); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.why-card:first-child .why-num { font-family: var(--font-display); font-size: clamp(5rem, 11vw, 8.5rem); line-height: 1; color: rgba(255,255,255,.2); flex-shrink: 0; }
.why-card:first-child .why-content { flex: 1; min-width: 180px; }
.why-card:first-child .why-title { color: #fff; }
.why-card:first-child .why-text  { color: rgba(255,255,255,.8); }
.why-num-sm { font-family: var(--font-display); font-size: 2.75rem; color: var(--red); line-height: 1; margin-bottom: 0.4rem; }
.why-title { font-family: var(--font-cond); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.why-text  { color: var(--text-muted); font-weight: 300; font-size: 0.9rem; line-height: 1.65; }

/* ── SERVICES ────────────────────────────────────────────────── */
#services { background: var(--bg); padding: 6rem 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-red); }
.service-icon { width: 46px; height: 46px; background: var(--red-alpha-10); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--red); }
.service-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.service-name { font-family: var(--font-cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.service-desc { color: var(--text-muted); font-size: 0.88rem; font-weight: 300; line-height: 1.65; }
.service-link { margin-top: auto; font-family: var(--font-cond); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 0.4rem; transition: gap var(--t) var(--ease); }
.service-card:hover .service-link { gap: 0.65rem; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
#testimonials { background: var(--bg2); padding: 6rem 2rem; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.trust-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 2rem; display: flex; flex-direction: column; gap: 1rem;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.trust-card:hover { border-color: var(--red-alpha-20); transform: translateY(-3px); }
.trust-stars { color: var(--red); font-size: 1rem; letter-spacing: 0.1em; }
.trust-quote { font-size: 0.95rem; font-weight: 300; line-height: 1.7; font-style: italic; }
.trust-author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.trust-avatar { width: 40px; height: 40px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-cond); font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.trust-name { font-family: var(--font-cond); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; }
.trust-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA BANNER ──────────────────────────────────────────────── */
#cta-banner { background: var(--red); padding: 5rem 2rem; position: relative; overflow: hidden; }
#cta-banner::before { content: ""; position: absolute; right: -5%; top: -50%; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); }
#cta-banner::after  { content: ""; position: absolute; right: 5%; top: -20%; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); }
.cta-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-copy { flex: 1; min-width: 240px; }
.cta-copy h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); text-transform: uppercase; line-height: 1; color: #fff; margin-bottom: 0.65rem; }
.cta-copy p  { color: rgba(255,255,255,.8); font-weight: 300; max-width: 400px; line-height: 1.7; }
.cta-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 2rem; flex-wrap: wrap; }
.footer-brand {}
.footer-logo { font-family: var(--font-cond); font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 0.78rem; color: var(--text-faint); }
.footer-links-group { display: flex; gap: 3rem; justify-content: center; }
.footer-links-col h4 { font-family: var(--font-cond); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.75rem; }
.footer-links-col a { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; transition: color var(--t) var(--ease); }
.footer-links-col a:hover { color: var(--red); }
.footer-contact p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: var(--text-faint); font-size: 0.78rem; }
.footer-legal-links { display: flex; gap: 1.25rem; }
.footer-legal-links a { font-size: 0.78rem; color: var(--text-faint); transition: color var(--t) var(--ease); }
.footer-legal-links a:hover { color: var(--red); }

/* ── VIDEO MODAL ─────────────────────────────────────────────── */
#video-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
#video-overlay.active { opacity: 1; pointer-events: all; }
.video-box { position: relative; width: min(900px, 92vw); }
.video-box iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius-md); display: block; }
#video-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: #fff; cursor: pointer; font-family: var(--font-cond); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; transition: opacity var(--t) var(--ease); display: flex; align-items: center; gap: 0.4rem; }
#video-close:hover { opacity: 1; }

/* ── LEGAL SEITEN ────────────────────────────────────────────── */
.legal-page { padding: calc(var(--nav-h) + 4rem) 2rem 6rem; min-height: 100vh; }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-inner h1 { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); text-transform: uppercase; margin-bottom: 0.5rem; }
.legal-inner .legal-date { font-size: 0.8rem; color: var(--text-faint); font-family: var(--font-cond); letter-spacing: 0.1em; margin-bottom: 3rem; }
.legal-inner h2 { font-family: var(--font-cond); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 2.5rem 0 0.75rem; color: var(--text); }
.legal-inner p, .legal-inner li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.6rem; }
.legal-inner ul { padding-left: 1.5rem; list-style: disc; }
.legal-inner a { color: var(--red); text-decoration: underline; }
.legal-inner table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
.legal-inner td, .legal-inner th { padding: 0.6rem 1rem; border: 1px solid var(--border); text-align: left; color: var(--text-muted); }
.legal-inner th { background: var(--bg2); font-family: var(--font-cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; color: var(--text); }

/* ── 404 ─────────────────────────────────────────────────────── */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.not-found-num { font-family: var(--font-display); font-size: clamp(8rem, 20vw, 16rem); line-height: 1; color: var(--red-alpha-20); margin-bottom: -1rem; }
.not-found h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem); text-transform: uppercase; margin-bottom: 1rem; }
.not-found p { color: var(--text-muted); margin-bottom: 2rem; max-width: 400px; margin-inline: auto; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding: calc(var(--nav-h) + 3rem) 2rem 3rem; }
  .hero-image-wrap { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  #hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 2rem; }
  section, #categories, #why, #services, #testimonials { padding: 4rem 1.25rem !important; }
  .nav-inner { padding: 0 1.25rem; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.75rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links-group { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner-inner { flex-direction: column; }
}
