/* Tokama Sourcing — modern one-pager (DE/IT) */
/* Color system (70–85% blue/neutrals, 5–10% orange) */
:root{
  --blue-950:#041a35;
  --blue-900:#06234a;
  --blue-800:#0b3a7a;
  --blue-700:#0f4aa0;
  --blue-600:#1e5bd6;

  --orange-500:#f58220;
  --orange-600:#ea6a00;

  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#53647a;
  --line:#e6edf7;

  --shadow: 0 12px 40px rgba(7, 24, 50, .12);
  --shadow2: 0 8px 22px rgba(7, 24, 50, .10);
  --radius: 22px;
  --radius2: 32px;

  --max: 1180px;
  --header-h: 80px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 15% -10%, rgba(30,91,214,.15), transparent 55%),
              radial-gradient(900px 500px at 95% 5%, rgba(245,130,32,.12), transparent 60%),
              var(--bg);
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; }
.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }
.skip{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 14px; background:#fff; border:1px solid var(--line);
  z-index:9999; border-radius:10px;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(230,237,247,.9);
}
.header-inner{
  height: var(--header-h);
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 170px;
}
.brand-logo{
  height: 70px;
  width: auto;
  display:block;
  object-fit: contain;
}
.brand small{
  display:block; font-size:12px; color:var(--muted);
  margin-top:2px;
}
.nav{
  display:flex; align-items:center; gap:10px;
  flex-wrap:nowrap;
  justify-content:flex-start;
  white-space:nowrap;
}
.nav a{
  font-size:14px;
  padding:10px 10px;
  color:#173255;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}
.nav a:hover{ background: rgba(15,74,160,.08); transform: translateY(-1px); }
.nav a.active{ background: rgba(15,74,160,.10); color:#112a48; }

.nav-more{
  position:relative;
}
.nav-more > summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  font-size:14px;
  padding:10px 10px;
  color:#173255;
  border-radius:12px;
  transition: background .18s ease, transform .18s ease;
}
.nav-more > summary::-webkit-details-marker{ display:none; }
.nav-more > summary:hover{ background: rgba(15,74,160,.08); transform: translateY(-1px); }

.nav-more[open] > summary{
  background: rgba(15,74,160,.10);
}
.nav-more-menu{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display:grid;
  gap:6px;
}
.nav-more-menu a{
  padding:10px 10px;
  border-radius:12px;
}
.nav-more-menu a:hover{ background: rgba(15,74,160,.08); }

.header-ctas{
  display:flex; align-items:center; gap:10px;
}


.lang{
  border:1px solid var(--line);
  background:#fff;
  border-radius: 14px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:8px;
  box-shadow: var(--shadow2);

  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;

  width: 132px;
  min-width: 132px;
}

.lang *{
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* KEIN ORANGE: Fokus in Blau (oder wenn du willst: komplett entfernen) */
.lang:focus-within{
  border-color: rgba(15,74,160,.40);
  box-shadow: var(--shadow2), 0 0 0 4px rgba(15,74,160,.12);
}

.lang select{
  border:none;
  outline:none;
  background:transparent;
  font-size:14px;
  color:#1b2f4a;
  cursor: pointer;

  min-width: 0;
  width: 100%;

  /* Arrow wieder normal lassen (kein appearance:none) */
}



.btn{
  border:none; cursor:pointer; border-radius: 16px;
  padding: 12px 14px;
  font-weight: 650;
  letter-spacing: .2px;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
}
.btn:active{ transform: translateY(1px) scale(.99); }
.btn-primary{
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color:#1a1209;
  box-shadow: 0 12px 32px rgba(245,130,32,.30);
}
.btn-primary:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn-ghost{
  background: rgba(15,74,160,.08);
  border: 1px solid rgba(15,74,160,.15);
  color:#123050;
}
.btn-ghost:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn-pill{
  border-radius:999px;
  padding:12px 18px;
}

/* Mobile nav */
.burger{ display:none; }
.mobile-drawer{
  display:none;
  position:fixed; inset: var(--header-h) 12px 12px 12px;
  background: rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 14px;
  z-index:80;
}
.mobile-drawer a{
  display:block; padding:12px 12px; border-radius:14px;
  border: 1px solid transparent;
}
.mobile-drawer a:hover{ background: rgba(15,74,160,.08); border-color: rgba(15,74,160,.12); }

/* Hero */
.hero{
  position:relative;
  padding: 42px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:stretch;
}
.hero-card{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(6,35,74,.88), rgba(4,26,53,.88));
  color:#eaf2ff;
  box-shadow: var(--shadow);
  min-height: 520px;
}
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  opacity:.46;
  filter: saturate(1.1) contrast(1.05);
}
.hero-overlay{
  position:absolute; inset:0;
  background: radial-gradient(800px 380px at 15% 12%, rgba(30,91,214,.55), transparent 55%),
              radial-gradient(700px 360px at 90% 18%, rgba(245,130,32,.35), transparent 60%),
              linear-gradient(180deg, rgba(4,26,53,.35), rgba(4,26,53,.80));
}
.hero-content{
  position:relative;
  padding: 38px 34px;
  height:100%;
  display:flex; flex-direction:column; justify-content:space-between; gap:18px;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  color:#ee740d;
}
.kicker-dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--orange-500);
  box-shadow: 0 0 0 0 rgba(245,130,32,.28);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot{
  0%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(245,130,32,.28); }
  55%{ transform: scale(1.08); box-shadow: 0 0 0 14px rgba(245,130,32,0); }
  100%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(245,130,32,0); }
}
.hero h1{
  margin: 10px 0 0;
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -.02em;
}
.hero p{
  margin: 12px 0 0;
  font-size: 16px;
  color: rgb(149 149 149 / 88%);
  line-height: 1.6;
  max-width: 72ch;
}
.hero-bullets{
  margin: 14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.hero-bullets li{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.icon{
  width:20px; height:20px; flex:0 0 20px;
  border-radius: 7px;
  background: rgba(245,130,32,.22);
  border: 1px solid rgba(245,130,32,.42);
  display:grid; place-items:center;
}
.icon svg{ width:14px; height:14px; fill: var(--orange-500); }
.hero-actions{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 14px;
}
.hero-side{
  display:flex; flex-direction:column; gap: 18px;
}
.panel{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  padding: 20px 20px;
  overflow:hidden;
  position:relative;
}
.panel::before{
  content:"";
  position:absolute; inset:-1px -1px auto -1px; height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--orange-500));
}
.panel h3{
  margin:6px 0 0;
  font-size: 18px;
  letter-spacing:-.01em;
}
.badges{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top: 12px;
}
.badge{
  font-size:12px;
  background: rgba(15,74,160,.08);
  color:#16375c;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,74,160,.12);
}

