:root{
  --heading: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bg:#ffffff;
  --text:#111111;
  --muted:#555555;
  --panel:#f6f6f6;
  --border:#e7e7e7;
  --red:#c01f25;
  --redDark:#9f191e;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}
img{max-width:100%;display:block}

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

.container{
  width:min(var(--max), calc(100% - 2rem));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:1rem; top:1rem;
  width:auto;height:auto;
  padding:.6rem .9rem;
  background:#fff;
  border:1px solid var(--border);
  z-index:9999;
  border-radius:.5rem;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:1rem;
  padding:.85rem 0;
}


.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width:0;
  max-width:520px;
}

.brand img{
  width:auto;
  height:54px;
}
.brand .brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand .brand-text strong{
  font-size:1.02rem;
  letter-spacing:.2px;
}
.brand .brand-text span{
  color:var(--muted);
  font-size:.9rem;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1rem;
  flex-wrap:nowrap;
}

.nav a{
  padding:.45rem .55rem;
  border-radius:.55rem;
  color:var(--text);
  font-weight:600;
  font-size:.95rem;
  white-space:nowrap;
}
.nav a:hover{
  background:var(--panel);
}
.nav a[aria-current="page"]{
  color:var(--red);
  background:rgba(192,31,37,.08);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.call-btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:var(--red);
  color:#fff;
  border:1px solid rgba(0,0,0,.06);
  padding:.55rem .85rem;
  border-radius:.7rem;
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
}
.call-btn:hover{background:var(--redDark)}
.call-btn svg{width:18px;height:18px;fill:currentColor}

.menu-btn{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  border-radius:.75rem;
  border:1px solid var(--border);
  background:#fff;
}
.menu-btn svg{width:22px;height:22px}

/* Mobile nav drawer */
.mobile-drawer{
  display:none;
  border-top:1px solid var(--border);
  background:#fff;
}
.mobile-drawer .drawer-inner{
  padding:.75rem 0 1rem 0;
  display:flex;
  flex-direction:column;
  gap:.25rem;
}
.mobile-drawer a{
  padding:.7rem .75rem;
  border-radius:.7rem;
  font-weight:700;
}
.mobile-drawer a:hover{background:var(--panel)}
.mobile-drawer a[aria-current="page"]{color:var(--red); background:rgba(192,31,37,.08);}

