/* =========================================================
   Jonny's Schlüsseldienst — Stylesheet
   Palette: Markenrot #ed1c24, Tiefanthrazit #1b1b1b,
   Warmgrau #f6f4f1, Stahlgrau #4a4a4a, Off-white #fbfaf8
   Typo: Oswald (Display, komprimiert/gestanzt) + Inter (Text)
   ========================================================= */

:root{
  --red: #ed1c24;
  --red-dark: #c4151b;
  --red-light: #ff4b52;
  --ink: #1b1b1b;
  --ink-soft: #2c2c2c;
  --steel: #4a4a4a;
  --steel-light: #6e6e6e;
  --paper: #fbfaf8;
  --warm-grey: #f3f1ed;
  --line: #e3e0da;
  --white: #ffffff;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --shadow-card: 0 2px 8px rgba(27,27,27,0.06), 0 12px 28px rgba(27,27,27,0.06);
  --shadow-card-hover: 0 8px 16px rgba(27,27,27,0.08), 0 24px 48px rgba(27,27,27,0.10);

  --header-h: 84px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

a{ color:inherit; text-decoration:none; }

.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
  position:relative;
  z-index:1;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:0.01em;
  line-height:1.1;
  color:var(--ink);
}

:focus-visible{
  outline:3px solid var(--red);
  outline-offset:3px;
  border-radius:4px;
}

/* =========================================================
   Decorative background layer (floating keys, gears, keyholes)
   Purely ambient — aria-hidden, never intercepts clicks.
   ========================================================= */
.deco-layer{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
.deco-shape{
  position:absolute;
  color:var(--red);
  opacity:0.07;
  will-change:transform;
}
.why .deco-shape{ color:var(--red-light); opacity:0.08; }
.contact .deco-shape{ color:var(--red-light); opacity:0.07; }

.deco-gear-1{
  width:220px; height:220px;
  top:-60px; right:-40px;
  animation:decoSpin 60s linear infinite;
}
.deco-gear-2{
  width:160px; height:160px;
  bottom:-30px; left:-20px;
  animation:decoSpinReverse 50s linear infinite;
}
.deco-key-1{
  width:180px; height:72px;
  bottom:30px; left:-30px;
  animation:decoFloat 9s ease-in-out infinite;
}
.deco-key-2{
  width:200px; height:80px;
  top:8%; right:-60px;
  animation:decoFloat 11s ease-in-out infinite reverse;
}
.deco-key-3{
  width:170px; height:68px;
  bottom:12%; right:-40px;
  animation:decoFloat 10s ease-in-out infinite;
}
.deco-keyhole-1{
  width:90px; height:120px;
  top:10%; right:6%;
  animation:decoFloatSlow 13s ease-in-out infinite;
}
.deco-keyhole-2{
  width:80px; height:106px;
  bottom:8%; left:4%;
  animation:decoFloatSlow 14s ease-in-out infinite reverse;
}

@keyframes decoSpin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
@keyframes decoSpinReverse{ from{ transform:rotate(0deg); } to{ transform:rotate(-360deg); } }
@keyframes decoFloat{
  0%, 100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-16px) rotate(-3deg); }
}
@keyframes decoFloatSlow{
  0%, 100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(14px) scale(1.04); }
}

@media (max-width: 760px){
  .deco-gear-1{ width:140px; height:140px; }
  .deco-gear-2{ width:110px; height:110px; }
  .deco-key-1, .deco-key-2, .deco-key-3{ width:120px; height:48px; }
  .deco-keyhole-1, .deco-keyhole-2{ width:60px; height:80px; }
}