/* Hero: Zertifikate/Standards – Logos groß & ohne Chip-Hintergrund */
.cert-logos{
  gap: 14px;              /* etwas mehr Abstand zwischen Logos */
  align-items: center;
}

/* entfernt Hintergrund/Border/Padding nur bei den Zertifikats-Logos */
.cert-logos .badge{
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Wrapper bleibt flexibel, aber ohne Extra-Padding */
.cert-logos .badge--logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  padding: 0;
}

/* Logo-Größe */
.cert-logos .badge--logo img{
  height: 36px;           /* <- hier größer/kleiner machen (z.B. 40px / 44px) */
  width: auto;
  display:block;
  object-fit: contain;
}

@media (max-width: 560px){
  .cert-logos .badge--logo img{
    height: 30px;
  }
}

.mini-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.stat{
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 14px;
}
.stat .n{
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--blue-800);
}
.stat .l{
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Floating CTA */
.floating-cta{
  position:fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display:flex;
  gap:10px;
  align-items:center;
  pointer-events:none;
}

.floating-cta .btn{
  pointer-events:auto;
  box-shadow: 0 18px 44px rgba(7,24,50,.18);
}
.floating-cta .hint{
  display:none;
  font-size:12px;
  color:#fff;
  background: rgba(4,26,53,.86);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}

/* Sections */
section{
  padding: 62px 0;
}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:18px;
  margin-bottom: 18px;
}
.section-head h2{
  margin: 8px 0 0;
  font-size: 34px;
  letter-spacing: -.02em;
}
.section-head p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 58ch;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  padding: 22px;
  position:relative;
  overflow:hidden;
}
.card strong{ color:#0a2347; }
.card .muted{ color: var(--muted); }
.card-media{
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(230,237,247,.9);
  box-shadow: 0 12px 32px rgba(7,24,50,.10);
  background: #fff;
}
.card-media img{ display:block; width:100%; height:auto; }

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step{
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 16px;
  position:relative;
  overflow:hidden;
}
.step::before{
  content:"";
  position:absolute; inset: -2px auto -2px -2px;
  width: 6px;
  background: linear-gradient(180deg, var(--orange-500), rgba(245,130,32,0));
}
.step h4{
  margin:0;
  font-size: 15px;
}
.step p{
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.list{
  margin: 14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.82);
}
.list .li-text{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 0;
}
.list .li-title{
  font-weight: 650;
  color: #0b1220;
  line-height: 1.35;
}
.list .li-sub{
  font-size: 12px;
  color: rgba(23,50,85,.72);
  line-height: 1.45;
}
.check{
  width:22px;
  height:22px;
  min-width:22px;
  min-height:22px;
  flex: 0 0 22px;              /* <-- verhindert Schrumpfen bei langem Text */
  border-radius: 8px;
  display:flex;                /* <-- stabileres Zentrieren als grid bei Glyphen */
  align-items:center;
  justify-content:center;
  line-height: 1;              /* <-- verhindert „springende“ Zeichenhöhe */
  font-size: 14px;
  margin-top: 1px;             /* <-- kleine optische Korrektur zur Textzeile */
  background: rgba(30,91,214,.10);
  border:1px solid rgba(30,91,214,.20);
}

.cross{
  width:22px;
  height:22px;
  min-width:22px;
  min-height:22px;
  flex: 0 0 22px;              /* <-- verhindert Schrumpfen bei langem Text */
  border-radius: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height: 1;
  font-size: 14px;
  margin-top: 1px;
  background: rgba(245,130,32,.12);
  border:1px solid rgba(245,130,32,.24);
}


.feature-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.feature{
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 18px;
  box-shadow: 0 10px 24px rgba(7,24,50,.06);
}
.feature h4{ margin:0; font-size: 16px; }
.feature p{ margin:10px 0 0; color:var(--muted); font-size: 13px; line-height: 1.55; }

/* === Nummerierung nur in "Warum Tokama" (Section #value) === */
.feature-grid[data-value-cards]{
  counter-reset: valueCard;
}
.feature-grid[data-value-cards] .feature h4{
  display:flex;
  align-items:center;
  gap:10px;
}
.feature-grid[data-value-cards] .feature h4::before{
  counter-increment: valueCard;
  content: counter(valueCard); /* optional: decimal-leading-zero → 01, 02, 03... */
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:inline-grid;
  place-items:center;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--orange-600);
  background: rgba(245,130,32,.12);
  border: 1px solid rgba(245,130,32,.28);
}


