/* =========================================================
   AllCom IT-Solutions – Stylesheet
   Schriften lokal eingebunden (keine Verbindung zu Google)
   ========================================================= */

@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Design-Tokens ---------- */
:root {
  --paper: #F4F1EA;
  --paper-2: #EBE6DB;
  --card: #FBF9F4;
  --ink: #1B1D1F;
  --ink-2: #3A3935;
  --muted: #55534D;
  --line: #D8D2C4;
  --dark: #1B1D1F;
  --darker: #141516;
  --on-dark: #F4F1EA;
  --on-dark-2: #CFCAC0;
  --on-dark-3: #A6A197;

  /* Akzentfarbe – alternativ AllCom-Blau: #1A6FA0 / hover #155A82 / auf dunkel #5FB0DE */
  --accent: #B4441E;
  --accent-hover: #933718;
  --accent-on-dark: #E0714A;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(20px, 6vw, 120px);
  --maxw: 1440px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Basis ---------- */
*, *::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; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-hover); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--on-dark); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); }
.body-text { font-size: 18px; line-height: 1.65; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; font-family: var(--sans); font-size: 17px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center; line-height: 1.3; padding-block: 10px; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #33363A; color: var(--on-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--outline-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn--outline-light:hover { background: var(--on-dark); color: var(--ink); }
.btn--light { background: var(--on-dark); color: var(--ink); font-weight: 600; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Topbar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.topbar .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar__links { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--ink); text-decoration: underline; }
.topbar a.topbar__remote { color: var(--ink); font-weight: 500; text-decoration: underline; }

/* ---------- Header / Navigation ---------- */
.header .wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__word { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.logo__sub { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 16px; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--ink); font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 40px)); background: var(--card); border: 1px solid var(--ink); display: flex; flex-direction: column; z-index: 50; }
.menu__panel a { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 17px; }
.menu__panel a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--ink); }
.hero .wrap { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__main { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -0.02em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__call { font-weight: 500; color: var(--ink); }

.remote-box { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border: 2px solid var(--ink); background: var(--card); max-width: 640px; }
.remote-box__icon { flex-shrink: 0; }
.remote-box__text { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.remote-box__title { font-size: 18px; font-weight: 600; }
.remote-box__hint { font-size: 15px; color: var(--muted); }
.remote-box .btn { flex-shrink: 0; }

.facts { border: 1px solid var(--ink); background: var(--card); }
.facts dl { margin: 0; }
.facts__head { padding: 14px 20px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- Leistungen ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: 32px clamp(32px, 10vw, 160px); align-items: end; margin-bottom: 64px; }
.section-head__title { display: flex; flex-direction: column; gap: 16px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; list-style: none; padding: 0; margin: 0; }
.service { border-top: 1px solid var(--ink); padding-top: 24px; display: grid; grid-template-columns: 40px minmax(0, 1fr); row-gap: 14px; }
.service__num { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 10px; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.service p, .service__tags { grid-column: 2; }
.service p { color: var(--ink-2); }
.service__tags { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* ---------- Arbeitsweise ---------- */
.process-wrap { background: var(--paper-2); border-block: 1px solid var(--line); }
.process-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; list-style: none; padding: 0; margin: 0; }
.step { display: flex; flex-direction: column; gap: 16px; border-top: 3px solid var(--ink); padding-top: 24px; }
.step__num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { font-size: 16px; color: var(--ink-2); }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
.about__photo { margin: 0; border: 1px solid var(--ink); background-color: var(--paper-2); aspect-ratio: 5 / 6; display: flex; align-items: center; justify-content: center; padding: 32px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--muted); text-align: center; background: var(--paper); padding: 12px 16px; }
.about__text { display: flex; flex-direction: column; gap: 28px; }
.promises { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--ink); }
.promises li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.promises svg { flex-shrink: 0; margin-top: 2px; }
.promises strong { font-weight: 600; }

/* ---------- Partner ---------- */
.partners { border-top: 1px solid var(--ink); padding-block: 56px 64px; }
.partners__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.partners__head span:last-child { font-size: 15px; color: var(--muted); }
.partners__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.partners__list li { min-height: 88px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact { background: var(--dark); color: var(--on-dark); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px clamp(40px, 8vw, 120px); }
.contact .eyebrow { color: var(--accent-on-dark); }
.contact__intro { display: flex; flex-direction: column; gap: 24px; }
.contact__intro p { color: var(--on-dark-2); max-width: 540px; font-size: 18px; line-height: 1.65; }
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-size: 15px; font-weight: 500; color: var(--on-dark); }
.form .opt { font-weight: 400; color: var(--on-dark-3); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--on-dark);
  background: #26292C; border: 1px solid #5C5E60; border-radius: 0; appearance: none;
}
.form textarea { min-height: 130px; resize: vertical; }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F4F1EA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--on-dark); outline: 2px solid var(--accent-on-dark); outline-offset: 0; }
.form__consent { font-weight: 400 !important; grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--on-dark-2); line-height: 1.5; }
.form__consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent-on-dark); }
.form__consent a { color: var(--on-dark); }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__submit small { color: var(--on-dark-3); font-size: 14px; }

