/* ===========================================================
   Design Tokens & Theme System
   =========================================================== */

:root{
  --bg:#0b0d10;
  --bg-elev:#121519;
  --surface:#171b21;
  --text:#e5e7eb;
  --muted:#9aa3af;
  --border:1px solid rgba(255,255,255,.08);
  --shadow:0 18px 42px rgba(5,7,12,.45);

  --accent:#ef4444;
  --accent-weak:#f87171;
  --accent-strong:#dc2626;
  --accent-contrast:#0c101a;

  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:8px;
  --gap-lg:32px;
  --gap-md:20px;
  --gap-sm:12px;
}

body[data-theme="red"]{
  --accent:#ef4444;
  --accent-weak:#f87171;
  --accent-strong:#dc2626;
  --accent-contrast:#0c101a;
}

body[data-mode="light"]{
  --bg:#f6f7fb;
  --bg-elev:#ffffff;
  --surface:#ffffff;
  --text:#111827;
  --muted:#4b5563;
  --border:1px solid rgba(15,23,42,.08);
  --shadow:0 14px 32px rgba(15,23,42,.12);
}

/* ===========================================================
   Base Styles
   =========================================================== */

*,
*::before,
*::after{box-sizing:border-box}

html,body{height:100%}

body{
  margin:0;
  font:16px/1.55 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:var(--bg);
  transition:background .3s ease,color .3s ease;
}

img{max-width:100%;display:block}

a{
  color:inherit;
  text-decoration:none;
  transition:color .2s ease;
}
a:hover{color:var(--accent)}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

.muted{color:var(--muted)}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  padding:10px 14px;
  border-radius:var(--radius-sm);
  background:var(--accent);
  color:var(--accent-contrast);
  z-index:1000;
}
.skip-link:focus{
  left:12px;
  outline:none;
}

/* ===========================================================
   Buttons
   =========================================================== */

.btn-primary,
.btn-outline,
.btn-secondary,
.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:600;
  font-size:0.95rem;
  border-radius:var(--radius-sm);
  padding:12px 20px;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease,border .15s ease;
  cursor:pointer;
  border:none;
}

.btn-primary{
  background:linear-gradient(135deg,var(--accent) 0%, var(--accent-strong) 100%);
  color:var(--accent-contrast);
  box-shadow:0 12px 22px rgba(239,68,68,.35);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 32px rgba(239,68,68,.45);
}
.btn-primary:disabled{opacity:.6;cursor:not-allowed;box-shadow:none;transform:none}

.btn-outline{
  background:transparent;
  border:1px solid rgba(255,255,255,.28);
  color:var(--text);
}
body[data-mode="light"] .btn-outline{
  border-color:rgba(15,23,42,.18);
}
.btn-outline:hover{background:rgba(255,255,255,.08)}
body[data-mode="light"] .btn-outline:hover{background:rgba(15,23,42,.05)}

.btn-secondary{
  background:var(--bg-elev);
  color:var(--text);
  border:var(--border);
}
.btn-secondary:hover{background:rgba(255,255,255,.08)}
body[data-mode="light"] .btn-secondary:hover{background:rgba(15,23,42,.05)}

.btn-ghost{
  background:transparent;
  color:var(--accent);
  padding:10px 16px;
}
.btn-ghost.small{padding:8px 14px;font-size:0.9rem}
.btn-ghost:hover{color:var(--accent-weak)}

/* ===========================================================
   Header / Navigation
   =========================================================== */

.site-header{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:blur(14px) saturate(140%);
  background:rgba(11,13,16,.85);
  border-bottom:var(--border);
  transition:background .3s ease,border .3s ease;
}
body[data-mode="light"] .site-header{
  background:#ffffff;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:16px;
  height:110px;
}