.logo-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.logo-card{
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px;
  display:grid;
  place-items:center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.logo-card:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7,24,50,.10); }
.logo-card img{ width:100%; height:auto; opacity:.95; }

/* === Partners: Logo-Grid einklappbar (2–3 Zeilen + Fade/Blur) === */
.logo-grid-wrap{
  position:relative;
  padding: 4px;      /* verhindert “abgeschnittene” Hover-Shadows */
  margin: -4px;      /* gleicht das Padding optisch wieder aus */
  transition: max-height .42s ease;
}
.logo-grid-wrap.is-collapsed{
  overflow:hidden;
}
.logo-grid-wrap.is-expanded{
  overflow:visible;
}

.logo-grid-fade{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 96px;
  pointer-events:none;
  opacity: 0;
  background: linear-gradient(
    to bottom,
    rgba(246,248,251,0) 0%,
    rgba(246,248,251,.55) 35%,
    rgba(246,248,251,.96) 100%
  );
  backdrop-filter: blur(7px);
}

/* Desktop: Fade schwächer + etwas weniger Blur, damit man die 3. Zeile besser erkennt */
@media (min-width: 761px){
  .logo-grid-fade{
    height: 86px;
    background: linear-gradient(
      to bottom,
      rgba(246,248,251,0) 0%,
      rgba(246,248,251,.30) 42%,
      rgba(246,248,251,.74) 100%
    );
    backdrop-filter: blur(4px);
  }
}

.logo-grid-wrap.is-collapsed .logo-grid-fade{
  opacity: 1;
}

.logo-grid-toggle{
  margin: 14px auto 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow2);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.logo-grid-toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(7,24,50,.12);
}
.logo-grid-toggle img{
  width: 24px;
  height: 24px;
  display:block;
  object-fit: contain;

  /* deine Pfeile sind E3E3E3 → auf hellem BG “schwarz” machen */
  filter: invert(1) grayscale(1) brightness(.25) contrast(1.05);
}

@media (prefers-reduced-motion: reduce){
  .logo-grid-wrap{ transition:none; }
  .logo-grid-toggle{ transition:none; }
}


.testimonials{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quote{
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  position:relative;
  overflow:hidden;

  /* NEU: sorgt dafür, dass der Name/Avatar immer unten sitzt */
  display:flex;
  flex-direction:column;
  height:100%;
}

.quote::before{
  content:"“";
  position:absolute;
  top:-18px; left:10px;
  font-size: 86px;
  color: rgba(15,74,160,.12);
  font-weight: 900;
}

.quote .q{
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color:#152a45;

  /* NEU: nimmt den verfügbaren Platz ein → Autorenzeile bleibt unten */
  flex: 1 1 auto;
}

.quote .a{
  display:flex; align-items:center; gap:10px;

  /* NEU: statt fixer margin-top */
  margin-top: auto;
  padding-top: 14px;

  color: var(--muted);
  font-size: 13px;
}

.quote .logo{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:#fff;
  display:grid; place-items:center;
  overflow:hidden;
}

.quote .logo img{ width: 62px; height:auto; }


.map{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow2);
}
.map iframe{
  width:100%;
  height: 420px;
  border:0;
  display:block;
}

