/* SCHRIFTEN – lokal, keine externen Quellen
   TODO Website-Technik: Webfont-Dateien unter ./fonts/ ablegen und einkommentieren. Bis dahin greift Segoe UI / System-Font. */
/*
@font-face { font-family: "IntellityWeb"; src: url("./fonts/intellity-web-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IntellityWeb"; src: url("./fonts/intellity-web-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IntellityWeb"; src: url("./fonts/intellity-web-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
*/

/* FARBEN der Live-Website, identisch mit /de/copilot-readiness-risk-assessment:
   Firmenblau #001234 (Überschriften, dunkle Flächen), Cyan #15BAEE (Akzent H1, Play-Symbol),
   Türkis #1DBBB1 (Buttons, Auszeichnungen), Fließtext #212121, Hintergrund Weiß,
   Linien als transparentes Firmenblau.
   TODO Website-Technik: mit den exakten CSS-Werten der Website abgleichen. */
:root {
  --font: "IntellityWeb", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --blue: #001234;
  --cyan: #15BAEE;
  --turquoise: #1DBBB1; /* Buttons und Akzente; nicht als Fließtext auf Weiß (Kontrast) */
  --turquoise-hover: #17A39A;
  --turquoise-tint: rgba(29,187,177,.12);
  --text: #212121;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255,255,255,.85);
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --border: rgba(0,18,52,.15);
  --error: #b3261e;
  --radius: 10px; --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0,18,52,.06), 0 12px 32px rgba(0,18,52,.08);
  --container: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: var(--text); padding: .6rem 1rem; border-radius: var(--radius); }

.logo { display: inline-flex; align-items: center; height: 32px; }
.logo img { height: 100%; width: auto; }
.logo__fallback { display: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; color: inherit; }
.logo.is-missing img { display: none; }
.logo.is-missing .logo__fallback { display: inline; }

/* Buttons in Türkis */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.5rem; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; color: #fff; background: var(--turquoise); border: 0; border-radius: 999px; cursor: pointer; transition: background .15s ease; }
.btn:hover { background: var(--turquoise-hover); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--block { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--on-dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
@media (min-width: 768px) { .site-header .container { min-height: 76px; } .logo { height: 38px; } }

/* Hero */
.hero { color: var(--on-dark); background: var(--blue); padding: 3.5rem 0 9rem; }
.hero h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 7.5vw, 3.75rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; max-width: 18ch; }
.hero h1 .h1-line2 { display: block; color: var(--cyan); }
.hero p { margin: 0 0 2rem; max-width: 40rem; font-size: clamp(1.0625rem, 2.6vw, 1.25rem); color: var(--on-dark-muted); }
@media (min-width: 768px) { .hero { padding: 6rem 0 12rem; } }

.video-section { margin-top: -7rem; position: relative; z-index: 2; }
@media (min-width: 768px) { .video-section { margin-top: -9rem; } }
.video { margin: 0 auto; max-width: 960px; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0a2148; box-shadow: 0 24px 60px rgba(0,18,52,.30); border: 1px solid rgba(255,255,255,.08); }
.video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.video__play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); }
.video__play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.video figcaption { margin-top: .875rem; text-align: center; font-size: .9375rem; color: var(--text); }

/* Karten: Türkis als obere Kante und Icon-Farbe */
.content { padding: 4rem 0; }
@media (min-width: 768px) { .content { padding: 6rem 0; } }
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .cards { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--turquoise); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .card { padding: 2.5rem; } }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--turquoise-tint); color: var(--turquoise); margin-bottom: 1.25rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h2 { margin: 0 0 .75rem; font-size: clamp(1.375rem, 3.5vw, 1.75rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; color: var(--blue); }
.card p { margin: 0; color: var(--text); }

/* Formular */
.form-section { background: var(--bg-alt); padding: 4rem 0 5rem; scroll-margin-top: 64px; }
@media (min-width: 768px) { .form-section { padding: 6rem 0 7rem; scroll-margin-top: 76px; } }
.form-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .form-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.form-intro h2 { margin: 0 0 .75rem; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: var(--blue); }
.form-intro p { margin: 0; font-size: 1.1875rem; color: var(--text); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.fields { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: .375rem; font-weight: 600; font-size: .9375rem; color: var(--blue); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: rgba(0,18,52,.35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 4px rgba(29,187,177,.25); }
.field.has-error input { border-color: var(--error); }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--text); }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: 1.5rem 0; font-size: .9375rem; color: var(--text); }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: 0 0 auto; accent-color: var(--turquoise); }
.form-err { margin: 1rem 0 0; color: var(--error); font-weight: 600; font-size: .9375rem; }
.form-ok { text-align: center; padding: 2.5rem 1rem; }
.form-ok:focus { outline: none; }
.form-ok__icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--turquoise); color: #fff; }
.form-ok__icon svg { width: 30px; height: 30px; }
.form-ok p { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--blue); }