.hero-deco{ z-index:1; }
.hero-deco .deco-shape{ color:var(--white); opacity:0.10; }
.deco-key-hero{
  width:260px; height:104px;
  top:14%; left:-50px;
  animation:decoFloat 12s ease-in-out infinite;
}
.deco-gear-hero{
  width:300px; height:300px;
  bottom:-90px; right:-80px;
  animation:decoSpin 70s linear infinite;
}
@media (max-width: 760px){
  .deco-key-hero{ width:160px; height:64px; top:8%; }
  .deco-gear-hero{ width:200px; height:200px; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.02rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  padding:16px 30px;
  border-radius:999px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-icon{ width:19px; height:19px; flex-shrink:0; }

.btn-primary{
  background:var(--red);
  color:var(--white);
  box-shadow:0 8px 20px rgba(237,28,36,0.32);
}
.btn-primary:hover{
  background:var(--red-dark);
  transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(237,28,36,0.40);
}

.btn-secondary{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,0.65);
}
.btn-secondary:hover{
  background:rgba(255,255,255,0.12);
  border-color:var(--white);
  transform:translateY(-2px);
}

.btn-emergency{
  background:var(--white);
  color:var(--red);
  box-shadow:0 8px 24px rgba(0,0,0,0.18);
}
.btn-emergency:hover{
  background:var(--ink);
  color:var(--white);
  transform:translateY(-2px);
}

.btn-block{ width:100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  height:var(--header-h);
  display:flex;
  align-items:center;
  background:rgba(27,27,27,0.0);
  transition:background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}
.site-header.scrolled{
  background:rgba(27,27,27,0.92);
  backdrop-filter:blur(10px);
  box-shadow:0 4px 20px rgba(0,0,0,0.15);
  height:72px;
}

.header-inner{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.brand-logo{
  width:64px;
  height:64px;
  object-fit:contain;
  transition:width .3s ease, height .3s ease;
}
.site-header.scrolled .brand-logo{ width:52px; height:52px; }

.header-emergency-msg{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.25;
  margin-right:auto;
  padding-left:6px;
}
.header-emergency-line1{
  font-family:var(--font-display);
  font-size:1.02rem;
  color:var(--white);
  letter-spacing:0.01em;
}
.header-emergency-line1 strong{ color:var(--red-light); font-weight:600; }
.header-emergency-line2{
  font-size:0.74rem;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--red-light);
}

.main-nav{
  display:flex;
  align-items:center;
  gap:30px;
}
.main-nav a{
  font-size:0.95rem;
  font-weight:500;
  color:rgba(255,255,255,0.88);
  position:relative;
  padding:6px 0;
  transition:color 0.2s ease;
}
.main-nav a:not(.nav-cta)::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--red);
  transition:width 0.25s ease;
}
.main-nav a:not(.nav-cta):hover{ color:var(--white); }
.main-nav a:not(.nav-cta):hover::after{ width:100%; }

.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:9px;
  background:var(--red);
  color:var(--white) !important;
  padding:14px 26px;
  border-radius:999px;
  font-weight:600;
  font-family:var(--font-display);
  letter-spacing:0.03em;
  text-transform:uppercase;
  font-size:0.92rem;
  white-space:nowrap;
  box-shadow:0 0 0 0 rgba(237,28,36,0.55);
  transition:background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation:navCtaPulse 2.6s ease-out infinite;
}
.nav-cta-icon{ width:18px; height:18px; flex-shrink:0; }
.nav-cta:hover{
  background:var(--red-dark);
  transform:translateY(-1px) scale(1.03);
  animation-play-state:paused;
}
@keyframes navCtaPulse{
  0%{ box-shadow:0 0 0 0 rgba(237,28,36,0.5); }
  70%{ box-shadow:0 0 0 10px rgba(237,28,36,0); }
  100%{ box-shadow:0 0 0 0 rgba(237,28,36,0); }
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px;
  height:40px;
  background:transparent;
  border:none;
  cursor:pointer;
  flex-shrink:0;
}
.nav-toggle span{
  display:block;
  width:26px;
  height:2.5px;
  background:var(--white);
  border-radius:2px;
  transition:transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--ink);
}

.hero-media{
  position:absolute;
  inset:-8% 0 0 0;
  z-index:0;
  will-change:transform;
}
.hero-video{
  width:100%;
  height:108%;
  object-fit:cover;
  display:block;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.78) 0%, rgba(15,15,15,0.62) 38%, rgba(10,10,10,0.86) 100%),
    linear-gradient(100deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%);
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:880px;
  padding:140px 24px 80px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-bottom:28px;
}
.badge{
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--white);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.28);
  padding:8px 16px;
  border-radius:999px;
  backdrop-filter:blur(6px);
}

.hero h1{
  font-size:clamp(2.4rem, 6vw, 4.6rem);
  color:var(--white);
  text-transform:uppercase;
  letter-spacing:0.01em;
  margin-bottom:22px;
  text-shadow:0 4px 24px rgba(0,0,0,0.35);
}

.hero-sub{
  font-size:clamp(1.05rem, 2vw, 1.3rem);
  color:rgba(255,255,255,0.92);
  max-width:600px;
  margin-bottom:38px;
  font-weight:400;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}

