/* =========================================================
   pages/home.css — FET Home (nav, hero, sections, slider, etc.)
   ========================================================= */

/* Top progress */
.progress{
  position:fixed; top:0; left:0;
  height:3px; width:100%;
  transform-origin:left;
  transform:scaleX(0);
  z-index:1000;
  background: linear-gradient(90deg, var(--green), #31e29a, var(--green2));
  box-shadow: 0 0 24px rgba(22,193,114,.35);
}

/* NAV */
.nav{
  position:fixed;
  left:0; right:0; top:14px;
  z-index:900;
  pointer-events:none;
  transition: top .28s var(--ease2);
}

.nav .bar{
  pointer-events:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(8,19,15,.12);

  transition:
    background .28s var(--ease),
    border-color .28s var(--ease),
    box-shadow .28s var(--ease),
    backdrop-filter .28s var(--ease);
}

/* Navbar wird beim Scrollen transparenter (glassy) */
.nav.is-scrolled{
  top: 10px;
}

/* Stufe 1: auf Hero = sehr transparenter Glass-Look */
.nav.is-scrolled .bar{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 42px rgba(8,19,15,.08);
}

/* Stufe 2: nach Hero = wieder deckender für helle Sections */
.nav.is-past-hero .bar{
  background: rgba(255,255,255,.74);
  border-color: rgba(255,255,255,.48);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(8,19,15,.11);
}

.brand{
  display:flex; align-items:center; gap:10px;
  padding: 6px 10px;
  border-radius:999px;
}
/* NAV Logo (Favicon statt grüner Punkt) */
.logo{
  width:28px;
  height:28px;
  border-radius: 10px;              /* oder 50% für rund */
  background: url("/assets/img/icons/favicon.png") center/contain no-repeat;
  /* optional: leichter “Glas”-Look */
  background-color: rgba(255,255,255,.65);
  box-shadow: 0 0 0 1px rgba(8,19,15,.10) inset, 0 10px 26px rgba(8,19,15,.10);
}

/* Brand-Logo (statt Punkt + Text) */
.brand-logo{
  display:block;
  height:24px;      /* <- hier stellst du die Höhe ein */
  width:auto;
  max-width:180px;  /* <- schützt vor “zu breit” */
}

/* Drawer-Logo (optional) */
.drawer-logo{
  display:block;
  height:22px;
  width:auto;
}

.brand strong{
  font-family: Manrope, Inter, sans-serif;
  letter-spacing:-0.03em;
  font-size:14px;
  color: var(--ink2);
  display:block;
  line-height:1.05;
}
.brand span{
  display:block;
  font-size:12px;
  color: rgba(8,19,15,.55);
  margin-top:2px;
}
.links{
  display:flex; align-items:center; gap:6px;
}
.links a{
  font-size:13px;
  color: rgba(8,19,15,.70);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease2);
  white-space:nowrap;
}
.links a:hover{
  background: rgba(22,193,114,.10);
  color: rgba(8,19,15,.92);
  transform: translateY(-1px);
}

/* Mobile menu */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(8,19,15,.12);
  background: rgba(255,255,255,.80);
  cursor:pointer;
  box-shadow: var(--shadow1);
}
.burger .lines{ width:18px; height:12px; margin:auto; position:relative; }
.burger .lines span{
  position:absolute; left:0; right:0;
  height:2px; background: rgba(8,19,15,.85);
  border-radius:2px;
  transition: transform .35s var(--ease2), top .35s var(--ease2), opacity .25s var(--ease2);
}
.burger .lines span:nth-child(1){ top:0; }
.burger .lines span:nth-child(2){ top:5px; }
.burger .lines span:nth-child(3){ top:10px; }
.burger.open .lines span:nth-child(1){ top:5px; transform: rotate(45deg); }
.burger.open .lines span:nth-child(2){ opacity:0; }
.burger.open .lines span:nth-child(3){ top:5px; transform: rotate(-45deg); }

/* Drawer */
.drawer{
  display:none;
  position:fixed; inset:0;
  background: rgba(8,19,15,.40);
  backdrop-filter: blur(14px);
  z-index:890;
}
.drawer .card{
  position:absolute;
  top:86px; left:24px; right:24px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: var(--shadow3);
  padding: 18px;
}
.m-link{
  display:block;
  padding: 14px 12px;
  border-radius: 16px;
  border:1px solid rgba(8,19,15,.10);
  background: rgba(246,251,248,.92);
  margin-top:10px;
  color: rgba(8,19,15,.86);
  transition: transform .18s var(--ease2), border-color .18s var(--ease), background .18s var(--ease);
}
.m-link:hover{
  transform: translateY(-1px);
  border-color: rgba(22,193,114,.24);
  background: rgba(22,193,114,.06);
}

/* HERO */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(8,19,15,.06);

  /* FIX: verhindert, dass das Video "hinter" den Sections weiterläuft */
  overflow: hidden;
  isolation: isolate;
}

.hero-media{
  position:absolute; inset:0;
  overflow:hidden;

  /* FIX: echtes Schwarz statt grünem Hintergrund */
  background: #000;

  /* FIX: eigener Layer im Hero */
  z-index: 0;
}

/* FIX: Video/Img IMMER absolut im Hero halten (kein "fixed background"-Effekt) */
.hero-media video,
.hero-media img{
  position: absolute;
  inset: 0;
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;

  /* FIX: keine Transparenz -> nichts schimmert durch */
  opacity: 1;

  /* optional: kannst du lassen oder leicht reduzieren */
  filter: brightness(1.06) saturate(1.02) contrast(1.06);

  z-index: 0;
}

.hero-media::after{
  content:"";
  position:absolute; inset:0;

  /* Overlay bleibt über dem Video */
  z-index: 1;
  pointer-events: none;

  /* FIX: grünen Spot entfernen, nur dunkle Vignette */
  background:
    radial-gradient(900px 520px at 20% 12%, rgba(0,0,0,.35), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.28));
}

/* Hero-Inhalte IMMER über Video */
.hero-inner{
  position: relative;
  z-index: 2;

  width:100%;
  padding-top: 110px; /* account for fixed nav */
  padding-bottom: 60px;
  display:flex;
  align-items:center;
}
.hero-center{
  text-align:center;
  max-width: 980px;
  margin: 0 auto;
}