.site-footer { background: var(--blue); color: var(--on-dark); padding: 3rem 0 calc(2.5rem + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; } .site-footer nav ul { justify-content: flex-end; } }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer nav a { color: var(--on-dark-muted); text-decoration: none; font-size: .9375rem; }
.site-footer nav a:hover { color: var(--turquoise); text-decoration: underline; }

/* --- ergänzt 16.10.2026: Video, KI-Hinweis, Funktionen, Spam-Falle, Turnstile --- */
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0a2148; display: grid; place-items: center; }
.video__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Play-Button unten rechts: verdeckt weder Gesicht/Titel im Vorschaubild noch den KI-Hinweis unten links */
.video__cta { position: absolute; right: 3%; bottom: 4%; display: inline-flex; align-items: center; gap: .6rem;
              padding: .45rem 1.1rem .45rem .45rem; border-radius: 999px; background: rgba(0,18,52,.78); color: #fff; font-weight: 600;
              font-size: .9375rem; white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s ease; }
.video__cta .video__play { width: 40px; height: 40px; }
.video__cta .video__play svg { width: 16px; height: 16px; margin-left: 2px; }
.video__poster:hover .video__cta, .video__poster:focus-visible .video__cta { transform: scale(1.05); }
.video__cta { transform-origin: right bottom; }
@media (max-width: 600px) { .video__cta { padding: .3rem; font-size: 0; gap: 0; } .video__cta .video__play { width: 36px; height: 36px; } }
.video__frame video { background: #000; }
.ki-hinweis { display: block; margin-top: .25rem; font-size: .8125rem; color: rgba(33,33,33,.75); }
.features { padding: 4rem 0; }
@media (min-width: 768px) { .features { padding: 5rem 0 5rem; } }
.features h2 { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; color: var(--blue); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; } }
.feature { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--turquoise); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 1.1rem; }
.feature h3 { margin: 0 0 .35rem; font-size: 1.0625rem; color: var(--blue); }
.feature p { margin: 0; font-size: .9688rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 0 0 1rem; min-height: 0; }
.cards--single { grid-template-columns: 1fr !important; }
.content { padding-top: 0; }

/* --- ergänzt 16.10.2026: Sprachumschalter (wie intellity.net: Globus + Menü) und KI-Übersetzungshinweis --- */
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: .4rem .55rem;
                border-radius: 999px; color: var(--on-dark); cursor: pointer; font-size: .875rem; font-weight: 600; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--cyan); }
.lang summary svg { width: 20px; height: 20px; }
.lang summary .lang__chev { width: 14px; height: 14px; transition: transform .15s ease; }
.lang[open] summary .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + .4rem); min-width: 150px; margin: 0; padding: .4rem; list-style: none;
              background: var(--bg); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,18,52,.25); z-index: 60; }
.lang__menu a { display: block; padding: .55rem .85rem; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .9375rem; }
.lang__menu a:hover { background: var(--bg-alt); }
.lang__menu a[aria-current="page"] { font-weight: 700; color: var(--blue); }
@media (max-width: 420px) { .lang__code { display: none; } .header-actions .btn--sm { padding: .5rem .85rem; font-size: .875rem; } }
.ai-note { margin: 1.5rem auto 0; padding: 0 1rem; max-width: 1200px; font-size: .75rem; color: var(--on-dark-muted); opacity: .75; text-align: center; }
/* Header am Handy: Button bleibt einzeilig, alles etwas kompakter (16.10.2026) */
.header-actions .btn--sm { white-space: nowrap; }
@media (max-width: 480px) {
  .site-header .container { gap: .5rem; }
  .site-header .logo img { width: 112px; height: auto; }
  .header-actions { gap: .25rem; }
  .lang summary { padding: .4rem .35rem; }
  .header-actions .btn--sm { min-height: 38px; padding: .45rem .8rem; font-size: .8125rem; }
}