.contact-card { border: 1px solid #55534D; align-self: start; }
.contact-card__block { padding: 24px 28px; border-bottom: 1px solid #3A3B3C; display: flex; flex-direction: column; gap: 6px; }
.contact-card__block:last-child { border-bottom: 0; gap: 14px; }
.contact-card__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--on-dark-3); }
.contact-card address { font-style: normal; font-size: 18px; line-height: 1.5; }
.contact-card a:not(.btn) { color: var(--on-dark); font-size: 18px; }
.contact-card p { font-size: 16px; color: var(--on-dark-2); line-height: 1.55; }
.contact-card .btn { align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { background: var(--darker); color: var(--on-dark-3); font-size: 14px; line-height: 1.6; }
.footer .wrap { padding-block: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.footer a { color: var(--on-dark-2); }
.footer a:hover { color: var(--on-dark); }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .partners__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  /* Navigation → Menü */
  .nav { display: none; }
  .menu { display: block; }
  .header .wrap { min-height: 76px; }

  .hero .wrap { grid-template-columns: 1fr; align-items: start; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4 / 3; }
  .contact .wrap { grid-template-columns: 1fr; }
  .process-head { margin-bottom: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; /* Platz für Aktionsleiste */ }
  .topbar__claim { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__links { gap: 20px; }
  .topbar__mail { display: none; }

  .logo__word { font-size: 28px; }
  .logo__sub { font-size: 11px; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__call { text-align: center; }

  /* Fernwartung auf dem Handy kompakter – Fokus bleibt auf Neukunden */
  .remote-box { padding: 14px 16px; gap: 14px; }
  .remote-box__icon { display: none; }
  .remote-box__title { font-size: 16px; }
  .remote-box__hint { display: none; }
  .remote-box .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }

  .steps { grid-template-columns: 1fr; }
  .step__num { font-size: 44px; }
  .partners__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__list li { min-height: 64px; font-size: 15px; }
  .form { grid-template-columns: 1fr; }
  .form__submit .btn { width: 100%; }
  .contact-card__block { padding: 20px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }

  .mobile-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--ink); }
  .mobile-bar .btn { min-height: 52px; padding: 0 16px; font-size: 16px; }
}