.tagline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
}
.tag-dot{
  width:10px; height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  box-shadow: 0 0 0 4px rgba(22,193,114,.16);
}

.hero h1{
  color: #fff;
  text-shadow: 0 20px 70px rgba(0,0,0,.35);
}
.hero-cta{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

.hero-metrics{
  margin-top: 26px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.metric{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  padding: 14px 14px;
  backdrop-filter: blur(12px);
}
.metric .k{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.70);
}
.metric .v{
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}

.scroll-ind{
  position:absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .20em;

  /* FIX: über dem Video */
  z-index: 2;
}
.scroll-ind .mouse{
  width: 26px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  position: relative;
}
.scroll-ind .mouse::after{
  content:"";
  position:absolute;
  left:50%;
  top: 9px;
  width: 4px; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  transform: translateX(-50%);
  animation: wheel 1.6s var(--ease2) infinite;
}
@keyframes wheel{
  0%{ transform: translateX(-50%) translateY(0); opacity:1; }
  70%{ transform: translateX(-50%) translateY(10px); opacity:.0; }
  100%{ transform: translateX(-50%) translateY(0); opacity:0; }
}

/* Hero Credit (unten links, dezent) */
.hero-credit{
  position: absolute;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 2;

  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.2;

  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Mobile optimiert */
@media (max-width: 720px){
  .hero-credit{
    left: 12px;
    bottom: 12px;
    font-size: 11px;
    letter-spacing: .03em;
    color: rgba(255,255,255,.68);
    white-space: normal;
    max-width: 72vw;
  }
}

/* Section head */
.head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom: 26px;
}
.head .left{ max-width: 78ch; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card{
  grid-column: span 4;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(8,19,15,.08);
  box-shadow: var(--shadow2);
  transition: transform .25s var(--ease2), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(260px 200px at 20% 15%, rgba(22,193,114,.18), transparent 60%),
    radial-gradient(300px 240px at 80% 60%, rgba(10,165,106,.12), transparent 60%);
  opacity:0;
  transition: opacity .25s var(--ease);
  pointer-events:none;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 80px rgba(8,19,15,.14);
  border-color: rgba(22,193,114,.26);
}
.card:hover::before{ opacity:1; }
.icon{
  width:46px; height:46px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(22,193,114,.10);
  border: 1px solid rgba(22,193,114,.22);
}
.icon svg{ width:22px; height:22px; color: rgba(8,19,15,.80); }
.card h3{ margin-top: 12px; }
.card p{ margin-top: 10px; }

/* =========================================================
   Usecase tiles (BASE — wie vorher)
   ========================================================= */

   .tiles{
    display:grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }
  
  .tile{
    grid-column: span 4;
    border-radius: 24px;
    overflow:hidden;
    border: 1px solid rgba(8,19,15,.08);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow2);
    transition: transform .25s var(--ease2), box-shadow .25s var(--ease), border-color .25s var(--ease);
    position:relative;
    isolation:isolate;
  }
  
  .tile:hover{
    transform: translateY(-6px);
    box-shadow: 0 28px 90px rgba(8,19,15,.14);
    border-color: rgba(22,193,114,.26);
  }
  
  .tile-media{
    height: 170px;
    position:relative;
    background:
      radial-gradient(260px 220px at 30% 30%, rgba(22,193,114,.22), transparent 60%),
      linear-gradient(135deg, rgba(11,42,29,.90), rgba(11,42,29,.55));
  }
  
  .tile-media img{
    width:100%;
    height:100%;
    object-fit: cover;
    opacity:.90;
    filter: saturate(1.02) contrast(1.02);
    transform: scale(1.02);
  }
  
  .tile-media::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.35));
  }
  
  .tile-body{ padding: 18px 18px 20px; }
  
  .tile-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  
  .badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(8,19,15,.10);
    background: rgba(246,251,248,.92);
    color: rgba(8,19,15,.74);
    font-size: 12px;
  }
  
  .badge b{ color: rgba(8,19,15,.90); }
  
  .tile h3{ margin-top: 10px; }
  
  .tile-hint{
    margin-top: 10px;
    font-size: 12px;
    color: rgba(8,19,15,.55);
  }
  

  /* =========================================================
   Usecase tiles — FLIP (ändert KEIN Grid/Width)
   ========================================================= */

.tile-flip{
  perspective: 1100px;
}

.tile-flip .tile-inner{
  position: relative;
  transform-style: preserve-3d;
  transition: transform .65s var(--ease2);
  will-change: transform;
}

/* Front bleibt im Flow (definiert Höhe) */
.tile-flip .tile-front{
  position: relative;
  z-index: 2;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Back liegt darüber (ohne Layout zu beeinflussen) */
.tile-flip .tile-back{
  position: absolute;
  inset: 0;
  z-index: 1;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
}

.tile-flip:hover .tile-inner,
.tile-flip:focus .tile-inner,
.tile-flip:focus-within .tile-inner{
  transform: rotateY(180deg);
}

/* Mobile/JS Toggle */
.tile-flip.is-flipped .tile-inner{
  transform: rotateY(180deg);
}



/* Kein Hover-Flip auf Touch, Fokus/Klick bleibt möglich */
@media (hover: none){
  .tile-flip:hover .tile-inner{
    transform: none;
  }
}

.tile-flip .tile-back-body{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 20px;

  background:
    radial-gradient(260px 220px at 30% 30%, rgba(22,193,114,.14), transparent 60%),
    radial-gradient(300px 240px at 80% 70%, rgba(10,165,106,.10), transparent 60%),
    rgba(255,255,255,.94);
}


/* Evidence */
.evidence{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items:start;
}
.stat{
  border-radius: 22px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(246,251,248,.92);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(8,19,15,.08);
}
.stat .row{ display:flex; justify-content:space-between; gap:14px; align-items:baseline; }
.stat .label{ font-size:12px; text-transform:uppercase; letter-spacing:.18em; color: rgba(8,19,15,.55); }
.stat .big{
  font-family: Manrope, Inter, sans-serif;
  font-size: 40px;
  letter-spacing:-0.05em;
  line-height:1;
  color: var(--ink2);
  margin-top: 8px;
}

/* Calculator layout */
.calc{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:start;
}

.result{
  border-radius: 22px;
  border: 1px solid rgba(8,19,15,.08);
  background:
    radial-gradient(420px 260px at 25% 15%, rgba(22,193,114,.14), transparent 60%),
    radial-gradient(420px 260px at 80% 35%, rgba(10,165,106,.10), transparent 60%),
    rgba(255,255,255,.92);
  padding: 22px;
  box-shadow: var(--shadow2);
  position:relative;
  overflow:hidden;
}

.result .big{
  font-family: Manrope, Inter, sans-serif;
  font-size: 48px;
  letter-spacing:-0.06em;
  line-height:1;
  margin: 10px 0 6px;
  color: var(--ink2);
}

#calcResult.is-updating{
  animation: calcPop .22s var(--ease2);
}

