/* =========================================================
   Bergischer Schlüsseldienst – Haupt-Stylesheet
   Navy + Rot + Weiß Theme – klassisch, vertrauenswürdig
   ========================================================= */

/* ---- CSS Custom Properties ---- */
:root {
  --navy:         #1B3B6F;
  --navy-dark:    #0F2349;
  --navy-light:   #2563EB;
  --red:          #DC2626;
  --red-dark:     #B91C1C;
  --red-light:    #EF4444;

  --bg:           #FFFFFF;
  --bg-alt:       #F0F5FF;
  --bg-red-light: #FFF5F5;

  --text:         #111827;
  --text-muted:   #6B7280;
  --text-on-dark: #FFFFFF;

  --border:       #DBEAFE;
  --border-gray:  #E5E7EB;

  --shadow:       0 4px 16px rgba(27,59,111,.10);
  --shadow-lg:    0 16px 48px rgba(27,59,111,.18);
  --shadow-red:   0 8px 32px rgba(220,38,38,.25);

  --radius:       12px;
  --radius-lg:    20px;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-xl:    28px;

  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
  --font:         'Inter', system-ui, -apple-system, sans-serif;

  /* Legacy-Kompatibilität */
  --primary:      #1B3B6F;
  --primary-light: #2563EB;
  --primary-dark:  #0F2349;
  --accent:       #DC2626;
  --accent-dark:  #B91C1C;
  --gold:         #D97706;
  --gold-light:   #F59E0B;
  --bg-deep:      #0F2349;
  --bg-card:      #1B3B6F;
  --text-light:   rgba(255,255,255,0.9);
  --text-muted-legacy: rgba(255,255,255,0.65);
  --text-dark:    #1F2937;
  --text-body:    #374151;
  --shadow-card:  0 4px 24px rgba(27,59,111,.18);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
address { font-style: normal; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---- Focus ---- */
*:focus-visible { outline: 2px solid var(--navy-light); outline-offset: 3px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 0.6rem;
}
.section-eyebrow-gold { color: var(--gold); }
.section-title { margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-body); font-size: 1.05rem; max-width: 620px; }

/* ---- Layout ---- */
.container {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-light { background: var(--bg-alt); }
.section-white { background: #fff; }
.section-dark { background: var(--navy-dark); color: var(--text-light); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ---- Divider ---- */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  border: none; border-radius: 2px; margin: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-emergency {
  background: var(--red); color: #fff; border-color: var(--red);
}
.btn-emergency:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }

.btn-primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); }

.btn-navy-light {
  background: var(--navy-light); color: #fff; border-color: var(--navy-light);
}
.btn-navy-light:hover { background: var(--navy); transform: translateY(-1px); }

.btn-gold {
  background: var(--gold); color: #fff; border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent; color: var(--gold); border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

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

.btn-outline-navy {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
}
.badge-green  { background: rgba(37,99,235,0.12); color: var(--navy-light); border: 1px solid rgba(37,99,235,0.25); }
.badge-gold   { background: rgba(217,119,6,0.18); color: var(--gold-light); border: 1px solid rgba(217,119,6,0.3); }
.badge-red    { background: rgba(220,38,38,0.18); color: #FCA5A5; border: 1px solid rgba(220,38,38,0.3); }
.badge-outline { background: transparent; color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.3); }
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80; animation: pulse-dot 1.6s infinite; flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================================
   HEADER
   ============================================================ */

/* Topbar */
.header-topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: .4rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem;
}
.topbar-inner a { color: rgba(255,255,255,.85); }
.topbar-inner a:hover { color: #fff; }

/* Main header */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 1000;
}
.header-main {
  background: white;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header-main.scrolled { box-shadow: 0 4px 20px rgba(27,59,111,.12); }

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; gap: 1rem; height: 70px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon svg { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 1rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.logo-sub  { font-size: 0.7rem; font-weight: 500; color: var(--navy-light); text-transform: uppercase; letter-spacing: 0.08em; }

/* Nav */
.main-nav { flex: 1; }
#main-nav ul {
  display: flex; gap: 0.1rem; align-items: center;
  list-style: none; padding: 0; margin: 0;
}
#main-nav > ul { justify-content: center; }

.nav-link {
  padding: 0.45rem 0.85rem;
  color: var(--text); font-weight: 500; font-size: 0.9rem;
  border-radius: var(--radius-sm); transition: var(--transition);
  display: block;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--bg-alt); }
.nav-link.active { color: var(--navy-light); font-weight: 600; }

/* Dropdown */
.has-dropdown { position: relative; }
.nav-sub-btn {
  padding: 0.45rem 0.85rem;
  color: var(--text); font-weight: 500; font-size: 0.9rem;
  border-radius: var(--radius-sm); border: none; background: none;
  cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: .3rem;
}
.nav-sub-btn:hover { color: var(--navy); background: var(--bg-alt); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 210px;
  box-shadow: var(--shadow-lg); padding: 0.5rem;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s; z-index: 200;
  list-style: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 0.55rem 0.85rem;
  color: var(--text); font-size: 0.88rem; font-weight: 500;
  border-radius: 8px; transition: var(--transition);
}
.dropdown li a:hover { background: var(--bg-alt); color: var(--navy); }

/* Header CTA */
.header-cta {
  display: flex; gap: .75rem; align-items: center; margin-left: auto; flex-shrink: 0;
}
.btn-emergency-header {
  background: var(--red); color: white; font-weight: 700;
  padding: .5rem 1rem; border-radius: 8px;
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; text-decoration: none; border: none;
  transition: var(--transition);
}
.btn-emergency-header:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-phone-header {
  border: 2px solid var(--navy); color: var(--navy);
  font-weight: 700; padding: .45rem .9rem; border-radius: 8px;
  font-size: .85rem; display: flex; align-items: center; gap: .4rem;
  text-decoration: none; transition: var(--transition); background: transparent;
}
.btn-phone-header:hover { background: var(--navy); color: #fff; }

/* Mobile Toggle */
.nav-toggle {
  display: none; background: none; border: none;
  padding: 0.5rem; color: var(--navy); margin-left: .5rem;
}
.burger, .burger::before, .burger::after {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--transition);
}
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .burger::after  { transform: rotate(-45deg); top: 0; }

/* Notdienst-Streifen */
.notdienst-strip {
  background: var(--red); padding: .4rem 0;
}
.notdienst-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: white;
}
.notdienst-inner a { color: white; font-weight: 700; }
.notdienst-inner a:hover { opacity: .85; }
.pulse-dot {
  width: 8px; height: 8px; background: white;
  border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

/* Emergency Bar (Mobile sticky) */
.emergency-bar {
  display: none;
  background: var(--red);
  text-align: center; padding: 0.5rem 1rem;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
}
.emergency-call { color: #fff; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0A1628 0%, #0F2349 45%, #1B3B6F 100%);
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(37,99,235,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner, .hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: 1280px; margin: 0 auto;
  padding: 4rem 1.5rem; width: 100%;
  position: relative; z-index: 1;
}

.hero-left { color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.hero-badge-pulse {
  width: 10px; height: 10px; background: #4ADE80;
  border-radius: 50%; animation: pulse 1.5s infinite; flex-shrink: 0;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; color: white; line-height: 1.1;
  margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.hero-title span { color: #60A5FA; }
.hero-sub, .hero-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  margin-bottom: 2rem; line-height: 1.6; max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero Right – Cross-link Cards */
.hero-right { display: flex; flex-direction: column; gap: 1rem; }
.sister-cards { display: flex; flex-direction: column; gap: 1rem; }

.sister-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  text-decoration: none; display: block;
  transition: transform .25s, box-shadow .25s;
}
.sister-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.sister-card-bsa {
  background: #EEF4FB;
  border: 2px solid #1B4F8A;
}
.sister-card-bsa .sister-card-title { color: #1B4F8A; }
.sister-card-bsa .sister-card-btn {
  background: #1B4F8A; color: white;
  padding: .35rem .8rem; border-radius: 6px;
  font-size: .8rem; font-weight: 700; display: inline-block; margin-top: .75rem;
}

.sister-card-auto {
  background: #F5F2EE;
  border: 2px solid #2C3E50;
}
.sister-card-auto .sister-card-title { color: #2C3E50; }
.sister-card-auto .sister-card-btn {
  background: #2C3E50; color: white;
  padding: .35rem .8rem; border-radius: 6px;
  font-size: .8rem; font-weight: 700; display: inline-block; margin-top: .75rem;
}

.sister-card-inner { display: flex; align-items: flex-start; gap: 1rem; }
.sister-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sister-card-body { flex: 1; }
.sister-card-title { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.sister-card-text  { font-size: .85rem; color: #4B5563; line-height: 1.5; }

/* Legacy hero-card class (for existing index.php) */
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; color: #fff;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none; display: block;
}
.hero-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.hero-card-inner { display: flex; align-items: flex-start; gap: 1rem; }
.hero-card-icon {
  width: 52px; height: 52px;
  background: rgba(37,99,235,0.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-card-icon svg { width: 28px; height: 28px; color: #60A5FA; }
.hero-card-body { flex: 1; }
.hero-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; color: #fff; }
.hero-card-text  { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 0.75rem; }
.hero-card-link  { font-size: 0.85rem; font-weight: 600; color: #93C5FD; transition: color var(--transition); }
.hero-card:hover .hero-card-link { color: #fff; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.section-services { background: var(--bg-alt); padding: 5rem 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all .25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--navy); transition: background .25s;
}
.service-card:hover::before { background: var(--red); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-icon-wrap, .service-icon {
  width: 56px; height: 56px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--navy);
}
.service-icon-wrap svg, .service-icon svg { width: 28px; height: 28px; color: var(--navy); }
.service-card h3, .service-title { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.service-card p, .service-short  { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.55; }

.service-features { list-style: none; margin-bottom: 1.5rem; }
.service-features li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text); padding: 0.3rem 0;
}
.service-features li::before { content: '✓'; color: var(--navy-light); font-weight: 700; flex-shrink: 0; }

.service-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem; font-weight: 600; color: var(--navy-light);
  text-decoration: none; transition: color .2s;
}
.service-link:hover { color: var(--red); }

/* ============================================================
   NOTDIENST BANNER
   ============================================================ */
.notdienst-banner {
  background: linear-gradient(135deg, #B91C1C 0%, #DC2626 50%, #EF4444 100%);
  padding: 4rem 0; text-align: center; position: relative; overflow: hidden;
}
.notdienst-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(0,0,0,.04) 20px, rgba(0,0,0,.04) 40px);
}
.notdienst-banner .container { position: relative; z-index: 1; }
.notdienst-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,.18); color: #fff;
  padding: .35rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 700; margin-bottom: 1rem;
}
.pulse-dot-white {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: pulse-dot 1.4s infinite;
}
.notdienst-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; color: #fff; margin-bottom: .75rem; }
.notdienst-phone {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: white;
  display: block; margin: 1rem 0;
  text-decoration: none; text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.notdienst-phone:hover { opacity: .9; }
.notdienst-sub { color: rgba(255,255,255,.85); font-size: 1rem; margin-bottom: 2rem; }
.notdienst-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   CYLINDER ANIMATION
   ============================================================ */
.cylinder-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 5rem 0; color: #fff;
}
.cylinder-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.cylinder-svg-wrap { display: flex; justify-content: center; }
#cyl-rotor-svg {
  transform-box: view-box;
  transform-origin: 100px 99px;
  transition: none;
}
.cylinder-text h2 { color: #fff; margin-bottom: 1rem; }
.cylinder-text p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; line-height: 1.8; }
.cylinder-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; margin-top: 1.5rem;
}
.cylinder-feature {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.07); border-radius: var(--radius-md);
  padding: .75rem 1rem; font-size: .88rem;
}
.cylinder-feature svg { width: 18px; height: 18px; color: #60A5FA; flex-shrink: 0; }

/* ============================================================
   TRUST SECTION
   ============================================================ */
.section-trust { padding: 5rem 0; background: white; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.trust-card {
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  background: white; transition: all .2s; text-align: center;
}
.trust-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.trust-icon {
  width: 56px; height: 56px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin: 0 auto 1rem;
}
.trust-icon svg { width: 26px; height: 26px; }
.trust-number { font-size: 2.2rem; font-weight: 900; color: var(--navy); margin-bottom: .25rem; }
.trust-label  { font-size: .85rem; font-weight: 600; color: var(--text); }
.trust-desc   { font-size: .82rem; color: var(--text-muted); margin-top: .4rem; }

/* ============================================================
   CITIES
   ============================================================ */
.cities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.city-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #fff; border-radius: var(--radius-md); padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform var(--transition), border-color var(--transition); position: relative;
}
.city-card.main-city { border-color: #60A5FA; }
.city-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.25); }
.city-badge { font-size: .7rem; font-weight: 700; color: #93C5FD; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.city-name { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.city-desc { font-size: .83rem; color: rgba(255,255,255,.7); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.review-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.75rem; border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .75rem; }
.review-text { font-size: .9rem; color: #374151; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: .6rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .9rem;
}
.review-name { font-weight: 600; font-size: .88rem; color: var(--text); }
.review-city { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: .75rem; overflow: hidden;
}
.faq-btn {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; padding: 1.1rem 1.4rem;
  font-size: 1rem; font-weight: 600; color: var(--text);
  border: none; cursor: pointer; transition: background var(--transition);
}
.faq-btn:hover { background: var(--bg-alt); }
.faq-btn[aria-expanded="true"] { background: var(--bg-alt); color: var(--navy); }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-icon svg { width: 12px; height: 12px; color: #fff; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-body.open { max-height: 300px; }
.faq-body p { padding: 0 1.4rem 1.25rem; font-size: .93rem; color: var(--text-body); line-height: 1.7; }

/* ============================================================
   SERVICE DETAIL PAGE STYLES
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 6rem 0 3.5rem; color: #fff; text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: .75rem; }
.page-header p  { color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto; }

.service-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 3.5rem 0; color: #fff;
}
.service-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: .75rem; }
.service-hero p  { color: rgba(255,255,255,.8); max-width: 620px; line-height: 1.6; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.feature-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: all .2s;
}
.feature-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; background: var(--bg-alt);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.feature-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.55; }

.service-cta-banner {
  padding: 4rem 0; text-align: center;
}
.service-cta-red  { background: linear-gradient(135deg, #B91C1C, #DC2626); }
.service-cta-navy { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.service-cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.service-cta-banner p  { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }
.service-cta-phone {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #fff;
  display: block; text-decoration: none; margin: 1rem 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start;
}
.contact-info { color: #fff; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item { display: flex; gap: .75rem; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.1); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: #93C5FD; }
.contact-info-label { font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }
.contact-info-value { font-weight: 600; color: #fff; font-size: .95rem; }
.contact-info-value a { color: #fff; }
.contact-info-value a:hover { color: #93C5FD; }

.contact-form-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 2.5rem; box-shadow: 0 8px 48px rgba(0,0,0,.22);
}
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: .88rem; color: var(--text); margin-bottom: .4rem; }
.form-required { color: var(--red); }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid #D1D5DB; border-radius: var(--radius-md);
  font-family: var(--font); font-size: .93rem; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition); background: #fff;
}
.form-control:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.honeypot { display: none !important; }
.form-checkbox { display: flex; gap: .6rem; align-items: flex-start; }
.form-checkbox input { margin-top: 3px; accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; }
.form-checkbox label { font-size: .85rem; color: #374151; }
.form-checkbox a { color: var(--navy); text-decoration: underline; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-md); font-size: .9rem; margin-bottom: 1rem; }
.alert-success { background: #DBEAFE; color: var(--navy); border: 1px solid var(--border); }
.alert-error   { background: #FEE2E2; color: #B91C1C; border: 1px solid #FCA5A5; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer, .footer {
  background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 4rem 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo { display: flex; gap: .75rem; align-items: center; text-decoration: none; }
.footer-logo-icon svg { width: 44px; height: 44px; }
.footer-logo-main { font-size: 1rem; font-weight: 700; color: #fff; display: block; }
.footer-logo-sub  { font-size: .78rem; color: rgba(255,255,255,.5); display: block; margin-top: 2px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: .9rem; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: #93C5FD; }
.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: rgba(255,255,255,.7); }
.footer-contact-list svg { width: 16px; height: 16px; color: #93C5FD; flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,.7); }
.footer-contact-list a:hover { color: #93C5FD; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
  padding: 1.5rem 0; font-size: .82rem; color: rgba(255,255,255,.35);
  background: rgba(0,0,0,.2); margin-top: 0; padding: 1.25rem 1.5rem;
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   SCROLL-TO-TOP & STICKY CALL
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  box-shadow: var(--shadow-red);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--red-dark); }
.scroll-top svg { width: 20px; height: 20px; }

.sticky-call {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 900;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow); text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.sticky-call:hover { background: var(--navy-dark); transform: scale(1.03); }
.sticky-call svg { width: 18px; height: 18px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-left  { opacity: 0; transform: translateX(-24px); transition: opacity .55s ease, transform .55s ease; }
.anim-right { opacity: 0; transform: translateX(24px);  transition: opacity .55s ease, transform .55s ease; }
.anim-left.visible, .anim-right.visible { opacity: 1; transform: translateX(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }

/* ============================================================
   ABOUT & PROSE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text h2 { margin-bottom: 1rem; color: var(--navy); }
.about-text p  { color: #374151; line-height: 1.8; margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.about-stat { text-align: center; }
.about-stat-num { font-size: 2rem; font-weight: 900; color: var(--navy); display: block; }
.about-stat-label { font-size: .82rem; color: var(--text-muted); }
.about-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-xl); padding: 3rem 2rem; color: #fff; text-align: center;
}
.about-visual svg { width: 120px; height: 120px; margin: 0 auto 1.5rem; color: #93C5FD; }

.prose { max-width: 820px; margin: 0 auto; line-height: 1.8; color: var(--text-body); }
.prose h2 { color: var(--navy); margin: 2rem 0 .75rem; font-size: 1.35rem; }
.prose h3 { color: var(--navy-dark); margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul { margin: .75rem 0 1rem 1.5rem; list-style: disc; }
.prose ul li { margin-bottom: .4rem; }
.prose a  { color: var(--navy-light); text-decoration: underline; }

/* ============================================================
   ADMIN (unverändert)
   ============================================================ */
.admin-body {
  font-family: var(--font); background: #F9FAFB;
  min-height: 100vh; display: flex;
}
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--navy-dark);
  min-height: 100vh; position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; display: flex; flex-direction: column; z-index: 100;
}
.admin-sidebar-logo {
  padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: .75rem;
}
.admin-sidebar-logo svg { width: 32px; height: 32px; }
.admin-sidebar-logo-text { font-size: .9rem; font-weight: 700; color: #fff; }
.admin-sidebar-logo-sub  { font-size: .72rem; color: #93C5FD; }
.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav-group { margin-bottom: 1.5rem; }
.admin-nav-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); padding: 0 1.25rem; margin-bottom: .4rem; }
.admin-nav-link {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem 1.25rem; font-size: .88rem; font-weight: 500;
  color: rgba(255,255,255,.7); text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.admin-nav-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.admin-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav-link.active { background: rgba(255,255,255,.08); color: #93C5FD; border-left: 3px solid #93C5FD; }
.admin-content { margin-left: 260px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid #E5E7EB; padding: 0 2rem; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.admin-topbar-title { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.admin-topbar-right { display: flex; align-items: center; gap: 1rem; }
.admin-main { padding: 2rem; flex: 1; }
.admin-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid #E5E7EB; overflow: hidden; margin-bottom: 1.5rem; }
.admin-card-header { padding: 1rem 1.5rem; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: space-between; }
.admin-card-title { font-weight: 700; font-size: .95rem; color: var(--text); }
.admin-card-body { padding: 1.5rem; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.admin-stat { background: #fff; border: 1px solid #E5E7EB; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; }
.admin-stat-label { font-size: .78rem; color: #9CA3AF; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.admin-stat-val   { font-size: 2rem; font-weight: 900; color: var(--text); margin-top: .25rem; }
.admin-stat-sub   { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid #F3F4F6; font-size: .87rem; }
.admin-table th { background: #F9FAFB; font-weight: 600; color: #374151; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.admin-table tr:hover td { background: #F9FAFB; }
.admin-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.admin-btn-primary { background: var(--navy); color: #fff; }
.admin-btn-primary:hover { background: var(--navy-dark); }
.admin-btn-danger  { background: #FEE2E2; color: var(--red); }
.admin-btn-danger:hover { background: var(--red); color: #fff; }
.admin-btn-gold { background: rgba(217,119,6,.1); color: var(--gold); }
.admin-btn-gold:hover { background: var(--gold); color: #fff; }
.admin-form-group { margin-bottom: 1.25rem; }
.admin-form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.admin-form-control { width: 100%; padding: .65rem .9rem; border: 1.5px solid #D1D5DB; border-radius: var(--radius-md); font-family: var(--font); font-size: .9rem; color: var(--text); transition: border-color .2s; }
.admin-form-control:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.admin-badge-green  { background: #DBEAFE; color: var(--navy); }
.admin-badge-red    { background: #FEE2E2; color: #B91C1C; }
.admin-badge-yellow { background: #FEF3C7; color: #92400E; }
.toggle-wrap { display: flex; align-items: center; gap: .6rem; }
.toggle-switch { position: relative; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #D1D5DB; border-radius: 999px; cursor: pointer; transition: background .3s; }
.toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform .3s; }
.toggle-switch input:checked + .toggle-slider { background: var(--navy); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.pw-field-wrap { position: relative; }
.pw-toggle-btn { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-muted); padding: .25rem; display: flex; align-items: center; }
.pw-toggle-btn:hover { color: var(--navy); }
.pw-toggle-btn svg { width: 18px; height: 18px; }
.img-preview { max-width: 120px; max-height: 80px; border-radius: var(--radius-sm); object-fit: contain; border: 1px solid #E5E7EB; display: none; margin-top: .5rem; }
.admin-alert { padding: .8rem 1.1rem; border-radius: var(--radius-md); font-size: .88rem; margin-bottom: 1rem; }
.admin-alert-success { background: #DBEAFE; color: var(--navy); border: 1px solid var(--border); }
.admin-alert-error   { background: #FEE2E2; color: #B91C1C; border: 1px solid #FCA5A5; }
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); font-family: var(--font); }
.admin-login-card { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem 2rem; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.admin-login-logo { text-align: center; margin-bottom: 2rem; }
.admin-login-logo svg { width: 52px; height: 52px; margin: 0 auto .5rem; }
.admin-login-logo h1 { font-size: 1.3rem; color: var(--navy); margin-bottom: .25rem; }
.admin-login-logo p  { font-size: .85rem; color: var(--text-muted); }

/* ============================================================
   COOKIE BAR
   ============================================================ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--navy-dark); color: rgba(255,255,255,.85);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; font-size: .85rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  transform: translateY(100%); transition: transform .4s ease;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar a { color: #93C5FD; text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--red); color: #fff; border: none;
  padding: .45rem 1rem; border-radius: 6px; font-weight: 700; font-size: .85rem;
  cursor: pointer; transition: background .2s;
}
.cookie-accept:hover { background: var(--red-dark); }
.cookie-decline { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.2); padding: .45rem 1rem; border-radius: 6px; font-size: .85rem; cursor: pointer; transition: all .2s; }
.cookie-decline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ============================================================
   RESPONSIVE – MOBIL
   ============================================================ */
@media (max-width: 1024px) {
  .header-cta .btn-phone-header { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: 1fr 1fr; }
  .cities-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-inner-3col { grid-template-columns: 1fr 1fr; }
  .hero-center-anim { display: none; }

  #main-nav {
    position: fixed; inset: 0;
    background: var(--navy-dark);
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 200; overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
  }
  #main-nav.open { transform: translateX(0); }
  #main-nav > ul { flex-direction: column; gap: 0; justify-content: flex-start; }
  #main-nav a, #main-nav .nav-sub-btn {
    color: rgba(255,255,255,.85); padding: .875rem 0;
    font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.06);
    display: block; width: 100%; text-align: left; background: none;
  }
  #main-nav a:hover, #main-nav .nav-sub-btn:hover { color: #fff; background: none; }
  .dropdown {
    position: static; background: rgba(255,255,255,.04);
    padding: .25rem 1rem; border-radius: 6px;
    margin: .25rem 0; box-shadow: none;
    opacity: 1; pointer-events: auto; transform: none;
    border: none; display: none;
  }
  .dropdown.open { display: block; }
  .dropdown li a { color: rgba(255,255,255,.7); border-bottom: none; padding: .6rem 0; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
}

@media (max-width: 768px) {
  .hero-inner, .hero-grid, .hero-inner-3col { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
  .hero-right { order: -1; }
  .hero-center-anim { display: none; }
  .sister-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cylinder-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .emergency-bar { display: block; }
  .sticky-call { display: none; }
  .scroll-top { bottom: 4.5rem; right: 1rem; }
  .admin-sidebar { width: 220px; }
  .admin-content { margin-left: 220px; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-form-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .notdienst-inner { flex-direction: column; gap: .4rem; text-align: center; }
  .topbar-inner { flex-direction: column; gap: .25rem; text-align: center; padding: .5rem 1rem; }
}

@media (max-width: 480px) {
  .sister-cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .notdienst-phone { font-size: 1.75rem; }
  .cylinder-features { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { position: fixed; transform: translateX(-100%); transition: transform .3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .admin-stat-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nav-inner { padding: 0 1rem; }
  .logo-sub { display: none; }
}

/* ============================================================
   HERO 3-SPALTEN LAYOUT
   ============================================================ */
.hero-inner-3col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Hintergrund-Deko */
.hero-bg-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-key {
  position: absolute;
  left: -2%;
  bottom: 5%;
  width: 220px;
  height: 220px;
  opacity: 0.04;
  color: #fff;
  transform: rotate(-15deg);
}

.hero-bg-lock {
  position: absolute;
  right: 1%;
  top: 8%;
  width: 160px;
  height: 200px;
  opacity: 0.04;
  color: #fff;
}

/* Hero-Center Animation */
.hero-center-anim {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

/* ============================================================
   HERO SCHEMATIK SVG ANIMATION
   Profilzylinder Querschnitt – Blueprint-Stil
   ============================================================ */
.hero-schematic-svg { display: block; }

.hero-key {
  animation: key-slide-in 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-pin-group-1 {
  animation: pin-lift-1 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-pin-group-2 {
  animation: pin-lift-2 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-pin-group-3 {
  animation: pin-lift-3 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-pin-group-4 {
  animation: pin-lift-4 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-pin-group-5 {
  animation: pin-lift-5 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-rotor {
  animation: rotor-turn 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-unlock-signal {
  animation: unlock-signal 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box; transform-origin: center; will-change: transform;
}
.hero-shear-line {
  animation: shear-line 8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes key-slide-in {
  0%, 5%   { transform: translateY(40px); opacity: 0.4; }
  20%, 85% { transform: translateY(0);    opacity: 1; }
  95%,100% { transform: translateY(40px); opacity: 0.4; }
}
@keyframes pin-lift-1 { 0%,18%,80%,100% { transform: translateY(0); } 30%,72% { transform: translateY(-10px); } }
@keyframes pin-lift-2 { 0%,20%,80%,100% { transform: translateY(0); } 32%,72% { transform: translateY(-8px);  } }
@keyframes pin-lift-3 { 0%,22%,80%,100% { transform: translateY(0); } 34%,72% { transform: translateY(-12px); } }
@keyframes pin-lift-4 { 0%,24%,80%,100% { transform: translateY(0); } 36%,72% { transform: translateY(-9px);  } }
@keyframes pin-lift-5 { 0%,26%,80%,100% { transform: translateY(0); } 38%,72% { transform: translateY(-11px); } }
@keyframes rotor-turn {
  0%,40%,100% { transform: rotate(0deg); }
  55%,85%     { transform: rotate(90deg); }
}
@keyframes unlock-signal {
  0%,48%  { opacity: 0; transform: scale(0.8); }
  58%,82% { opacity: 1; transform: scale(1);   }
  90%,100%{ opacity: 0; transform: scale(0.8); }
}
@keyframes shear-line {
  0%,18%  { opacity: 0; }
  30%,85% { opacity: 1; }
  95%,100%{ opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; }
}

/* ============================================================
   SISTER CARDS – 4:3 FORMAT
   ============================================================ */
.sister-card-ratio { aspect-ratio: 4 / 3; }

.sister-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sister-card-btn { margin-top: auto; }

/* Service-Page Hero Hintergrund-Icons */
.service-page-hero { position: relative; overflow: hidden; }
.hero-bg-icon {
  position: absolute;
  opacity: 0.04;
  color: #fff;
  pointer-events: none;
  user-select: none;
}

/* Header CTA Updates */
.btn-notdienst-header {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-notdienst-header:hover { background: var(--red-dark); }

.btn-phone-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  background: var(--red);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: background var(--transition);
  flex-shrink: 0;
}
.btn-phone-sq:hover { background: var(--red-dark); }
.btn-phone-sq svg { width: 18px; height: 18px; }

/* ============================================================
   SERVICE-HERO ILLUSTRATION LAYOUT
   ============================================================ */
.service-hero-inner-v2 {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
  margin-top: 1.25rem;
}
.service-hero-text { flex: 1; }
.service-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  overflow: visible;
}
@media (max-width: 1100px) {
  .service-hero-inner-v2 { grid-template-columns: 1fr; }
  .service-hero-illustration { display: none; }
}

/* ============================================================
   MOBILE HEADER BUTTONS – GLEICHE HÖHE (Task 2)
   ============================================================ */
@media (max-width: 768px) {
  .header-cta { align-items: stretch; }
  .header-cta .btn-notdienst-header {
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 .75rem;
  }
  .btn-phone-sq {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .header-cta { align-items: stretch; }
  .header-cta .btn-notdienst-header {
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 .75rem;
  }
  .btn-phone-sq {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Task 3: Hero-Buttons auf Mobile ausblenden */
  .hero-actions { display: none !important; }
}

/* Task 4: Sister-Cards mobile Stapelung */
@media (max-width: 768px) {
  .hero-right .sister-card-ratio {
    aspect-ratio: unset;
    min-height: 100px;
  }
}
@media (max-width: 480px) {
  .hero-right .sister-card-ratio {
    aspect-ratio: unset;
    min-height: unset;
  }
}

/* ============================================================
   SVG HERO ANIMATION KEYFRAMES (Task 5)
   ============================================================ */

/* Türöffnung */
@keyframes bsd-door-swing {
  0%, 10%  { transform: scaleX(1);    }
  40%, 75% { transform: scaleX(0.06); }
  100%     { transform: scaleX(1);    }
}
@keyframes bsd-light-beam {
  0%, 10%  { opacity: 0; }
  40%, 75% { opacity: 1; }
  100%     { opacity: 0; }
}

/* Schließanlagen */
@keyframes bsd-net-draw {
  0%        { stroke-dashoffset: 160; opacity: 0; }
  20%       { opacity: 1; }
  80%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes bsd-lock-activate {
  0%, 55%   { fill: rgba(255,255,255,.08); }
  65%, 85%  { fill: rgba(220,38,38,.28); }
  100%      { fill: rgba(255,255,255,.08); }
}

/* Einbruchschutz */
@keyframes bsd-sensor-ring {
  0%   { r: 28; opacity: .65; }
  100% { r: 90; opacity: 0;   }
}
@keyframes bsd-grid-fade {
  0%, 100% { opacity: .12; }
  50%      { opacity: .32; }
}

/* Notdienst 24h */
@keyframes bsd-clock-h {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
@keyframes bsd-clock-m {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}
@keyframes bsd-emergency-ring {
  0%   { r: 44; opacity: .55; stroke-width: 2; }
  100% { r: 118; opacity: 0;  stroke-width: .5; }
}

/* Tresore */
@keyframes bsd-safe-dial {
  0%   { transform: rotate(0deg);   }
  33%  { transform: rotate(200deg); }
  60%  { transform: rotate(80deg);  }
  85%  { transform: rotate(290deg); }
  100% { transform: rotate(360deg); }
}
@keyframes bsd-bolt-retract {
  0%, 20%  { transform: translateX(0);    }
  50%, 80% { transform: translateX(-22px); }
  100%     { transform: translateX(0);    }
}

/* Schlüsseldienst */
@keyframes bsd-key-turn {
  0%, 12%  { transform: rotate(0deg);   }
  40%, 65% { transform: rotate(-90deg); }
  88%, 100%{ transform: rotate(0deg);   }
}
@keyframes bsd-keyhole-glow {
  0%, 100% { opacity: .25; }
  50%      { opacity: .7;  }
}

/* prefers-reduced-motion: alle Animationen deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .bsd-anim * {
    animation: none !important;
    transition: none !important;
  }
}
