/* ---------- Design Tokens ---------- */
:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fb;
  --c-text: #0f172a;
  --c-muted: #475569;
  --c-primary: #1d4ed8;
  --c-primary-dark: #1e40af;
  --c-border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --max-w: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn-ghost:hover { background: var(--c-bg-alt); }
.btn-nav { background: var(--c-primary); color: #fff !important; padding: .55rem 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--c-text); text-decoration: none !important; }
/*.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--c-primary); color: #fff; font-weight: 800;
  background-image: url('../img/logo.png');
}*/
.logo-img {
  display: inline-block;
  width: 98px;                 /* sichtbare Breite */
  height: 98px;                /* sichtbare Höhe – Seitenverhältnis beachten */
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;    /* Logo vollständig sichtbar, ohne Verzerrung */
}
.logo-text { font-weight: 700; letter-spacing: -.2px; }

.main-nav .nav-list { display: flex; align-items: center; gap: 1.5rem; }
.nav-list a { color: var(--c-text); font-weight: 500; }
.nav-list a:hover { color: var(--c-primary); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--c-text);
  position: relative; transition: .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 60%);
  padding: 6rem 0 5rem;
}
.hero-inner { max-width: 780px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; letter-spacing: -.02em; }
.hero .lead { margin-top: 1.1rem; font-size: 1.15rem; color: var(--c-muted); }
.hero-actions { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--c-bg-alt); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.02em; }
.section-sub { color: var(--c-muted); margin-top: .5rem; margin-bottom: 2.5rem; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 10px 30px rgba(15,23,42,0.08); 
  /*background-color: rgba(177,193,230,0.5);*/
  background: linear-gradient(235deg, #eef2ff 0%, #ffffff 60%);
  cursor: default; 
}
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card p { color: var(--c-muted); font-size: .95rem; }

.usp h3 { font-size: 1.05rem; margin-bottom: .4rem; color: var(--c-primary); }
.usp p { color: var(--c-muted); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.25rem; margin-top: 1rem; }
.steps li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.step-num {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.steps h3 { font-size: 1rem; margin-bottom: .2rem; }
.steps p { color: var(--c-muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.section-cta { background: var(--c-text); color: #fff; text-align: center; }
.section-cta h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.section-cta p { color: #cbd5e1; max-width: 620px; margin: 1rem auto 1.75rem; }
.section-cta .btn-primary { background: var(--c-primary); }
.section-cta .small { margin-top: 1rem; font-size: .85rem; color: #94a3b8; }
.section-cta .small a { color: #93c5fd; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-border); padding: 2rem 0; background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.25rem; }
.site-footer p, .site-footer a { color: var(--c-muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; top: 64px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem; gap: 1rem;
    display: none;
  }
  .nav-list.open { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 3.5rem 0; }
}