.brand{
  font-weight:700;
  font-size:1.05rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-left:0;
}
.brand img{
  display:block;
  height:92px;
  width:auto;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:14px;
  list-style:none;
  margin:0;
  padding:0;
  margin-left:24px;
}
.nav-links .nav-cta{
  margin-left:16px;
}
.nav-links .nav-cta:first-of-type{
  margin-left:16px;
}
.nav-links a{
  padding:6px 0;
  font-weight:500;
  font-size:0.95rem;
  position:relative;
  opacity:.82;
}
.nav-links .nav-cta-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(239,68,68,.4);
  background:rgba(239,68,68,.2);
  color:var(--accent);
  font-weight:600;
  font-size:0.9rem;
  opacity:1;
  position:static;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
body[data-mode="light"] .nav-links .nav-cta-link{
  background:rgba(239,68,68,.12);
  border-color:rgba(239,68,68,.3);
}
.nav-links .nav-cta-link:hover{
  transform:translateY(-1px);
  background:rgba(239,68,68,.3);
  box-shadow:0 14px 30px rgba(239,68,68,.25);
}
body[data-mode="light"] .nav-links .nav-cta-link:hover{
  background:rgba(239,68,68,.2);
}
.nav-links a[aria-current="page"]{
  color:var(--accent);
  opacity:1;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:var(--accent);
  border-radius:999px;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{
  transform:scaleX(1);
}
.nav-links .nav-cta-link::after{display:none}

.nav-badges{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:12px;
}
.nav-badge{
  height:92px;
  width:auto;
  display:block;
}

.mode-toggle{
  background:var(--surface);
  border:var(--border);
  width:40px;
  height:40px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
  transition:background .2s ease,color .2s ease;
}
.mode-toggle:hover{
  background:rgba(239,68,68,.12);
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:44px;
  height:44px;
  border-radius:var(--radius-sm);
  border:var(--border);
  background:var(--surface);
  color:var(--text);
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}
.nav-toggle:hover{transform:translateY(-1px)}
.nav-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.nav-toggle-bar{
  width:20px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  margin:3px 0;
  transition:transform .2s ease,opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){transform:translateY(5px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

@media (max-width:900px){
  .nav{
    flex-wrap:wrap;
    align-items:flex-start;
    padding:16px 0;
    height:auto;
  }
  .nav-links{
    order:3;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:18px;
    margin-top:16px;
    margin-left:0;
    background:var(--surface);
    border-radius:var(--radius-lg);
    border:var(--border);
    box-shadow:var(--shadow);
    display:none;
  }
  .nav.is-open .nav-links{display:flex}
  .nav-links .nav-cta{
    margin-left:0;
    width:100%;
  }
  .nav-links .nav-cta + .nav-cta{
    margin-top:8px;
  }
  .nav-links .nav-cta-link{
    width:100%;
    justify-content:center;
  }
  .nav-badges{
    width:100%;
    justify-content:center;
    margin-left:0;
  }
  .nav-badge{
    height:72px;
  }
  .nav-toggle{display:flex;order:2;margin-left:auto}
  .mode-toggle{order:3}
}

/* ===========================================================
   Hero
   =========================================================== */

.hero{
  position:relative;
  overflow:hidden;
  background:#0b0d10;
  border-bottom:var(--border);
}
body[data-mode="light"] .hero{
  background:#f6f7fb;
}

.hero-content{
  padding:80px 0 20px;
}

.hero-copy h1{
  font-size:3rem;
  line-height:1.05;
  margin:0 0 18px;
}
.hero-copy p{
  max-width:520px;
  margin:0 0 28px;
  font-size:1.05rem;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:28px;
}

.hero-kpis{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  gap:18px;
  padding:0;
  margin:0;
}
.hero-kpis li{
  margin:0;
}
.hero-kpi-link{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border-radius:var(--radius-md);
  background:rgba(255,255,255,.05);
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body[data-mode="light"] .hero-kpi-link{
  background:rgba(15,23,42,.08);
}
.hero-kpi-link:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.hero-kpi-link:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.kpi-brand{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.12);
  flex:0 0 auto;
}
.kpi-brand-letter{
  font-weight:700;
  font-size:1.3rem;
  line-height:1;
  color:#111827;
}
.kpi-brand-google .kpi-brand-letter{
  background-image:linear-gradient(90deg,#4285F4 0 25%,#34A853 25% 50%,#FBBC05 50% 75%,#EA4335 75% 100%);
  color:transparent;
  -webkit-background-clip:text;
  background-clip:text;
}
.kpi-brand-mobile .kpi-brand-letter{
  color:#f97316;
  text-transform:lowercase;
}
.kpi-text{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.kpi-rating{
  font-size:1.35rem;
  margin:0;
}
.kpi-stars{
  line-height:0;
}
.stars{
  --percent:calc(var(--rating) / 5 * 100%);
  position:relative;
  display:inline-block;
  width:90px;
  height:16px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 1.5l2.47 5.01 5.53.8-4 3.9.94 5.5-4.94-2.6-4.94 2.6.94-5.5-4-3.9 5.53-.8L10 1.5z' fill='%23d1d5db'/%3E%3C/svg%3E") repeat-x;
  background-size:18px 16px;
}
.stars::before{
  content:"";
  position:absolute;
  inset:0;
  width:var(--percent);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 19'%3E%3Cpath d='M10 1.5l2.47 5.01 5.53.8-4 3.9.94 5.5-4.94-2.6-4.94 2.6.94-5.5-4-3.9 5.53-.8L10 1.5z' fill='%23f59e0b'/%3E%3C/svg%3E") repeat-x;
  background-size:18px 16px;
  overflow:hidden;
}
.kpi-sub{
  font-size:.9rem;
  color:var(--muted);
}

.hero-slider{
  position:relative;
  z-index:1;
  width:100%;
  margin:0;
  height:68vh;
  min-height:520px;
  background:#f6f7fb;
}
.hero-slider-full{
  border-radius:0;
  box-shadow:none;
  border:none;
}
.hero-slider-track{
  position:relative;
  height:100%;
}
.hero-slide{
  display:flex;
  height:100%;
  width:100%;
  align-items:center;
  justify-content:center;
  position:absolute;
  inset:0;
  overflow:hidden;
  padding:0;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .7s ease, transform .7s ease;
}
.hero-slide.is-active{
  opacity:1;
  transform:scale(1);
  z-index:1;
}
.hero-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--slide-image);
  background-size:cover;
  background-position:center;
  filter:blur(18px);
  transform:scale(1.06);
}
.hero-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.25);
}
.hero-slide.is-video::before,
.hero-slide.is-video::after{
  background:none;
}
.hero-slide-content{
  position:absolute;
  left:6%;
  top:18%;
  z-index:2;
  max-width:540px;
  color:#111827;
  font-size:clamp(1.8rem, 3vw, 2.6rem);
  line-height:1.1;
  font-weight:700;
  letter-spacing:.01em;
  text-shadow:0 8px 18px rgba(255,255,255,.45);
}
.hero-slide-content p{margin:0}
.hero-slide-content span{display:block}
.hero-slide img{
  position:relative;
  z-index:1;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.hero-slide video{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-slider-control{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:none;
  background:rgba(11,13,16,.6);
  color:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:3;
  transition:background .2s ease;
}
.hero-slider-control:hover{background:rgba(11,13,16,.85)}
body[data-mode="light"] .hero-slider-control{
  background:rgba(15,23,42,.12);
  color:var(--text);
}
body[data-mode="light"] .hero-slider-control:hover{
  background:rgba(15,23,42,.22);
}
.hero-slider-control.prev{left:18px}
.hero-slider-control.next{right:18px}

.hero-slider-dots{
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  background:rgba(11,13,16,.45);
  border-radius:999px;
  padding:6px 12px;
  z-index:3;
}
body[data-mode="light"] .hero-slider-dots{
  background:rgba(255,255,255,.65);
}
.hero-slider-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.5);
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.hero-slider-dot.is-active{
  background:var(--accent);
  transform:scale(1.2);
}

.quote-section{
  padding:26px 0 8px;
}
.quote-card{
  background:var(--surface);
  border:var(--border);
  border-left:6px solid var(--accent);
  border-radius:var(--radius-md);
  padding:22px 28px;
  text-align:center;
  box-shadow:var(--shadow);
}
.quote-kicker{
  margin:0 0 8px;
  font-size:0.75rem;
  font-weight:700;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--accent);
}
.quote{
  margin:0;
  font-size:1.45rem;
  font-weight:600;
  line-height:1.35;
}
.quote p{margin:0}
.quote cite{
  display:block;
  margin-top:10px;
  font-size:0.95rem;
  font-style:normal;
  color:var(--muted);
}

@media (max-width:900px){
  .hero-content{
    padding:60px 0 10px;
  }
  .hero-slider{
    min-height:420px;
  }
}

/* ===========================================================
   Sections & Cards
   =========================================================== */

.home-section{
  padding:80px 0;
}
.services-highlight{
  padding-bottom:40px;
}
.hours-section{
  padding-top:40px;
}
.sustainability-section{
  padding-top:40px;
  padding-bottom:40px;
}
.hours-section{
  padding-bottom:40px;
}
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap-md);
  margin-bottom:32px;
}
.section-head h2{
  margin:0;
  font-size:2rem;
}
.hours-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.hours-card{
  display:flex;
  flex-direction:column;
  padding:24px;
  border-radius:var(--radius-lg);
  background:var(--surface);
  border:var(--border);
  box-shadow:var(--shadow);
}
.hours-card h3{
  margin:0 0 16px;
  font-size:1.2rem;
  line-height:1.3;
  min-height:3.2rem;
}
.location-meta{
  display:grid;
  gap:6px;
  margin:0 0 12px;
  color:var(--muted);
}
.location-meta p{
  margin:0;
  display:flex;
  gap:8px;
  align-items:flex-start;
}
.location-meta strong{
  min-width:86px;
  color:var(--text);
}
.hours-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
  color:var(--muted);
  margin-top:auto;
}
.hours-list li{
  display:flex;
  justify-content:space-between;
  gap:16px;
}
.hours-list span:first-child{color:var(--text);font-weight:600}
.sustainability-section .section-head{margin-bottom:16px}
.sustainability-section + .home-section{
  padding-top:40px;
}
.page-hero + .home-section{
  padding-top:12px;
}

