/* teclift – Stylesheet
   Farben zentral in :root anpassen. Keine externen Ressourcen. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben – HINWEIS: an die Original-teclift-Farben angleichen,
     sobald diese aus dem Archiv ermittelt sind (siehe OFFENE-PUNKTE.md). */
  --navy-900: #0a1f3d;
  --navy-800: #0f2b52;
  --navy-700: #1a3a66;
  --blue-600: #1d64d8;
  --blue-500: #2f7cf0;
  --blue-400: #5c9df5;
  --blue-200: #bcd7fb;
  --blue-100: #e3efff;
  --blue-50:  #f2f7ff;
  --white: #ffffff;
  /* teclift-Markenfarben (aus dem Original-Elementor-Kit) */
  --mint: #00efb4;
  --mint-500: #00d8a3;
  --mint-100: #d9fdf3;
  --mint-text: #00765b;   /* kontrastreiche Variante für kleine Texte */
  --graphite: #38404b;
  --slate-600: #4a5a72;
  --slate-500: #63738a;
  --slate-300: #c9d3e1;
  --slate-200: #e3e9f1;
  --success: #12805c;
  --danger: #c0392b;

  --text: var(--navy-900);
  --text-muted: var(--slate-600);
  --bg: var(--white);
  --bg-soft: var(--blue-50);
  --border: var(--slate-200);
  --accent: var(--blue-600);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 61, .06), 0 1px 3px rgba(10, 31, 61, .05);
  --shadow: 0 4px 12px rgba(10, 31, 61, .06), 0 12px 32px rgba(10, 31, 61, .07);
  --shadow-lg: 0 10px 30px rgba(10, 31, 61, .10), 0 30px 60px rgba(10, 31, 61, .10);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  box-shadow: 0 6px 18px rgba(10, 31, 61, .18);
}
.btn .arrow { color: var(--mint); }
.btn:hover { color: var(--btn-fg); background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 43, 82, .25); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); border-color: var(--slate-300); box-shadow: none; }
.btn--ghost:hover { --btn-fg: var(--navy-900); background: var(--blue-50); border-color: var(--blue-200); box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(10, 31, 61, .04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand img { height: 34px; width: auto; }
.brand-wordmark { font: 800 1.5rem/1 var(--font-head); letter-spacing: -.04em; color: var(--navy-900); }
.brand-wordmark span { color: var(--mint-text); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--navy-900); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 72px;
  background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px;
}
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav a {
  display: block; padding: 14px 4px; text-decoration: none; color: var(--navy-900);
  font-weight: 500; border-bottom: 1px solid var(--slate-200);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav .nav-cta { margin-top: 12px; }
.site-nav .nav-cta a { border: 0; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 4px; }
  .site-nav a { border: 0; padding: 8px 14px; border-radius: 999px; font-size: .97rem; color: var(--slate-600); transition: color .2s, background-color .2s; }
  .site-nav a:hover { color: var(--navy-900); background: var(--blue-50); }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a.btn { color: #fff; padding: .6em 1.2em; min-height: 42px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: linear-gradient(180deg, var(--blue-50), #fff 85%); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--mint-text); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--mint); }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 8vw, 104px) clamp(72px, 10vw, 128px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(92, 157, 245, .22), rgba(92, 157, 245, 0));
  pointer-events: none; z-index: -1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(29, 100, 216, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--blue-100); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .9rem; font-weight: 500; color: var(--navy-700);
}
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-100); display: grid; place-items: center; }
.hero-badge .dot { background: var(--mint-100); }
.hero-badge .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-500); box-shadow: 0 0 0 4px rgba(0, 216, 163, .22); }
.hero h1 .hl { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--mint); opacity: .55; border-radius: 4px; z-index: -1; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--text-muted); max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--slate-600); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--mint-text); flex: none; background: var(--mint-100); border-radius: 50%; padding: 3px; }

