  :root {
    --navy: #1F3864;
    --navy-deep: #14233f;
    --accent: #2E74B5;
    --accent-light: #8FAADC;
    --ink: #1c2733;
    --muted: #5b6472;
    --paper: #f6f8fb;
    --paper-alt: #eef2f8;
    --line: #dde3ec;
    --radius: 20px;
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: inherit; text-decoration: none; }

  img, svg { display: block; max-width: 100%; }

  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }

  :focus-visible {
    outline: 3px solid var(--accent-light);
    outline-offset: 3px;
  }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: max(5vw, 20px);
    padding-right: max(5vw, 20px);
  }

  /* ---------- Header ---------- */

  header.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px max(5vw, 20px);
    background: rgba(246, 248, 251, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }

  header.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(20, 35, 63, 0.05);
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .logo .mark {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo .mark svg { width: 34px; height: 34px; display: block; }

  .logo b { color: var(--navy); }
  .logo span { color: var(--accent); font-weight: 600; }

  nav.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
  }

  nav.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    position: relative;
  }

  nav.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 180ms ease;
  }

  nav.main-nav a:hover::after { transform: scaleX(1); }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 180ms ease, transform 180ms ease;
  }

  .nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

  .menu-button {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  .menu-button span {
    display: block; width: 18px; height: 2px; background: var(--navy);
    position: relative;
  }
  .menu-button span::before, .menu-button span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
    transition: transform 180ms ease;
  }
  .menu-button span::before { top: -6px; }
  .menu-button span::after { top: 6px; }

  /* ---------- Hero ---------- */

  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 6vw;
    align-items: center;
    padding: 90px max(5vw, 20px) 100px;
    max-width: 1180px;
    margin: 0 auto;
    background:
      radial-gradient(circle at 82% 18%, rgba(46, 116, 181, 0.10), transparent 32%);
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .eyebrow span {
    width: 24px; height: 2px; background: currentColor;
  }

  h1, h2, h3 {
    margin: 0 0 20px;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.12;
  }

  h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: 640px; }
  h1 em { color: var(--accent); font-style: normal; }

  h2 { font-size: clamp(28px, 3.2vw, 40px); }

  .hero-intro {
    max-width: 520px;
    color: var(--muted);
    font-size: 17.5px;
    margin-bottom: 34px;
  }

  .hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
  }

  .button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  .button-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 14px 30px rgba(31, 56, 100, 0.22);
  }
  .button-primary:hover { background: var(--accent); transform: translateY(-2px); }

  .text-link { font-weight: 700; font-size: 14.5px; }
  .text-link span { display: inline-block; margin-left: 6px; transition: transform 180ms ease; }
  .text-link:hover span { transform: translate(3px, -2px); }

  /* Hero visual: browser mockup */

  .hero-visual { position: relative; min-height: 400px; }

  .browser-card {
    position: relative;
    z-index: 2;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px rgba(20, 35, 63, 0.16);
    transform: rotate(1.4deg);
  }

  .browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    background: var(--paper-alt);
    border-bottom: 1px solid var(--line);
  }

  .traffic-lights { display: flex; gap: 6px; }
  .traffic-lights i { width: 9px; height: 9px; border-radius: 50%; background: #d7dce4; display: block; }

  .browser-bar .url-pill {
    margin-left: 10px;
    display: flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 11.5px;
    color: var(--muted);
  }
  .browser-bar .url-pill b { color: var(--ink); font-weight: 700; }

  .browser-screen { padding: 26px 26px 30px; }

  .browser-screen .bs-nav {
    display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
  }
  .browser-screen .bs-nav b { color: var(--navy); font-size: 13px; }
  .browser-screen .bs-nav span { width: 34px; height: 7px; border-radius: 4px; background: var(--paper-alt); }

  .browser-screen .bs-hero {
    display: grid; gap: 8px; margin-bottom: 20px;
  }
  .browser-screen .bs-hero .l1 { width: 78%; height: 13px; border-radius: 5px; background: var(--navy); opacity: 0.9; }
  .browser-screen .bs-hero .l2 { width: 58%; height: 13px; border-radius: 5px; background: var(--navy); opacity: 0.9; }
  .browser-screen .bs-hero .l3 { width: 90%; height: 8px; border-radius: 4px; background: var(--paper-alt); margin-top: 6px; }
  .browser-screen .bs-hero .l4 { width: 70%; height: 8px; border-radius: 4px; background: var(--paper-alt); }

  .browser-screen .bs-cta {
    width: 128px; height: 34px; border-radius: 8px; background: var(--accent); opacity: 0.9;
  }

  .status-pill {
    position: absolute;
    z-index: 3;
    right: -6px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(20, 35, 63, 0.16);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
  }

  .status-pill i {
    width: 8px; height: 8px; border-radius: 50%;
    background: #35b06a;
    box-shadow: 0 0 0 5px rgba(53, 176, 106, 0.16);
  }

  .shape {
    position: absolute;
    border-radius: 50%;
  }
  .shape-one {
    top: -10px; right: 6%;
    width: 130px; height: 130px;
    border: 26px solid var(--accent-light);
    opacity: 0.55;
  }
  .shape-two {
    bottom: -20px; left: 2%;
    width: 70px; height: 70px;
    background: var(--navy);
    opacity: 0.12;
  }

  /* ---------- Reveal animation ---------- */

  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms ease, transform 620ms ease;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  /* ---------- Leistungen (dark section) ---------- */

  .leistungen {
    padding: 110px max(5vw, 20px);
    background: var(--navy-deep);
    color: #eef2f8;
  }

  .leistungen-inner { max-width: 1180px; margin: 0 auto; }

  .leistungen .section-heading { max-width: 620px; margin-bottom: 56px; }
  .leistungen .section-heading p { color: #aebbd2; font-size: 16.5px; }
  .leistungen h2 { color: #fff; }

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

  .leistung-card {
    padding: 30px 26px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.09);
  }

  .leistung-card .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(46, 116, 181, 0.22);
    color: var(--accent-light);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
  }

  .leistung-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
  .leistung-card p { color: #aebbd2; font-size: 14.5px; margin: 0; }

  /* ---------- Pakete ---------- */

  .section { padding: 110px max(5vw, 20px); }
  .section-inner { max-width: 1180px; margin: 0 auto; }

  .section-heading { max-width: 640px; margin-bottom: 54px; }
  .section-heading p { color: var(--muted); font-size: 16.5px; }

  .pakete-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }

  .promo-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    margin-bottom: 30px;
    border-radius: 14px;
    background: rgba(46, 116, 181, 0.08);
    border: 1px solid rgba(46, 116, 181, 0.25);
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 600;
  }

  .promo-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
  }

  .discount-tag {
    position: absolute;
    top: -13px;
    right: 24px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .paket-preis-alt {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 13px;
    text-decoration: line-through;
  }

  .paket-setup {
    margin: 0 0 22px;
    font-size: 13px;
    color: var(--muted);
  }
  .paket-setup s { opacity: 0.7; }
  .paket-setup b { color: var(--navy); font-weight: 700; }

  .paket-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 1px 2px rgba(20,35,63,0.03);
    transition: transform 200ms ease, box-shadow 200ms ease;
  }

  .paket-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(20,35,63,0.09); }

  .paket-card.featured {
    border-color: var(--accent);
    box-shadow: 0 24px 50px rgba(20,35,63,0.10);
    position: relative;
  }

  .paket-card.featured::before {
    content: "Beliebt";
    position: absolute;
    top: -13px; left: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .paket-card .paket-name { font-size: 13px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
  .paket-card .paket-preis { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 4px; }
  .paket-card .paket-preis span { font-size: 14px; font-weight: 600; color: var(--muted); }
  .paket-card .paket-zielgruppe { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }

  .paket-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; flex-grow: 1; }
  .paket-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
  .paket-features li::before {
    content: "✓";
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(46, 116, 181, 0.14);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
  }

  .paket-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    border-radius: 10px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    transition: background 180ms ease, color 180ms ease;
  }
  .paket-cta:hover { background: var(--navy); color: #fff; }
  .paket-card.featured .paket-cta { background: var(--navy); color: #fff; border-color: var(--navy); }
  .paket-card.featured .paket-cta:hover { background: var(--accent); border-color: var(--accent); }

  .pakete-note { margin-top: 30px; color: var(--muted); font-size: 13.5px; }

  /* ---------- Warum Web Digital ---------- */

  .warum { background: var(--paper-alt); }

  .warum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .warum-copy .large-copy {
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }

  .warum-copy p { color: var(--muted); font-size: 15.5px; }

  .warum-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
  .warum-list li {
    display: flex; gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .warum-list .dot {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(46, 116, 181, 0.12);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
  }
  .warum-list strong { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 3px; }
  .warum-list span.desc { color: var(--muted); font-size: 13.5px; }

  /* ---------- Kontakt ---------- */

  .kontakt {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 110px max(5vw, 20px);
  }

  .kontakt-inner { max-width: 640px; margin: 0 auto; }
  .kontakt h2 { color: #fff; }
  .kontakt p { color: #cfd8ea; font-size: 16.5px; margin-bottom: 34px; }

  .eyebrow-light { color: var(--accent-light); }

  .button-light {
    background: #fff;
    color: var(--navy);
  }
  .button-light:hover { background: var(--accent-light); color: var(--navy); }

  /* ---------- Footer ---------- */

  footer {
    padding: 40px max(5vw, 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--line);
    max-width: 1180px;
    margin: 0 auto;
  }

  footer .foot-links { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
  footer .foot-copy { font-size: 13px; color: var(--muted); }

  /* ---------- Responsive ---------- */

  @media (max-width: 920px) {
    .hero { grid-template-columns: 1fr; padding-top: 60px; }
    .hero-visual { min-height: 320px; order: -1; }
    .leistungen-grid, .pakete-grid, .warum-grid { grid-template-columns: 1fr; }
    nav.main-nav { display: none; }
    .menu-button { display: inline-flex; }
  }

  body.menu-open .mobile-nav { display: flex; }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--navy);
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 22px;
    font-weight: 700;
  }
  .mobile-nav a { color: #fff; }
  .mobile-nav .close-btn {
    position: absolute; top: 24px; right: 24px;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    cursor: pointer;
  }

  /* ---------- Legal pages (Impressum, AGB, Datenschutz) ---------- */

  .legal-hero {
    padding: 70px max(5vw, 20px) 20px;
    max-width: 900px;
    margin: 0 auto;
  }

  .legal-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
  }

  .legal-hero h1 {
    font-size: clamp(30px, 4vw, 42px);
    max-width: none;
  }

  .legal-hero .legal-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
  }

  .legal-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px max(5vw, 20px) 100px;
  }

  .legal-body h2 {
    font-size: 20px;
    margin-top: 44px;
    margin-bottom: 14px;
  }

  .legal-body h2:first-child { margin-top: 0; }

  .legal-body p {
    color: var(--ink);
    font-size: 15px;
    margin: 0 0 16px;
  }

  .legal-body ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--ink);
    font-size: 15px;
  }
  .legal-body li { margin-bottom: 8px; }

  .legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 14px;
  }
  .legal-body th, .legal-body td {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--line);
  }
  .legal-body th {
    background: var(--paper-alt);
    color: var(--navy);
    font-weight: 700;
  }

  .legal-note {
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(46, 116, 181, 0.07);
    border: 1px solid rgba(46, 116, 181, 0.2);
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 30px;
  }

  .legal-placeholder {
    color: #9c5a00;
    background: rgba(232, 162, 61, 0.12);
    border: 1px solid rgba(232, 162, 61, 0.35);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 13.5px;
  }

  footer .foot-links a { color: var(--muted); }
  footer .foot-links a:hover { color: var(--accent); }