.team-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
@media (min-width:900px){
  .team-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }
}
.team-groups{
  display:grid;
  gap:40px;
}
.team-group{
  display:grid;
  gap:20px;
}
.team-group-head{
  display:flex;
  align-items:center;
  gap:12px;
}
.team-group-title{
  margin:0;
  font-size:1.4rem;
}
.team-group-empty{
  margin:0;
  font-size:0.95rem;
}

.card{
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:var(--border);
  padding:24px;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease;
  min-width:0;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 46px rgba(5,7,12,.45);
}
.card-link{
  display:grid;
  grid-template-rows:auto 1fr;
  gap:18px;
  height:100%;
}
.card-body{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.card-media{
  position:relative;
}
.card-media::before{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:calc(var(--radius-md) + 8px);
  background:rgba(239,68,68,.35);
  filter:blur(10px);
  opacity:.6;
  z-index:0;
  animation:card-glow 5.5s ease-in-out infinite;
}
.card-media img{
  position:relative;
  z-index:1;
  border-radius:var(--radius-md);
  width:100%;
  height:180px;
  object-fit:cover;
}
@keyframes card-glow{
  0%,100%{transform:translateY(0); opacity:.55;}
  50%{transform:translateY(6px); opacity:.75;}
}
@media (prefers-reduced-motion: reduce){
  .card-media::before{
    animation:none;
  }
}
.card-title{
  margin:0 0 6px;
  font-size:1.15rem;
}
.card-role{
  margin:0;
  color:var(--muted);
}
.card-actions{
  display:flex;
  gap:10px;
  margin-top:auto;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(239,68,68,.18);
  color:var(--accent);
  font-weight:600;
  font-size:.9rem;
}
body[data-mode="light"] .badge{
  background:rgba(239,68,68,.12);
}

.empty{
  margin-top:24px;
  text-align:center;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px;
}
.timeline{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:26px;
  position:relative;
}
.timeline::before{
  content:"";
  position:absolute;
  left:50%;
  top:8px;
  bottom:8px;
  width:2px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,var(--accent) 0%, rgba(239,68,68,.2) 100%);
}
.timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:1fr 44px 1fr;
  align-items:start;
}
.timeline-item::after{
  content:"";
  position:absolute;
  left:50%;
  top:24px;
  width:14px;
  height:14px;
  border-radius:50%;
  transform:translateX(-50%);
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(239,68,68,.18);
}
.timeline-point{display:none;}
.timeline-content{
  position:relative;
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-md);
  padding:20px 22px;
  box-shadow:var(--shadow);
  overflow:hidden;
  transform:translateY(0);
  transition:transform .2s ease, box-shadow .2s ease;
}
.timeline-content::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(239,68,68,.55),rgba(239,68,68,0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
.timeline-content::after{
  content:"";
  position:absolute;
  right:-20%;
  top:-30%;
  width:180px;
  height:180px;
  background:radial-gradient(circle,rgba(239,68,68,.18) 0%, rgba(239,68,68,0) 70%);
  opacity:.8;
  pointer-events:none;
}
.timeline-left .timeline-content{
  grid-column:1;
}
.timeline-right .timeline-content{
  grid-column:3;
}
.timeline-left .timeline-content{transform:rotate(-0.4deg)}
.timeline-right .timeline-content{transform:rotate(0.4deg)}
.timeline-item:hover .timeline-content{
  transform:translateY(-3px) rotate(0deg);
  box-shadow:0 22px 46px rgba(5,7,12,.5);
}
.timeline-year{
  margin:0 0 8px;
  font-weight:700;
  color:var(--accent);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.82rem;
}
.timeline-content h3{
  margin:0 0 8px;
  font-size:1.15rem;
}
.timeline-content p{
  margin:0;
  color:var(--muted);
}
@media (max-width:900px){
  .timeline::before{left:12px;transform:none;}
  .timeline-item{
    grid-template-columns:24px 1fr;
  }
  .timeline-item::after{
    left:12px;
    transform:none;
  }
  .timeline-left .timeline-content,
  .timeline-right .timeline-content{
    grid-column:2;
  }
}
.value-points .section-head{
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
.value-points{
  padding-bottom:48px;
}
.value-points + .home-section{
  padding-top:48px;
}
.value-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.value-list li{
  position:relative;
  padding:16px 18px 16px 44px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:var(--border);
  box-shadow:var(--shadow);
}
.value-list li::before{
  content:"";
  position:absolute;
  left:18px;
  top:20px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(239,68,68,.18);
}
.feature{
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:var(--shadow);
}
.feature h3{margin-top:0;margin-bottom:12px}
.feature p{margin:0;color:var(--muted)}

.services-highlight .section-head{
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  max-width:760px;
}
.services-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.service-card{
  position:relative;
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-lg);
  padding:26px 24px 24px;
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg,rgba(239,68,68,.45),rgba(239,68,68,0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 40px rgba(5,7,12,.4);
}
.service-card h3{
  margin:0 0 10px;
  font-size:1.15rem;
}
.service-card p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

/* ===========================================================
   Kontakt Seite
   =========================================================== */

.contact-hero{
  padding:80px 0 60px;
  background:radial-gradient(circle at top right, rgba(239,68,68,.18), rgba(11,13,16,0)) no-repeat;
}
body[data-mode="light"] .contact-hero{
  background:radial-gradient(circle at top right, rgba(239,68,68,.08), rgba(246,247,251,0)) no-repeat;
}
.contact-hero-inner{
  display:grid;
  gap:40px;
  align-items:start;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.contact-hero-copy h1{
  margin:0 0 16px;
  font-size:2.4rem;
}
.contact-kicker{
  text-transform:uppercase;
  letter-spacing:.22em;
  font-weight:600;
  font-size:.78rem;
  margin:0 0 14px;
  color:var(--accent);
}
.contact-hero-card{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.contact-meta{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
  color:var(--muted);
}
.contact-meta a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(239,68,68,.4);
}
.contact-opening h3{
  margin:0 0 10px;
}
.contact-opening p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.contact-content{
  padding:20px 0 80px;
}
.contact-grid{
  display:grid;
  gap:24px;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
.contact-card{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.contact-card h2{
  margin:0;
}
.contact-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.contact-list{
  margin:0;
  padding-left:20px;
  color:var(--muted);
  display:grid;
  gap:8px;
}
.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
}
.contact-actions .btn-primary,
.contact-actions .btn-outline{
  min-width:160px;
}

.contact-form-section{
  padding:80px 0;
  background:linear-gradient(135deg, rgba(23,27,33,.92), rgba(11,13,16,.85));
}
body[data-mode="light"] .contact-form-section{
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(246,247,251,.92));
}
.contact-form-inner{
  display:grid;
  gap:32px;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  align-items:start;
}
.contact-form-copy h2{
  margin:0 0 12px;
  font-size:2rem;
}
.contact-form{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow);
}
.contact-form .span-2{
  grid-column:1 / -1;
}
.contact-form .checkbox{
  align-items:flex-start;
}
.contact-form button[type="submit"]{
  min-width:180px;
}
.contact-form button[type="reset"]{
  min-width:140px;
}

@media (max-width:768px){
  .contact-form-section{
    padding:60px 0;
  }
  .contact-form-inner{
    grid-template-columns:1fr;
  }
}

/* ===========================================================
   Partner Strip
   =========================================================== */

.partners-section{
  padding:72px 0;
  background:rgba(23,27,33,.6);
  border-top:var(--border);
  border-bottom:var(--border);
}
body[data-mode="light"] .partners-section{
  background:rgba(246,247,251,.85);
}
.partners-kicker{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-weight:600;
  font-size:.78rem;
  color:var(--accent);
  text-align:center;
}
.partners-title{
  margin:0 auto 36px;
  text-align:center;
  font-size:2rem;
  max-width:520px;
}
.partner-strip{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:26px 40px;
  list-style:none;
  margin:0;
  padding:0;
}
.partner-item{
  flex:0 0 180px;
  width:180px;
  height:120px;
  display:flex;
  justify-content:center;
  align-items:center;
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow);
  padding:16px;
}
.partner-logo{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  transition:filter .3s ease, opacity .3s ease, transform .3s ease;
}
.partner-logo:hover,
.partner-logo:focus{
  transform:translateY(-3px);
}
.partner-logo:focus{outline:2px solid var(--accent);outline-offset:6px}

/* ===========================================================
   CTA Banner
   =========================================================== */

.cta-banner{
  padding:68px 0;
  background:radial-gradient(circle at top left, rgba(239,68,68,.22), rgba(11,13,16,0)) no-repeat;
}
body[data-mode="light"] .cta-banner{
  background:radial-gradient(circle at top left, rgba(239,68,68,.12), rgba(246,247,251,0)) no-repeat;
}
.cta-banner-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap-lg);
  background:linear-gradient(135deg, rgba(23,27,33,.9), rgba(11,13,16,.7));
  border-radius:var(--radius-lg);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 24px 58px rgba(5,7,12,.45);
  padding:40px 46px;
}
body[data-mode="light"] .cta-banner-inner{
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(246,247,251,.9));
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 20px 40px rgba(15,23,42,.18);
}
.cta-banner-copy{
  max-width:560px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.cta-banner-copy h2{
  margin:0;
  font-size:2.1rem;
}
.cta-banner-copy p{
  margin:0;
}
.cta-kicker{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-weight:600;
  font-size:.78rem;
  color:var(--accent);
}
.cta-banner-inner .btn-primary{
  flex-shrink:0;
  padding:14px 28px;
  font-size:1rem;
}

@media (max-width:900px){
  .cta-banner-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .cta-banner-inner .btn-primary{
    width:100%;
    justify-content:center;
  }
}

/* ===========================================================
   Callout
   =========================================================== */

.callout{
  background:linear-gradient(135deg,#7f1d1d 0%, #b91c1c 100%);
  color:#fef2f2;
  padding:48px 0;
}
.callout-inner{
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-start;
  max-width:640px;
}
.callout-highlight{
  font-size:1.1rem;
  color:#000;
  font-weight:600;
}
.callout .btn-primary{
  background:#fef2f2;
  color:#861b1b;
  box-shadow:0 10px 18px rgba(0,0,0,.15);
}
.callout .btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(0,0,0,.2);
}

/* ===========================================================
   Forms
   =========================================================== */

.sell-form{
  padding:60px 0 80px;
  display:grid;
  gap:40px;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(480px,1fr));
  gap:24px;
}
.ankauf-form{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  padding:32px;
  width:100%;
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}
.ankauf-form .field{
  min-width:0;
}
.ankauf-form input,
.ankauf-form select{
  background:var(--bg-elev);
  padding:14px 16px;
}
.ankauf-form .form-actions{
  grid-column:1 / -1;
}
.form-note{
  grid-column:1 / -1;
  margin:16px 0 0;
  color:var(--muted);
}
.form-grid > *{
  min-width:0;
}
.form-grid fieldset.card{
  grid-column:1 / -1;
}
.hp{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}
fieldset{
  border:none;
  margin:0;
  padding:0;
}
legend{
  font-weight:700;
  margin-bottom:16px;
  font-size:1.1rem;
}
.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.field input,
.field select,
.field textarea{
  background:var(--bg-elev);
  color:var(--text);
  border:var(--border);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  font:inherit;
  transition:border .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none;
  border:1px solid var(--accent);
  box-shadow:0 0 0 4px rgba(239,68,68,.22);
}
.field textarea{resize:vertical;min-height:120px}
.span-2{
  grid-column:1 / -1;
}
.hint{
  font-size:.85rem;
  color:var(--muted);
}
.checkbox{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.checkbox input{
  width:20px;
  height:20px;
  margin-top:2px;
}
.actions{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-start;
  grid-column:1 / -1;
}
.form-actions{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.card.result{
  text-align:center;
}
.card.result h2{margin-top:0}

/* ===========================================================
   Filter & Results
   =========================================================== */

.filters{
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-lg);
  padding:26px;
  box-shadow:var(--shadow);
  margin-bottom:32px;
}
.filter-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.price-range{
  display:flex;
  gap:10px;
  align-items:center;
  grid-column:1 / -1;
}
.price-range span{color:var(--muted)}

.filter-meta{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
}
.filter-meta .sep{color:var(--accent)}
.icon-link-external{
  vertical-align:-0.15em;
}

.results{
  display:grid;
  gap:32px;
}
.pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}

