/* Mietkochen GmbH – Brand colors from mietkochen.de */
:root {
  --brand-yellow: #F8BC15;
  --brand-black: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #161616;
  --text-light: #ffffff;
  --text-muted: #a8a8a8;
  --border-subtle: rgba(248, 188, 21, 0.25);
  --glass-bg: rgba(17, 17, 17, 0.72);
  --gradient-hero: linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(10,10,10,0.85) 50%, rgba(0,0,0,0.75) 100%);
  --shadow-brand: 0 8px 32px rgba(248, 188, 21, 0.15);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-lg: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--brand-black);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 0.5rem 1rem;
}
.skip-link:focus { left: 0; }

a { color: var(--brand-yellow); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffe082; }

.text-brand { color: var(--brand-yellow) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

/* Topbar */
.topbar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}
.topbar-link { color: var(--text-muted); }
.topbar-link:hover { color: var(--brand-yellow); }
.badge-brand {
  color: var(--brand-yellow);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  padding: 0.75rem 0;
}
.navbar.scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: filter var(--transition), transform var(--transition);
}
.navbar-brand:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(248, 188, 21, 0.4));
}
.footer-logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}
.nav-link { color: var(--text-muted) !important; font-weight: 500; padding: 0.5rem 1rem !important; }
.nav-link:hover, .nav-link.active { color: var(--brand-yellow) !important; }
.dropdown-menu-dark { background: var(--bg-elevated); border-color: var(--border-subtle); }

/* Buttons */
.btn-brand {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-brand:hover {
  background: #ffe082;
  color: var(--brand-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}
.btn-outline-light {
  border-color: rgba(255,255,255,0.35);
  color: var(--text-light);
}
.btn-outline-light:hover {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-black);
}

/* Glass */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* Hero */
.hero-section {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero),
    var(--hero-img, url('https://mietkochen.de/wp-content/uploads/2025/01/chef-working-together-professional-kitchen.jpg')) center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(248,188,21,0.12) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(248,188,21,0.15);
  border: 1px solid var(--brand-yellow);
  color: var(--brand-yellow);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--brand-yellow);
  line-height: 1;
}
.stat-item span { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
.section { padding: 5rem 0; position: relative; }
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-elevated); }
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-yellow);
  margin-top: 0.75rem;
}
.section-lead { color: var(--text-muted); max-width: 720px; }

/* Cards */
.service-card, .feature-card, .process-card, .testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover, .feature-card:hover, .process-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-brand);
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(248,188,21,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-yellow);
  margin-bottom: 1.25rem;
}

/* Process */
.process-step {
  position: relative;
  text-align: center;
}
.process-number {
  width: 48px; height: 48px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* AI Box */
.ai-recommendation-box {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.ai-result {
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: none;
}
.ai-result.visible { display: block; }

/* FAQ */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
  border-radius: 12px !important;
  overflow: hidden;
}
.accordion-button {
  background: var(--bg-card);
  color: var(--text-light);
  font-weight: 600;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--bg-elevated);
  color: var(--brand-yellow);
}
.accordion-button::after { filter: invert(1); }
.accordion-body { color: var(--text-muted); background: var(--bg-card); }

/* Forms */
.form-control, .form-select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
  background: var(--bg-elevated);
  border-color: var(--brand-yellow);
  color: var(--text-light);
  box-shadow: 0 0 0 0.2rem rgba(248, 188, 21, 0.2);
}
.form-control::placeholder { color: #666; }
.form-label { font-weight: 500; color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; pointer-events: none; }

/* Page header */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero),
    var(--page-hero-img, url('https://mietkochen.de/wp-content/uploads/2025/01/chef-working-together-professional-kitchen.jpg')) center/cover;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}
.page-hero .container { position: relative; z-index: 1; }

/* Legal */
.legal-content h2 { font-size: 1.35rem; margin-top: 2rem; color: var(--brand-yellow); }
.legal-content p, .legal-content li { color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--brand-black); border-top: 1px solid var(--border-subtle); }
.footer-title { color: var(--brand-yellow); font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--brand-yellow); }
.footer-lower { border-top: 1px solid var(--border-subtle); font-size: 0.875rem; }

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1rem;
  z-index: 1040;
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-brand);
}
.floating-cta:hover { color: var(--brand-black); transform: scale(1.05); }

.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  z-index: 1030;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--brand-yellow);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--brand-yellow); color: var(--brand-black); }

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner { max-width: 560px; margin: 0 auto; padding: 1.5rem; position: relative; border: 2px solid var(--brand-yellow); }
.cookie-close {
  position: absolute;
  top: 0.5rem; right: 0.75rem;
  background: none; border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-dark { background: var(--bg-card); color: var(--text-light); border: 1px solid var(--border-subtle); }
.cookie-category { padding: 1rem 0; border-bottom: 1px solid var(--border-subtle); }
.cookie-revisit-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1035;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--brand-yellow);
  color: var(--brand-yellow);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cookie-revisit-btn.visible { display: flex; }

.offcanvas-dark { background: var(--brand-black); color: var(--text-light); }
.mobile-contact a { color: var(--text-muted); }

/* Testimonials */
.testimonial-card blockquote { font-style: italic; color: var(--text-muted); margin-bottom: 1rem; }
.testimonial-author { font-weight: 600; color: var(--brand-yellow); }

/* Compliance badge row */
.compliance-badges { display: flex; flex-wrap: wrap; gap: 1rem; }
.compliance-badge {
  flex: 1 1 140px;
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}
.compliance-badge i { font-size: 1.75rem; color: var(--brand-yellow); display: block; margin-bottom: 0.5rem; }

.img-cover { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.img-zoom-hover { overflow: hidden; }
.img-zoom-hover img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.img-zoom-hover:hover img { transform: scale(1.06); }
.content-img-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }

.alert { border-radius: 8px; }

/* Trust bar */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2rem;
  padding: 1.5rem 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  margin: 2rem 0;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.trust-item i { color: var(--brand-yellow); font-size: 1.1rem; }

/* WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 1040;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@media (min-width: 992px) { .whatsapp-float { bottom: 1.5rem; right: 5.5rem; } }

/* Maps */
.map-embed-wrap { position: relative; border-radius: 12px; overflow: hidden; min-height: 220px; background: var(--bg-card); }
.map-embed { width: 100%; height: 220px; border: 0; display: none; }
.map-embed-wrap.loaded .map-embed { display: block; }
.map-embed-wrap.loaded .map-placeholder { display: none; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; background: var(--bg-card); }

.hero-play-inline { min-height: 44px; }

/* Reference cards */
.ref-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.75rem; height: 100%;
}
.ref-card .ref-logo { font-weight: 800; color: var(--brand-yellow); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* CTA offer */
.cta-offer-bar {
  background: linear-gradient(90deg, rgba(248,188,21,0.12), transparent);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-yellow), #ffe082);
  z-index: 10001;
  transition: width 0.12s ease-out;
  pointer-events: none;
}

.icon-pulse-once {
  animation: iconPulseOnce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes iconPulseOnce {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