@keyframes calcPop{
  from{ transform: translateY(0); }
  50%{ transform: translateY(-2px); }
  to{ transform: translateY(0); }
}

.rent-panel{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(8,19,15,.08);
}

.rent-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.rent-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-stat{
  border-radius: 18px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(246,251,248,.86);
  padding: 14px 14px 13px;
  box-shadow: 0 10px 30px rgba(8,19,15,.05);
}

.mini-stat.wide{
  grid-column: 1 / -1;
}

.mini-label{
  display:block;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(8,19,15,.58);
  margin-bottom: 7px;
}

.mini-stat strong{
  display:block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
  letter-spacing:-0.03em;
  line-height: 1.15;
  color: var(--ink2);
}

/* Testimonials slider */
.slider{
  border-radius: var(--r-xl);
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 80px rgba(8,19,15,.12);
  overflow:hidden;
}

.slides{
  display:flex;
  transition: transform .65s var(--ease2);
  will-change: transform;
}

.slide{
  min-width: 100%;
  padding: 26px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:stretch;
  background:
    radial-gradient(560px 360px at 15% 10%, rgba(22,193,114,.12), transparent 60%),
    radial-gradient(520px 380px at 88% 35%, rgba(10,165,106,.08), transparent 60%),
    rgba(255,255,255,.92);
}

.tcard{
  border-radius: 22px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(246,251,248,.92);
  padding: 22px;
  box-shadow: 0 18px 55px rgba(8,19,15,.08);
  position:relative;
  overflow:hidden;
}

.quote{
  font-size: 16px;
  line-height: 1.7;
  color: rgba(8,19,15,.78);
  margin-top: 12px;
}

.who{
  margin-top: 16px;
  display:flex;
  align-items:center;
  gap: 16px;
}

.avatar{
  width:90px;
  height:90px;
  flex: 0 0 90px;
  border-radius: 22px;
  border: 1px solid rgba(8,19,15,.10);
  background:
    radial-gradient(12px 12px at 35% 35%, rgba(255,255,255,.95), transparent 60%),
    linear-gradient(135deg, rgba(22,193,114,.28), rgba(10,165,106,.18));
  overflow:hidden;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.who strong{
  display:block;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing:-0.03em;
  color: var(--ink2);
  line-height:1.15;
}

.who span{
  display:block;
  font-size: 13px;
  color: rgba(8,19,15,.58);
  margin-top:2px;
}

.s-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(8,19,15,.08);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(12px);
}

.s-btns{
  display:flex;
  gap:10px;
}

.s-btn{
  width:44px;
  height:44px;
  border-radius: 999px;
  border: 1px solid rgba(8,19,15,.12);
  background: rgba(246,251,248,.92);
  box-shadow: var(--shadow1);
  cursor:pointer;
  transition: transform .25s var(--ease2), box-shadow .25s var(--ease);
}

.s-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(8,19,15,.14);
}

.dots{
  display:flex;
  gap:8px;
  align-items:center;
}

.dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(8,19,15,.18);
  background: rgba(8,19,15,.10);
  cursor:pointer;
  transition: transform .25s var(--ease2), background .25s var(--ease), border-color .25s var(--ease);
}

.dot.active{
  background: linear-gradient(135deg, var(--green), var(--green2));
  border-color: rgba(22,193,114,.55);
  transform: scale(1.35);
}

@media (max-width: 980px){
  .calc{
    grid-template-columns: 1fr;
  }

  .result .big{
    font-size: 40px;
  }
}

@media (max-width: 720px){
  .rent-grid{
    grid-template-columns: 1fr;
  }

  .mini-stat.wide{
    grid-column: auto;
  }

  .slide{
    grid-template-columns: 1fr;
  }
}

/* News */
.news-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items:stretch;
}
.news{
  grid-column: span 8;
  border-radius: 24px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.news .media{
  height: 480px;              /* war 220px */
  position:relative;
  overflow: hidden;           /* wichtig bei mehr Höhe */
  border-radius: 22px 22px 0 0; /* falls du oben rund willst (optional) */

  background:
    radial-gradient(520px 360px at 35% 30%, rgba(22,193,114,.18), transparent 62%),
    linear-gradient(135deg, rgba(11,42,29,.92), rgba(11,42,29,.58));
}

@media (max-width: 640px){
  .news .media{ height: 260px; }
}

.news .media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  opacity: 1;                 /* war .92 -> Bild wirkt jetzt klarer */
  filter: saturate(1.03) contrast(1.05);
}

.news .media::after{
  content:"";
  position:absolute; inset:0;
  /* etwas weniger abdunkeln, damit man mehr erkennt */
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28));
}

.news .body{ padding: 20px; }
.meta{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  color: rgba(8,19,15,.58);
  font-size: 13px;
  margin-top: 10px;
}
.meta .tag{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(246,251,248,.92);
  color: rgba(8,19,15,.72);
  font-size: 12px;
}

.downloads{
  grid-column: span 4;
  border-radius: 24px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(246,251,248,.92);
  box-shadow: 0 18px 55px rgba(8,19,15,.08);
  padding: 20px;
}
.dl{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(255,255,255,.86);
  transition: transform .25s var(--ease2), box-shadow .25s var(--ease), border-color .25s var(--ease);
  margin-top: 10px;
}
.dl:hover{
  transform: translateY(-2px);
  border-color: rgba(22,193,114,.28);
  box-shadow: 0 18px 55px rgba(8,19,15,.12);
}
.dl strong{
  display:block;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing:-0.03em;
  color: var(--ink2);
  font-size: 14px;
  line-height:1.25;
}
.dl span{ display:block; font-size: 12px; color: rgba(8,19,15,.58); margin-top:4px; }
.dl .go{
  width:38px; height:38px;
  border-radius: 16px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(22,193,114,.10);
  display:grid; place-items:center;
  flex:0 0 auto;
}