/* ===========================================================
   About / History
   =========================================================== */

.about-philosophy{
  padding:48px 0 80px;
  display:grid;
  gap:40px;
}
.philosophy-body{
  display:grid;
  gap:18px;
}
.philosophy-points{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.philosophy-points li{
  position:relative;
  padding:16px 20px 16px 48px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:var(--border);
}
.philosophy-points li::before{
  content:"";
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(239,68,68,.18);
}

.history-section{
  padding:60px 0 100px;
}
.history-timeline{
  position:relative;
  padding-left:28px;
  display:grid;
  gap:26px;
}
.history-timeline::before{
  content:"";
  position:absolute;
  left:8px;
  top:0;
  bottom:0;
  width:2px;
  background:linear-gradient(180deg,var(--accent) 0%, rgba(239,68,68,.1) 100%);
}
.history-item{
  position:relative;
}
.history-item::before{
  content:"";
  position:absolute;
  left:-24px;
  top:10px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(239,68,68,.15);
}
.history-card{
  background:var(--surface);
  border:var(--border);
  border-radius:var(--radius-lg);
  padding:20px 24px;
  box-shadow:var(--shadow);
}
.history-card h3{
  margin-top:0;
  margin-bottom:10px;
}
.history-card p{
  margin:0;
  color:var(--muted);
}
.history-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:12px;
  color:var(--muted);
}
.history-year{
  font-weight:700;
  color:var(--accent);
}