.hero-visual { position: relative; }
.hero-visual .card-stack { position: relative; aspect-ratio: 1 / .92; max-width: 540px; margin-inline: auto; }
.hero-visual svg.network { width: 100%; height: 100%; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  font-size: .9rem; color: var(--navy-900); animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 600; line-height: 1.3; }
.float-card small { color: var(--slate-500); font-size: .8rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card--a { left: -2%; top: 12%; }
.float-card--b { right: -2%; bottom: 14%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .float-card { font-size: .8rem; padding: 10px 12px; } .float-card .ic { width: 32px; height: 32px; } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card p { color: var(--text-muted); margin: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue-100), #fff); color: var(--blue-600);
  border: 1px solid var(--blue-100);
}
.card-icon svg { width: 26px; height: 26px; }

/* Tech chips */
.tech-groups { display: grid; gap: 20px; }
@media (min-width: 900px) { .tech-groups { grid-template-columns: repeat(3, 1fr); } }
.tech-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.tech-group h3 { font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.tech-group h3 svg { width: 22px; height: 22px; color: var(--blue-600); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: var(--blue-50); color: var(--navy-700); border: 1px solid var(--blue-100);
}

/* Why */
.why-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .why-grid { grid-template-columns: .85fr 1.15fr; } .why-grid .section-head { position: sticky; top: 110px; } }
.why-list { list-style: none; display: grid; gap: 16px; counter-reset: why; }
.why-item {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.why-item::before {
  counter-increment: why; content: counter(why, decimal-leading-zero);
  font: 700 .95rem/1 var(--font-head); color: var(--blue-600); background: var(--blue-50);
  border: 1px solid var(--blue-100); border-radius: 12px; padding: 12px 10px; min-width: 46px; text-align: center;
}
.why-item h3 { margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--text-muted); }

/* Team */
.team-grid { display: grid; gap: clamp(20px, 3vw, 32px); max-width: 920px; margin-inline: auto; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { aspect-ratio: 4 / 3.3; background: var(--blue-50); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-body { padding: 24px 26px 28px; }
.team-body h3 { margin-bottom: 4px; font-size: 1.35rem; }
.team-role { color: var(--mint-text); font-weight: 600; font-size: .95rem; margin-bottom: 12px; }
.team-body p { color: var(--text-muted); margin: 0; }
.team-links { display: flex; gap: 10px; margin-top: 18px; }
.team-links a { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; text-decoration: none; }

/* Testimonials */
.testimonials { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.quote {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: ""; position: absolute; top: 26px; right: 28px; width: 44px; height: 34px; opacity: .14;
  background: var(--blue-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M0 34V20C0 9 6 2 17 0l2 5c-6 2-9 6-9 11h8v18H0zm25 0V20C25 9 31 2 42 0l2 5c-6 2-9 6-9 11h8v18H25z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34'%3E%3Cpath d='M0 34V20C0 9 6 2 17 0l2 5c-6 2-9 6-9 11h8v18H0zm25 0V20C25 9 31 2 42 0l2 5c-6 2-9 6-9 11h8v18H25z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--navy-800); }
.quote blockquote p:last-child { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--slate-200); }
.quote .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--mint-100); color: var(--mint-text); font: 700 1rem/1 var(--font-head); }
.quote cite { font-style: normal; font-weight: 600; color: var(--navy-900); display: block; line-height: 1.3; }
.quote .meta { font-size: .88rem; color: var(--slate-500); }

/* Contact section */
.contact-panel {
  display: grid; gap: clamp(28px, 4vw, 48px); align-items: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #dfe9f8; border-radius: clamp(20px, 3vw, 32px); padding: clamp(32px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.contact-panel::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(92, 157, 245, .35), transparent); pointer-events: none;
}
@media (min-width: 960px) { .contact-panel { grid-template-columns: 1.2fr .8fr; } }
.contact-panel h2 { color: #fff; }
.contact-panel .eyebrow { color: var(--mint); }
.contact-panel p { color: #c3d4ee; font-size: 1.1rem; }
.contact-panel .btn { --btn-bg: #fff; --btn-fg: var(--navy-900); box-shadow: none; }
.contact-panel .btn:hover { background: var(--blue-100); --btn-fg: var(--navy-900); }
.contact-list { list-style: none; display: grid; gap: 14px; position: relative; z-index: 1; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.contact-list svg { width: 22px; height: 22px; color: var(--mint); flex: none; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.contact-list small { display: block; color: #9fb4d4; font-size: .8rem; }

/* Footer */
.site-footer { padding-block: 56px 36px; border-top: 1px solid var(--border); background: #fff; color: var(--slate-600); font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--slate-600); text-decoration: none; }
.site-footer a:hover { color: var(--blue-600); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .88rem; }

/* Placeholder marker (für fehlende Inhalte, gut sichtbar) */
.placeholder {
  outline: 2px dashed #e0a100; outline-offset: 4px; background: repeating-linear-gradient(-45deg, rgba(255, 196, 0, .08) 0 10px, transparent 10px 20px);
  border-radius: 6px;
}
.placeholder-note { display: inline-block; font-size: .75rem; font-weight: 600; color: #8a6200; background: #fff4cc; border: 1px solid #f0d27a; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; letter-spacing: .02em; }
.ph-photo { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #8a6200; font-weight: 600; font-size: .9rem; padding: 20px; background: repeating-linear-gradient(-45deg, #fff8e0 0 14px, #fffdf5 14px 28px); }

/* ---------- Floating contact button + panel ---------- */
.fab {
  --fab-bg: var(--navy-900);
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  background: var(--fab-bg); color: #fff; border-radius: 999px; text-decoration: none;
  font-weight: 600; box-shadow: 0 10px 30px rgba(10, 31, 61, .30), 0 2px 6px rgba(10, 31, 61, .15);
  transition: transform .3s var(--ease), background-color .2s, box-shadow .3s; border: 0; cursor: pointer; font-size: 1rem; font-family: var(--font-body);
}
.fab svg { color: var(--mint); }
.fab:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.fab svg { width: 22px; height: 22px; }
@media (max-width: 480px) { .fab { width: 56px; padding: 0; justify-content: center; } .fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.contact-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.contact-modal:target, .contact-modal.is-open { display: block; }
.contact-backdrop { position: absolute; inset: 0; background: rgba(10, 31, 61, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadeIn .25s var(--ease); }
.contact-dialog {
  position: absolute; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
  inset: auto 0 0 0; max-height: 92dvh; border-radius: 24px 24px 0 0; padding: 26px 20px max(24px, env(safe-area-inset-bottom));
  animation: slideUp .35s var(--ease);
}
@media (min-width: 640px) {
  .contact-dialog { inset: auto 24px 24px auto; width: 440px; max-height: calc(100dvh - 48px); border-radius: var(--radius-lg); padding: 30px; }
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog-head h2 { font-size: 1.45rem; margin: 0 0 4px; }
.dialog-head p { margin: 0; font-size: .95rem; color: var(--text-muted); }
.dialog-close { flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--navy-900); display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.dialog-close:hover { background: var(--blue-50); color: var(--navy-900); }
.dialog-close svg { width: 20px; height: 20px; }

.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.field .req { color: var(--blue-600); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy-900); background: #fff;
  border: 1.5px solid var(--slate-300); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 124, 240, .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 6px; display: none; }
.field-error.is-visible { display: block; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--text-muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-600); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 12px 14px; font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e7f6ef; color: var(--success); border: 1px solid #b7e4cf; }
.form-status--err { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; }
.form-note { font-size: .8rem; color: var(--slate-500); margin: 0; }

/* Reveal animation (nur mit JS aktiv) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 8vw, 96px); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--slate-600); }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font-weight: 500; text-decoration: none; }

.status-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.status-page p { color: var(--text-muted); }

@media print {
  .site-header, .fab, .contact-modal, .site-nav { display: none !important; }
  body { font-size: 11pt; }
}

/* Entwurfs-Banner (vor Livegang aus index.html entfernen) */
.draft-banner { background: #fff4cc; color: #6b4d00; border-bottom: 1px solid #f0d27a; font-size: .88rem; font-weight: 500; text-align: center; padding: 8px 16px; }

/* Intro-Zahlenleiste */
.intro { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 7vw, 80px); }
@media (min-width: 960px) { .intro { grid-template-columns: 1.15fr .85fr; } }
.intro-text { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--navy-800); font-weight: 500; margin: 0; letter-spacing: -.005em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.fact strong { display: block; font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--font-head); color: var(--navy-900); letter-spacing: -.03em; }
.fact span { font-size: .82rem; color: var(--slate-500); line-height: 1.35; display: block; margin-top: 6px; }

/* Tech mit Icons */
.tech-intro { display: grid; gap: 24px; margin-bottom: 40px; }
@media (min-width: 960px) { .tech-intro { grid-template-columns: 1fr 1fr; align-items: end; } }
.tech-intro p { color: var(--text-muted); margin: 0; }
.tech-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; list-style: none; }
.tech-areas li { padding: 8px 16px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: .9rem; font-weight: 500; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.chips li img { width: 18px; height: 18px; object-fit: contain; }
.chips li:hover { border-color: var(--mint-500); }

/* Team-Links */
.team-links a { color: var(--navy-700); padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; transition: border-color .2s, background-color .2s; }
.team-links a:hover { border-color: var(--mint-500); background: var(--mint-100); color: var(--navy-900); }
.team-links svg { width: 16px; height: 16px; }
.team-links { flex-wrap: wrap; }
.team-intro { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 56px); text-align: center; color: var(--text-muted); font-size: 1.08rem; }
.quote blockquote .elide { color: var(--slate-500); }
.footer-claim { margin-top: 14px; max-width: 340px; }
.tech-icon:empty { display: none; }

/* Korrekturen nach QA */
.field label.check { display: grid; font-weight: 400; font-size: .9rem; color: var(--text-muted); margin: 0; }
.quote { padding-top: 76px; }
.quote::before { top: 28px; left: clamp(26px, 3vw, 36px); right: auto; width: 38px; height: 29px; opacity: 1; background: var(--mint); }

/* Navigations-Button: eigener Hover (überschreibt den hellen Link-Hover) */
@media (min-width: 960px) {
  .site-nav .nav-cta a.btn { background: var(--navy-900); color: #fff; }
  .site-nav .nav-cta a.btn:hover,
  .site-nav .nav-cta a.btn:focus-visible { background: var(--blue-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(29, 100, 216, .28); }
}
.site-nav .nav-cta a.btn { color: #fff; justify-content: center; }
.site-nav .nav-cta a.btn:hover { color: #fff; background: var(--blue-600); }