/* About */
.about{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items:start;
}
.about .box{
  border-radius: 24px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding: 24px;
}
.list{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
.li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(246,251,248,.92);
}
.li .dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  border:0;
  margin-top: 6px;
  cursor:default;
}

/* FAQ */
details{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 45px rgba(8,19,15,.08);
}
details + details{ margin-top: 12px; }
summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing:-0.03em;
  color: var(--ink2);
}
summary::-webkit-details-marker{ display:none; }
.chev{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(246,251,248,.92);
  transition: transform .25s var(--ease2);
}
details[open] .chev{ transform: rotate(180deg); }

/* Anfrage grid */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:start;
}

/* Footer */
footer{
  padding: 44px 0 60px;
  background: rgba(255,255,255,.65);
  border-top: 1px solid rgba(8,19,15,.08);
}
.foot{
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
  align-items:flex-start;
}
.foot .col{ max-width: 60ch; }
.foot a{ color: rgba(8,19,15,.72); }
.foot a:hover{ color: rgba(8,19,15,.92); }

/* Language dropdown (injected by i18n.js) */
.lang-dd{
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(8,19,15,.12);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow1);
  cursor: pointer;
  user-select: none;
  transition: transform .25s var(--ease2), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.lang-btn:hover{ transform: translateY(-2px); box-shadow: 0 18px 55px rgba(8,19,15,.14); }
.lang-btn:active{ transform: translateY(0) scale(.985); }

.lang-current{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(8,19,15,.90);
  white-space: nowrap;
}
.lang-caret{
  font-size: 12px;
  color: rgba(8,19,15,.60);
  transform: translateY(-1px);
}

.lang-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 999;
}
.lang-dd.open .lang-menu{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(246,251,248,.92);
  color: rgba(8,19,15,.86);
  font-size: 14px;
  text-decoration: none;
  transition: transform .18s var(--ease2), border-color .18s var(--ease), background .18s var(--ease);
}
.lang-item:hover{
  transform: translateY(-1px);
  border-color: rgba(22,193,114,.26);
  background: rgba(22,193,114,.08);
}
.lang-item.active{
  border-color: rgba(22,193,114,.35);
  background: rgba(22,193,114,.10);
}

/* Drawer language block (if you inject one) */
.drawer-lang{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(246,251,248,.92);
}
.drawer-lang-top{ margin-bottom: 10px; }
.drawer-lang-label{
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.02em;
  color: rgba(8,19,15,.90);
}
.drawer-lang-sub{
  margin-top: 2px;
  font-size: 13px;
  color: rgba(8,19,15,.58);
}
.lang-dd.is-drawer{ width: 100%; }
.lang-dd.is-drawer .lang-btn{
  width: 100%;
  justify-content: space-between;
}
.lang-dd.is-drawer .lang-menu{
  left: 0;
  right: 0;
  min-width: unset;
}

/* Responsive */
@media (max-width: 980px){
  .hero-metrics{ grid-template-columns: 1fr; }
  .cards .card{ grid-column: span 6; }
  .tiles .tile{ grid-column: span 6; }
  .evidence{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; }
  .news{ grid-column: span 12; }
  .downloads{ grid-column: span 12; }
  .calc{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav .bar{ gap: 10px; padding: 8px 10px; }
  .brand{ padding: 4px 6px; gap: 8px; }
  .brand span{ display: none; }
  .brand strong{ font-size: 13px; }

  .burger{ display:inline-flex; }
  .links{ display:none; }

  .drawer .card{ top: 78px; left: 16px; right: 16px; }
}

@media (max-width: 560px){
  .cards .card{ grid-column: span 12; }
  .tiles .tile{ grid-column: span 12; }
  .slide{ grid-template-columns: 1fr; }
}

/* =========================================================
   ABOUT: single column + Team cards (large photos, fixed layout)
   ========================================================= */

   #about .about.about-single{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  /* TEAM grid */
  #about .team-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  
  @media (max-width: 900px){
    #about .team-grid{
      grid-template-columns: 1fr;
    }
  }
  
  /* CARD: photo left, text right */
  #about .team-card{
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
    align-items: stretch;
  
    padding: 14px;
  
    border: 1px solid rgba(8,19,15,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.72);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.75),
      0 18px 45px rgba(8,19,15,.06);
  
    overflow: hidden;
  }
  
  @media (max-width: 560px){
    #about .team-card{
      grid-template-columns: 1fr;
    }
  }
  
  /* PHOTO */
  #about .team-media{
    width: 100%;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
  
    background: rgba(8,19,15,.06);
    border: 1px solid rgba(8,19,15,.10);
  }
  
  @media (max-width: 560px){
    #about .team-media{
      height: 300px;
    }
  }
  
  #about .team-media img{
    width: 100%;
    height: 100%;
    display: block;
  
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.01);
  }
  
  /* TEXT */
  #about .team-body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 4px;
    min-width: 0;
  }
  
  #about .team-name{
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: rgba(8,19,15,.92);
    font-size: 20px;
    line-height: 1.12;
  }
  
  #about .team-role{
    margin-top: 6px;
    color: rgba(8,19,15,.62);
    font-size: 13px;
    font-weight: 650;
  }
  
  #about .team-meta{
    margin-top: 12px;
    display: grid;
    gap: 8px;
  }
  
  #about .team-meta a{
    color: rgba(8,19,15,.84);
    text-decoration: none;
    font-weight: 650;
    font-size: 13px;
    line-height: 1.2;
    word-break: break-word;
  }
  
  #about .team-meta a:hover{
    text-decoration: underline;
  }
  


  #about .team-card:hover{
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.75),
      0 26px 70px rgba(8,19,15,.10);
    transform: translateY(-1px);
  }
  


  /* Anfrage: Formular auf volle Breite */
#anfrage .contact-grid{
  grid-template-columns: 1fr !important;
}

#anfrage .contact-grid .form{
  width: 100% !important;
  max-width: none !important;
}


/* News: volle Breite (1-spaltig) */
#news .news-grid{
  grid-template-columns: 1fr !important;
}