.scroll-cue{
  position:absolute;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  width:30px;
  height:48px;
  border:2px solid rgba(255,255,255,0.55);
  border-radius:999px;
  display:flex;
  justify-content:center;
  padding-top:8px;
}
.scroll-cue span{
  width:4px;
  height:8px;
  background:var(--white);
  border-radius:999px;
  animation:scrollDown 1.8s ease infinite;
}
@keyframes scrollDown{
  0%{ transform:translateY(0); opacity:1; }
  70%{ transform:translateY(14px); opacity:0; }
  100%{ transform:translateY(0); opacity:0; }
}

/* =========================================================
   Signature divider — key-bit notch rule
   ========================================================= */
.key-rule{
  width:100%;
  max-width:320px;
  height:36px;
  margin:0 auto 40px;
  display:block;
  opacity:0.9;
}

/* =========================================================
   Intro / About text blocks
   ========================================================= */
.intro, .about{
  padding:90px 0 70px;
  position:relative;
  overflow:hidden;
}
.intro-inner, .about-inner{
  text-align:center;
}
.intro-text, .about-text{
  max-width:760px;
  margin:0 auto;
  font-size:clamp(1.1rem, 1.6vw, 1.3rem);
  color:var(--steel);
  font-weight:400;
}

/* =========================================================
   Section heads
   ========================================================= */
.eyebrow{
  display:inline-block;
  font-family:var(--font-display);
  font-size:0.85rem;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:14px;
}
.eyebrow-light{ color:var(--red-light); }

.section-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 56px;
}
.section-head h2{
  font-size:clamp(1.9rem, 4vw, 2.7rem);
}

/* =========================================================
   Services
   ========================================================= */
.services{
  padding:30px 0 110px;
  background:var(--paper);
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}

.service-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  padding:32px 26px;
  box-shadow:var(--shadow-card);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-card-hover);
  border-color:rgba(237,28,36,0.25);
}

