/* =========================================================
   Homepagerie – Redesign 2026
   Hell, seriös, technisch. Angelehnt an G4W (Blau, System-
   Fonts, viel Weißraum), aber eigenständig.
   ========================================================= */

:root {
  --blue:        #2ea3f2;
  --blue-deep:   #1565c0;
  --blue-dark:   #0d47a1;
  --ink:         #0d2b45;
  --text:        #22384c;
  --muted:       #5b6b7a;
  --line:        #dbe7f0;
  --bg:          #ffffff;
  --bg-soft:     #f2f8fd;
  --bg-softer:   #f8fbfe;
  --navy:        #0a1f33;
  --navy-2:      #0e2a44;
  --amber:       #ffb300;
  --ok:          #2e7d32;
  --ok-bg:       #e8f5e9;
  --bad:         #c62828;
  --bad-bg:      #ffebee;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 10px 30px rgba(13, 43, 69, .08);
  --shadow-lg:   0 24px 60px rgba(13, 43, 69, .14);
  --grad:        linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  --font:        system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  --mono:        ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --headerH:     76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; letter-spacing: -.015em; }

::selection { background: rgba(46, 163, 242, .25); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1200; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: var(--grad);
}

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--navy) 0%, #123a5e 100%);
  color: #cfe6f8; font-size: .84rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar-contact { display: flex; gap: 20px; }