#news .news{
  width: 100% !important;
  max-width: none !important;
}



.footer-brand{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.footer-logo{
  display:block;
  height: 20x;       /* hier größer/kleiner machen (z.B. 52px) */
  width:auto;
  max-width: 240px;
  filter: drop-shadow(0 14px 35px rgba(22,193,114,.14));
}



/* ================================
   Footer: darker + better contrast
   ================================ */

   footer{
    background: rgba(8,19,15,.06);                 /* dunkler als vorher */
    border-top: 1px solid rgba(8,19,15,.10);
  }
  
  footer .kicker{
    color: rgba(8,19,15,.68);
  }
  
  footer a{
    color: rgba(8,19,15,.86);
  }
  
  footer a:hover{
    color: rgba(8,19,15,.96);
  }
  
  footer .fine{
    color: rgba(8,19,15,.68);
  }
  
  /* Optional: logo a touch stronger */
  .footer-logo{
    filter: drop-shadow(0 14px 35px rgba(0,0,0,.12)) drop-shadow(0 14px 35px rgba(22,193,114,.10));
  }

/* Mobile-only CTA in Hero instead of crowded navbar CTA */
.hero-mobile-cta{
  display:none;
}

@media (max-width: 720px){
  .nav .bar a.btn.primary{ display:none !important; }

  .hero-mobile-cta{
    display:inline-flex;
    position:absolute;
    left:50%;
    bottom:22px;
    transform:translateX(-50%);
    z-index:4;
    min-height:44px;
    padding:12px 18px;
    white-space:nowrap;
    box-shadow:0 12px 28px rgba(8,19,15,.18);
  }

  .scroll-ind{ display:none; }
}


/* =========================================================
   PREMIUM VISUAL LAYER — Professional Upgrade
   ========================================================= */

/* --- Kicker: branded green pill badge (this page only) --- */
.kicker{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: rgba(22,193,114,.10);
  border: 1px solid rgba(22,193,114,.24);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #0aa55e;
}

/* --- More generous section rhythm --- */
.section{ padding: 112px 0; }
.section.compact{ padding: 80px 0; }
.head{ margin-bottom: 52px; }

/* --- Slightly larger section headings for more impact --- */
.head h2{
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -0.045em;
}

/* =========================================================
   FAQ — Clean flat divider style (scoped to #faq)
   ========================================================= */

#faq details{
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(8,19,15,.09);
  background: transparent;
  box-shadow: none;
  padding: 24px 0;
}
#faq details:first-of-type{
  border-top: 1px solid rgba(8,19,15,.09);
}
#faq details + details{
  margin-top: 0;
}
#faq summary{
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
#faq details[open] > p{
  color: rgba(8,19,15,.64);
  line-height: 1.8;
  max-width: 80ch;
  margin-top: 14px;
  padding-bottom: 4px;
}
#faq .chev{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(246,251,248,.95);
}

/* =========================================================
   TESTIMONIALS — Quote character + premium styling
   ========================================================= */

.tcard{
  padding: 30px;
  background: #fff;
  border-color: rgba(8,19,15,.065);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 8px 28px rgba(8,19,15,.07);
}
.tcard::before{
  content: "\201C";
  font-size: 100px;
  line-height: 0.70;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(22,193,114,.10);
  position: absolute;
  top: 14px;
  left: 18px;
  pointer-events: none;
  user-select: none;
}
.quote{
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(8,19,15,.70);
  position: relative;
}

/* =========================================================
   DARK SECTION: Nachweise
   ========================================================= */

#nachweise{
  background: #0c1e14;
  position: relative;
  isolation: isolate;
}
#nachweise::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 580px at 16% 14%, rgba(22,193,114,.11), transparent 58%),
    radial-gradient(700px 460px at 90% 85%, rgba(10,165,106,.08), transparent 58%);
  pointer-events: none;
  z-index: 0;
}
#nachweise .container{ position: relative; z-index: 1; }

#nachweise .kicker{
  background: rgba(22,193,114,.14);
  border-color: rgba(22,193,114,.30);
  color: #31e094;
}
#nachweise h2{ color: #fff; }
#nachweise h3{ color: rgba(255,255,255,.90); }
#nachweise p{ color: rgba(255,255,255,.58); }
#nachweise p b{ color: rgba(255,255,255,.92) !important; }

#nachweise .panel{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#nachweise .stat{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  box-shadow: none;
}
#nachweise .stat .label{ color: rgba(255,255,255,.44); }
#nachweise .stat .big{
  color: #fff;
  font-size: 54px;
}
#nachweise .pill{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.66);
}
#nachweise .pill i{
  background: linear-gradient(135deg, var(--green), var(--green2));
}

/* =========================================================
   DARK SECTION: Anfrage / Kontakt CTA
   ========================================================= */

#anfrage{
  background: #0c1e14;
  position: relative;
  isolation: isolate;
}
#anfrage::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 540px at 88% 12%, rgba(22,193,114,.10), transparent 58%),
    radial-gradient(600px 400px at 10% 88%, rgba(10,165,106,.07), transparent 56%);
  pointer-events: none;
  z-index: 0;
}
#anfrage .container{ position: relative; z-index: 1; }

#anfrage .panel{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
#anfrage .kicker{
  background: rgba(22,193,114,.14);
  border-color: rgba(22,193,114,.28);
  color: #31e094;
}
#anfrage h2{ color: #fff; }
#anfrage h3{ color: rgba(255,255,255,.88); }

/* Form in dark context */
#anfrage .form{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}
#anfrage .field label{ color: rgba(255,255,255,.46); }
#anfrage .control{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
}
#anfrage .control input,
#anfrage .control textarea,
#anfrage .control select{
  color: rgba(255,255,255,.88);
}
#anfrage .control input::placeholder,
#anfrage .control textarea::placeholder{
  color: rgba(255,255,255,.32);
}
#anfrage .control:focus-within{
  border-color: rgba(22,193,114,.45);
  box-shadow: 0 0 0 4px rgba(22,193,114,.12);
  background: rgba(255,255,255,.10);
}
/* Select arrow white on dark */
#anfrage .control select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Secondary "Nach oben" button on dark */
#anfrage a.btn:not(.primary){
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.78);
}
#anfrage a.btn:not(.primary):hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.26);
}
/* Status text on dark */
#anfrage #contactStatus{ color: rgba(255,255,255,.58); }
/* Chrome autofill dark override */
#anfrage .control input:-webkit-autofill,
#anfrage .control input:-webkit-autofill:hover,
#anfrage .control input:-webkit-autofill:focus{
  -webkit-box-shadow: 0 0 0 1000px rgba(12,30,20,.95) inset;
  -webkit-text-fill-color: rgba(255,255,255,.88);
  transition: background-color 5000s ease-in-out 0s;
}

