/* ED Digital Solutions – Stylesheet
   Keine externen Schriften oder Skripte: alles wird lokal ausgeliefert (DSGVO-freundlich, schnell). */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --hair: rgba(0, 0, 0, 0.08);
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --blue: #0a5cff;
  --blue-dark: #0047d6;
  --cyan: #22b8ee;
  --navy: #08111f;
  --navy-2: #0f1b33;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 30px 60px -30px rgba(8, 17, 31, 0.25), 0 2px 6px rgba(8, 17, 31, 0.04);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(10, 92, 255, 0.45); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 22px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Typografie ---------- */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: 0.01em; margin-bottom: 14px; }
.h1 { font-size: clamp(46px, 9vw, 104px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; color: var(--muted); letter-spacing: -0.01em; text-wrap: pretty; }
.grad { background: linear-gradient(92deg, var(--blue) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

.section { padding: clamp(84px, 11vw, 150px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 980px; border: 0; cursor: pointer;
  font-size: 17px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8e8ed; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 500; }
.link::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .2s ease; }
.link:hover::after { transform: translate(3px, -1px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 56px;
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; font-size: 17px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), #1d4ed8); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0;
}
.brand span span { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: #424245; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, top .3s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.menu-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 56px 0 0 0; height: calc(100dvh - 56px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 22px 32px;
    background: #fff; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px); overflow-y: auto;
  }
  /* Animation nur beim Öffnen, damit das Menü beim Drehen des Tablets nicht aufblitzt */
  .menu-open .nav-links { transition: opacity .25s ease, transform .25s ease; }
  .nav-links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .nav-links .btn { margin-top: 28px; font-size: 17px; padding: 15px 24px; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .menu-open .nav { background: #fff; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(120px, 15vw, 180px) 0 0; text-align: center; overflow: hidden; }
.hero .lead { max-width: 720px; margin: 26px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 36px; }

.stage {
  position: relative; margin-top: clamp(48px, 7vw, 80px); padding: clamp(28px, 6vw, 72px) clamp(16px, 6vw, 72px) 0;
  border-radius: 36px 36px 0 0; overflow: hidden;
  background:
    radial-gradient(60% 80% at 12% 10%, rgba(10, 92, 255, 0.20), transparent 60%),
    radial-gradient(55% 75% at 92% 20%, rgba(34, 184, 238, 0.22), transparent 60%),
    linear-gradient(180deg, #eef4ff, #f6f9ff);
}
.browser {
  container-type: inline-size; width: min(620px, 100%); margin: 0 auto; background: #fff; text-align: left;
  border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(8, 17, 31, 0.35), 0 0 0 1px rgba(8, 17, 31, 0.06);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f3f4f7; border-bottom: 1px solid var(--hair); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d8de; }
.browser-bar b { margin: 0 auto; padding: 4px 28px; border-radius: 7px; background: #fff; font-size: 11px; font-weight: 500; color: var(--muted); transform: translateX(-21px); }

/* Mini-Webseite (Illustration, skaliert mit ihrem Container) */
.site { font-size: clamp(5px, 1.55cqw, 13px); color: #0f1b33; background: #fff; line-height: 1.35; }
.site-nav { display: flex; align-items: center; gap: 2.2em; padding: 1.5em 2.4em; font-size: 0.95em; color: #56607a; }
.site-nav b { color: #0f1b33; font-size: 1.15em; margin-right: auto; letter-spacing: -0.01em; }
.site-btn { display: inline-block; font-style: normal; font-weight: 600; padding: 0.7em 1.4em; border-radius: 99em; background: var(--site-accent, #0a5cff); color: #fff; white-space: nowrap; }
.site-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.4em; align-items: center; padding: 2.2em 2.4em 2.6em; }
.site-hero small { display: block; font-size: 0.9em; font-weight: 600; color: var(--site-accent, #0a5cff); margin-bottom: 0.8em; }
.site-hero h4 { font-size: 2.7em; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 0.45em; font-weight: 700; }
.site-hero p { color: #56607a; margin-bottom: 1.5em; max-width: 30em; }
.site-img { aspect-ratio: 4 / 3; border-radius: 1.6em; position: relative; overflow: hidden; background: var(--site-img, linear-gradient(135deg, #cfe3ff, #e6f7ff)); }
.site-img::before { content: ""; position: absolute; left: 12%; bottom: 0; width: 46%; height: 62%; border-radius: 1.2em 1.2em 0 0; background: rgba(255, 255, 255, 0.7); }
.site-img::after { content: ""; position: absolute; right: 12%; bottom: 0; width: 24%; height: 40%; border-radius: 1.2em 1.2em 0 0; background: rgba(255, 255, 255, 0.45); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; padding: 0 2.4em 2.6em; }
.site-cards div { padding: 1.3em 1.4em; border-radius: 1.2em; background: #f4f6fa; }
.site-cards b { display: block; margin-bottom: 0.2em; }
.site-cards span { color: #56607a; font-size: 0.92em; }
@container (max-width: 520px) {
  .site { font-size: 2.5cqw; }
  .site-nav span { display: none; }
  .site-hero { grid-template-columns: 1fr; }
  .site-img { display: none; }
  .site-cards { grid-template-columns: 1fr 1fr; }
  .site-cards div:last-child { display: none; }
}

.float {
  position: absolute; width: 236px; padding: 16px; border-radius: 20px; text-align: left; font-size: 13px; line-height: 1.4;
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 24px 48px -20px rgba(8, 17, 31, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.float-title { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.float-title .dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18); }
.float-chat { left: 1.5%; bottom: 12%; }
.float-auto { right: 1.5%; top: 30%; }
.bubble { padding: 9px 12px; border-radius: 15px; margin-bottom: 6px; max-width: 92%; }
.bubble-in { background: #e9e9eb; border-bottom-left-radius: 5px; }
.bubble-out { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.checks li { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-weight: 500; }
.checks li + li { border-top: 1px solid var(--hair); }
.checks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #30d158; color: #fff; stroke-width: 3; }
@media (max-width: 1100px) {
  .stage { border-radius: 28px; padding-bottom: clamp(16px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .browser { grid-column: 1 / -1; width: 100%; border-radius: 14px; }
  .float { position: static; width: auto; }
}
@media (max-width: 600px) { .stage { grid-template-columns: 1fr; } }

.trust { border-top: 1px solid var(--hair); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.trust .icon { color: var(--blue); }
@media (max-width: 800px) { .trust ul { grid-template-columns: 1fr 1fr; gap: 20px 16px; } }

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); background: #fff;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .tag { font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.card .link { margin-top: 18px; font-size: 16px; }
.card-visual { margin-top: auto; padding-top: 28px; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }
.card-dark { background: linear-gradient(160deg, var(--navy), #12337f); color: #fff; }
.card-dark p { color: rgba(255, 255, 255, 0.72); }
.card-dark .tag { color: #7cc4ff; }
.card-wide { flex-direction: row; align-items: center; gap: 32px; }
.card-wide > div { flex: 1; min-width: 0; }
.card-wide .card-visual { padding-top: 0; margin: 0; }

/* kleine Illustrationen in den Karten */
.v-devices { position: relative; height: 210px; }
.v-laptop { position: absolute; left: 0; right: 16%; top: 0; bottom: 0; border-radius: 14px; background: var(--bg-alt); padding: 16px; display: grid; gap: 9px; align-content: start; box-shadow: 0 0 0 1px var(--hair); }
.v-phone { position: absolute; right: 0; bottom: -14px; width: 32%; height: 86%; border-radius: 20px; background: #fff; padding: 14px 11px; display: grid; gap: 8px; align-content: start; box-shadow: 0 18px 36px -14px rgba(8, 17, 31, 0.3), 0 0 0 1px var(--hair); }
.sk { height: 9px; border-radius: 6px; background: #dfe3ea; }
.sk.w40 { width: 40%; } .sk.w60 { width: 60%; } .sk.w80 { width: 80%; }
.sk.big { height: 20px; background: #c3cad6; }
.sk.blue { background: var(--blue); width: 34%; height: 18px; border-radius: 99px; margin-top: 6px; }
.sk.block { height: 62px; background: linear-gradient(135deg, #cfe3ff, #e6f7ff); border-radius: 10px; }
.v-chat { display: grid; gap: 7px; font-size: 13.5px; }
.v-chat .bubble { margin: 0; }
.v-chat .bubble-in { background: rgba(255, 255, 255, 0.14); color: #fff; }
.v-chat .bubble-out { background: #2b7bff; margin-left: auto; }
.v-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.v-flow span { padding: 8px 13px; border-radius: 99px; background: var(--bg-alt); }
.v-flow span:last-child { background: #e3f9ea; color: #0c7a2e; }
.v-flow i { color: var(--line); font-style: normal; }
.v-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.v-cal i { aspect-ratio: 1; border-radius: 8px; background: var(--bg-alt); }
.v-cal i.free { background: #dbe8ff; }
.v-cal i.pick { background: var(--blue); box-shadow: 0 6px 14px -4px rgba(10, 92, 255, 0.6); }
.v-search { display: grid; gap: 10px; font-size: 13.5px; }
.v-search .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); }
.v-search .bar .icon { width: 16px; height: 16px; }
.v-search .hit { padding: 12px 14px; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair); display: grid; gap: 2px; }
.v-search .hit b { color: var(--blue); }
.v-search .hit span { color: var(--muted); font-size: 12.5px; }

.more-title { margin: clamp(56px, 7vw, 84px) 0 26px; text-align: center; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { padding: 24px; border-radius: 22px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini .icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 16px; }
.mini h4 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
.mini p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

@media (max-width: 960px) {
  .span-4, .span-3 { grid-column: span 6; }
  .span-2 { grid-column: span 3; }
  .bento > .md-full { grid-column: span 6; }
  .minis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bento { gap: 14px; }
  .span-2 { grid-column: span 6; }
  .card-wide { flex-direction: column; align-items: stretch; }
  .card-wide .card-visual { margin-top: 26px; }
  .minis { gap: 12px; }
  .mini { padding: 20px; }
}
@media (max-width: 420px) { .minis { grid-template-columns: 1fr; } }

/* ---------- Branchen (Tabs) ---------- */
.tabs { display: flex; justify-content: center; margin-bottom: 36px; }
.tablist { display: inline-flex; gap: 4px; padding: 5px; border-radius: 980px; background: var(--bg-alt); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { padding: 10px 20px; border: 0; border-radius: 980px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; color: #424245; white-space: nowrap; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--radius); background: var(--bg-alt); animation: fade .45s ease both; }
.panel[hidden] { display: none; }
.panel .lead { font-size: 19px; margin-top: 16px; }
.panel-note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.solutions { display: grid; gap: 10px; }
.solutions li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; }
.solutions .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; margin-top: 1px; }
.solutions b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.solutions span { display: block; font-size: 14.5px; color: var(--muted); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } .tabs { justify-content: flex-start; } }

/* ---------- Beispiele ---------- */
.show { border-radius: var(--radius); background: #fff; padding: clamp(22px, 4vw, 48px); }
.show + .show { margin-top: 20px; }
.show-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(22px, 3vw, 36px); }
.show-head p { color: var(--muted); max-width: 440px; font-size: 16px; }
.hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }

.ba { --pos: 50%; position: relative; container-type: inline-size; aspect-ratio: 16 / 9.2; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair); user-select: none; -webkit-user-select: none; background: #fff; }
.ba-layer { position: absolute; inset: 0; overflow: hidden; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); background: #fff; }
.ba-after .site { height: 100%; --site-accent: #0a8f8f; --site-img: linear-gradient(135deg, #c9f1ec, #e2f4ff); }
.ba-label { position: absolute; bottom: 14px; z-index: 3; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 650; pointer-events: none; }
.ba-label.l { left: 14px; background: rgba(0, 0, 0, 0.65); color: #fff; }
.ba-label.r { right: 14px; background: var(--blue); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); z-index: 4; pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; touch-action: pan-y; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid rgba(10, 92, 255, 0.45); outline-offset: 3px; }

.old { height: 100%; font-family: "Times New Roman", Times, serif; font-size: clamp(5px, 1.5cqw, 14px); color: #222; background: #efe9d6; line-height: 1.3; }
.old-head { padding: 1.2em 2em; background: #6d7f96; color: #fff; font-size: 1.9em; font-weight: 700; border-bottom: 0.25em solid #3f4e63; }
.old-body { display: grid; grid-template-columns: 11em 1fr; gap: 2em; padding: 1.6em 2em; }
.old-menu { background: #dcd5bd; border: 1px solid #a9a28a; padding: 1em; display: grid; gap: 0.5em; align-content: start; color: #00c; text-decoration: underline; }
.old-main b { font-size: 1.4em; }
.old-main p { margin: 0.6em 0 1em; }
.old-main table { border-collapse: collapse; font-size: 0.95em; }
.old-main td { border: 1px solid #8d8770; padding: 0.3em 0.9em; background: #f7f3e6; }
.old-note { font-size: 0.85em; color: #666; font-style: italic; }
@container (max-width: 520px) {
  .old { font-size: 2.3cqw; }
  .old-body { grid-template-columns: 8em 1fr; gap: 1.2em; padding: 1.2em; }
}
@media (max-width: 640px) { .ba { aspect-ratio: 4 / 3.5; } }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.flow-step { position: relative; padding: 22px; border-radius: 20px; background: var(--bg-alt); animation: glow 10s infinite; }
.flow-step:nth-child(2) { animation-delay: 2.5s; }
.flow-step:nth-child(3) { animation-delay: 5s; }
.flow-step:nth-child(4) { animation-delay: 7.5s; }
.flow-step:not(:last-child)::after { content: "›"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); width: 12px; text-align: center; color: var(--line); font-size: 20px; z-index: 1; }
.flow-step .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--blue); margin-bottom: 16px; box-shadow: 0 0 0 1px var(--hair); }
.flow-step small { display: block; font-size: 12px; font-weight: 650; color: var(--blue); margin-bottom: 4px; }
.flow-step b { display: block; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; }
.flow-step span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@keyframes glow {
  0%, 30%, 100% { background: var(--bg-alt); box-shadow: none; }
  6%, 22% { background: #eaf2ff; box-shadow: 0 0 0 1.5px rgba(10, 92, 255, 0.5); }
}
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step::after { display: none; }
}
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.section-dark { background: radial-gradient(70% 60% at 85% 0%, rgba(10, 92, 255, 0.28), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(34, 184, 238, 0.14), transparent 60%), #05080f; color: #f5f5f7; }
.section-dark .eyebrow { color: #62b0ff; }
.section-dark .lead { color: rgba(245, 245, 247, 0.72); }
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(80% 60% at 50% 25%, rgba(98, 176, 255, 0.35), transparent 70%), linear-gradient(160deg, #12337f, #08111f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-mono { font-size: clamp(72px, 12vw, 140px); font-weight: 700; letter-spacing: -0.05em; color: rgba(255, 255, 255, 0.92); }
.portrait-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.10); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 14px; line-height: 1.35; }
.portrait-cap b { display: block; font-size: 16px; }
.portrait-cap span { color: rgba(255, 255, 255, 0.7); }
.about-text p + p { margin-top: 18px; }
.about-text .body { color: rgba(245, 245, 247, 0.72); font-size: 18px; line-height: 1.55; margin-top: 22px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.fact { padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
.fact small { display: block; font-size: 12px; font-weight: 600; color: #62b0ff; margin-bottom: 4px; }
.fact b { font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; display: block; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 84px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.promise .icon { color: #62b0ff; width: 28px; height: 28px; margin-bottom: 14px; }
.promise b { display: block; font-weight: 650; letter-spacing: -0.01em; }
.promise span { display: block; font-size: 15px; color: rgba(245, 245, 247, 0.65); margin-top: 6px; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
  .promises { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; padding-top: 24px; border-top: 1px solid var(--line); }
.step::before { content: "0" counter(step); display: block; font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; background: linear-gradient(92deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: #fff; position: relative; }
.plan-top { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 650; white-space: nowrap; }
.plan-desc { color: var(--muted); font-size: 15px; margin-top: 8px; min-height: 66px; }
.price { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 22px; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.features { display: grid; gap: 11px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 15.5px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features .icon { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.6; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.care { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; margin-top: 20px; }
.care-intro { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: linear-gradient(160deg, var(--navy), #12337f); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.care-intro .tag { font-size: 13px; font-weight: 600; color: #7cc4ff; margin-bottom: 10px; }
.care-intro p { color: rgba(255, 255, 255, 0.72); margin-top: 12px; font-size: 16px; }
.care .price { font-size: 38px; }
.custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 20px; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: #fff; }
.custom p { color: var(--muted); margin-top: 6px; max-width: 620px; font-size: 16px; }
.fineprint { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 26px; }
@media (max-width: 960px) {
  .plans, .care { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
  .plan-top { margin-top: 8px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 2vw, 21px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-points { display: grid; gap: 18px; margin-top: 36px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; }
.contact-points .icon { color: #62b0ff; margin-top: 2px; }
.contact-points b { display: block; font-weight: 600; }
.contact-points span { display: block; font-size: 15px; color: rgba(245, 245, 247, 0.65); }
.form { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: #fff; color: var(--ink); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 92, 255, 0.15); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; font-weight: 500; padding: 14px 16px; border-radius: 13px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e3f9ea; color: #0c6b29; }
.form-status.err { background: #ffe9e7; color: #b3261e; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); padding: 44px 0 36px; font-size: 13.5px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-top p { max-width: 340px; margin-top: 12px; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: start; color: #424245; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; }
.footer-bottom nav { display: flex; gap: 22px; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 130px 0 90px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 28px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: #424245; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--blue); }
.legal mark { background: #fff3b0; padding: 1px 5px; border-radius: 5px; }
.notice { padding: 16px 18px; border-radius: 14px; background: #fff7d6; border: 1px solid #f0d878; font-size: 15px; margin-bottom: 32px; }

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flow-step, .panel { animation: none; }
  .card, .mini { transition: none; }
}

.about .h2 { font-size: clamp(30px, 4vw, 50px); }

/* ---------- Ergänzungen: KI-Agenten und Microsoft 365 ---------- */
.card-tint { background: linear-gradient(160deg, #e9f1ff, #e4f7ff); }
.v-agent { display: grid; gap: 8px; font-size: 14.5px; font-weight: 500; }
.v-agent li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.8); }
.v-agent li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #30d158; color: #fff; font-size: 12px; font-weight: 700; }
.v-agent li.wait { background: #fff; color: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); }
.v-agent li.wait::before { content: ""; background: var(--blue); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 92, 255, 0.45); } 100% { box-shadow: 0 0 0 9px rgba(10, 92, 255, 0); } }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; font-weight: 600; }
.v-chips span { padding: 9px 16px; border-radius: 99px; background: var(--bg-alt); }
@media (prefers-reduced-motion: reduce) { .v-agent li.wait::before { animation: none; } }
