:root{
  --bg:#0b0c10;
  --panel:#12141b;
  --text:#f3f4f6;
  --muted:#b7bcc7;
  --red:#e11d2e;
  --line:rgba(255,255,255,.10);
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --radius:18px;
  --max:1100px;
}
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(225,29,46,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,.08), transparent 60%),
    var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:22px;}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.65);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0;}
.brand{display:flex; align-items:center; gap:12px;}
.logo{
  width:48px;
  height:48px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.brandtext{display:flex;flex-direction:column}
.brandtext strong{letter-spacing:.4px}
.brandtext span{font-size:13px;color:var(--muted)}
.menu{display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end}
.menu a{font-size:14px;color:var(--muted); padding:8px 10px; border-radius:12px; border:1px solid transparent}
.menu a:hover{color:var(--text); border-color:rgba(255,255,255,.10); background:rgba(255,255,255,.04)}
.ctaRow{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:650;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.btn:hover{transform: translateY(-1px)}
.btnRed{
  background: linear-gradient(135deg, rgba(225,29,46,.95), rgba(225,29,46,.60));
  border-color: rgba(225,29,46,.35);
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
}
.hero{padding:34px 0 18px;}
.heroGrid{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px;}
.headline{font-size: clamp(28px, 3.1vw, 44px); line-height:1.1; margin:0 0 10px;}
.sub{color:var(--muted); margin:0 0 18px; font-size:16px}
.redline{height:3px;width:84px;border-radius:99px;background:var(--red); margin:14px 0 0}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.badge{
  font-size:13px; color:#fff;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  padding:8px 10px; border-radius:999px;
}
.badge b{color:rgba(255,255,255,.92)}
.section{padding:12px 0}
.section h1,.section h2{margin:0 0 10px;}
.section p{margin:0 0 12px; color:var(--muted)}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.service{
  padding:16px; border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.service h3{margin:0 0 6px; font-size:16px}
.service p{margin:0; color:var(--muted); font-size:14px}
.twoCol{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
.hr{height:1px;background:var(--line); margin:18px 0}
.small{font-size:13px;color:var(--muted)}
.list{display:grid; gap:10px; margin:0; padding-left:18px; color:var(--muted)}
.kv{display:grid; gap:8px; margin-top:12px; color:var(--muted); font-size:14px}
.kv div{display:flex; justify-content:space-between; gap:12px; border-bottom:1px dashed rgba(255,255,255,.10); padding-bottom:8px}
.kv strong{color:var(--text); font-weight:650}
.form{display:grid; gap:10px;}
input, textarea{
  width:100%; padding:12px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
.note{font-size:12px;color:var(--muted)}
.footer{padding:24px 0 40px; color:var(--muted); font-size:14px}
.breadcrumbs{color:var(--muted); font-size:13px; margin-bottom:10px}
.breadcrumbs a{color:var(--muted); text-decoration:underline; text-underline-offset:3px}
@media (max-width: 920px){
  .heroGrid{grid-template-columns: 1fr;}
  .grid3{grid-template-columns: 1fr;}
  .twoCol{grid-template-columns: 1fr;}
  .menu{display:none;}
}
/* HERO VIDEO */
.hero-video{
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bg-video{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* Abdunklung für Lesbarkeit */
  z-index: 1;
}

.hero-content{
  position: relative;
  z-index: 2;
}

/* SOCIAL MEDIA ICONS */
.social{
  display:flex;
  gap:10px;
  margin-left:10px;
}

.social a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  font-size:18px;
  transition:0.2s ease;
}

.social a:hover{
  background:#e11d2e;
  color:#fff;
  transform:translateY(-2px);
}

/* Referenzen Grid */
.ref-section{margin:28px 0}
.ref-section h2{margin:0 0 12px}
.ref-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 960px){
  .ref-grid{grid-template-columns:repeat(2, 1fr)}
}
@media (max-width: 560px){
  .ref-grid{grid-template-columns:1fr}
}
.ref-item img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:16px;
  display:block;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  cursor:zoom-in;
}
/* Lightbox */
.lb{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:9999;
}
.lb.open{display:flex;}
.lb-img{
  max-width:min(1100px, 96vw);
  max-height:86vh;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lb-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

/* === VIDEO HERO FIX (BESSER SICHTBAR) ===
   Ziel: Video wirkt "nicht zu stark gezoomt" und bleibt gut sichtbar.
*/
.hero,
.hero-video{
  position: relative !important;
  min-height: 75vh !important;  /* etwas weniger Crop als 80vh */
  height: 75vh !important;
  overflow: hidden !important;
}

@media (max-width: 768px){
  .hero,
  .hero-video{
    min-height: 70vh !important;
    height: 70vh !important;
  }
}

.hero video,
.hero .bg-video,
.hero-video video,
.hero-video .bg-video{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important; /* Fokus in der Mitte */
  transform: none !important;
}


/* ===== MOBILE MENU ===== */
.menu-toggle{
  display:none;
  background:none;
  border:0;
  color:var(--text);
  font-size:28px;
  line-height:1;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}
.menu-toggle:hover{background:rgba(255,255,255,.06)}

@media (max-width: 900px){
  .nav{position:relative}
  nav.menu{
    display:none;
    position:absolute;
    right:0;
    top:68px;
    width:min(320px, 92vw);
    flex-direction:column;
    gap:6px;
    padding:12px;
    border-radius:16px;
    background:rgba(10,10,10,.95);
    border:1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    z-index:9999;
  }
  nav.menu.active{display:flex}
  nav.menu a{
    width:100%;
    padding:12px 12px;
    border-radius:12px;
  }
  .menu-toggle{display:inline-flex}
}

/* =========================
   RESPONSIVE FIXES (OVERRIDES) v2
   Ziel: keine Zoom-Pflicht, keine Überläufe, mobile-first.
   ========================= */
html{box-sizing:border-box;-webkit-text-size-adjust:100%}
*,*::before,*::after{box-sizing:inherit}
body{overflow-x:hidden;font-size:16px}

/* Fluid container */
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}

/* Typography that scales */
h1{font-size:clamp(26px, 4.5vw, 44px);line-height:1.08}
h2{font-size:clamp(22px, 3.6vw, 32px);line-height:1.15}
h3{font-size:clamp(18px, 2.8vw, 24px)}
p,li{font-size:clamp(15px, 2.2vw, 17px);line-height:1.65}

/* Media never overflow */
img,video,iframe{max-width:100%;height:auto;display:block}

/* Buttons wrap + full width on very small screens */
.ctaRow,.cta,.heroCta,.buttons,.cta-group{flex-wrap:wrap;gap:12px}
@media (max-width:480px){
  .btn{width:100%;text-align:center}
}

/* Grids auto fit */
.ref-grid,.ig-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}

/* Hero video: less crop on mobile, still cover */
.hero,.hero-video{position:relative;min-height:clamp(60vh, 70vh, 78vh) !important;overflow:hidden}
.hero video,.hero .bg-video,.hero-video video,.hero-video .bg-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center center;
}

/* Navigation: desktop normal, mobile hamburger */
.menu-toggle{
  display:none;
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.35);
  color:#fff;
  font-size:22px;line-height:1;
  cursor:pointer;
  align-items:center;justify-content:center;
}
@media (max-width:900px){
  .menu-toggle{display:flex}
  nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
  nav ul{
    display:none;
    position:absolute;
    right:16px;top:64px;
    min-width:240px;
    background:rgba(10,10,10,.95);
    border:1px solid rgba(255,255,255,.10);
    padding:14px;border-radius:14px;
    flex-direction:column;gap:10px;
    z-index:9999;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
  }
  nav ul.active{display:flex}
  nav ul a{display:block;padding:10px 10px;border-radius:10px}
  nav ul a:hover{background:rgba(255,255,255,.08)}
}


/* Tablet */
@media (max-width: 1024px){
  .ig-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px){
  .ig-grid{
    grid-template-columns:1fr;
  }
  .instagram-media{
    min-width:100% !important;
  }
}

/* =========================
   INSTAGRAM EMBEDS – GROß & LESBAR (OVERRIDE)
   Hinweis: Instagram setzt oft feste Breiten, deshalb min/max + !important.
   ========================= */
.ig-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:22px;
  align-items:start;
}

.instagram-media{
  width:100% !important;
  max-width:520px !important;   /* größere Karte */
  min-width:360px !important;
  margin:0 auto !important;
  border-radius:18px;
  overflow:hidden;
}

/* Desktop groß: 3 Spalten */
@media (min-width: 1200px){
  .ig-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .instagram-media{ max-width:520px !important; }
}

/* Tablet: 2 Spalten */
@media (max-width: 1024px){
  .ig-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .instagram-media{ min-width:320px !important; }
}

/* Mobile: 1 Spalte, volle Breite */
@media (max-width: 700px){
  .ig-grid{ grid-template-columns: 1fr; }
  .instagram-media{
    max-width: 100% !important;
    min-width: 100% !important;
  }
}