/* =========================================================
   DARK FOOTER — Premium treatment
   ========================================================= */

footer{
  background: #07100a;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 52px;
}
.footer-logo{
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: .70;
}
.foot a{ color: rgba(255,255,255,.48); }
.foot a:hover{ color: rgba(255,255,255,.88); }
.foot .kicker{
  background: transparent;
  border-color: transparent;
  padding: 0;
  color: rgba(255,255,255,.36);
  font-size: 10px;
  letter-spacing: .18em;
}


/* =========================================================
   PREMIUM POLISH — Round 2
   ========================================================= */

/* --- Page background: clean, crisp, premium white --- */
/* Override base.css global background for this page only */
html{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E") repeat,
    radial-gradient(1600px 650px at 50% -40px, rgba(22,193,114,.08), transparent 58%),
    #f8f8f6;
  background-size: 180px 180px, auto, auto;
  background-attachment: fixed, fixed, fixed;
  background-blend-mode: soft-light, normal, normal;
}

/* --- Cards (Vorteile): left green accent, premium shadow stack --- */
.card{
  padding: 28px 28px 26px;
  background: #fff;
  border: 1px solid rgba(8,19,15,.065);
  border-left: 3px solid rgba(22,193,114,.32);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 8px 24px rgba(8,19,15,.06),
    0 24px 64px rgba(8,19,15,.06);
  transition: transform .28s var(--ease2), box-shadow .28s var(--ease), border-left-color .28s var(--ease);
  will-change: transform;
}
.card::before{ display: none; } /* replaced by border accent */
.card:hover{
  transform: translateY(-5px);
  border-left-color: var(--green);
  box-shadow:
    0 2px 6px rgba(8,19,15,.04),
    0 14px 40px rgba(8,19,15,.09),
    0 36px 90px rgba(8,19,15,.09);
}

/* Icon: slightly larger, more defined */
.icon{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(22,193,114,.11);
  border: 1px solid rgba(22,193,114,.26);
}
.icon svg{
  width: 24px;
  height: 24px;
  color: rgba(8,19,15,.82);
}
.card h3{ margin-top: 14px; }
.card p{ margin-top: 10px; color: rgba(8,19,15,.64); line-height: 1.7; }

/* --- Grid gaps: more breathing room --- */
.cards{ gap: 20px; }
.tiles{ gap: 20px; }

/* --- Tiles (Einsatzbereiche): taller image, zoom, stronger overlay --- */
.tile{
  background: #fff;
  border-color: rgba(8,19,15,.06);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 8px 24px rgba(8,19,15,.06),
    0 24px 60px rgba(8,19,15,.06);
  transition: transform .32s var(--ease2), box-shadow .32s var(--ease), border-color .28s var(--ease);
}
.tile:hover{
  transform: translateY(-6px);
  box-shadow:
    0 2px 8px rgba(8,19,15,.04),
    0 16px 48px rgba(8,19,15,.10),
    0 40px 100px rgba(8,19,15,.10);
  border-color: rgba(22,193,114,.22);
}

/* Taller image + darker, more cinematic overlay */
.tile-media{
  height: 210px;
  overflow: hidden;
}
.tile-media img{
  transform: scale(1.04);
  transition: transform .7s var(--ease2);
  filter: saturate(1.04) contrast(1.06);
}
.tile:hover .tile-media img{
  transform: scale(1.10);
}
.tile-media::after{
  background: linear-gradient(180deg,
    rgba(0,0,0,.04) 0%,
    rgba(0,0,0,.18) 50%,
    rgba(0,0,0,.58) 100%);
}

/* Tile body: more padding, cleaner text */
.tile-body{ padding: 20px 20px 22px; }
.tile h3{ margin-top: 12px; font-size: 18px; }
.tile-static-copy{ color: rgba(8,19,15,.62); line-height: 1.65; font-size: 14px; }

/* Badge pills on tiles: more defined */
.badge{
  padding: 6px 11px;
  background: rgba(255,255,255,.94);
  border-color: rgba(8,19,15,.09);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge b{ color: rgba(8,19,15,.88); }

/* --- CTA panel (Einsatzbereiche bottom) --- */
#einsatzbereiche .panel{
  background: linear-gradient(135deg,
    rgba(22,193,114,.07) 0%,
    rgba(10,165,106,.03) 100%),
    #fff;
  border-color: rgba(22,193,114,.20);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 10px 32px rgba(8,19,15,.07);
}

/* --- Panels: universal premium treatment --- */
.panel{
  background: #fff;
  border-color: rgba(8,19,15,.07);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 10px 32px rgba(8,19,15,.07),
    0 28px 70px rgba(8,19,15,.07);
}

/* Slide background cleaner */
.slide{
  background: linear-gradient(160deg,
    rgba(22,193,114,.05) 0%,
    rgba(255,255,255,0) 45%),
    #fafaf8;
}

/* --- News card: full punch --- */
.news{
  background: #fff;
  border-color: rgba(8,19,15,.06);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 10px 32px rgba(8,19,15,.07),
    0 30px 80px rgba(8,19,15,.08);
}

/* --- About box: crisper --- */
.about .box{
  background: #fff;
  border-color: rgba(8,19,15,.07);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 10px 32px rgba(8,19,15,.07),
    0 28px 70px rgba(8,19,15,.07);
  padding: 32px;
}

/* --- Calculator result: premium gradient --- */
.result{
  background:
    linear-gradient(145deg,
      rgba(22,193,114,.12) 0%,
      rgba(10,165,106,.06) 40%,
      rgba(255,255,255,0) 70%),
    #fff;
  border-color: rgba(22,193,114,.18);
  box-shadow:
    0 1px 3px rgba(8,19,15,.03),
    0 10px 32px rgba(8,19,15,.07),
    0 28px 70px rgba(8,19,15,.07);
}