.service-icon{
  width:56px;
  height:56px;
  border-radius:14px;
  background:rgba(237,28,36,0.08);
  color:var(--red);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.service-icon svg{ width:30px; height:30px; }

.service-card h3{
  font-size:1.15rem;
  margin-bottom:10px;
}
.service-card p{
  font-size:0.94rem;
  color:var(--steel);
  line-height:1.55;
}

/* =========================================================
   Why us
   ========================================================= */
.why{
  background:var(--ink);
  padding:100px 0;
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.why-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.why-text h2{
  color:var(--white);
  font-size:clamp(2rem, 4vw, 2.6rem);
  margin-bottom:22px;
}
.why-text p{
  color:rgba(255,255,255,0.72);
  font-size:1.05rem;
  max-width:480px;
}

.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.why-item{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:var(--radius-m);
  padding:26px 22px;
  transition:background .25s ease, border-color .25s ease, transform .25s ease;
}
.why-item:hover{
  background:rgba(237,28,36,0.10);
  border-color:rgba(237,28,36,0.35);
  transform:translateY(-3px);
}
.why-mark{
  display:inline-block;
  width:34px;
  height:4px;
  background:var(--red);
  border-radius:4px;
  margin-bottom:16px;
}
.why-item h3{
  color:var(--white);
  font-size:1.02rem;
  font-weight:500;
  font-family:var(--font-body);
  line-height:1.4;
}

/* =========================================================
   Security section
   ========================================================= */
.security{
  background:var(--warm-grey);
  padding:110px 0;
  position:relative;
  overflow:hidden;
}
.security-inner{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:60px;
  align-items:center;
}
.security-content h2{
  font-size:clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom:20px;
}
.security-content p{
  color:var(--steel);
  font-size:1.05rem;
  margin-bottom:32px;
  max-width:520px;
}
.security-visual{
  display:flex;
  justify-content:center;
  position:relative;
  width:100%;
  max-width:280px;
  margin:0 auto;
  aspect-ratio:1;
}
.security-visual svg{
  width:100%;
  max-width:280px;
}
.security-spin-slow{
  position:absolute;
  inset:0;
  animation:spinSlow 24s linear infinite;
}
.security-shield-fixed{
  position:absolute;
  inset:0;
}
.security-check{
  stroke-dasharray:40;
  stroke-dashoffset:40;
  animation:drawCheck 0.6s ease-out 0.4s forwards;
  animation-play-state:paused;
}
.security-visual.in-view .security-check{
  animation-play-state:running;
}
@keyframes spinSlow{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}
@keyframes drawCheck{
  to{ stroke-dashoffset:0; }
}

/* =========================================================
   Emergency band
   ========================================================= */
.emergency{
  background:var(--red);
  padding:90px 0;
  text-align:center;
}
.emergency h2{
  color:var(--white);
  font-size:clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom:20px;
}
.emergency p{
  color:rgba(255,255,255,0.92);
  max-width:620px;
  margin:0 auto 34px;
  font-size:1.08rem;
}

/* =========================================================
   Contact
   ========================================================= */
.contact{
  background:var(--ink);
  padding:110px 0;
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.contact .eyebrow{ color:var(--red-light); }
.contact .section-head h2{ color:var(--white); }

.contact-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:40px;
}

.contact-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:var(--radius-l);
  padding:40px 34px;
}
.contact-card h3{
  color:var(--white);
  font-size:1.3rem;
  margin-bottom:26px;
}
.contact-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:22px;
}
.contact-list li{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.contact-list svg{
  width:22px;
  height:22px;
  flex-shrink:0;
  color:var(--red);
  margin-top:2px;
}
.contact-list .label{
  display:block;
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:rgba(255,255,255,0.5);
  margin-bottom:3px;
}
.contact-list a, .contact-list span{
  color:var(--white);
  font-size:1.02rem;
}
.contact-list a:hover{ color:var(--red-light); }

.contact-card-foot{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:0.9rem;
  color:rgba(255,255,255,0.6);
}

.contact-form{
  background:var(--white);
  border-radius:var(--radius-l);
  padding:40px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.form-row-split > div{ display:flex; flex-direction:column; gap:8px; }

label{
  font-size:0.86rem;
  font-weight:600;
  color:var(--ink-soft);
}
input, select, textarea{
  font-family:var(--font-body);
  font-size:0.98rem;
  padding:13px 16px;
  border:1.5px solid var(--line);
  border-radius:var(--radius-s);
  background:var(--paper);
  color:var(--ink);
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
  width:100%;
}
input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 4px rgba(237,28,36,0.12);
}
textarea{ resize:vertical; min-height:110px; }

.form-checkbox-row{
  flex-direction:row;
  align-items:flex-start;
  gap:12px;
}
.form-checkbox-row input[type="checkbox"]{
  width:auto;
  flex-shrink:0;
  margin-top:3px;
  width:18px;
  height:18px;
  accent-color:var(--red);
  cursor:pointer;
}
.checkbox-label{
  font-size:0.86rem;
  font-weight:400;
  color:var(--steel);
  line-height:1.5;
  cursor:pointer;
}
.checkbox-label a{
  color:var(--red);
  font-weight:600;
  text-decoration:underline;
}
.checkbox-label a:hover{ color:var(--red-dark); }

.form-note{
  font-size:0.9rem;
  font-weight:600;
  min-height:1.2em;
  color:var(--red);
}
.form-note.success{ color:#1d8a4a; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:#121212;
  color:rgba(255,255,255,0.78);
}
.footer-inner{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;
  padding:70px 0 50px;
}
.footer-brand{ display:flex; flex-direction:column; gap:16px; }
.footer-logo{ width:56px; height:56px; object-fit:contain; }
.footer-brand p{
  font-size:0.92rem;
  color:rgba(255,255,255,0.55);
  max-width:280px;
  line-height:1.6;
}
.footer-col{ display:flex; flex-direction:column; gap:13px; }
.footer-col h4{
  color:var(--white);
  font-size:0.95rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-bottom:8px;
}
.footer-col a, .footer-col span{
  font-size:0.92rem;
  color:rgba(255,255,255,0.6);
  transition:color 0.2s ease;
}
.footer-col a:hover{ color:var(--red-light); }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.10);
}
.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  padding:24px 0;
  font-size:0.85rem;
  color:rgba(255,255,255,0.45);
}
.footer-legal{ display:flex; gap:22px; }
.footer-legal a:hover{ color:var(--red-light); }

/* =========================================================
   Mobile call bar
   ========================================================= */
.mobile-call-bar{
  display:none;
  position:fixed;
  bottom:0; left:0; right:0;
  z-index:90;
  background:var(--red);
  color:var(--white);
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:0.02em;
  text-transform:uppercase;
  font-size:0.95rem;
  padding:16px;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 -4px 16px rgba(0,0,0,0.18);
}
.mobile-call-bar svg{ width:20px; height:20px; }

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie-banner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:200;
  max-width:680px;
  margin:0 auto;
  background:#161616;
  color:rgba(255,255,255,0.92);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:var(--radius-m);
  box-shadow:0 16px 48px rgba(0,0,0,0.35);
  padding:24px 26px;
  transform:translateY(140%);
  opacity:0;
  transition:transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.45s ease;
}
.cookie-banner.visible{
  transform:translateY(0);
  opacity:1;
}
.cookie-banner-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.cookie-banner p{
  font-size:0.88rem;
  line-height:1.55;
  color:rgba(255,255,255,0.75);
  flex:1 1 320px;
  margin:0;
}
.cookie-banner a{
  color:var(--red-light);
  text-decoration:underline;
}
.cookie-banner-actions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}
.cookie-banner .btn{
  padding:11px 20px;
  font-size:0.82rem;
}
.btn-secondary-dark{
  background:transparent;
  color:rgba(255,255,255,0.85);
  border:2px solid rgba(255,255,255,0.25);
}
.btn-secondary-dark:hover{
  border-color:rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.06);
}

