/* TEXISION — modern, accessible rebuild. Self-hosted font, no external assets. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/inter-800.woff2") format("woff2"); }

:root {
  --blue: #071dc4;
  --blue-700: #0a18a6;
  --violet: #5a41ef;
  --ink: #131830;
  --ink-soft: #3a4159;
  --muted: #5a6178;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-alt: #eef2fb;
  --bg-deep: #070d24;
  --bg-deep2: #0c1747;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 25, 34, .04), 0 8px 24px rgba(16, 25, 34, .06);
  --shadow-lg: 0 12px 40px rgba(7, 29, 196, .16);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 .7em; max-width: 60ch; margin-inline: auto; }
a { color: var(--blue); }

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

.brand-word { font-weight: 800; letter-spacing: .06em; }

/* layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
section { padding-block: clamp(2.8rem, 6vw, 5rem); position: relative; }
.section-alt {
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(83,65,239,.10), transparent 60%),
    radial-gradient(620px 360px at 0% 100%, rgba(7,29,196,.08), transparent 58%),
    var(--bg-alt);
}
.section-head { margin: 0 auto 2rem; text-align: center; }
.section-head p { max-width: 60ch; text-align: left; }
.section-head .lead { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); margin-inline: auto; max-width: 64ch; }

/* skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }

/* focus visibility */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: #0518a8; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: rgba(7, 29, 196, .06); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; height: 72px; }
.logo {
  font-weight: 800; font-size: 1.35rem; letter-spacing: .08em;
  color: var(--blue); text-decoration: none; margin-right: auto;
}
.logo span { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-weight: 500;
  padding: .5rem .8rem; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--blue); background: var(--bg-alt); }
.nav-links a.active { color: var(--blue); background: var(--bg-alt); font-weight: 700; }
.nav-cta { margin-left: .4rem; }
.nav-cta .btn-primary { color: #fff; }
.nav-cta .btn-primary:hover { background: #fff; color: var(--blue); border-color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  color: var(--ink); border-radius: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
    box-shadow: var(--shadow);
    pointer-events: none; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { pointer-events: auto; opacity: 1; transform: translateY(0); }
  .nav-links li { position: relative; }
  .nav-links a {
    display: block; padding: .75rem .8rem .75rem 1.8rem;
    color: var(--ink-soft); font-weight: 500;
    transition: color .15s;
  }
  .nav-links a.active, .nav-links a:hover { color: var(--blue); }
  .nav-links a.active::before {
    content: "→"; position: absolute; left: .4rem;
    color: var(--blue); font-weight: 700;
  }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta .btn { justify-content: center; width: 100%; }
}

/* hero — light & lively */
.hero {
  position: relative; overflow: hidden; color: var(--ink); text-align: center;
  min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(83, 65, 239, .22), transparent 62%),
    radial-gradient(760px 520px at -8% 8%, rgba(7, 29, 196, .16), transparent 58%),
    radial-gradient(700px 600px at 60% 120%, rgba(120, 180, 255, .20), transparent 60%),
    linear-gradient(180deg, #fbfcff, #eaeffb);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(7,29,196,.10) 1px, transparent 1px);
  background-size: 30px 30px; mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
  opacity: .5;
}
.hero > .container { position: relative; z-index: 1; }
.hero .container { display: grid; gap: 2rem; padding-block: 2rem; grid-template-columns: 1fr; width: 100%; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.05fr .95fr; align-items: center; } }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero h1 .accent { background: linear-gradient(100deg, var(--blue), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; justify-content: center; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.2rem 0 0; padding: 0; list-style: none;
  color: var(--ink-soft); font-weight: 600; justify-content: center;
}
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* generic card grid */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--bg); border-radius: var(--radius-lg);
  padding: 1.6rem; position: relative;
}
.card:hover { transform: translateY(-3px); }
.card .tag { font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.card h3 { text-align: center; }
.card p { text-align: left; max-width: 55ch; }
.icon-badge {
  display: flex; margin-inline: auto;
  align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
}
.icon-badge svg { width: 26px; height: 26px; }

/* module-name styling */
.module-name { font-weight: 800; letter-spacing: .05em; color: var(--blue); }
.mod-card .module-name { color: #b8c7ff; }
.mod-body .module-name { color: #d0ddff; }

/* module cards — 2x2 grid, full-bleed image, title always visible, text slides in on hover */
.mod-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 700px) { .mod-grid { grid-template-columns: 1fr; } }

.mod-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; cursor: default;
  background: var(--bg-deep);
}
.mod-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity .4s ease, transform .4s ease;
}
.mod-card:hover img { opacity: 0; transform: scale(1.08); }

