/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1a1a2e; line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: #2563eb; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1d4ed8; }

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.bg-light { background: #f8fafc; }
.bg-dark { background: #0f172a; color: #e2e8f0; }

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: #94a3b8; }
.section-label { display: inline-block; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #2563eb; margin-bottom: 0.75rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-header p { font-size: 1.0625rem; color: #64748b; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.9375rem; transition: all 0.25s; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-outline { background: transparent; color: #2563eb; border-color: #2563eb; }
.btn-outline:hover { background: #2563eb; color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: #2563eb; border-color: #fff; }
.btn-white:hover { background: #f0f4ff; color: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* ========== HEADER ========== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid #e2e8f0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 700; color: #1a1a2e; text-decoration: none; }
.logo:hover { color: #2563eb; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #1a1a2e; margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== NAVIGATION ========== */
.xeno-menu { }
.xeno-menu-main ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.xeno-menu-main > ul > li > a { display: block; padding: 0.5rem 1rem; color: #475569; font-weight: 500; font-size: 0.9375rem; border-radius: 6px; transition: all 0.2s; }
.xeno-menu-main > ul > li > a:hover { color: #2563eb; background: #f0f4ff; }
.xeno-menu-main .has-children { position: relative; }
.xeno-menu-main .has-children > a::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.xeno-menu-main .has-children > ul { display: none; position: absolute; top: calc(100% + 4px); left: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.5rem; min-width: 200px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); flex-direction: column; gap: 0; }
.xeno-menu-main .has-children > ul > li > a { display: block; padding: 0.5rem 0.75rem; color: #475569; border-radius: 6px; font-size: 0.875rem; white-space: nowrap; }
.xeno-menu-main .has-children > ul > li > a:hover { background: #f0f4ff; color: #2563eb; }
.xeno-menu-main .has-children:hover > ul { display: flex; }

/* Footer Navigation */
.xeno-menu-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.xeno-menu-footer a { color: #94a3b8; font-size: 0.9375rem; }
.xeno-menu-footer a:hover { color: #fff; }

/* ========== HERO ========== */
.hero { padding: 6rem 0 5rem; background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f3ff 100%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-block; padding: 0.375rem 1rem; background: rgba(37,99,235,0.1); color: #2563eb; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.25rem; font-weight: 800; line-height: 1.1; color: #0f172a; margin-bottom: 1.5rem; }
.hero-text { font-size: 1.125rem; color: #475569; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
.hero-card { background: #fff; border-radius: 16px; padding: 1.25rem 1.75rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 1rem; position: absolute; animation: float 6s ease-in-out infinite; }
.hero-card-icon { font-size: 2rem; }
.hero-card-text { font-weight: 700; font-size: 1rem; color: #0f172a; }
.card-1 { top: 10%; left: 5%; animation-delay: 0s; }
.card-2 { top: 45%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 10%; left: 15%; animation-delay: 4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ========== PAGE HERO ========== */
.page-hero { padding: 4rem 0 3rem; background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%); text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.page-hero-text { font-size: 1.125rem; color: #64748b; max-width: 640px; margin: 0 auto; }

/* ========== SERVICES GRID ========== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid #e2e8f0; transition: all 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: #bfdbfe; }
.service-icon { width: 56px; height: 56px; border-radius: 12px; background: #eff6ff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: #2563eb; }
.service-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9375rem; color: #64748b; margin-bottom: 1.25rem; line-height: 1.6; }
.service-link { font-weight: 600; font-size: 0.875rem; color: #2563eb; }
.service-link:hover { color: #1d4ed8; }

/* ========== SERVICE DETAIL ========== */
.service-detail { max-width: 720px; }
.service-detail.reverse { margin-left: auto; }
.service-detail-icon { margin-bottom: 1.5rem; }
.service-detail h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.service-detail p { color: #475569; font-size: 1.0625rem; margin-bottom: 1.5rem; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.feature-list li { padding-left: 1.75rem; position: relative; color: #334155; font-size: 0.9375rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #2563eb; font-weight: 700; }

/* ========== ABOUT TEASER ========== */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-teaser-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1.25rem; line-height: 1.2; }
.about-teaser-content p { color: #475569; font-size: 1.0625rem; margin-bottom: 2rem; }
.stats-row { display: flex; gap: 2.5rem; margin-bottom: 2rem; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 800; color: #2563eb; line-height: 1; }
.stat-label { font-size: 0.8125rem; color: #64748b; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.about-teaser-visual { position: relative; min-height: 300px; }
.about-pattern { width: 100%; height: 100%; border-radius: 24px; background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); opacity: 0.9; }

/* ========== ABOUT STORY ========== */
.about-story-content { max-width: 720px; }
.about-story-content h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; }
.about-story-content p { color: #475569; font-size: 1.0625rem; margin-bottom: 1.25rem; }

/* ========== VALUES ========== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid #e2e8f0; text-align: center; transition: all 0.3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem; }
.value-card p { font-size: 0.9375rem; color: #64748b; }

/* ========== TEAM ========== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { background: #f8fafc; padding: 2rem; border-radius: 16px; text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); background: #fff; }
.team-avatar { margin-bottom: 1.25rem; }
.team-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; margin: 0 auto; }
.team-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8125rem; color: #2563eb; font-weight: 600; display: block; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.875rem; color: #64748b; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 2rem; border-radius: 16px; transition: all 0.3s; }
.testimonial-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.testimonial-stars { color: #fbbf24; font-size: 1.125rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 1rem; color: #cbd5e1; margin-bottom: 1.5rem; font-style: italic; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8125rem; flex-shrink: 0; }
.testimonial-author strong { display: block; color: #f1f5f9; font-size: 0.9375rem; }
.testimonial-author span { font-size: 0.8125rem; color: #64748b; }

/* ========== CTA ========== */
.cta-section { padding: 5rem 0; background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.cta-inner p { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

/* ========== CONTACT ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.contact-form-wrapper h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.contact-form-wrapper > p { color: #64748b; margin-bottom: 2rem; }
.contact-info-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.75rem; }
.contact-info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: #0f172a; }
.contact-info-item { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 0.8125rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.125rem; }
.contact-info-item a { color: #1a1a2e; font-weight: 500; }
.contact-info-item a:hover { color: #2563eb; }
.hours-table { width: 100%; font-size: 0.9375rem; }
.hours-table td { padding: 0.375rem 0; }
.hours-table td:last-child { text-align: right; font-weight: 500; }

/* ========== FORMS ========== */
.xeno-contact-form { }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: #334155; margin-bottom: 0.375rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid #d1d5db; border-radius: 10px; font-size: 0.9375rem; font-family: inherit; transition: all 0.2s; background: #fff; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }
.xeno-contact-form button { width: 100%; padding: 0.875rem; background: #2563eb; color: #fff; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.25s; font-family: inherit; }
.xeno-contact-form button:hover { background: #1d4ed8; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

/* ========== FOOTER ========== */
.site-footer { background: #0f172a; color: #94a3b8; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-desc { font-size: 0.9375rem; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; }
.footer-hours { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; margin-bottom: 1.5rem; }
.footer-hours li { display: flex; justify-content: space-between; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all 0.2s; }
.footer-social a:hover { background: #2563eb; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #64748b; }
.footer-legal a:hover { color: #fff; }

/* ========== BREADCRUMB ========== */
.xeno-breadcrumb { padding: 0.75rem 2rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.xeno-breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 0; max-width: 1200px; margin: 0 auto; font-size: 0.8125rem; }
.xeno-breadcrumb li { color: #64748b; }
.xeno-breadcrumb li + li::before { content: "/"; margin: 0 0.5rem; color: #cbd5e1; }
.xeno-breadcrumb a { color: #64748b; }
.xeno-breadcrumb a:hover { color: #2563eb; }
.xeno-breadcrumb [aria-current] { color: #1a1a2e; font-weight: 500; }

/* ========== MAP ========== */
.xeno-map { width: 100%; min-height: 300px; background: #e2e8f0; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #64748b; font-style: italic; }
.xeno-map::after { content: "Karte wird geladen…"; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid, .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 200px; margin-top: 2rem; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser-visual { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: 2.25rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .section-header h2 { font-size: 1.5rem; }
  .services-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .stats-row { flex-wrap: wrap; gap: 1.5rem; }
  .mobile-toggle { display: block; }
  .main-nav, .xeno-menu-main { }
  .xeno-menu-main > ul { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e2e8f0; padding: 1rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
  .xeno-menu-main.open > ul, .main-nav.open .xeno-menu-main > ul { display: flex; }
  .xeno-menu-main .has-children > ul { position: static; box-shadow: none; border: none; padding-left: 1rem; }
  .xeno-menu-main .has-children:hover > ul { display: flex; }
  .hero-card { position: static; animation: none; }
  .hero-visual { flex-direction: column; gap: 1rem; min-height: auto; }
}
