:root{
  --bg:#edf2f7;
  --card:#ffffff;
  --text:#1e2333;
  --muted:#5f6b85;
  --line:#d4dbea;
  --accent:#4f7cff;
  --accent2:#2fd7b5;
  --shadow:0 10px 28px rgba(0,0,0,.08);
  --radius:18px;
  --max:1120px;

  --s1-bg:#f3f7ff;
  --s2-bg:#f7fbf5;
  --s3-bg:#fff6f0;
  --s4-bg:#f6f2ff;
  --s5-bg:#f1fbfb;
  --s6-bg:#fffdf2;
  --s7-bg:#f4f7f8;
  --s8-bg:#f7f3ff;

  --pastel-border:rgba(30,35,51,.10);
  --pastel-shadow:0 10px 26px rgba(0,0,0,.06);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  min-height:100%;
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  line-height:1.45;
  background:
    radial-gradient(1000px 640px at 12% -8%, rgba(79,124,255,.11), transparent 60%),
    radial-gradient(900px 620px at 88% 10%, rgba(47,215,181,.10), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(79,124,255,.06), transparent 55%),
    var(--bg);
}

a{
  color:inherit;
}

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

figure{
  margin:0;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 18px 80px;
}

/* =========================================
   TOPBAR
   ========================================= */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  box-shadow:var(--shadow);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.2px;
}

.dot{
  width:11px;
  height:11px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 0 0 4px rgba(79,124,255,.12);
  flex:0 0 auto;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:14px;
  font-size:14px;
  color:var(--muted);
}

.nav a{
  padding:8px 10px;
  border-radius:10px;
  text-decoration:none;
  transition:background .2s ease, color .2s ease;
}

.nav a:hover{
  background:rgba(79,124,255,.08);
  color:var(--text);
}

/* =========================================
   INTRO
   ========================================= */

.topline-sub{
  width:100%;
  margin-top:12px;
  padding:14px 18px;
  border-left:6px solid #3b6fd8;
  border-radius:16px;
  background:linear-gradient(135deg, #eef3fb 0%, #e2ecf9 100%);
  box-shadow:0 6px 18px rgba(59,111,216,.18);
  font-weight:700;
  font-size:1.05rem;
  letter-spacing:.4px;
  color:var(--muted);
  text-shadow:0 1px 1px rgba(255,255,255,.6);
}

.topline-subline{
  margin-top:8px;
  padding:0 18px;
  font-size:.98rem;
  line-height:1.45;
  color:var(--muted);
}

.hl{
  color:#3b6fd8;
  font-weight:800;
}

/* =========================================
   HERO
   ========================================= */

.hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  align-items:stretch;
  margin-top:22px;
}

.hero-main{
  padding:26px 26px 22px;
}

.hero-side{
  display:flex;
  flex-direction:column;
  min-height:100%;
}

/* =========================================
   PANELS
   ========================================= */

.panel{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:var(--shadow);
}

.panel.pastel{
  border-color:var(--pastel-border);
  box-shadow:var(--pastel-shadow);
}

.pastel-s1{ background:var(--s1-bg); }
.pastel-s2{ background:var(--s2-bg); }
.pastel-s3{ background:var(--s3-bg); }
.pastel-s4{ background:var(--s4-bg); }
.pastel-s5{ background:var(--s5-bg); }
.pastel-s6{ background:var(--s6-bg); }
.pastel-s7{ background:var(--s7-bg); }
.pastel-s8{ background:var(--s8-bg); }


/* =========================================
   TYPOGRAPHY
   ========================================= */

h1{
  margin:0 0 10px;
  font-size:clamp(26px, 3.4vw, 44px);
  line-height:1.06;
  letter-spacing:-.4px;
}

h2{
  margin:0 0 10px;
  font-size:20px;
  letter-spacing:-.2px;
}

h3{
  margin:0 0 6px;
  font-size:16px;
  color:var(--text);
}

p{
  margin:0 0 12px;
  color:var(--muted);
}

.lead{
  max-width:70ch;
  margin:0 0 18px;
  font-size:16px;
  color:var(--muted);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid rgba(30,35,51,.12);
  border-radius:999px;
  background:rgba(255,255,255,.70);
  font-size:13px;
  color:#4f5b75;
}

.section{
  margin-top:18px;
  padding:22px;
  scroll-margin-top:90px;
}

.section-intro{
  max-width:74ch;
}

/* =========================================
   PILLS
   ========================================= */

.pillrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 18px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#f3f6fc;
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
}

.pill:hover{
  background:rgba(79,124,255,.12);
  color:var(--text);
  transform:translateY(-1px);
}

/* =========================================
   BUTTONS / CTA
   ========================================= */

.cta-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:14px;
}

.cta-left,
.cta-right{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.cta-right{
  margin-left:auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  text-decoration:none;
  font-weight:750;
  font-size:14px;
  color:var(--text);
  user-select:none;
  transition:transform .05s ease, background .2s ease, border-color .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(79,124,255,.40);
}

.btn.primary{
  border-color:transparent;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
}

.btn.primary:hover{
  transform:translateY(-1px) scale(1.01);
}

.btn.ghost{
  background:#fff;
  color:var(--text);
}

.card .cta-row{
  margin-top:auto;
  padding-top:8px;
}

/* =========================================
   IMAGEBOX
   ========================================= */

.imagebox{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  background:
    repeating-linear-gradient(
      45deg,
      #e6ebf4,
      #e6ebf4 10px,
      #dde3ef 10px,
      #dde3ef 20px
    );
}

.imagebox.hero{
  aspect-ratio:2048 / 1265;
  border-radius:0;
}
.imagebox.medium{
  aspect-ratio:16 / 9;
}

.imagebox::after{
  content:attr(data-fallback);
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  text-align:center;
  color:#8a94ad;
  font-size:14px;
  letter-spacing:.35px;
}

.imagebox.has-image::after{
  display:none;
}

.imagebox img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
}