.mod-body {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; padding: 1.6rem;
  background: linear-gradient(160deg, #1e3a8a, #3b5db0);
  opacity: 0; transition: opacity .4s ease;
}
.mod-card:hover .mod-body { opacity: 1; }

.mod-card h3 {
  color: #fff; margin: 0 0 .2rem; font-size: 1.6rem; text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.mod-card .tag { color: #d0ddff; font-weight: 800; letter-spacing: .08em; display: block; margin-bottom: .15rem; }

.mod-text {
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .35s ease .12s, transform .35s ease .12s;
}
.mod-card:hover .mod-text {
  opacity: 1; transform: translateY(0);
}
.mod-text p {
  color: #fff; font-size: .95rem; margin: .6rem 0 0; max-width: 40ch;
  line-height: 1.55; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* split: text + visual */
.split { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr .95fr; } .split.reverse > :first-child { order: 2; } }
/* criteria card — aufgewertete Branchen-Übersicht */
.criteria-card {
  text-align: center; padding: 2.4rem 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
  box-shadow: var(--shadow); border: 1px solid var(--line);
  max-width: 680px; margin-inline: auto;
}
.criteria-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 16px; color: #fff;
}
.criteria-icon svg { width: 28px; height: 28px; }
.criteria-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.criteria-intro { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.criteria-tags {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
}
.criteria-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
  padding: .45rem .85rem .45rem .7rem; border-radius: 999px;
}
.criteria-tag svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.criteria-accent {
  background: rgba(7,29,196,.06); border-color: rgba(7,29,196,.25);
}
.criteria-accent svg { color: var(--violet); }

.panel {
  border-radius: var(--radius-lg); padding: 2rem; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: var(--shadow-lg);
}
.panel h3 { color: #fff; text-align: center; }
.panel ul { margin: 0 auto; padding-left: 0; list-style: none; }
.panel li { margin-bottom: .6rem; }
.panel li::before { content: "✓ "; color: rgba(255,255,255,.6); font-weight: 700; }

/* pricing */
.pricing { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.price-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column; height: 100%;
  text-align: center;
}
.price-card.featured { border: 2px solid var(--blue); position: relative; }
.price-card.featured::before {
  content: "Empfohlen"; position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px;
}
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--ink); margin: .4rem 0 0; }
.price-unit { color: var(--muted); font-weight: 500; font-size: .95rem; }
.price-card .btn { margin-top: auto; align-self: center; }
.price-card p { color: var(--ink-soft); }