.topbar a { color: #e8f4fd; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-claim { opacity: .85; }
.ico { width: 13px; height: 13px; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(219, 231, 240, .8);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13, 43, 69, .09); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--headerH); transition: height .3s ease;
}
.site-header.scrolled .header-inner { height: 62px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand-icon { width: 42px; height: 35px; transition: transform .35s ease; }
.brand:hover .brand-icon { transform: translateY(-2px) rotate(-3deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.32rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-dot { color: var(--blue); }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.brand-light { color: #fff; font-size: 1.45rem; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 14px; border-radius: 8px; color: var(--text);
  font-weight: 600; font-size: .95rem; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 2px; background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover { text-decoration: none; color: var(--blue-deep); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--blue-deep); }

.nav-cta {
  margin-left: 10px; padding: 10px 20px; border-radius: 999px;
  background: var(--grad); color: #fff !important; font-weight: 700; font-size: .93rem;
  box-shadow: 0 6px 16px rgba(21, 101, 192, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21, 101, 192, .45); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 192, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(21, 101, 192, .45); }
.btn-ghost { background: #fff; color: var(--blue-deep); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-light { background: rgba(255, 255, 255, .16); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-light:hover { background: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(46, 163, 242, .16), transparent 60%),
    radial-gradient(800px 420px at -10% 110%, rgba(21, 101, 192, .10), transparent 60%),
    linear-gradient(180deg, #eaf5fe 0%, #ffffff 100%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center; padding: 72px 22px 84px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-size: .85rem; font-weight: 600; color: var(--blue-deep);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,125,50,.4); } 50% { box-shadow: 0 0 0 6px rgba(46,125,50,0); } }

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 14px; }
.hero-typed-line { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--blue-deep); min-height: 1.6em; margin-bottom: 18px; }
.typed-cursor { display: inline-block; width: 2px; height: 1.05em; background: var(--blue-deep); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: .86rem; color: var(--muted); }

/* Code-Editor + Live-Vorschau (Hero-Showcase) */
.hero-showcase { position: relative; min-height: 430px; }
.win {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #f2f7fc; border-bottom: 1px solid var(--line);
}
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7e6f2; }
.win-dots i:nth-child(1) { background: #ff8a80; }
.win-dots i:nth-child(2) { background: #ffd54f; }
.win-dots i:nth-child(3) { background: #a5d6a7; }
.win-title { font-size: .78rem; color: var(--muted); font-family: var(--mono); }

.win-editor {
  position: absolute; top: 0; left: 0; width: 62%; z-index: 2;
  background: var(--navy); border-color: rgba(255, 255, 255, .08);
  animation: floaty 7s ease-in-out infinite;
}
.win-editor .win-bar { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); }
.win-editor .win-title { color: #8fb8d8; }
.win-editor pre {
  font-family: var(--mono); font-size: .8rem; line-height: 1.75;
  padding: 16px 18px; min-height: 280px; color: #d6e6f5;
  white-space: pre-wrap; word-break: break-word;
}
.tok-tag { color: #7dd3fc; } .tok-attr { color: #a5b4fc; } .tok-val { color: #86efac; }
.tok-css { color: #fca5a5; } .tok-com { color: #64748b; font-style: italic; }

.win-preview {
  position: absolute; right: 0; bottom: 0; width: 58%; z-index: 3;
  animation: floaty 7s ease-in-out 1.2s infinite;
}
.win-preview .prev-body { padding: 16px; min-height: 220px; background: #fff; }
.prev-el { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.prev-el.on { opacity: 1; transform: none; }
.prev-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.prev-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); }
.prev-nav i { width: 34px; height: 7px; border-radius: 4px; background: #e3eef7; }
.prev-hero { border-radius: 10px; background: linear-gradient(135deg, #e3f2fd, #f2f8fd); padding: 16px; margin-bottom: 12px; }
.prev-hero b { display: block; width: 70%; height: 12px; border-radius: 6px; background: var(--blue); margin-bottom: 8px; }
.prev-hero i { display: block; width: 88%; height: 7px; border-radius: 4px; background: #cbe3f6; margin-bottom: 5px; }
.prev-btn { display: inline-block; width: 84px; height: 24px; border-radius: 999px; background: var(--grad); margin-top: 8px; }
.prev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prev-cards i { height: 46px; border-radius: 8px; background: #eef6fc; border: 1px solid #e0eefa; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-badge {
  position: absolute; z-index: 4; left: 46%; top: 58%;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
  padding: 10px 18px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .9rem; color: var(--ink);
  border: 1px solid var(--line);
  animation: floaty 6s ease-in-out .6s infinite;
}
.hero-badge .check { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: .8rem; }

/* ---------- Linkbar (Backlinkseller) ---------- */
.linkbar {
  background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: .88rem; padding: 9px 0; color: var(--muted);
}
.linkbar a { color: var(--muted); margin: 0 8px; }
.linkbar a:hover { color: var(--blue-deep); }
.lb-label { font-weight: 600; margin-right: 4px; }

/* ---------- Sektionen ---------- */
.section { padding: 84px 0; }
.section-soft { background: linear-gradient(180deg, var(--bg-softer), var(--bg-soft)); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Scroll-Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.stagger.visible > *:nth-child(5) { transition-delay: .4s; }

/* ---------- Leistungs-Karten ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(46, 163, 242, .10), transparent 45%);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #bcdcf5; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e3f2fd, #f0f8ff); margin-bottom: 18px;
  transition: transform .3s ease;
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--muted); }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .9rem; }

/* ---------- Programmierung (dunkle Sektion) ---------- */
.section-dark {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(46, 163, 242, .15), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #c9dcec;
}
.section-dark .section-head h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #9fbcd4; }
.section-dark .kicker { color: #7cc4f5; }
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.prog-list { list-style: none; display: grid; gap: 16px; }
.prog-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09);
  padding: 16px 18px; border-radius: var(--radius-sm);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.prog-list li:hover { background: rgba(255, 255, 255, .09); transform: translateX(6px); border-color: rgba(124, 196, 245, .4); }
.prog-list .p-ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(46, 163, 242, .16); color: #7cc4f5; font-family: var(--mono); font-weight: 700; font-size: .8rem;
}
.prog-list b { color: #fff; display: block; margin-bottom: 2px; }
.prog-list span { font-size: .9rem; color: #9fbcd4; }

.terminal {
  background: #071522; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45); overflow: hidden;
}
.terminal .win-bar { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); }
.terminal pre {
  font-family: var(--mono); font-size: .82rem; line-height: 1.8; padding: 18px 20px;
  color: #9fd8a4; min-height: 250px; white-space: pre-wrap;
}
.terminal .t-prompt { color: #7cc4f5; }
.terminal .t-out { color: #c9dcec; }
.terminal .t-ok { color: #86efac; }

/* ---------- Prozess-Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px 28px; box-shadow: var(--shadow); text-align: center;
}
.step-num {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(21, 101, 192, .35);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--muted); }
.steps-arrow {
  position: absolute; top: 44%; width: 40px; height: 16px; z-index: 2; fill: var(--blue);
  display: block;
}

/* ---------- Domain-Check ---------- */
.domain-check {
  max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 34px;
  text-align: center;
}
.domain-check h3 { font-size: 1.3rem; margin-bottom: 6px; }
.domain-check .dc-sub { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.dc-form { display: flex; gap: 10px; }
.dc-form input {
  flex: 1; padding: 14px 18px; border: 2px solid var(--line); border-radius: 999px;
  font-size: 1rem; font-family: var(--font); transition: border-color .2s ease, box-shadow .2s ease;
}
.dc-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 163, 242, .15); }
.dc-result { margin-top: 18px; padding: 13px 18px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.dc-result.show { display: block; animation: fadeUp .4s ease; }
.dc-result.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #c8e6c9; }
.dc-result.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid #ffcdd2; }
.dc-result.info { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.dc-note { margin-top: 14px; font-size: .8rem; color: var(--muted); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #bcdcf5; }
.price-card.featured {
  border: 2px solid var(--blue); box-shadow: 0 24px 60px rgba(46, 163, 242, .22);
  background: linear-gradient(180deg, #fdfeff, #f4faff);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #4e3300; font-size: .76rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255, 179, 0, .4);
}
.price-name { font-size: .92rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px; }
.price-value { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.price-value small { font-size: 1.1rem; font-weight: 700; vertical-align: super; }
.price-once { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.price-feats { list-style: none; text-align: left; margin-bottom: 26px; flex: 1; }
.price-feats li { padding: 9px 0 9px 30px; position: relative; font-size: .94rem; border-bottom: 1px dashed var(--line); }
.price-feats li:last-child { border-bottom: 0; }
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%232e7d32" d="M6.5 10.6L3.9 8l-1.2 1.2 3.8 3.8 7-7L12.3 4.8z"/></svg>') center/11px no-repeat;
}
.price-feats li.na { color: #a8b6c2; }
.price-feats li.na::before {
  background: #f2f5f8 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%23a8b6c2" d="M4 4l8 8M12 4l-8 8" stroke="%23a8b6c2" stroke-width="1.8"/></svg>') center/10px no-repeat;
}
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }
.pricing-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }
.price-value-sm { font-size: 1.9rem; padding: 13px 0 9px; }

/* ---------- USP / Warum wir ---------- */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- Testimonials ---------- */
.testi-slider { position: relative; max-width: 780px; margin: 0 auto; }
.testi-track { overflow: hidden; border-radius: var(--radius); }
.testi-items { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.testi {
  flex: 0 0 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 44px; text-align: center;
}
.testi .quote-mark { font-size: 3.4rem; line-height: 1; color: var(--blue); font-family: Georgia, serif; display: block; margin-bottom: 6px; }
.testi p { font-size: 1.02rem; color: var(--text); margin-bottom: 18px; font-style: italic; }
.testi .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 8px; font-size: .95rem; }
.testi cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: .94rem; }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.testi-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; background: #c9dff0;
  cursor: pointer; transition: width .3s ease, background .3s ease; padding: 0;
}
.testi-dot.active { width: 30px; background: var(--grad); }
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease; z-index: 2;
}
.testi-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: var(--shadow-lg); }
.testi-arrow svg { width: 16px; height: 16px; fill: var(--blue-deep); }
.testi-prev { left: -21px; } .testi-next { right: -21px; }

/* ---------- FAQ (Akkordeon + Listen) ---------- */
.faq-acc { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 19px 54px 19px 22px; font-size: 1.02rem; font-weight: 700; color: var(--ink);
  font-family: var(--font); position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }
.faq-more { text-align: center; margin-top: 30px; }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 58px 0 50px;
  background:
    radial-gradient(900px 380px at 88% -20%, rgba(46, 163, 242, .16), transparent 60%),
    linear-gradient(180deg, #eaf5fe 0%, #ffffff 100%);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin: 10px 0 12px; }
.page-hero .lead { color: var(--muted); font-size: 1.06rem; max-width: 46em; }
.breadcrumbs { font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--blue-deep); }
.breadcrumbs .sep { margin: 0 7px; opacity: .5; }

/* ---------- FAQ-Übersicht & Artikel ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.post-list { display: grid; gap: 22px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #bcdcf5; }
.post-card h2, .post-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.post-card h2 a, .post-card h3 a { color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue-deep); text-decoration: none; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill {
  display: inline-block; padding: 4px 13px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--blue-deep);
  transition: background .2s ease, transform .2s ease;
}
.tag-pill:hover { background: #e3f2fd; text-decoration: none; transform: translateY(-2px); }
.read-more { font-weight: 700; font-size: .92rem; white-space: nowrap; }

.faq-sidebar { position: sticky; top: calc(var(--headerH) + 20px); display: grid; gap: 20px; }
.sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.sidebar-box h3 { font-size: 1rem; margin-bottom: 14px; }
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 6px 0; }
.faq-search { display: flex; gap: 8px; }
.faq-search input {
  flex: 1; padding: 10px 14px; border: 2px solid var(--line); border-radius: 999px; font-size: .92rem;
  font-family: var(--font);
}
.faq-search input:focus { outline: none; border-color: var(--blue); }
.faq-search button {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--grad);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.faq-search button .ico { width: 16px; height: 16px; }
.tag-cloud { display: flex; gap: 8px; flex-wrap: wrap; }
.sidebar-cta { background: linear-gradient(160deg, #eaf5fe, #f8fbfe); text-align: center; }
.sidebar-cta p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }

.article { max-width: 100%; }
.article-body h2 { font-size: 1.4rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body .hint {
  background: var(--bg-soft); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 22px 0;
}
.article-footer { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.post-nav a { font-weight: 700; font-size: .92rem; }

.search-note { display: none; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 20px; font-size: .92rem; }
.search-note.show { display: block; }
.search-note b { color: var(--blue-deep); }

.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem;
}
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; }
.pagination a:hover { border-color: var(--blue); text-decoration: none; }

/* ---------- Referenzen ---------- */
.ref-item { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 74px; }
.ref-item:last-child { margin-bottom: 0; }
.ref-item.flip .ref-media { order: 2; }
.ref-media { position: relative; }
.browser-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}
.browser-frame:hover { transform: translateY(-6px) scale(1.015); }
.browser-frame .win-bar { border-radius: 0; }
.ref-text h2 { font-size: 1.5rem; margin-bottom: 14px; }
.ref-text p { color: var(--muted); margin-bottom: 14px; font-size: .97rem; }
.ref-text .ref-link { font-weight: 700; }
.ref-facts { list-style: none; margin: 18px 0; display: grid; gap: 8px; }
.ref-facts li { padding-left: 28px; position: relative; font-size: .93rem; }
.ref-facts li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--ok-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%232e7d32" d="M6.5 10.6L3.9 8l-1.2 1.2 3.8 3.8 7-7L12.3 4.8z"/></svg>') center/10px no-repeat;
}

/* ---------- Formular ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.form-field .req { color: var(--bad); }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"],
.form-field textarea, .form-field select {
  padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-size: .98rem; font-family: var(--font); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(46, 163, 242, .13);
}
.radio-group { display: grid; gap: 10px; }
.radio-card {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .2s ease, background .2s ease; font-size: .93rem;
}
.radio-card:hover { border-color: #bcdcf5; }
.radio-card input { margin-top: 3px; accent-color: var(--blue-deep); }
.radio-card:has(input:checked) { border-color: var(--blue); background: #f2f9ff; }
.check-line { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check-line input { margin-top: 4px; accent-color: var(--blue-deep); }
.form-msg { padding: 15px 20px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 600; }
.form-msg.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #c8e6c9; }
.form-msg.err { background: var(--bad-bg); color: var(--bad); border: 1px solid #ffcdd2; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.contact-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--headerH) + 20px); }
.contact-aside .sidebar-box p { font-size: .92rem; color: var(--muted); }
.contact-aside .big-phone { font-size: 1.3rem; font-weight: 800; color: var(--ink); display: block; margin: 6px 0; }
.ssl-note { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--ok); font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 14px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul { margin-left: 24px; }
.legal .adr { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin: 18px 0; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(255, 255, 255, .14), transparent 60%),
    var(--grad);
  color: #fff; padding: 56px 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 6px; }
.cta-band p { opacity: .92; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9c3d8; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 38px; padding: 58px 22px 44px; }
.footer-col h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #cfe3f4; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 12px 0; }
.footer-g4w { font-size: .85rem; opacity: .8; }
.footer-contact li { line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0; font-size: .84rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- To-Top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(21, 101, 192, .4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- 404 ---------- */
.err-hero { text-align: center; padding: 90px 0; }
.err-hero .err-code { font-size: 6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero-showcase { min-height: 400px; max-width: 620px; }
  .prog-grid { grid-template-columns: 1fr; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .faq-sidebar, .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-prev { left: -8px; } .testi-next { right: -8px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar-claim { display: none; }
  .section { padding: 58px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 90px 26px 30px; box-shadow: -20px 0 60px rgba(13, 43, 69, .18);
    transform: translateX(105%); transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 1100;
  }
  .main-nav.open { transform: none; }
  .nav-link { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 14px 0 0; text-align: center; }
  .nav-toggle { position: relative; z-index: 1150; }
  .steps { grid-template-columns: 1fr; }
  .steps-arrow { display: none; }
  .pricing, .usps, .cards-4 { grid-template-columns: 1fr; }
  .ref-item { grid-template-columns: 1fr; gap: 24px; }
  .ref-item.flip .ref-media { order: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .testi { padding: 30px 24px; }
  .testi-arrow { display: none; }
  .win-editor { position: relative; width: 100%; margin-bottom: 16px; animation: none; }
  .win-preview { position: relative; width: 92%; margin-left: auto; animation: none; }
  .hero-badge { display: none; }
  .hero-stats { gap: 22px; }
  .dc-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .prev-el { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .topbar, .site-header, .to-top, .cta-band, .scroll-progress, .linkbar { display: none; }
}