/* ===========================================================
   Modal
   =========================================================== */

.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:80;
  visibility:hidden;
  opacity:0;
  transition:opacity .25s ease, visibility .25s ease;
}
.modal[aria-hidden="false"]{
  visibility:visible;
  opacity:1;
}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(8,10,16,.65);
  backdrop-filter:blur(6px);
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,10,16,.75);
  backdrop-filter:blur(6px);
}
.modal-dialog{
  position:relative;
  z-index:1;
  width:min(860px,92vw);
  border-radius:var(--radius-lg);
  background:var(--surface);
  border:var(--border);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(239,68,68,.25);
  background:rgba(239,68,68,.12);
  color:var(--accent);
  font-size:1.6rem;
  cursor:pointer;
}
.modal-body{
  display:grid;
  grid-template-columns:minmax(240px,320px) 1fr;
  gap:28px;
  padding:36px;
}
@media (max-width:760px){
  .modal-body{
    grid-template-columns:1fr;
  }
}
.modal-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.zoom-viewport{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:var(--radius-md);
  background:#000;
  min-height:220px;
  height:240px;
  margin:0 auto;
}
.zoom-viewport img{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:100%;
  height:100%;
  object-fit:cover;
}
.modal-content{
  display:grid;
  gap:16px;
}
.modal-header{
  display:grid;
  gap:6px;
}
.modal-header h3{
  margin:0;
  font-size:1.6rem;
}
.modal-role{
  margin:0;
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(239,68,68,.12);
  color:var(--accent);
  font-weight:600;
  font-size:.9rem;
}
.modal-desc{
  margin:0;
  color:var(--muted);
}
.modal-meta{
  display:grid;
  gap:8px;
  background:var(--bg-elev);
  border:var(--border);
  border-radius:var(--radius-md);
  padding:12px 14px;
}
.modal-location{
  color:var(--accent);
  text-decoration:underline;
  text-decoration-color:rgba(239,68,68,.4);
}
.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.contact-actions a{
  flex:1 1 160px;
  justify-content:center;
}
.meta-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
  color:var(--muted);
}
.small-tip{
  margin-top:16px;
  font-size:.9rem;
  color:var(--muted);
}