/* team */
.team { display: flex; flex-direction: column; gap: 1.4rem; }
.team-row { display: grid; gap: 1.4rem; }
.team-row:first-child { grid-template-columns: repeat(3, 1fr); }
.team-row-bottom { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
@media (max-width: 900px) {
  .team-row:first-child { grid-template-columns: repeat(2, 1fr); }
  .team-row-bottom { max-width: none; }
}
@media (max-width: 560px) {
  .team-row:first-child, .team-row-bottom { grid-template-columns: 1fr; }
}
.member {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease;
}
.member:hover { transform: translateY(-4px) scale(1.01); }
.member-photo { position: relative; aspect-ratio: 1 / 1; background: var(--bg-alt); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.member-mail {
  position: absolute; top: .6rem; right: .6rem; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.85); color: var(--blue);
  backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: background .15s, color .15s, transform .15s;
}
.member-mail:hover { background: var(--blue); color: #fff; transform: scale(1.08); }
.member-mail svg { width: 16px; height: 16px; }
.member-body { padding: 1rem 1.4rem 1.3rem; text-align: center; }
.member-body p { color: var(--ink-soft); font-size: .9rem; max-width: none; }
.member-cap {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.2rem .9rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 40, .82) 78%);
}
.member-cap h3 { color: #fff; margin: 0; font-size: 1.18rem; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.member-cap .role { color: #cdd6ff; font-weight: 600; font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* definition callout (legacy, kept for other sections) */
.callout {
  border-left: 4px solid var(--blue); background: var(--bg-alt);
  padding: 1.4rem 1.6rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem auto;
  max-width: 64ch; text-align: center;
}
.callout em { font-style: normal; color: var(--blue); font-weight: 600; }

/* story grid: text + wordmark side by side */
.story-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  max-width: 800px; margin: 0 auto 2.5rem;
}
@media (min-width: 700px) { .story-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.story-text p { max-width: 60ch; margin: 0; text-align: left; }

.wordmark-box {
  text-align: center; padding: 1.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
  box-shadow: var(--shadow-lg);
}
.wordmark-label {
  display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.6); margin-bottom: .25rem;
}
.wordmark-word {
  display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: .06em;
  line-height: 1.2;
}
.wordmark-pron {
  display: block; font-size: .85rem; color: rgba(255,255,255,.75);
  margin-top: .15rem;
}
.wordmark-desc {
  font-size: .88rem; color: rgba(255,255,255,.85); margin: .55rem 0 0;
}
.wordmark-desc em { font-style: normal; font-weight: 700; color: #fff; }

/* timeline */
.timeline { max-width: 600px; margin: 0 auto 2.5rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 106px; top: 1rem; width: 2px;
  height: calc(100% - 2.2rem); background: var(--line);
}
.tl-item { display: flex; align-items: flex-start; gap: 1rem; padding: .4rem 0; position: relative; }
.tl-year { flex: 0 0 70px; font-size: .85rem; font-weight: 700; color: var(--blue); text-align: right; padding-top: .1rem; }
.tl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--line); margin-top: .35rem; position: relative; z-index: 1; }
.tl-dot-current { background: var(--blue); box-shadow: 0 0 0 3px rgba(7,29,196,.2); }
.tl-text { font-size: .95rem; color: var(--ink-soft); }

/* team heading */
.team-heading { text-align: center; font-size: 1.4rem; margin-bottom: 1.4rem; }

/* story quote */
.story-quote {
  text-align: center; max-width: 680px; margin: 2.5rem auto 0;
  padding: 2rem 2rem 1.6rem; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--line);
}
.quote-icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: .6rem; opacity: .4; }
.story-quote p { font-size: 1.05rem; font-weight: 500; color: var(--ink); max-width: none; margin: 0 0 .8rem; }
.story-quote cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* contact */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; margin: 0 auto; padding: 0; max-width: 32ch; }
.contact-list li { display: flex; gap: .9rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: .2rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.contact-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* form */
form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(7,29,196,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent span { max-width: none; }
.consent input { width: auto; margin-top: .25rem; }

/* footer */
.site-footer {
  color: #c8d2e8; padding-block: 3.5rem 2rem;
  background: linear-gradient(160deg, #0c1747, #131d52);
}
.site-footer p { max-width: none; }
.site-footer a { color: #c8d2e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 2rem; text-align: center; }
.footer-social { display: flex; gap: .6rem; justify-content: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.08); color: #c8d2e8; transition: background .15s, color .15s; }
.footer-social a:hover { background: rgba(255,255,255,.18); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-grid h2 { font-size: 1.4rem; color: #fff; margin-bottom: .6rem; letter-spacing: .08em; }
.footer-grid h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid address { font-style: normal; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: center; font-size: .9rem; text-align: center;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }

/* legal pages */
.legal { max-width: 75ch; margin-inline: auto; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { color: var(--muted); font-size: .9rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; text-decoration: none; font-weight: 600; }
.back-link svg { width: 18px; height: 18px; }

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

/* ---- soap bubbles (Wäscherei gimmick) ---- */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute; bottom: -60px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 32% 28%,
    rgba(255,255,255,.95), rgba(255,255,255,.3) 36%,
    hsla(var(--bubble-hue,220), 60%, 74%, .20) 56%,
    hsla(var(--bubble-hue,220), 50%, 84%, .10) 68%, transparent 72%);
  box-shadow: inset 0 0 16px rgba(255,255,255,.65),
    0 0 10px hsla(var(--bubble-hue,220), 70%, 70%, .22);
  animation: bubble-rise linear infinite;
  will-change: transform, opacity;
}
.section-dark .bubble, .cta-band .bubble, .site-footer .bubble {
  background: radial-gradient(circle at 32% 28%,
    rgba(255,255,255,.95), rgba(255,255,255,.35) 36%,
    hsla(var(--bubble-hue,220), 50%, 80%, .22) 56%,
    hsla(var(--bubble-hue,220), 40%, 88%, .10) 68%, transparent 72%);
}
/* keep bubbles behind content in bubbled sections */
.section-alt, .site-footer { position: relative; overflow: hidden; }
.section-alt > .container, .site-footer > .container { position: relative; z-index: 1; }
@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0) scale(.82); opacity: 0; }
  12%  { opacity: .7; }
  88%  { opacity: .5; }
  100% { transform: translateY(calc(var(--rise, 900px) * -1)) translateX(var(--drift, 24px)) scale(1.14); opacity: 0; }
}

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .bubbles { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- imagery ---- */
.logo-img { height: 30px; width: auto; display: block; }
.site-footer .logo-img { height: 34px; filter: brightness(0) invert(1); opacity: .92; margin-inline: auto; }

.hero-visual { position: relative; margin-inline: auto; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14% -10%;
  background: radial-gradient(closest-side, rgba(83,65,239,.30), transparent 72%);
  filter: blur(12px); z-index: 0;
}
.hero-visual .device {
  position: relative; z-index: 1;
  border-radius: 16px; box-shadow: 0 30px 60px rgba(7, 29, 196, .22), 0 4px 12px rgba(16,25,34,.10);
  border: 1px solid rgba(255,255,255,.8); background: #fff; width: 100%;
}
.hero-visual .device-phone {
  position: absolute; z-index: 2; width: 30%; right: -4%; bottom: -8%;
  border-radius: 24px; box-shadow: 0 20px 44px rgba(7,29,196,.28);
}
@media (max-width: 600px) { .hero-visual .device-phone { display: none; } }

/* card with image header */
.card-media {
  margin: -1.8rem -1.8rem 1.4rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; background: var(--bg-alt); aspect-ratio: 16/9;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media.contain { padding: 1.2rem; }
.card-media.contain img { object-fit: contain; }

/* feature image in split layouts */
.feature-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }

/* trust / stats band */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat {
  text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-alt), #fff); border: 1px solid var(--line);
}
.stat .num {
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--blue), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--ink-soft); font-weight: 600; margin-top: .5rem; font-size: .92rem; }