.caption{
  margin:10px 12px 0;
  padding-bottom:12px;
  font-size:13px;
  line-height:1.35;
  color:var(--muted);
}

.caption b{
  color:var(--text);
  font-weight:800;
}

/* =========================================
   SIDE AREA
   ========================================= */

.sidebody{
  padding:18px 18px 20px;
}

.kpis{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.kpi{
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.70);
}

.kpi b{
  display:block;
  font-size:14px;
}

.kpi span{
  display:block;
  margin-top:4px;
  font-size:13px;
  color:var(--muted);
}

/* =========================================
   CONTENT GRIDS
   ========================================= */

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

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

.card{
  display:flex;
  flex-direction:column;
  padding:16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.78);
}

.list{
  margin:10px 0 0;
  padding-left:18px;
  color:#4f5b75;
}

.list li{
  margin:6px 0;
}

.callout{
  padding:14px;
  border:1px solid rgba(30,35,51,.12);
  border-radius:16px;
  background:rgba(255,255,255,.70);
}

.callout b{
  color:var(--text);
}

.callout p{
  margin:8px 0 0;
  color:#4f5b75;
}

.note{
  margin-top:10px;
  font-size:12.5px;
  color:#4f5b75;
}

/* =========================================
   FOOTER / SITEFOOT
   ========================================= */

/* =========================================
   FOOTER / SITEFOOT / PREMIUM V2
   ========================================= */

.sitefoot{
  margin-top:36px;
  padding:0;
}

.sitefoot__inner{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 18px 0;
  display:grid;
  grid-template-columns:minmax(320px, 1fr) auto;
  gap:24px 32px;
  align-items:start;
  border-top:1px solid rgba(95,107,133,.18);
}

.sitefoot__brand{
  min-width:0;
}

.sitefoot__eyebrow{
  margin:0 0 6px;
  font-size:17px;
  font-weight:700;
  line-height:1.18;
  letter-spacing:-.02em;
  color:var(--text);
}

.sitefoot__eyebrow sup{
  font-size:.62em;
  font-weight:700;
  vertical-align:top;
  position:relative;
  top:-0.12em;
}

.sitefoot__subtitle{
  margin:0 0 10px;
  font-size:12px;
  line-height:1.4;
  color:var(--muted);
}

.sitefoot__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin:0 0 8px;
  font-size:12.5px;
  line-height:1.45;
  color:var(--muted);
}

.sitefoot__meta-item{
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  min-width:0;
}

.sitefoot__meta-label{
  color:var(--muted);
  font-weight:600;
}

.sitefoot__meta a{
  color:var(--accent);
  text-decoration:none;
  transition:color .18s ease;
}

.sitefoot__meta a:hover{
  color:var(--text);
  text-decoration:underline;
  text-underline-offset:2px;
}

.sitefoot__meta-dot{
  color:rgba(95,107,133,.55);
}

.sitefoot__copyright{
  font-size:11px;
  line-height:1.4;
  color:rgba(95,107,133,.92);
}

.sitefoot__nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:flex-start;
  gap:10px 18px;
  padding-top:2px;
}

.sitefoot__nav a{
  position:relative;
  font-size:13px;
  line-height:1.35;
  color:var(--muted);
  text-decoration:none;
  white-space:nowrap;
  transition:color .18s ease;
}

.sitefoot__nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:1px;
  background:rgba(79,124,255,.38);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .18s ease;
}

.sitefoot__nav a:hover{
  color:var(--text);
}

.sitefoot__nav a:hover::after{
  transform:scaleX(1);
}

/* =========================================
   FOOTER / SITEFOOT / PREMIUM V2 / RESPONSIVE
   ========================================= */

@media (max-width:760px){
  .sitefoot__inner{
    grid-template-columns:1fr;
    gap:10px;
    padding-top:16px;
  }

  .sitefoot__nav{
    justify-content:flex-start;
    gap:8px 14px;
    padding-top:0;
  }
}



/* =========================================
   FOCUS
   ========================================= */

:focus-visible{
  outline:3px solid rgba(79,124,255,.35);
  outline-offset:2px;
  border-radius:10px;
}

/* =========================================
   RESPONSIVE <= 920px
   ========================================= */

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


  .topbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    width:100%;
    justify-content:flex-start;
  }

  .kpis{
    grid-template-columns:1fr;
  }

  .topline-sub{
    font-size:1rem;
    line-height:1.4;
  }

  .topline-subline{
    padding:0 6px;
  }
}

/* =========================================
   RESPONSIVE <= 760px
   ========================================= */

@media (max-width:760px){
  .sitefoot__inner{
    flex-direction:column;
    gap:10px;
  }

  .sitefoot__nav{
    justify-content:flex-start;
    gap:8px 14px;
    padding-top:0;
  }
}

/* =========================================
   RESPONSIVE <= 640px
   ========================================= */

@media (max-width:640px){
  .wrap{
    padding:18px 14px 60px;
  }

  .hero-main,
  .section,
  .sidebody{
    padding:18px;
  }

  .topline-sub{
    padding:12px 14px;
  }

  h1{
    font-size:clamp(24px, 8vw, 34px);
  }

  .btn{
    width:100%;
  }

  .cta-row{
    flex-direction:column;
    align-items:stretch;
  }

  .cta-left,
  .cta-right{
    width:100%;
  }

  .cta-right{
    margin-left:0;
  }
}

/* Hilfsklassen statt inline style="" im HTML */
.mt-12{
  margin-top:12px;
}

.mt-14{
  margin-top:14px;
}


.sketch-fit img{
  object-fit:contain !important;
}