/* ===========================================================
   Footer
   =========================================================== */

.site-footer{
  border-top:var(--border);
  margin-top:80px;
  padding:40px 0;
}
.footer-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:var(--gap-sm);
  color:var(--muted);
  font-size:.95rem;
}
.footer-nav{
  display:flex;
  gap:18px;
}
.footer-social{
  display:flex;
  gap:12px;
}
.footer-social-link{
  width:38px;
  height:38px;
  border-radius:50%;
  border:var(--border);
  background:var(--surface);
  color:var(--text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.footer-social-link:hover{
  transform:translateY(-2px);
  background:rgba(239,68,68,.12);
  color:var(--accent);
  box-shadow:0 10px 24px rgba(15,23,42,.15);
}
.footer-social-link svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

/* ===========================================================
   Responsive
   =========================================================== */

@media (max-width:768px){
  .container{padding:0 18px;}
  .hero-content{padding:60px 0 10px;}
  .callout{padding:40px 0;}
  .callout-inner{max-width:100%;}
  .home-section{padding:48px 0;}
  .form-grid{grid-template-columns:1fr;}
  .form-grid > *{width:100%;}
  .services-grid{grid-template-columns:minmax(0,1fr);}
  .actions{flex-direction:column;align-items:stretch;}
  .filters{padding:20px;}
  .filter-grid{grid-template-columns:1fr;}
  .filter-grid > *{width:100%;}
  .price-range{flex-direction:column;align-items:stretch;}
  .price-range span{display:none;}
  .filter-meta{flex-direction:column;align-items:flex-start;}
  .team-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
  .history-timeline{padding-left:20px;}
}

@media (max-width:640px){
  .hero-content{padding:48px 0 10px;}
  .hero-copy h1{font-size:2.4rem;}
  .quote-card{padding:18px 18px;}
  .quote{font-size:1.2rem;}
  .section-head{flex-direction:column;align-items:flex-start;gap:12px;}
  .filters{padding:18px;}
  .modal-dialog{width:94vw;}
  .modal-body{padding:26px;}
  .callout{padding:36px 0;}
  .callout-inner{gap:14px;}
  .page-hero{padding:28px 0 16px;}
  .page-hero h1{font-size:2rem;}
  .history-card{padding:18px;}
  .services-highlight .section-head{max-width:100%;}
}