/* --- Form: crisper inputs --- */
.form{
  background: #fff;
  border-color: rgba(8,19,15,.07);
}
.control{
  background: #f8f8f6;
  border-color: rgba(8,19,15,.09);
  border-radius: 14px;
}
.control:focus-within{
  border-color: rgba(22,193,114,.45);
  box-shadow: 0 0 0 3px rgba(22,193,114,.10);
  background: #fff;
}

/* --- Stat panels (Nachweise) bigger numbers --- */
.stat .big{ font-size: 48px; }

/* --- Slider controls: more premium --- */
.s-btn{
  background: #fff;
  border-color: rgba(8,19,15,.10);
  box-shadow: 0 2px 8px rgba(8,19,15,.06), 0 8px 24px rgba(8,19,15,.07);
}
.s-btn:hover{
  box-shadow: 0 4px 14px rgba(8,19,15,.08), 0 14px 40px rgba(8,19,15,.09);
}

/* --- Subtle section transition after dark Nachweise --- */
#kunden{
  position: relative;
  padding: 72px 0;
}
#kunden::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(12,30,20,.06), transparent);
  pointer-events: none;
  z-index: 0;
}
#kunden .container{ position: relative; z-index: 1; }
#kunden h2{ margin-top: 10px; }
.kunden-sub{
  margin-top: 12px;
  color: rgba(8,19,15,.65);
  max-width: 560px;
  line-height: 1.7;
}
.kunden-cta{ margin-top: 28px; }


/* =========================================================
   NAVBAR + LANGUAGE DROPDOWN — Premium Upgrade
   ========================================================= */

/* --- Navbar bar: tighter, more defined, inner glow --- */
.nav .bar{
  padding: 8px 8px 8px 16px;
  border: 1px solid rgba(8,19,15,.09);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 2px 8px rgba(8,19,15,.04),
    0 12px 40px rgba(8,19,15,.09);
}

/* On hero (glass) */
.nav.is-scrolled .bar{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.20);
  backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 6px 28px rgba(8,19,15,.07);
}

/* After hero (crisp opaque) */
.nav.is-past-hero .bar{
  background: rgba(255,255,255,.92);
  border-color: rgba(8,19,15,.08);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 8px rgba(8,19,15,.04),
    0 12px 40px rgba(8,19,15,.10);
}

/* --- Nav links: cleaner, slightly heavier weight --- */
.links a{
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(8,19,15,.65);
  padding: 9px 12px;
  letter-spacing: -0.01em;
}
.links a:hover{
  background: rgba(8,19,15,.05);
  color: rgba(8,19,15,.90);
  transform: none;
}

/* --- Anfrage CTA button in navbar --- */
.nav .bar .btn.primary{
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}

/* =========================================================
   LANGUAGE BUTTON
   ========================================================= */

.lang-btn{
  height: 40px;
  padding: 0 12px;
  gap: 7px;
  border: 1px solid rgba(8,19,15,.10);
  background: rgba(248,248,246,.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.80),
    0 1px 3px rgba(8,19,15,.04),
    0 4px 12px rgba(8,19,15,.06);
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-btn:hover{
  transform: none;
  background: #fff;
  border-color: rgba(22,193,114,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 6px rgba(8,19,15,.05),
    0 8px 24px rgba(8,19,15,.08);
}
.lang-btn:active{ transform: scale(.98); }

/* Globe icon before language name (nav only) */
.is-nav .lang-btn::before{
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  opacity: .52;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%230b1b14' stroke-width='1.6'/%3E%3Cpath d='M12 3c-2 4-2 14 0 18M12 3c2 4 2 14 0 18M3.5 9h17M3.5 15h17' stroke='%230b1b14' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.lang-current{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(8,19,15,.86);
}

.lang-caret{
  font-size: 10px;
  color: rgba(8,19,15,.36);
  margin-left: -2px;
}

/* =========================================================
   LANGUAGE DROPDOWN MENU — Complete redesign
   ========================================================= */

.lang-menu{
  top: calc(100% + 10px);
  min-width: 272px;
  padding: 8px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(8,19,15,.07);
  will-change: transform;
  background: #fff;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 4px 16px rgba(8,19,15,.06),
    0 18px 56px rgba(8,19,15,.10),
    0 48px 120px rgba(8,19,15,.13);
  transform: translateY(-8px) scale(.98);
  transition: opacity .18s var(--ease), transform .20s var(--ease);
}

.lang-dd.open .lang-menu{
  transform: translateY(0) scale(1);
}

/* 2-column grid — only in navbar, not drawer */
.is-nav .lang-menu{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Individual items: flat, no border, clean hover */
.lang-item{
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 13px;
  border: none;
  background: transparent;
  color: rgba(8,19,15,.68);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background .12s, color .12s;
}
.lang-item:hover{
  background: rgba(22,193,114,.08);
  color: rgba(8,19,15,.92);
}
.lang-item.active{
  background: rgba(22,193,114,.13);
  color: #0a9a58;
  font-weight: 700;
}

/* Drawer: single column, compact */
.is-drawer .lang-menu{
  display: block;
  min-width: unset;
  border-radius: 16px;
  box-shadow:
    0 4px 16px rgba(8,19,15,.06),
    0 12px 36px rgba(8,19,15,.09);
}
.is-drawer .lang-item{
  padding: 11px 14px;
  border-radius: 10px;
}

/* =========================================================
   MOBILE DRAWER — Premium styling
   ========================================================= */

.drawer .card{
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(8,19,15,.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    0 8px 32px rgba(8,19,15,.10),
    0 32px 80px rgba(8,19,15,.14);
  padding: 20px;
}
.m-link{
  border-radius: 14px;
  border-color: rgba(8,19,15,.07);
  background: rgba(248,248,246,.90);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 16px;
}
.m-link:hover{
  background: rgba(22,193,114,.07);
  border-color: rgba(22,193,114,.20);
}


/* =========================================================
   SUFFIX (€/l, %, Monate) — base style
   ========================================================= */

.suffix{
  display: flex;
  align-items: center;
  padding: 0 14px 0 12px;
  border-left: 1px solid rgba(8,19,15,.10);
  font-size: 13px;
  font-weight: 600;
  color: rgba(8,19,15,.50);
  white-space: nowrap;
  flex: 0 0 auto;
}


/* =========================================================
   RECHNER — Premium Hero Treatment
   ========================================================= */

#rechner{
  background: #0c1e14;
  padding: 112px 0;
  position: relative;
  isolation: isolate;
}
#rechner::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 650px at 85% 45%, rgba(22,193,114,.11), transparent 55%),
    radial-gradient(700px 500px at 8%  80%, rgba(10,165,106,.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
#rechner .container{ position: relative; z-index: 1; }

/* Kicker + headings */
#rechner .kicker{
  background: rgba(22,193,114,.14);
  border-color: rgba(22,193,114,.30);
  color: #31e094;
}
#rechner h2{ color: #fff; }
#rechner h3{ color: rgba(255,255,255,.88); }

/* Grid: result slightly wider */
#rechner .calc{
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
}

/* -------------------------------------------------------
   Form panel (dark glass)
------------------------------------------------------- */
#rechner .form{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px;
}
#rechner .field label{ color: rgba(255,255,255,.44); }
#rechner .field--prefs-end{
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 4px;
}

#rechner .control{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
}
#rechner .control input,
#rechner .control select{
  color: rgba(255,255,255,.88);
}
#rechner .control input::placeholder{ color: rgba(255,255,255,.32); }
#rechner .control:focus-within{
  border-color: rgba(22,193,114,.45);
  box-shadow: 0 0 0 3px rgba(22,193,114,.12);
  background: rgba(255,255,255,.10);
}
/* White select arrow */
#rechner .control select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23ffffff' stroke-opacity='.5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Suffix on dark */
#rechner .suffix{
  border-left-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.40);
}
/* Autofill override */
#rechner .control input:-webkit-autofill,
#rechner .control input:-webkit-autofill:hover,
#rechner .control input:-webkit-autofill:focus{
  -webkit-box-shadow: 0 0 0 1000px rgba(12,30,20,.95) inset;
  -webkit-text-fill-color: rgba(255,255,255,.88);
  transition: background-color 5000s ease-in-out 0s;
}
/* Reset button */
#rechner .btn:not(.primary){
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
}
#rechner .btn:not(.primary):hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.26);
}