/* vivid closing contact section */
.section-dark {
  color: #eef2ff;
  background:
    radial-gradient(800px 480px at 88% 0%, rgba(140,160,255,.55), transparent 60%),
    linear-gradient(140deg, var(--blue) 0%, #3b32d6 55%, var(--violet) 100%);
}
.section-dark h2, .section-dark h3, .section-dark .lead { color: #fff; }
.section-dark .eyebrow { color: #9db0ff; }
.section-dark .contact-list a { color: #eaf0ff; }
.section-dark .contact-list a:hover { color: #fff; }
.section-dark .contact-list svg { color: #9db0ff; }
.section-dark .contact-list .label { color: #97a6c4; }
.form-card { background: #fff; color: var(--ink); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 560px) { .form-card { padding: 1.4rem; } }

/* CTA banner */
.cta-band {
  position: relative; overflow: hidden;
  text-align: center; color: #fff; border-radius: var(--radius-lg); padding: clamp(2.8rem, 6vw, 4rem) clamp(1.6rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--blue), #3b32d6 60%, var(--violet));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; position: relative; z-index: 1; margin-bottom: .7rem; }
.cta-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; display: flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); border-radius: 20px; color: #fff;
  backdrop-filter: blur(4px);
}
.cta-icon svg { width: 32px; height: 32px; }
.cta-text { color: rgba(255,255,255,.92); max-width: 50ch; margin-inline: auto; font-size: 1.05rem; }
.cta-text strong { color: #fff; font-weight: 700; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.4rem; position: relative; z-index: 1; }
.btn-cta {
  background: #fff; color: var(--blue); font-weight: 700; box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-cta:hover { background: #eef2ff; transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.btn-cta-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* section heading accent underline */
.section-head h2::after, .legal h1::after {
  content: ""; display: block; width: 64px; height: 4px; margin: .7rem auto 0;
  border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--violet));
}

/* mobile — Textblöcke bleiben linksbündig */
@media (max-width: 600px) {
  .split { text-align: left; }
  .split .feature-img { margin-inline: auto; }
  .contact-list { margin-inline: auto; }
  .form-card { text-align: left; }
}