@media (max-width: 640px){
  .cookie-banner{ left:14px; right:14px; bottom:78px; padding:20px; }
  .cookie-banner-actions{ width:100%; }
  .cookie-banner .btn{ flex:1; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .services-grid{ grid-template-columns:repeat(2, 1fr); }
  .why-inner{ grid-template-columns:1fr; gap:48px; }
  .why-text p{ max-width:none; }
  .security-inner{ grid-template-columns:1fr; text-align:center; }
  .security-content p{ margin-left:auto; margin-right:auto; }
  .security-visual{ order:-1; }
  .security-visual svg{ max-width:200px; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 860px){
  .main-nav{
    position:fixed;
    top:0;
    left:0; right:0;
    bottom:0;
    z-index:99;
    background:#141414;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:0;
    padding:104px 28px 40px;
    transform:translateX(100%);
    transition:transform 0.3s ease;
    overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{
    width:100%;
    padding:18px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
    font-size:1.05rem;
  }
  .main-nav a:not(.nav-cta)::after{ display:none; }
  .nav-cta{
    margin-top:20px;
    justify-content:center;
    text-align:center;
    padding:18px 22px;
    width:100%;
    animation:none;
  }
  .nav-toggle{ display:flex; }

  .header-emergency-msg{ display:none; }

  .mobile-call-bar{ display:flex; }
  body{ padding-bottom:64px; }

  .hero-content{ padding-top:120px; }
}

@media (max-width: 1080px) and (min-width: 861px){
  .header-emergency-line1{ font-size:0.9rem; }
  .header-emergency-line2{ font-size:0.66rem; }
  .nav-cta span{ display:none; }
  .nav-cta{ padding:14px 16px; }
  .nav-cta-icon{ width:20px; height:20px; }
}

@media (max-width: 640px){
  .services-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .form-row-split{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; gap:36px; }
  .contact-form{ padding:28px; }
  .hero h1{ letter-spacing:0; }
  .hero-actions{ flex-direction:column; width:100%; }
  .hero-actions .btn{ width:100%; }
}

/* =========================================================
   Custom cursor (desktop only)
   ========================================================= */
.custom-cursor{
  position:fixed;
  top:0; left:0;
  width:40px;
  height:40px;
  margin:-20px 0 0 -20px;
  pointer-events:none;
  z-index:9999;
  color:var(--red);
  opacity:0;
  transition:opacity 0.25s ease, color 0.2s ease;
  transform:translate(-100px,-100px);
}
.custom-cursor.active{ opacity:1; }
.cursor-ring{
  width:100%;
  height:100%;
  display:block;
  transition:transform 0.18s cubic-bezier(.2,.8,.2,1), color 0.2s ease;
}
.cursor-dot{
  position:absolute;
  top:50%; left:50%;
  width:6px; height:6px;
  margin:-3px 0 0 -3px;
  border-radius:50%;
  background:var(--red);
  transition:transform 0.18s ease, background 0.2s ease;
}
.custom-cursor.hovering .cursor-ring{ transform:scale(1.5); }
.custom-cursor.hovering .cursor-dot{ transform:scale(0); }
.custom-cursor.clicking .cursor-ring{ transform:scale(0.82); }

/* Hide the OS cursor on interactive elements when custom cursor is active */
html.has-custom-cursor, html.has-custom-cursor a, html.has-custom-cursor button,
html.has-custom-cursor input, html.has-custom-cursor textarea, html.has-custom-cursor select,
html.has-custom-cursor label{
  cursor:none;
}

@media (max-width: 860px), (pointer: coarse){
  .custom-cursor{ display:none; }
  html.has-custom-cursor, html.has-custom-cursor a, html.has-custom-cursor button{
    cursor:auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .deco-shape, .security-spin-slow, .nav-cta{ animation:none !important; }
}