/* Sections */
.section{
  padding:3.2rem 0;
}
.section.alt{
  background:var(--panel);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.hero{
  padding:3.8rem 0 3.0rem 0;
  background: radial-gradient(900px 420px at 20% 15%, rgba(192,31,37,.10), transparent 60%),
              radial-gradient(700px 380px at 85% 20%, rgba(0,0,0,.06), transparent 55%);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:2rem;
  align-items:center;
}
.h1{
  font-family: var(--heading);
  font-size:2.55rem;
  line-height:1.12;
  margin:0 0 .85rem 0;
  letter-spacing:-.7px;
}
.lead{
  color:var(--muted);
  font-size:1.06rem;
  margin:0 0 1.25rem 0;
}
.btn-row{display:flex; gap:.75rem; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.85rem 1.15rem;
  border-radius:1rem;
  border:1px solid var(--border);
  font-weight:900;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn.primary{
  background:var(--red);
  color:#fff;
  border-color:rgba(0,0,0,.08);
}
.btn.primary:hover{background:var(--redDark)}
.btn.secondary{
  background:#fff;
}
.btn.secondary:hover{background:var(--panel)}
.hero-media{
  border-radius:1.25rem;
  overflow:hidden;
  border:1px solid var(--border);
  background:linear-gradient(145deg, rgba(0,0,0,.04), rgba(192,31,37,.06));
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-media .placeholder{
  color:rgba(17,17,17,.55);
  font-weight:800;
  letter-spacing:.2px;
  padding:1.25rem;
  text-align:center;
}

/* Cards */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1rem;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1rem;
}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:1rem;
  padding:1.15rem 1.15rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.card h3{
  margin:.15rem 0 .4rem 0;
  font-size:1.08rem;
}
.card p{margin:0;color:var(--muted)}
.card:hover{
  box-shadow: 0 14px 38px rgba(0,0,0,.06);
}

.kicker{
  color:var(--red);
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
  font-size:.8rem;
  margin:0 0 .6rem 0;
}
.h2{
  font-family: var(--heading);
  font-size:1.85rem;
  line-height:1.18;
  margin:0 0 .7rem 0;
  letter-spacing:-.3px;
}
.p{
  margin:0 0 1rem 0;
  color:var(--muted);
}

.list{
  margin:0;
  padding-left:1.15rem;
  color:var(--muted);
}
.list li{margin:.35rem 0}

.highlight{
  border-left:4px solid var(--red);
  padding:.85rem 1rem;
  background:rgba(192,31,37,.06);
  border-radius:.9rem;
  color:var(--text);
}
.highlight strong{color:var(--red)}
.contact-box{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  padding:1.2rem 1.25rem;
  border-radius:1.1rem;
  background:#fff;
  border:1px solid var(--border);
}
.contact-box a{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  font-weight:900;
}
.contact-box a span{
  color:var(--muted);
  font-weight:700;
}
.icon{
  width:18px;height:18px;
  display:inline-block;
}

/* Footer */
.site-footer{
  margin-top:2.5rem;
  background:#0f0f0f;
  color:#fff;
}
.footer-inner{
  padding:2.2rem 0;
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:2rem;
}
.footer-inner a{color:#fff}
.footer-inner a:hover{color:rgba(255,255,255,.85)}
.footer-brand{
  display:flex;
  gap:1rem;
  align-items:flex-start;
}
.footer-brand img{
  height:46px;
  width:auto;
  background:#ffffff;
  padding:10px;
  border-radius:14px;
}

.footer-brand .meta{
  display:flex;
  flex-direction:column;
  gap:.35rem;
}
.footer-brand .meta strong{
  font-size:1.05rem;
}
.footer-brand .meta .small{
  color:rgba(255,255,255,.78);
  font-size:.95rem;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:.55rem;
  align-items:flex-start;
}
.footer-links .title{
  font-weight:900;
  margin-bottom:.15rem;
  color:rgba(255,255,255,.9);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:1rem 0;
  color:rgba(255,255,255,.7);
  font-size:.92rem;
}

/* Utility */
.mt-2{margin-top:.75rem}
.mt-3{margin-top:1.15rem}
.mt-4{margin-top:1.6rem}
.mb-0{margin-bottom:0}
.center{text-align:center}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .brand{min-width:auto}
}
@media (max-width: 1020px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .brand .brand-text{display:none}
  .brand img{height:44px}
  .call-btn{padding:.55rem .75rem}
  .h1{
  font-family: var(--heading);
  font-size:2.55rem;
  line-height:1.12;
  margin:0 0 .85rem 0;
  letter-spacing:-.7px;
}
}

.btn:hover{transform: translateY(-1px); box-shadow: 0 14px 38px rgba(0,0,0,.06);}
.btn:active{transform: translateY(0);}
.card{
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card--accent{
  position:relative;
  overflow:hidden;
}
.card--accent:before{
  content:"";
  position:absolute;
  left:0; top:0;
  width:100%; height:4px;
  background: var(--red);
}
.trustbar{
  margin-top:1.35rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1rem;
  align-items:stretch;
}


.trustitem{
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.96) 100%);
  border:1px solid rgba(0,0,0,.06);
  border-radius:1.25rem;
  padding:1.15rem 1.25rem;
  display:flex;
  gap:1rem;
  align-items:center;
  min-height:110px;
  height:100%;
  box-shadow: 0 18px 55px rgba(0,0,0,.055);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.trustitem:hover{
  transform: translateY(-1px);
  box-shadow: 0 26px 70px rgba(0,0,0,.08);
  border-color: rgba(192,31,37,.20);
}
.trustitem .ticon{
  width:46px;height:46px;
  border-radius:1.05rem;
  background: rgba(192,31,37,.10);
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto;
}
.trustitem .ticon svg{width:18px;height:18px;fill:var(--red)}
.trustitem strong{display:block; font-weight:900}
.trustitem span{color:var(--muted); font-weight:600; font-size:.92rem}
@media (max-width: 1020px){
  .trustbar{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){
  .trustbar{grid-template-columns:1fr}
  .trustitem{min-height:104px}
  .trustitem div strong{font-size:1.04rem;}
  .trustitem div span{font-size:.96rem;}
}

.image-frame{
  border-radius:1.25rem;
  overflow:hidden;
  border:1px solid var(--border);
  background: linear-gradient(145deg, rgba(0,0,0,.03), rgba(192,31,37,.05));
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 16px 44px rgba(0,0,0,.05);
}
.image-frame .placeholder{
  color:rgba(17,17,17,.55);
  font-weight:900;
  letter-spacing:.2px;
  padding:1.25rem;
  text-align:center;
}
.image-frame img{width:100%; height:100%; object-fit:cover}
.form-control{
  width:100%;
  padding:.75rem .85rem;
  border:1px solid var(--border);
  border-radius:.9rem;
  font: inherit;
}
.form-control:focus{
  outline:none;
  border-color: rgba(192,31,37,.55);
  box-shadow: 0 0 0 4px rgba(192,31,37,.12);
}
label{font-weight:900}

.trustitem div{min-width:0}
.trustitem div strong{font-family: var(--heading); font-weight:900; letter-spacing:-.2px; font-size:1.08rem; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block;}
.trustitem div span{display:block; margin-top:.25rem; font-size:.98rem; color:var(--muted); font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.trustitem div strong{white-space:nowrap;}
@media (max-width: 420px){
  .trustitem div strong{font-size:1.0rem;}
}
.hero-logo{
  width:auto;
  height:auto;
  max-width: 96%;
  max-height: 320px;
  padding: 1.1rem;
}
@media (max-width: 980px){
  .hero-logo{max-height: 300px;}
}
@media (max-width: 520px){
  .hero-logo{max-height: 240px; padding:.9rem;}
}
/* Referenzen */
.logo-wall{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;align-items:stretch}
.logo-tile{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:1.15rem;padding:1.1rem;display:flex;align-items:center;justify-content:center;min-height:96px;box-shadow:0 18px 50px rgba(0,0,0,.05)}
.logo-tile img{max-height:46px;max-width:100%;width:auto;height:auto;object-fit:contain}
@media (max-width:1020px){.logo-wall{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.logo-wall{grid-template-columns:1fr}.logo-tile{min-height:92px}.logo-tile img{max-height:42px}}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
@media (max-width:1020px){.review-grid{grid-template-columns:1fr}}
.review-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:1.25rem;padding:1.15rem;box-shadow:0 18px 55px rgba(0,0,0,.055);display:flex;flex-direction:column;gap:.8rem;height:100%}
.review-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.review-who{display:flex;align-items:center;gap:.65rem;min-width:0}
.review-avatar{width:40px;height:40px;border-radius:999px;background:rgba(0,0,0,.06);display:flex;align-items:center;justify-content:center;font-weight:900;color:rgba(0,0,0,.55);flex:0 0 auto}
.review-who strong{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.review-who span{display:block;color:var(--muted);font-weight:650;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.review-source{display:flex;align-items:center;gap:.45rem;color:var(--muted);font-weight:800;font-size:.92rem;white-space:nowrap}
.stars{display:flex;gap:.15rem}
.star{width:16px;height:16px;fill:#f4b400}
.review-quote{color:var(--muted);font-weight:650;line-height:1.55}


/* ===== Header overlap hotfix (override) ===== */
.site-header .header-inner{
  display:grid !important;
  grid-template-columns: minmax(260px, 560px) 1fr auto !important;
  align-items:center !important;
  gap: 1rem !important;
}
.site-header .brand{
  min-width:0 !important;
  max-width:560px !important;
}
.site-header .brand img{
  height:44px !important;
}
.site-header .nav{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  gap:1rem !important;
}
.site-header .header-actions{
  justify-self:end !important;
}

/* ===== Header overlap fix v17 (override) ===== */
.site-header .header-inner{
  display:grid !important;
  grid-template-columns: minmax(240px, 440px) 1fr auto !important;
  align-items:center !important;
  gap: .9rem !important;
}
.site-header .brand{
  max-width:440px !important;
}
.site-header .brand img{
  height:40px !important;
}
.site-header .brand .brand-text{
  font-size:.98rem !important;
}
.site-header .brand .brand-sub{
  font-size:.9rem !important;
}
.site-header .nav{
  justify-content:center !important;
  gap:.8rem !important;
}
.site-header .nav a{
  font-size:.92rem !important;
  padding:.4rem .5rem !important;
}
@media (max-width: 1120px){
  .site-header .header-inner{
    grid-template-columns: minmax(220px, 380px) 1fr auto !important;
  }
  .site-header .brand img{height:38px !important;}
  .site-header .nav{gap:.6rem !important;}
  .site-header .nav a{font-size:.9rem !important;}
}

/* ===== Header spacing fix v25 ===== */
.site-header .header-inner{
  gap: 2.4rem !important;
  column-gap: 2.4rem !important;
}
.site-header .nav{
  justify-content:flex-start !important;
  margin-left: 1.6rem !important;
}
@media (max-width: 1200px){
  .site-header .header-inner{gap: 1.7rem !important; column-gap:1.7rem !important;}
  .site-header .nav{margin-left: 1.0rem !important;}
}
@media (max-width: 1020px){
  .site-header .nav{margin-left: .6rem !important;}
}

/* ===== Image sizing system v26 ===== */
.image-frame{
  max-height: 360px;
}
.image-frame img{
  width:100%;
  height:100%;
  object-fit: cover;
}
@media (max-width: 1020px){
  .image-frame{ max-height: 320px; }
}
@media (max-width: 520px){
  .image-frame{ max-height: 260px; }
}

/* Balanced hero-grid proportions */
.hero-grid{
  grid-template-columns: 1.05fr .95fr;
}
@media (max-width: 1020px){
  .hero-grid{ grid-template-columns: 1fr; }
}

/* Product-look (Megger) */
.image-frame.product img{
  object-fit: contain !important;
  background: transparent;
  padding: 1.1rem;
}

/* ===== Image contain helpers (v27) ===== */
.image-frame.contain{max-height:440px}
.image-frame.contain img{object-fit:contain !important;background:transparent;padding:.6rem}
@media (max-width:1020px){.image-frame.contain{max-height:380px}}
@media (max-width:520px){.image-frame.contain{max-height:320px}}

/* ===== Image frame rounding polish v29 ===== */
.image-frame{
  overflow:hidden;
  border-radius: 1.25rem;
}
.image-frame img{
  border-radius: 0; /* frame handles rounding */
}

/* ===== Premium motion & UI polish (v31) ===== */

/* Scroll reveal (dezent-mittel) */
.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}
.reveal[data-reveal-delay]{ transition-delay: var(--reveal-delay, 0ms); }

/* Cards: focus border + shadow (no big lift) */
.card, .logo-tile, .review-card{
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.card:hover, .logo-tile:hover, .review-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 26px 72px rgba(0,0,0,.085);
  border-color: rgba(192,31,37,.18);
}

/* Buttons: subtle sheen on hover */
.btn{
  position: relative;
  overflow: hidden;
}
.btn::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width:40%;
  height:180%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  opacity:0;
  transition: opacity .18s ease, left .55s ease;
  pointer-events:none;
}
.btn:hover::after{
  opacity:.75;
  left:120%;
}
.btn.primary:hover{
  box-shadow: 0 18px 55px rgba(192,31,37,.22);
}
.btn.secondary:hover{
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}

/* Image depth: subtle border + inner shadow so images feel embedded */
.image-frame{
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
}
.image-frame::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 -18px 28px rgba(0,0,0,.05);
  pointer-events:none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
  .btn::after{display:none;}
}

/* Mobile: keep motion lighter */
@media (max-width: 520px){
  .reveal{ transform: translateY(8px); transition-duration: .45s; }
  .card:hover, .logo-tile:hover, .review-card:hover{ transform:none; }
}

/* ===== Header scroll state (v31) ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9990;
  transition: background-color .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
}
.site-header.is-scrolled .header-inner{
  padding: .68rem 0;
}
@media (max-width:520px){
  .site-header.is-scrolled .header-inner{ padding: .62rem 0; }
}

/* ===== Referenzen logo marquee (v31) ===== */
.logo-marquee{
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 55px rgba(0,0,0,.06);
}
.logo-marquee::before,
.logo-marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 110px;
  z-index: 2;
  pointer-events:none;
}
.logo-marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.logo-marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.marquee-track{
  display:flex;
  gap: 1.25rem;
  padding: 1.05rem 1.25rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.logo-marquee:hover .marquee-track{
  animation-play-state: paused;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.marquee-item{
  width: 180px;
  height: 84px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.05rem;
  box-shadow: 0 16px 45px rgba(0,0,0,.045);
  flex: 0 0 auto;
}
.marquee-item img{
  max-width: 135px;
  max-height: 46px;
  object-fit: contain;
}

@media (max-width: 820px){
  .logo-marquee::before, .logo-marquee::after{ width: 70px; }
  .marquee-track{ animation-duration: 20s; }
  .marquee-item{ width: 150px; height: 78px; }
  .marquee-item img{ max-width: 120px; }
}
@media (max-width: 520px){
  .marquee-track{ animation-duration: 18s; }
}

/* ===== Mobile sticky CTA (v31) ===== */
.mobile-cta{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  display:none;
}
.mobile-cta .bar{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: .55rem .6rem;
  display:flex;
  gap:.5rem;
  justify-content:space-between;
  align-items:center;
  box-shadow: 0 22px 70px rgba(0,0,0,.14);
}
.mobile-cta a{
  flex:1;
  text-align:center;
  font-weight:900;
  border-radius:999px;
  padding:.7rem .75rem;
  text-decoration:none;
  white-space:nowrap;
}
.mobile-cta a.call{ background: #C01F25; color:#fff; }
.mobile-cta a.contact{ background: rgba(0,0,0,.06); color: var(--text); }
@media (max-width: 520px){
  .mobile-cta{display:block;}
  body{padding-bottom: 86px;}
}

/* ===== Layout safety fix (v32) ===== */
.image-frame{ position: relative; }
.image-frame::after{ inset:0; }

/* ===== Innungslogo cover (v33) ===== */
.image-frame.innung img{
  object-fit: cover !important;
  padding: 0 !important;
}

/* ===== Innungslogo sizing (v34) ===== */
.image-frame.innung{
  max-height: 220px !important;
}
.image-frame.innung img{
  object-fit: contain !important; /* keep whole logo visible */
  padding: .9rem !important;
}
@media (max-width: 1020px){
  .image-frame.innung{ max-height: 200px !important; }
}
@media (max-width: 520px){
  .image-frame.innung{ max-height: 180px !important; }
}

/* ===== Innungsblock sizing (v35) ===== */
.hero-grid--innung{
  grid-template-columns: 360px 1fr !important;
  align-items: start !important;
}
.hero-grid--innung .image-frame.innung{
  width: 360px !important;
  max-width: 360px !important;
  max-height: 220px !important;
}
@media (max-width: 1020px){
  .hero-grid--innung{
    grid-template-columns: 1fr !important;
  }
  .hero-grid--innung .image-frame.innung{
    width: 100% !important;
    max-width: 520px !important;
  }
}

/* ===== Innungslogo background fill (v36) ===== */
.image-frame.innung{background:#f2d400}
.image-frame.innung img{object-fit:contain !important;padding:.9rem !important}

/* ===== Homepage top image show full (v37) ===== */
.image-frame.contain-home{
  max-height: 420px;
}
.image-frame.contain-home img{
  object-fit: contain !important;
  background: transparent;
}

/* ===== Homepage top image frame tighten (v38) ===== */
.image-frame.contain-home{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-height: none !important;
}
.image-frame.contain-home::after{ display:none !important; }
.image-frame.contain-home img{
  width: 100% !important;
  height: auto !important;
  display:block;
  border-radius: 1.25rem;
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

/* ===== Homepage top image scale down (v39) ===== */
.image-frame.contain-home{
  width: 100%;
  display:flex;
  justify-content:flex-end;
}
.image-frame.contain-home img{
  max-width: 420px; /* ~50% smaller on desktop */
}
@media (max-width: 1020px){
  .image-frame.contain-home{
    justify-content:center;
  }
  .image-frame.contain-home img{
    max-width: 520px;
  }
}
@media (max-width: 520px){
  .image-frame.contain-home img{
    max-width: 100%;
  }
}

/* ===== Innung badge in hero (v41) ===== */
.badge-innung{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  margin-top:.75rem;
  padding:.55rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
}
.badge-innung img{
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.badge-innung span{
  font-weight: 900;
  color: var(--text);
  font-size: .95rem;
}
@media (max-width:520px){
  .badge-innung{padding:.5rem .75rem}
  .badge-innung img{width:30px;height:30px}
  .badge-innung span{font-size:.9rem}
}

/* ===== Innung badge visibility tweak (v42) ===== */
.badge-innung{
  position: relative;
  z-index: 3;
}
.badge-innung img{
  background: #fff;
  border-radius: 10px;
  padding: 2px;
}

/* ===== Innung badge blend with hero (v43) ===== */
.badge-innung{
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192,31,37,.14);
  box-shadow: 0 16px 45px rgba(0,0,0,.05);
}
.badge-innung span{
  color: rgba(0,0,0,.78);
}
.badge-innung img{
  background: rgba(255,255,255,.35);
  border-radius: 10px;
  padding: 2px;
}

/* ===== Easter Egg: DIRK bottles (v44) ===== */
.bottle-burst{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}
.bottle{
  position: absolute;
  width: var(--bottle-size, 90px);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--bottle-rot, 0deg)) scale(var(--bottle-scale, 1));
  opacity: 0;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.25));
  animation: bottlePop var(--bottle-dur, 1600ms) ease-out forwards;
}
@keyframes bottlePop{
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(var(--bottle-rot)) scale(0.6); }
  12%  { opacity: 1; transform: translate(-50%, -58%) rotate(calc(var(--bottle-rot) - 6deg)) scale(calc(var(--bottle-scale) * 1.05)); }
  100% { opacity: 0; transform: translate(-50%, -110%) rotate(calc(var(--bottle-rot) + 10deg)) scale(var(--bottle-scale)); }
}
@media (prefers-reduced-motion: reduce){
  .bottle{ animation: none; opacity: 1; }
}



/* ===== Easter Egg: DIRK drop (v46) ===== */
.dirk-drop{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}
.dirk-item{
  position: absolute;
  width: var(--dirk-size, 96px);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--dirk-rot, 0deg)) scale(var(--dirk-scale, 1));
  opacity: 0;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.20));
  animation: dirkFall var(--dirk-dur, 2400ms) ease-in forwards;
}
@keyframes dirkFall{
  0%   { opacity: 0; transform: translate(-50%, -60%) rotate(var(--dirk-rot)) scale(0.7); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 140%) rotate(calc(var(--dirk-rot) + 12deg)) scale(var(--dirk-scale)); }
}
@media (prefers-reduced-motion: reduce){
  .dirk-item{ animation: none; opacity: 1; }
}