.contact-wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
form{
  display:grid;
  gap: 10px;
}
.field{
  display:grid;
  gap: 6px;
}
label{
  font-size: 12px;
  color: var(--muted);
}
input, textarea{
  width:100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 12px 12px;
  font-size: 14px;
  outline:none;
  background: rgba(255,255,255,.92);
}
textarea{ min-height: 128px; resize: vertical; }
input:focus, textarea:focus{
  border-color: rgba(245,130,32,.55);
  box-shadow: 0 0 0 4px rgba(245,130,32,.14);
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkbox{
  display:flex;
  gap: 10px;
  align-items: center;               /* <-- wichtig: vertikal zentrieren */
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
}

.checkbox input{
  width:18px;
  height:18px;
  margin: 0;                         /* <-- raus mit dem Top-Offset */
  flex: 0 0 18px;                    /* <-- verhindert "springen" */
}

/* Datenschutz-Label: nicht auswählbar (keine Text-Markierung) */
.checkbox label{
  -webkit-user-select: none; /* Safari/iOS */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* alte Edge */
  user-select: none;         /* Standard */
}

.small{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.direct-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.direct-head h3{
  margin:0;
}

.direct-avatar{
  width:56px;
  height:56px;
  flex: 0 0 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(7,24,50,.10);
  background:#fff;
}

.direct{
  display:grid;
  gap: 10px;
}
.direct-compact{
  display:grid;
  gap: 10px;
}
.direct-primary{
  display:grid;
  gap: 10px;
}
.direct-more{
  border-radius: 22px;
  border: 1px solid var(--line);
  background:#fff;
  overflow:hidden;
}
.direct-more > summary{
  list-style:none;
  cursor:pointer;
  padding: 14px;
  font-weight: 750;
  color:#0b2a4d;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.direct-more > summary::-webkit-details-marker{ display:none; }
.direct-more > summary::after{
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(15,74,160,.14);

  /* Kreis + Plus (2 Linien) – immer exakt mittig */
  background:
    linear-gradient(var(--blue-700), var(--blue-700)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue-700), var(--blue-700)) center / 2px 12px no-repeat,
    rgba(15,74,160,.08);
}

.direct-more[open] > summary::after{
  /* Minus: nur horizontale Linie */
  background:
    linear-gradient(var(--blue-700), var(--blue-700)) center / 12px 2px no-repeat,
    rgba(15,74,160,.08);
}

.direct-more-inner{
  padding: 0 14px 14px;
  display:grid;
  gap: 10px;
}
.direct-more-inner .direct-item{
  border-radius: 16px;
  background: rgba(246,248,251,.55);
}
.direct-item{
  border-radius: 22px;
  background:#fff;
  border: 1px solid var(--line);
  padding: 14px;
}
.direct-item strong{ display:block; font-size: 14px; color:#0b2a4d; }
.direct-item a{ color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.direct-item .muted{ font-size: 12px; }


.footer{
  padding: 34px 0 46px;
  border-top: 1px solid rgba(230,237,247,.9);
  background: rgba(255,255,255,.60);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}

.footer-left{
  display:flex;
  align-items:center;
  gap: 12px;
}

.footer-right{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}

.footer a{
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-version{
  color: var(--muted);
}

/* NEU: Zertifikat immer unten (eigene Zeile), responsive */
.footer-cert{
  flex: 1 0 100%;
  display:flex;
  justify-content:center;   /* Desktop */
  align-items:center;
  gap: 26px;                /* <- MEHR Abstand zwischen den Zertifikaten */
  row-gap: 10px;             /* falls sie umbrechen, bleibt vertikal auch Luft */
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(230,237,247,.65);
}

.footer-cert img{
  height: 44px;                 /* <- größer (war 34px) */
  width: auto;
  max-width: min(320px, 90vw);  /* etwas mehr Luft nach oben */
  display:block;
  object-fit: contain;
}

@media (max-width: 560px){
  .footer-cert{
    justify-content:center;     /* Mobile: zentriert */
    margin-top: 10px;
    padding-top: 10px;
  }
  .footer-cert img{
    height: 34px;               /* Mobile: etwas kleiner */
  }
}



/* Reveal animations */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .70s ease, transform .70s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}
.reveal.delay-1{ transition-delay: .06s; }
.reveal.delay-2{ transition-delay: .12s; }
.reveal.delay-3{ transition-delay: .18s; }
.reveal.delay-4{ transition-delay: .24s; }

/* Subtle float */
.floaty{
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce){
  .kicker-dot{ animation:none; }
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-card{ min-height: 520px; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .feature-grid{ grid-template-columns: 1fr 1fr; }
  .logo-grid{ grid-template-columns: repeat(3, 1fr); }
  .testimonials{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  :root{ --header-h: 74px; }
  .nav{ display:none; }
  .burger{ display:inline-flex; }
  .floating-cta .hint{ display:none; }
  .section-head{ flex-direction:column; align-items:flex-start; }
  .section-head h2{ font-size: 28px; }
  .hero h1{ font-size: 34px; }
  .row{ grid-template-columns: 1fr; }
  .logo-grid{ grid-template-columns: repeat(2, 1fr); }
}


/* Simple hero layout (overrides) */
.hero-grid-simple{
  grid-template-columns: 1fr;
  gap: 22px;
}

.hero-copy{
  padding: 26px;
}
.hero-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(23,50,85,.75);
}
.kicker.mini{
  font-size:12px;
  letter-spacing:.04em;
  text-transform:none;
  color: rgba(23,50,85,.75);
}
.hero-title{
  margin-top: 14px;
  font-size: clamp(34px, 3.1vw, 54px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.hero-subtitle{
  margin-top: 12px;
  max-width: 62ch;
  color: rgba(11,18,32,78);
  font-size: 17px;
  line-height: 1.6;
}

/* kräftigere Scope-Zeile (nur diese eine Zeile) */
.hero-subtitle.hero-scope{
  font-weight: 700;
  color: rgba(11,18,32,.92);
  letter-spacing: -0.01em;
}

.hero-bullets-simple{
  margin-top: 18px;
  display:grid;
  gap: 10px;
}
.hero-bullets-simple li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(230,237,247,.9);
  background: rgba(246,248,251,.55);
}
.hero-bullets-simple .icon{
  width:18px;
  height:18px;
  border-radius: 8px;
  display:grid;
  place-items:center;
  background: rgba(245,130,32,.12);
  color: var(--accent);
  flex: 0 0 auto;
}
.hero-actions{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.hero-bottom{
  margin-top: 18px;
  border-top: 1px solid rgba(230,237,247,.9);
  padding-top: 16px;
}
.hero-bottom-row{
  display:flex;
  gap: 16px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.hero-bottom-block{
  min-width: 240px;
}
.badges-simple{
  margin-top: 10px;
}


.hero-stats{
  /* NUR für diese Stat-Kacheln */
  --stat-icon-size: 34px;   /* <- größer machen (z.B. 32–40px) */
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-right: 5px;
}

@media (max-width: 560px){
  .hero-stats{
    --stat-icon-size: 30px; /* mobile etwas kleiner */
  }
}

.hero-stats .stat{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(230,237,247,.9);
  background: rgba(246,248,251,.55);
  min-width: 170px;

  display:flex;
  gap: 12px;
  align-items:center; /* <- ICON + Textblock zentral */
}

.hero-stats .stat .stat-ico{
  width: var(--stat-icon-size);
  height: var(--stat-icon-size);
  flex: 0 0 var(--stat-icon-size);
  margin-top: 0;             /* <- kein “hochschieben” */
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-stats .stat .stat-ico img{
  width: 100% !important;
  height: 100% !important;
  display:block;
  object-fit:contain;

  /* PNG ist E3E3E3 -> auf hellem BG sichtbar machen */
  filter: invert(1) grayscale(1) brightness(.25) contrast(1.05);
  opacity: .95;
}

.hero-stats .stat .stat-text{
  min-width: 0;
}

/* robuste Farbe (ohne undefinierte CSS-Var) */
.hero-stats .stat .n{
  font-weight: 850;
  letter-spacing:-.01em;
  color: var(--blue-900);
}

/* Label ruhiger */
.hero-stats .stat .l{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(23,50,85,.72);
}

/* Highlight-Kachel: „Europaweite Distribution“ */
.hero-stats .stat.stat--scope{
  position: relative;
  min-width: 240px; /* damit der Titel schön atmen kann */
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,251,.70));
  box-shadow: 0 10px 26px rgba(7,24,50,.08);
}

/* linke Akzentleiste (wirkt wie „verifiziert / scope“) */
.hero-stats .stat.stat--scope::before{
  content:"";
  position:absolute;
  inset:-1px auto -1px -1px;
  width: 5px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--blue-800), var(--blue-800));
  opacity: .95;
}

/* Icon bekommt „Chip“-Look statt „Such-Lupe“ */
.hero-stats .stat.stat--scope .stat-ico{
  border-radius: 14px;
  background: rgba(15,74,160,.06);
  border: 1px solid rgba(15,74,160,.12);
  padding: 6px;
}

/* Titel etwas kompakter, damit er sauber umbrechen kann */
.hero-stats .stat.stat--scope .n{
  font-size: 16px;
  line-height: 1.15;
  max-width: 22ch;
}




.hero-note{
  margin-top: 12px;
  color: rgba(23,50,85,.72);
}

.hero-media{
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding: 18px;
}

/* 2 Fotos untereinander */
.hero-media-gallery{
  display:grid;
  gap: 12px;
}

/* Foto-Frame (statt Video) */
.hero-photo{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(230,237,247,.9);
  background: #fff;
  aspect-ratio: 16 / 9;
}

.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Mobile/Tablet: nur 1. Foto */
@media (max-width: 980px){
  .hero-photo--desktop{ display:none; }
}

.hero-media-caption{
  color: rgba(23,50,85,.72);
}
.hero-media-cta{
  margin-top:auto;
}


@media (max-width: 980px){
  .nav{ display:none; }
  .burger{ display:inline-flex; }
  .hero-grid-simple{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .hero-bottom-block{ min-width: 0; flex: 1 1 auto; }
}
@media (max-width: 560px){
  .header-inner{ gap:10px; }
  .brand-logo{ height: 36px; width:auto; }
  .hero-copy{ padding: 20px; }
  .hero-media{ padding: 16px; }
  .hero-actions .btn{ width:100%; justify-content:center; }
}

.hero{ padding: 34px 0 22px; }
.floating-cta .hint{
  display:none;
}
@media (min-width: 900px){
  .floating-cta .hint{ display:block; }
}

/* === ICONS (PNG) – Größe, Farbe & Alignment fix === */
:root{
  --icon-size: 16px; /* global: 16 wirkt sauberer als 18 */
}

/* About: SideNote mit Icon (zentriert + exakt Textfarbe) */
.about-sidenote{
  display:flex;
  gap:10px;
  align-items:center; /* vertikal zur Textzeile zentriert */
}

.about-sidenote-ico{
  width:var(--icon-size);
  height:var(--icon-size);
  flex:0 0 var(--icon-size);

  /* exakt gleiche Farbe wie der Text */
  background-color: currentColor;

  /* WICHTIG: CSS liegt in /css/ → daher ../media/... */
  -webkit-mask: url("../media/icons/double_arrow_512dp_E3E3E3.png") center / contain no-repeat;
  mask: url("../media/icons/double_arrow_512dp_E3E3E3.png") center / contain no-repeat;
}



/* gemeinsame Icon-Wrapper */
.btn-ico,
.lang-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--icon-size);
  height:var(--icon-size);
  flex:0 0 var(--icon-size);
  line-height:1;
}

/* PNG selbst immer exakt skalieren (sonst “zu groß/unscharf”) */
.btn-ico img,
.lang-ico img{
  width:var(--icon-size) !important;
  height:var(--icon-size) !important;
  display:block;
  object-fit:contain;
  image-rendering:auto;
  opacity:.95;
}

/* Buttons: Icon + Text sauber zentrieren */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px; /* mehr Luft zwischen Icon und Text */
}

/* Light-UIs (Ghost-Buttons, Language Selector) brauchen dunkles Icon:
   Deine PNGs sind E3E3E3 (hell) → auf weiß fast unsichtbar → invertieren */
.btn.btn-ghost .btn-ico img,
.lang .lang-ico img,
.lang > img{
  filter: invert(1) grayscale(1) brightness(.25) contrast(1.05);
}

/* Primary Buttons: Rocket-Icon (PNG hell) auf schwarz "umfärben" via Filter */
.btn.btn-primary .btn-ico img{
  /* macht aus dem hellen PNG ein dunkles Icon */
  filter: invert(1) grayscale(1) brightness(.15) contrast(1.15);
  opacity: 1;
}

/* Optional: sorgt dafür, dass das Icon optisch nicht "zu hoch" sitzt */
.btn .btn-ico{
  transform: translateY(0.5px);
}

/* Hero-CTA (Leistungen ansehen): Pfeil "smooth" nur horizontal, klein, 2x beim Hover */
.hero-actions a.btn.btn-ghost[data-nav="scope"] .btn-ico img{
  will-change: transform;
}

@keyframes ctaArrowNudgeX{
  0%   { transform: translateX(0); }
  40%  { transform: translateX(3px); }
  70%  { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.hero-actions a.btn.btn-ghost[data-nav="scope"]:hover .btn-ico img{
  animation: ctaArrowNudgeX 400ms cubic-bezier(.22, 1, .36, 1) 2;
}

@media (prefers-reduced-motion: reduce){
  .hero-actions a.btn.btn-ghost[data-nav="scope"]:hover .btn-ico img{
    animation: none;
  }
}



/* Impressum: Back-Button – Pfeil springt 2x beim Hover */
.btn-back-home .back-arrow{
  display:inline-block;
  line-height: 1;
  will-change: transform;
}

@keyframes backArrowNudgeX{
  0%   { transform: translateX(0); }
  40%  { transform: translateX(-3px); }
  70%  { transform: translateX(-1px); }
  100% { transform: translateX(0); }
}

.btn-back-home:is(:hover, :focus-visible) .back-arrow{
  animation: backArrowNudgeX 400ms cubic-bezier(.22, 1, .36, 1) 2;
}

@media (prefers-reduced-motion: reduce){
  .btn-back-home:is(:hover, :focus-visible) .back-arrow{
    animation: none;
  }
}




/* Accordion "Weitere Kontaktoptionen": Plus-Icon exakt mittig im Kreis */
.accordion summary .acc-ico{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:36px !important;
  height:36px !important;
  line-height:0 !important;
  padding:0 !important;
}

.accordion summary .acc-ico svg{
  display:block !important;
  width:18px !important;
  height:18px !important;
}


.accordion summary .acc-ico svg{
  display:block !important;
  width:18px !important;
  height:18px !important;
}

/* Floating-CTA: Icon größer (nur unten rechts) */
.floating-cta .btn{
  --icon-size: 22px; /* 20–24px je nach Geschmack */
}


/* === GLOBAL IMAGE COPYRIGHT OVERLAY (funktioniert wirklich) === */
.wm{
  position: relative;
  display: block;
  overflow: hidden; /* falls du abgerundete Ecken hast */
}

.wm > img{
  display:block;
  width:100%;
  height:auto;
}

.wm::after{
  content: "© Sixpol Electronics OHG";
  position: absolute;
  right: 10px;      /* <-- rechts */
  bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1;
  color: #e6e6e6;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

/* NUR für ausgewählte Bilder: Copyright ausblenden
   - Variante A: Klasse direkt auf .wm
   - Variante B: Klasse auf einem Parent (z.B. .card-media) */
.wm.wm--no-copyright::after,
.wm--no-copyright .wm::after{
  content: none !important;
  display: none !important;
}


/* Klick-Hinweis */
.wm > img{
  cursor: zoom-in;
}

/* Bilder mit data-nozoom sollen NICHT wie "Lupe/Zoom" wirken */
.wm > img[data-nozoom]{
  cursor: default !important;
}

/* === Lightbox/Dialog === */
.img-dialog{
  border: none;
  padding: 0;
  background: transparent;
  width: min(92vw, 1100px);
  max-width: 1100px;
}

.img-dialog::backdrop{
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(4px);
}

.img-dialog .img-dialog-inner{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  background: #111;
}

.img-dialog img{
  display: block;
  width: 100%;
  height: auto;
}

.img-dialog .img-dialog-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 38px;
}



/* === IMPRESSUM (Layout & Lesbarkeit) === */
.imprint-main{
  padding: 34px 0 60px;
}

.footer--imprint{
  margin-top: 26px;
}

.imprint-dl{
  margin: 14px 0 0;
  padding: 0;
}

.imprint-row{
  margin: 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.imprint-row:first-child{
  border-top: none;
  padding-top: 0;
}

.imprint-row dt{
  margin: 0;
  font-weight: 750;
  color: #0b2a4d;
}

.imprint-row dd{
  margin: 0;
  line-height: 1.65;
  color: #12253d;
}

.imprint-contact a{
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.imprint-accordions{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.imprint-details{
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  overflow: hidden;
}

.imprint-details > summary{
  list-style: none;
  cursor: pointer;
  padding: 14px;
  font-weight: 750;
  color: #0b2a4d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.imprint-details > summary::-webkit-details-marker{
  display: none;
}

/* Plus/Minus Icon (immer mittig) */
.imprint-details > summary::after{
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(15,74,160,.14);
  background:
    linear-gradient(var(--blue-700), var(--blue-700)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue-700), var(--blue-700)) center / 2px 12px no-repeat,
    rgba(15,74,160,.08);
}

.imprint-details[open] > summary::after{
  background:
    linear-gradient(var(--blue-700), var(--blue-700)) center / 12px 2px no-repeat,
    rgba(15,74,160,.08);
}

.imprint-details-body{
  padding: 0 14px 14px;
}

.imprint-details-body p{
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(23,50,85,.78);
}

.imprint-actions{
  margin-top: 14px;
}

@media (max-width: 760px){
  .imprint-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .imprint-row dt{
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
  }
}



/* ------------- Smooth Blur-Fade ohne harte Kante (Mobile + Desktop) ------------- */
#scopeWrap.is-collapsed{
  position: relative;
  overflow: hidden;
}

#scopeWrap.is-collapsed::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  /* länger = weicherer Verlauf (reduziert die sichtbare „Kante“) */
  height: 240px;

  z-index: 2;
  pointer-events: none;

  /* Verlauf zur Seiten-Hintergrundfarbe (bei dir: --bg = #f6f8fb) */
  background: linear-gradient(to bottom,
    rgba(246,248,251,0)    0%,
    rgba(246,248,251,.08) 30%,
    rgba(246,248,251,.45) 70%,
    rgba(246,248,251,.96) 100%
  );

  /* Blur */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Blur-Intensität wirklich smooth von 0 → 100% (mehr Zwischenstufen) */
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0)   18%,
    rgba(0,0,0,.35) 55%,
    rgba(0,0,0,1)  100%
  );
          mask-image: linear-gradient(to bottom,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0)   18%,
    rgba(0,0,0,.35) 55%,
    rgba(0,0,0,1)  100%
  );

  /* Anti-Aliasing/Compositing gegen harte Kanten */
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* ------------- Smooth Blur-Fade ohne harte Kante (Mobile + Desktop) ------------- */



/* ------------- rocket launch ------------- */
/*
@keyframes rocketOutInArc{
  0%{
    transform: translate3d(0,0,0) rotate(0deg) scale(1);
    opacity: 1;
  }

  16%{
    transform: translate3d(2px,-6px,0) rotate(-6deg) scale(1.02);
    opacity: .85;
  }
  28%{
    transform: translate3d(6px,-14px,0) rotate(-10deg) scale(1.05);
    opacity: .35;
  }

  34%{
    transform: translate3d(9px,-18px,0) rotate(-12deg) scale(1.06);
    opacity: 0;
  }

  35%{
    transform: translate3d(-14px,22px,0) rotate(10deg) scale(.98);
    opacity: 0;
  }
  62%{
    transform: translate3d(-9px,13px,0) rotate(6deg) scale(1.01);
    opacity: 0;
  }

  74%{
    transform: translate3d(-6px,8px,0) rotate(3deg) scale(1.01);
    opacity: .28;
  }
  86%{
    transform: translate3d(-3px,4px,0) rotate(2deg) scale(1.01);
    opacity: .75;
  }

  100%{
    transform: translate3d(0,0,0) rotate(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes rocketJitter{
  0%   { transform: translate3d(0,0,0) rotate(0deg); }
  12%  { transform: translate3d(0.25px,-0.20px,0) rotate(-0.25deg); }
  24%  { transform: translate3d(-0.20px,0.25px,0) rotate(0.25deg); }
  36%  { transform: translate3d(0.22px,0.10px,0) rotate(-0.20deg); }
  48%  { transform: translate3d(-0.22px,-0.10px,0) rotate(0.20deg); }
  60%  { transform: translate3d(0.18px,-0.18px,0) rotate(-0.18deg); }
  72%  { transform: translate3d(-0.16px,0.16px,0) rotate(0.16deg); }
  84%  { transform: translate3d(0.12px,-0.12px,0) rotate(-0.12deg); }
  100% { transform: translate3d(0,0,0) rotate(0deg); }
}

.btn.btn-primary .btn-ico{
  display: inline-block;
}

.btn.btn-primary .btn-ico img[src*="rocket_launch"]{
  display: block;
  will-change: transform, opacity;
  transform-origin: 55% 55%;
}

.btn.btn-primary:is(:hover, :focus-visible) .btn-ico{
  will-change: transform;
  animation: rocketJitter 520ms ease-in-out 2;
}

.btn.btn-primary:is(:hover, :focus-visible) .btn-ico img[src*="rocket_launch"]{
  animation: rocketOutInArc 1080ms linear 1;
  animation-fill-mode: none;
}
*/
/* ------------- rocket launch ------------- */



/* Mobile: Header-CTA "Anfrage starten" bleibt 1-zeilig (keine Umbrüche) */
@media (max-width: 560px){

  /* Wichtig: sonst wird der CTA durch die fixe Brand-Minbreite gequetscht */
  .brand{
    min-width: 0;
  }

  /* Nur der Button im Topmenü (Header) */
  .header-ctas > a.btn.btn-primary.btn-pill{
    white-space: nowrap;   /* verhindert den Zeilenumbruch */
    padding: 10px 12px;    /* etwas kompakter, damit es sauber passt */
    font-size: 13px;       /* minimal kleiner, nur im Header auf Mobile */
    line-height: 1;
  }
}

/* Mobile: Kacheln (2-Spalten-Grid) untereinander statt nebeneinander */
@media (max-width: 760px){
  .grid-2{
    grid-template-columns: 1fr;
  }
}


/* Mobile: Map-Höhe reduzieren */
@media (max-width: 760px){
  #mapFrame{
    height: 260px !important; /* überschreibt inline height: 420px */
  }
}

/* Mobile: Scope-Block früher einklappen → Fade/„Blur“ startet schon bei „Das machen wir“ */
@media (max-width: 760px){
  #scopeWrap.is-collapsed{
    max-height: clamp(740px, 102vh, 1120px) !important;
  }
}

/* Mobile: Logistik-Kacheln untereinander */
@media (max-width: 760px){
  .feature-grid[data-warehouses-list]{
    grid-template-columns: 1fr !important;
  }
}



/* Honeypot unsichtbar, aber im DOM */
.hp-field{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* Status-Box: standardmäßig unsichtbar -> kein Leerplatz */
.form-status{
  display: none;          /* <- wichtig */
  margin: 12px 0 10px;
  padding: 12px 14px;
  border-radius: 16px;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.35;
}

/* nur wenn aktiv (JS setzt is-sending / is-ok / is-error) -> anzeigen */
.form-status.is-sending,
.form-status.is-ok,
.form-status.is-error{
  display: flex;
}

/* Sicherheitsnetz: falls leer -> ebenfalls ausblenden */
.form-status:empty{
  display: none;
}

.form-status .form-status-ico{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-top: 1px;
}

.form-status.is-sending{
  background: rgba(11,58,122,.06);
  border: 1px solid rgba(11,58,122,.18);
  color: rgba(11,58,122,1);
}
.form-status.is-ok{
  background: rgba(16,185,129,.10);
  border: 1px solid rgba(16,185,129,.28);
  color: rgba(6,95,70,1);
}
.form-status.is-error{
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.22);
  color: rgba(127,29,29,1);
}

/* Button-Spinner */
.btn .btn-spinner{
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  display: none;
  margin-right: 10px;
  animation: tokamaSpin .7s linear infinite;
}
.btn.is-loading .btn-spinner{ display:inline-block; }
.btn.is-loading{ pointer-events:none; }

@keyframes tokamaSpin { to { transform: rotate(360deg); } }
