@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/Outfit-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/IBMPlexSans-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body { overflow-x: clip; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: #ffffff; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #0f7f7d; text-decoration: none; }
a:hover { color: #32C8C5; }
input, textarea, select, button { font-family: inherit; }
::selection { background: #32C8C5; color: #111B30; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #0f7f7d; outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #111B30; color: #ffffff; padding: 12px 18px; border-radius: 0 0 10px 0; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 14.5px; font-weight: 600; }
.skip-link:focus { left: 0; }

.legal-head { max-width: 860px; margin: 0 auto; padding: 12px 32px; min-height: 76px; display: flex; align-items: center; justify-content: center; }
.legal-back { position: absolute; right: clamp(20px, 3vw, 48px); top: 50%; transform: translateY(-50%); font-size: 14.5px; font-weight: 500; }
@media (max-width: 600px) {
  .legal-head { flex-direction: column; gap: 6px; padding: 14px 32px; }
  .legal-back { position: static; transform: none; }
}

/* FAQ-Intro nur sticky, wenn das Grid zweispaltig ist (ab 768px) —
   einspaltig würde der Block sonst beim Scrollen über die Fragen rutschen. */
@media (min-width: 768px) {
  .faq-intro { position: sticky; top: 112px; }
}

/* Sprungziele nicht unter den klebenden Kopf scrollen lassen. */
:target, [id] { scroll-margin-top: 96px; }

/* Vergleichstabelle: am Telefon gestapelt statt seitlich abgeschnitten. */
@media (max-width: 720px) {
  .vgl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vgl, .vgl tbody, .vgl tr, .vgl td { display: block; width: 100%; }
  .vgl tr { border-bottom: 1px solid rgba(17,27,48,0.12); padding: 6px 0 14px; }
  .vgl tr:last-child { border-bottom: 0; }
  .vgl td { border: 0 !important; padding: 10px 18px 0 !important; }
  .vgl td::before {
    content: attr(data-label);
    display: block;
    font-family: Outfit, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f7f7d;
    margin-bottom: 3px;
  }
}

/* FAQ: am Telefon schmalere Innenabstände, sonst blieben vom Text nur ~190px. */
.faq-btn { padding: 20px 18px; }
.faq-answer { padding: 0 18px 22px; }
@media (min-width: 640px) {
  .faq-btn { padding: 24px 26px; }
  .faq-answer { padding: 0 68px 26px; }
}

/* Formularzeilen: am Telefon untereinander, sonst zwei Spalten. */
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; min-width: 0; }
@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@keyframes bf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes bf-divider { 0%, 100% { transform: scaleX(0.8); opacity: 0.7; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes bf-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }
.dot-live { background: #22C55E !important; animation: bf-pulse 2s ease-in-out infinite; }
.menu-divider { height: 2px; transform-origin: center; background: linear-gradient(90deg, rgba(50,200,197,0) 0%, rgba(50,200,197,0.5) 22%, #32C8C5 50%, rgba(50,200,197,0.5) 78%, rgba(50,200,197,0) 100%); animation: bf-divider 4.5s ease-in-out infinite; }
@keyframes bf-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

.nav-link { color: #43506b; }
.nav-link:hover { color: #111B30; }

.menu-item { color: #111B30; }
.menu-item:hover { background: #f2f8f8; }

.btn-dark { background: #111B30; color: #ffffff; }
.btn-dark:hover { background: #1c2b4a; color: #ffffff; }

.btn-primary { background: #32C8C5; color: #111B30; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.btn-primary:hover { background: #26b3b0; color: #111B30; transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(15,127,125,0.9); }

.btn-outline { border: 1px solid rgba(17,27,48,0.16); color: #111B30; }
.btn-outline:hover { border-color: #111B30; color: #111B30; }

.btn-send { background: #32C8C5; color: #111B30; }
.btn-send:hover { background: #26b3b0; }

.card-dark { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card-dark:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(17,27,48,0.6); }

.card-light { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .3s ease; }
.card-light:hover { transform: translateY(-6px); border-color: rgba(50,200,197,0.7); box-shadow: 0 30px 56px -36px rgba(15,127,125,0.6); }

.module-card { transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease; }
.module-card:hover { border-color: #32C8C5; transform: translateY(-4px); box-shadow: 0 20px 34px -26px rgba(15,127,125,0.7); }

.chip { transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.chip:hover { border-color: #32C8C5; background: rgba(50,200,197,0.22); transform: translateY(-3px); }

.saas-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s ease, background .3s ease; }
.saas-card:hover { border-color: rgba(50,200,197,0.7); background: rgba(255,255,255,0.04); transform: translateY(-6px); }

.hw-card { border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 18px 22px; display: grid; gap: 4px; align-content: start; transition: border-color .3s ease, background .3s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.hw-card:hover { border-color: rgba(50,200,197,0.6); background: rgba(255,255,255,0.04); transform: translateY(-3px); }

.saas-card.saas-kandooo:hover { border-color: rgba(56,189,248,0.75); }
.saas-card.saas-vergavo:hover { border-color: rgba(74,222,128,0.6); }

.btn-kandooo { background: #38BDF8; color: #04101F; transition: background .25s ease, transform .25s ease; }
.btn-kandooo:hover { background: #7DD3FC; color: #04101F; transform: translateY(-2px); }

.btn-vergavo { background: #166534; color: #ffffff; transition: background .25s ease, transform .25s ease; }
.btn-vergavo:hover { background: #14532D; color: #ffffff; transform: translateY(-2px); }

.faq-btn { transition: background .25s ease; }
.faq-btn:hover { background: #f4fafa; }

.field { border: 1px solid rgba(17,27,48,0.14); background: #ffffff; border-radius: 11px; padding: 13px 15px; font-size: 15px; color: #111B30; font-weight: 400; width: 100%; min-width: 0; }
.field:focus { outline: none; border-color: #32C8C5; box-shadow: 0 0 0 3px rgba(15,127,125,0.35); }
.field::placeholder { color: #647090; }