/* -------------------------------------------------------
   Result panel — THE STAR
------------------------------------------------------- */
#rechner .result{
  background:
    radial-gradient(700px 500px at 20% 15%, rgba(22,193,114,.18), transparent 55%),
    radial-gradient(500px 400px at 85% 85%, rgba(10,165,106,.13), transparent 55%),
    rgba(255,255,255,.06);
  border-color: rgba(22,193,114,.24);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 36px;
  position: sticky;
  top: 100px;
  will-change: transform;
}

/* Main result number — dramatic */
#rechner .result .big{
  font-size: 72px;
  color: #fff;
  text-shadow: 0 0 50px rgba(22,193,114,.45);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 14px 0 8px;
}

/* Subtitle "Jährliche Ersparnis" */
#rechner #roiSub{ color: rgba(255,255,255,.52) !important; }

/* Stat boxes */
#rechner .stat{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
#rechner .stat .label{ color: rgba(255,255,255,.42); }

/* Inline-styled stat values (override inline color) */
#rechner #roiPrimary,
#rechner #roiSecondary{ color: rgba(255,255,255,.90) !important; }

/* Pill badges */
#rechner .pill{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.62);
}
#rechner .pill i{
  background: linear-gradient(135deg, var(--green), var(--green2));
}

/* Mini stats (Mietdetails) */
#rechner .mini-stat{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
#rechner .mini-label{ color: rgba(255,255,255,.44); }
#rechner .mini-stat strong{ color: rgba(255,255,255,.88); }
#rechner .rent-panel{ border-top-color: rgba(255,255,255,.10); }

/* Result kicker "Ergebnis" */
#rechner .result .kicker{
  background: rgba(22,193,114,.16);
  border-color: rgba(22,193,114,.32);
  color: #31e094;
}

/* -------------------------------------------------------
   Glow-Puls animation when result updates
------------------------------------------------------- */
@keyframes calcGlow{
  0%  { text-shadow: 0 0 50px rgba(22,193,114,.45); }
  45% { text-shadow: 0 0 90px rgba(22,193,114,.80), 0 0 30px rgba(22,193,114,.55); }
  100%{ text-shadow: 0 0 50px rgba(22,193,114,.45); }
}

#calcResult.is-updating .big{
  animation: calcGlow .45s var(--ease2);
}

/* -------------------------------------------------------
   Responsive
------------------------------------------------------- */
@media (max-width: 980px){
  #rechner .calc{ grid-template-columns: 1fr; }
  #rechner .result{ position: static; padding: 28px; }
  #rechner .result .big{ font-size: 56px; }
}

/* =========================================================
   REFERENZEN TEASER — #kunden index section & ref-* classes
   (full styles live in referenzen.css; these ensure the
   index teaser renders even if referenzen.css is not cached)
   ========================================================= */

.ref-teaser-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.ref-card{
  border-radius: var(--r-xl);
  border: 1px solid rgba(8,19,15,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 55px rgba(8,19,15,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease2), box-shadow .3s var(--ease);
}
.ref-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(8,19,15,.13);
}

.ref-card-img{
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(22,193,114,.14), rgba(10,165,106,.07));
}
.ref-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease2);
}
.ref-card:hover .ref-card-img img{ transform: scale(1.05); }

.ref-card-body{
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ref-card-quote{
  font-size: 15px;
  line-height: 1.72;
  color: rgba(8,19,15,.75);
  margin-top: 10px;
  flex: 1;
}

.ref-badge{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.01em;
  color: #0aa55e;
  background: rgba(10,165,94,.10);
  border: 1px solid rgba(10,165,94,.22);
  border-radius: 999px;
  padding: 5px 13px;
  margin-top: 14px;
  width: fit-content;
}

.ref-card-who{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(8,19,15,.07);
}
.ref-card-who strong{
  display: block;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.03em;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.2;
}
.ref-card-who span{
  display: block;
  font-size: 12px;
  color: rgba(8,19,15,.52);
  margin-top: 2px;
}

@media (max-width: 960px){
  .ref-teaser-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .ref-teaser-grid{ grid-template-columns: 1fr; }
}
