/* Local self-hosted Inter (latin) */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:#ffffff; --text:#0b1020; --muted:#5b6475; --border:#e5e7eb;
  --green:#22c55e; --blue:#1f6fff; --blue-hover:#165be6;
  --consent-offset:0px; /* dynamisch per JS */
}

*{ box-sizing:border-box }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--text); font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif; }
img{ max-width:100%; display:block }
.container{ width:min(1100px,92vw); margin:0 auto; }

.site-header{ border-bottom:1px solid var(--border); background:#fff; }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; }
/* Brand in header (non-fixed) with pulsating dot */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--text);
  text-decoration:none;
}

/* Pulsing dot effect */
.brand .dot{
  position:relative;
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--blue);
  display:inline-block;
  transform-origin:center;
  animation:pulse 1.6s cubic-bezier(.4,0,.2,1) infinite;
}

/* Slight glowing halo via pseudo-element for more "special" look */
.brand .dot::after{
  content:'';
  position:absolute;
  width:32px;
  height:32px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle at center, rgba(31,111,255,0.18) 0%, rgba(31,111,255,0.06) 40%, transparent 60%);
  opacity:0.9;
  filter:blur(6px);
}

/* Brand text styling */
.brand-text{ font-weight:800; font-size:14px; letter-spacing:.2px; color:var(--text); text-transform:lowercase; }

/* Pulse keyframes */
@keyframes pulse{
  0%{ transform:scale(1); box-shadow:0 0 0 0 rgba(31,111,255,0.36); }
  70%{ transform:scale(1.35); box-shadow:0 0 0 14px rgba(31,111,255,0); }
  100%{ transform:scale(1); box-shadow:0 0 0 0 rgba(31,111,255,0); }
}

.hero{ display:grid; grid-template-columns:380px 1fr; gap:36px; padding:36px 0; }
.hero-media img{ border:1px solid var(--border); border-radius:8px; }
.hero-caption{ color:var(--muted); font-size:12px; margin-top:8px }

h1{ font-size:34px; line-height:1.2; margin:6px 0 14px; font-weight:800; }
h2{ font-size:22px; margin:0 0 10px; font-weight:800; }
.checklist{ list-style:none; margin:0 0 18px; padding:0; display:grid; gap:12px; }
.checklist li{ display:flex; gap:12px; align-items:flex-start; }
.checklist .check{ display:inline-grid; place-items:center; width:22px; height:22px; border-radius:4px; font-size:14px; font-weight:700; color:#fff; background:var(--green); flex:0 0 22px; }

.btn{ --padY:14px; --padX:22px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:var(--padY) var(--padX); border-radius:8px; border:0; text-decoration:none; cursor:pointer; font-weight:800; letter-spacing:.2px; }
.btn-lg{ --padY:16px; --padX:26px; font-size:18px }
.btn-xs{ --padY:8px; --padX:12px; font-size:13px }
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:var(--blue-hover); }
.btn-ghost{ background:#fff; border:1px solid var(--border); color:#0b1020; }
.linklike{ background:none; border:0; padding:0; color:var(--blue); text-decoration:underline; cursor:pointer; font:inherit; }

.cta-wrap{ margin-top:18px; }
.subline{ margin-top:10px; font-weight:600; }
.badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px }
.badge{ display:inline-flex; align-items:center; gap:8px; background:#f5f7fb; border:1px solid var(--border); color:#111827; padding:6px 10px; border-radius:16px; font-size:12.5px; font-weight:600 }
.badge-ghost{ background:#fff }

/* CTA note: clear, readable, placed close to CTA (visible on mobile) */
.cta-note{
  margin-top:8px;
  color:var(--text);
  font-size:13px;
  line-height:1.2;
  font-weight:600;
}
/* when we show both languages (EN then DE) keep small visual separation */
.cta-note .de { display:block; margin-top:4px; font-weight:600; color:var(--muted); font-size:13px; }
/* Sticky CTA note: slightly more compact and centered */
.sticky-cta .cta-note{ font-size:13px; color:var(--text); margin-left:8px; margin-right:8px; }

/* Links in badges: non-blue, no underline; subtle hover and clear focus */
.badge a{
  color: inherit;
  text-decoration: none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.badge a:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:2px;
  border-radius:12px;
}
.badge-ghost a:hover{
  color: var(--blue);
  text-decoration: underline;
}
.muted{ color:var(--muted) }
.small{ font-size:14px }
.tiny{ font-size:12px }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:8px 0 30px; }
.card{ border:1px solid var(--border); border-radius:12px; padding:16px; background:#fff; }
.grid-list{ list-style:none; padding:0; margin:6px 0 0; display:grid; gap:8px; }
.xlist{ list-style:none; padding:0; margin:10px 0 0; display:grid; gap:6px; }

.legal{ padding:30px 0 60px }

/* Footer */
.site-footer{ border-top:1px solid var(--border); background:#fff; margin-top:24px; }
.site-footer .container{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; flex-wrap:wrap; }
.footer-links{ display:flex; flex-wrap:wrap; gap:12px; }
.footer-links a, .footer-links .linklike{ color:var(--muted); text-decoration:none; font-size:13px; font-weight:600; }
.footer-links a:hover, .footer-links .linklike:hover{ color:var(--text); text-decoration:underline; }
.footer-note{ flex-basis:100%; margin-top:4px; color:var(--muted); line-height:1.45; max-width:100%; }
.footer-iframe{ width:100%; border:0; height:120px; display:block; }

/* Sticky CTA – standardmäßig aus; JS blendet sie (mobil) ein */
.sticky-cta{
  position:fixed; left:0; right:0;
  bottom: calc(var(--consent-offset) + env(safe-area-inset-bottom));
  display:none; gap:12px; align-items:center; justify-content:center;
  background:rgba(255,255,255,.92); backdrop-filter:blur(6px);
  border-top:1px solid var(--border); padding:10px; z-index:40;
}
.sticky-cta.show{ display:flex; }

@media (max-width:980px){
  .hero{ grid-template-columns:1fr; gap:16px; }
}

/* ===== Compact Bottom Consent Bar ===== */
.consent-bar{
  position:fixed; left:0; right:0; bottom:0; background:#fff;
  border-top:1px solid var(--border); box-shadow:0 -6px 24px rgba(0,0,0,.08);
  transform:translateY(100%); transition:transform .35s ease; z-index:60;
  font-size:13px; padding-bottom:calc(8px + env(safe-area-inset-bottom));
}
.consent-bar.show{ transform:translateY(0); }
.consent-inner{ width:min(1100px,92vw); margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 0; }
.consent-text{ display:flex; flex-direction:column; gap:2px; }
.consent-buttons{ display:flex; gap:8px; flex-wrap:wrap; }
.consent-buttons .btn{ border-radius:7px; }

/* Drop-Up Panel */
.consent-panel{
  position:fixed; left:12px; right:12px;
  bottom: calc(var(--consent-offset) + 8px + env(safe-area-inset-bottom));
  width:auto; max-width:720px; margin:0 auto; background:#fff; border:1px solid var(--border); border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.12); padding:12px; display:none; z-index:61;
}
.consent-panel.open{ display:block; }
.toggle{ display:inline-flex; align-items:center; gap:8px; margin-right:14px; font-weight:600 }
.consent-actions{ display:inline-flex; gap:8px; margin-top:8px }

@media (max-width:680px){
  .consent-inner{ flex-direction:column; align-items:stretch; }
  .consent-buttons{ justify-content:space-between; }
  .consent-text{ width:100%; }
}