/* ---------- Unterseiten (Impressum, Datenschutz, AGB, Cookies) ---------- */
.header__back { display: flex; align-items: center; gap: 24px; }
.header__back a:not(.btn) { color: var(--ink); font-size: 16px; }
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 880px; }
.legal__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.legal__head p { color: var(--muted); }
.legal__body { display: flex; flex-direction: column; gap: 40px; }
.legal__body section { display: flex; flex-direction: column; gap: 14px; }
.legal__body h2 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.legal__body h3 { font-size: 18px; font-weight: 600; margin-top: 8px; }
.legal__body p, .legal__body li { color: var(--ink-2); line-height: 1.7; }
.legal__body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal dl.data { margin: 0; display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.legal dl.data dt, .legal dl.data dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal dl.data dt { color: var(--muted); padding-right: 16px; }
.legal dl.data dd { color: var(--ink); }
.legal__body { overflow-wrap: anywhere; }
.todo { box-decoration-break: clone; -webkit-box-decoration-break: clone; background: #FEF3C7; color: #78350F; padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: 0.88em; }
.legal__note { padding: 16px 20px; background: var(--paper-2); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 640px) {
  .header__back .header__home { display: none; }
  .legal dl.data { grid-template-columns: 1fr; }
  .legal dl.data dt { padding-bottom: 0; border-bottom: 0; }
}
@media (max-width: 640px) {
  .header__back .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .header__back .btn svg { display: none; }
}
.legal__head h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 400px) {
  .logo__sub { display: none; }
  .legal__head h1 { font-size: 30px; }
}
.message { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
/* Logo als Bild */
.logo__img { display: block; height: 54px; width: auto; }
.footer__logo { display: block; height: 30px; width: auto; }
.footer .wrap > span { flex: 1 1 400px; }
@media (max-width: 640px) { .logo__img { height: 40px; } }

/* ---------- Einzugsgebiet ---------- */
.area-wrap { border-top: 1px solid var(--line); }
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 112px); align-items: start; }
.area__intro { display: flex; flex-direction: column; gap: 20px; }
.area__lists { display: flex; flex-direction: column; gap: 32px; }
.area__group { display: flex; flex-direction: column; gap: 14px; }
.area__group h3 { font-size: 16px; font-weight: 600; font-family: var(--sans); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; background: var(--card); border: 1px solid var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; }
.chips--muted li { border-color: var(--line); color: var(--ink-2); font-weight: 400; }
@media (max-width: 960px) { .area { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .chips li { font-size: 14px; padding: 7px 12px; } }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Referenzen (Kundenlogos) ---------- */
.refs-wrap { border-top: 1px solid var(--line); }
.refs__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.refs li { min-height: 132px; display: flex; align-items: center; justify-content: center; padding: 24px 28px; background: var(--card); border: 1px solid var(--line); }
.refs img { display: block; width: 100%; max-width: 200px; max-height: 72px; height: auto; object-fit: contain; }
@media (max-width: 640px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .refs li { min-height: 104px; padding: 16px; } }

/* Laufband (wird per JS ab 5 Logos aktiviert) */
.refs-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.refs.refs--marquee { display: flex; flex-wrap: nowrap; width: max-content; gap: 16px; padding: 4px 0 8px; animation: refs-scroll var(--refs-duration, 40s) linear infinite; }
.refs.refs--marquee li { flex: 0 0 240px; }
.refs.refs--marquee:hover, .refs.refs--marquee:focus-within, .refs.refs--marquee.is-paused { animation-play-state: paused; }
@keyframes refs-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.refs-toggle { margin-top: 16px; min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.refs-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
@media (max-width: 640px) { .refs.refs--marquee li { flex-basis: 180px; } }
@media (prefers-reduced-motion: reduce) { .refs.refs--marquee { animation: none; } }
/* Verlinkte Referenz-Logos */
.refs li:has(.refs__link) { padding: 0; }
.refs__link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: inherit; padding: 24px 28px; box-sizing: border-box; }
.refs__link:focus-visible { outline-offset: -3px; }
.refs__link:hover img { transform: scale(1.04); }
.refs img { transition: transform .2s ease; }
@media (prefers-reduced-motion: reduce) { .refs img { transition: none; } }
/* Verlinkte Partner */
.partners__list li:has(.partners__link) { padding: 0; }
.partners__link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: inherit; padding: 12px; box-sizing: border-box; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.partners__link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.partners__link img { max-height: 40px; max-width: 140px; width: auto; height: auto; }

/* ---------- IT-Check ---------- */
.check { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 112px); align-items: start; }
.check__intro { display: flex; flex-direction: column; gap: 20px; }
.check__privacy { font-size: 15px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--line); }
.check__card { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; min-height: 380px; }
.check__lead { font-size: 18px; color: var(--ink-2); }
.check__start { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.check__topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; width: 100%; }
.check__topics li { font-size: 15px; color: var(--ink-2); padding-left: 18px; position: relative; }
.check__topics li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.check__progress-head { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.check__topic { color: var(--accent-hover); text-align: right; }
.check__bar { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.check__bar-fill { height: 100%; background: var(--accent); transition: width .25s ease; }
.check__question { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; outline: none; }
.check__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check__option { min-height: 56px; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); background: var(--card); border: 1.5px solid var(--rule, #CBD5E1); border-radius: 6px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.check__option:hover { border-color: var(--accent); background: #EFF4FF; }
.check__option.is-selected { border-color: var(--accent); background: #EFF4FF; }
.check__back { align-self: flex-start; background: none; border: 0; padding: 8px 0; min-height: 44px; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.check__back:hover { color: var(--ink); }
.check__result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.check__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.check__badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.check__badge--gut { background: #DCFCE7; color: #166534; }
.check__badge--mittel { background: #FEF3C7; color: #92400E; }
.check__badge--dringend { background: #FEE2E2; color: #991B1B; }
.check__score { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.check__text { color: var(--ink-2); }
.check__subhead { font-size: 15px; font-weight: 600; margin: 4px 0 0; }
.check__gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check__gaps li { padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid #D97706; border-radius: 6px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.check__gaps li.is-critical { border-left-color: #DC2626; }
.check__gap-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.check__gap-answer { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.check__gaps p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.check__note { font-size: 14px; color: var(--muted); }
.check__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.check__disclaimer { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .check { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .check__options { grid-template-columns: 1fr; }
  .check__topics { grid-template-columns: 1fr; }
  .check__actions .btn { width: 100%; }
  .check__card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .check__bar-fill { transition: none; } }

/* Navigation: 7 Einträge brauchen mehr Platz */
@media (max-width: 1320px) { .nav { display: none; } .menu { display: block; } }
/* Referenz-Logo für dunklen Hintergrund (z. B. weiße Schrift) */
.refs li.refs__item--dark { background: #0F172A; border-color: #0F172A; }
.refs__item--dark .refs__link:focus-visible { outline-color: #60A5FA; }
/* Über uns ohne Foto: Text links, Versprechen rechts */
.about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.about__promises .promises { margin-top: 0; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } }
@media (min-width: 961px) { .about__promises { padding-top: 52px; } }
