/* InspectFPS — redaktionelles Layout, weißes Papier, ein Akzent */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-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: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-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;
}

:root {
  color-scheme: light;

  --ifp-paper: #ffffff;
  --ifp-ink: #0a0a0a;
  --ifp-muted: #5f5f5c;
  --ifp-surface: #f4f4f2;
  --ifp-surface-2: #eaeae6;
  --ifp-hairline: #8c8c8c;
  --ifp-accent: #0b3be8;
  --ifp-on-accent: #ffffff;

  --ifp-font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ifp-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ifp-r-card: 8px;
  --ifp-r-badge: 3.4px;
  --ifp-r-pill: 999px;

  --ifp-s4: 4px;
  --ifp-s8: 8px;
  --ifp-s12: 12px;
  --ifp-s16: 16px;
  --ifp-s20: 20px;
  --ifp-s24: 24px;
  --ifp-s32: 32px;
  --ifp-s40: 40px;
  --ifp-s48: 48px;

  --ifp-head-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ifp-paper);
  color: var(--ifp-ink);
  font-family: var(--ifp-font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
}

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

h1, h2, h3 {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--ifp-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ifp-ink); }

:focus-visible {
  outline: 3px solid var(--ifp-accent);
  outline-offset: 3px;
  border-radius: var(--ifp-r-badge);
}

.ifp-shell {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .ifp-shell { padding-inline: 40px; }
}

.ifp-hidden-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ifp-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 60;
  background: var(--ifp-ink);
  color: var(--ifp-paper);
  padding: 14px 24px;
  border-radius: var(--ifp-r-pill);
  text-decoration: none;
}
.ifp-skip:focus { left: 20px; color: var(--ifp-paper); }

/* ---------- Kopfzeile ---------- */

.ifp-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ifp-paper);
}

.ifp-topbar__inner {
  min-height: var(--ifp-head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ifp-s16);
}

.ifp-logo {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ifp-ink);
  text-decoration: none;
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.ifp-logo__mark { color: var(--ifp-accent); }
.ifp-logo:hover .ifp-logo__mark { color: var(--ifp-ink); }
.ifp-logo:hover { color: var(--ifp-accent); }

.ifp-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--ifp-surface);
  color: var(--ifp-ink);
  border: 0;
  border-radius: var(--ifp-r-pill);
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.ifp-burger:hover { background: var(--ifp-accent); color: var(--ifp-on-accent); transform: translateY(-2px); }
.ifp-burger:active { transform: translateY(0); }
.ifp-burger svg { width: 22px; height: 22px; }
.ifp-burger__close { display: none; }
.ifp-burger[aria-expanded="true"] .ifp-burger__open { display: none; }
.ifp-burger[aria-expanded="true"] .ifp-burger__close { display: block; }

.ifp-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--ifp-s4);
}

.ifp-nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 18px;
  border-radius: var(--ifp-r-pill);
  color: var(--ifp-ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: background-color .18s ease, color .18s ease;
}
.ifp-nav__link:hover { background: var(--ifp-surface); color: var(--ifp-accent); }

@media (max-width: 899px) {
  .ifp-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ifp-paper);
    padding: var(--ifp-s12) 20px var(--ifp-s24);
  }
  .ifp-nav[hidden] { display: none; }
  .ifp-topbar__inner { position: relative; }
}

@media (min-width: 900px) {
  .ifp-burger { display: none; }
  .ifp-nav { display: block !important; }
  .ifp-nav__list { flex-direction: row; align-items: center; gap: var(--ifp-s8); }
}

/* ---------- Kapsel-Aktionen ---------- */

.ifp-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--ifp-r-pill);
  font-family: var(--ifp-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.ifp-act--solid { background: var(--ifp-accent); color: var(--ifp-on-accent); }
.ifp-act--solid:hover { background: var(--ifp-ink); color: var(--ifp-on-accent); transform: translateY(-2px); }
.ifp-act--solid:active { transform: translateY(1px); }

.ifp-act--quiet { background: var(--ifp-surface); color: var(--ifp-ink); }
.ifp-act--quiet:hover { background: var(--ifp-surface-2); color: var(--ifp-accent); transform: translateY(-2px); }
.ifp-act--quiet:active { transform: translateY(1px); }

.ifp-act--small { min-height: 48px; padding: 12px 22px; font-size: 15px; }

.ifp-act svg { width: 18px; height: 18px; flex: none; }

/* ---------- Bausteine ---------- */

.ifp-eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--ifp-accent);
  margin-bottom: var(--ifp-s12);
}

.ifp-lede { color: var(--ifp-muted); font-size: 18px; line-height: 1.62; }

.ifp-tags { display: flex; flex-wrap: wrap; gap: var(--ifp-s8); }

.ifp-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ifp-hairline);
  border-radius: var(--ifp-r-badge);
  padding: 4px 12px;
  font-size: 13px;
  color: var(--ifp-ink);
  line-height: 1.5;
}

.ifp-note {
  background: var(--ifp-surface);
  border-radius: var(--ifp-r-card);
  padding: var(--ifp-s20) var(--ifp-s24);
  font-size: 16px;
  color: var(--ifp-muted);
}

/* ---------- Hero ---------- */

.ifp-hero { padding: 44px 0 80px; }

.ifp-hero__grid { display: grid; gap: var(--ifp-s32); text-align: center; justify-items: center; }

@media (min-width: 960px) {
  .ifp-hero { padding: 64px 0 104px; }
}

.ifp-hero__title {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.06;
  margin-bottom: var(--ifp-s24);
  max-width: 15em;
  margin-inline: auto;
}
.ifp-hero__title em { font-style: normal; color: var(--ifp-accent); }

.ifp-hero__text { max-width: 40em; margin-inline: auto; margin-bottom: var(--ifp-s32); }

.ifp-hero__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ifp-s12); margin-bottom: var(--ifp-s40); }

.ifp-facts { display: grid; gap: var(--ifp-s16); width: 100%; max-width: 46em; }
@media (min-width: 560px) { .ifp-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ifp-facts__n {
  display: block;
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
}
.ifp-facts__l { display: block; font-size: 14px; color: var(--ifp-muted); margin-top: 2px; }


/* ---------- Abschnittskopf ---------- */

.ifp-head { max-width: 46em; margin-bottom: var(--ifp-s32); }
.ifp-head__h { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; margin-bottom: var(--ifp-s16); }

/* ---------- Katalog ---------- */

.ifp-catalog { padding: 8px 0 88px; }

.ifp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ifp-s8);
  margin-bottom: var(--ifp-s40);
}

.ifp-chip {
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--ifp-r-pill);
  background: var(--ifp-surface);
  color: var(--ifp-ink);
  font-family: var(--ifp-font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.ifp-chip:hover { background: var(--ifp-surface-2); color: var(--ifp-accent); transform: translateY(-2px); }
.ifp-chip[aria-pressed="true"] { background: var(--ifp-accent); color: var(--ifp-on-accent); font-weight: 600; }

.ifp-grid { display: grid; gap: 56px; }

@media (min-width: 900px) {
  .ifp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 72px; align-items: start; }
  .ifp-grid > .ifp-tile:nth-of-type(even) { margin-top: 40px; }
}

.ifp-tile[hidden] { display: none; }

.ifp-tile__shot {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--ifp-r-card);
  background: var(--ifp-surface);
}

.ifp-tile__head { display: flex; gap: var(--ifp-s16); align-items: center; margin: var(--ifp-s20) 0 var(--ifp-s12); }
.ifp-tile__icon { width: 64px; height: 64px; border-radius: var(--ifp-r-card); flex: none; }
.ifp-tile__title { font-size: 22px; line-height: 1.2; }
.ifp-tile__dev { font-size: 14px; color: var(--ifp-muted); margin-top: 4px; }

.ifp-rate { display: flex; align-items: center; gap: var(--ifp-s8); flex-wrap: wrap; margin-bottom: var(--ifp-s12); }
.ifp-rate__stars { position: relative; display: inline-block; line-height: 0; }
.ifp-rate__row { display: inline-flex; gap: 2px; }
.ifp-rate__row--base { color: #c9c9c4; }
.ifp-rate__row--fill { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--ifp-accent); }
.ifp-rate__stars svg { width: 16px; height: 16px; flex: none; }
.ifp-rate__v { font-weight: 600; font-size: 15px; }
.ifp-rate__d { font-size: 13px; color: var(--ifp-muted); }

.ifp-tile__text { margin-bottom: var(--ifp-s16); }

.ifp-tile__foot { display: flex; flex-wrap: wrap; gap: var(--ifp-s12); align-items: center; margin-top: var(--ifp-s16); }

/* ---------- Vergleich ---------- */

.ifp-compare { padding: 24px 0 80px; }

.ifp-compare__scroll { overflow-x: auto; }
.ifp-compare__scroll:focus-visible { outline: 3px solid var(--ifp-accent); outline-offset: 4px; }

.ifp-table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 15px; }
.ifp-table caption { text-align: left; font-size: 14px; color: var(--ifp-muted); padding-bottom: var(--ifp-s16); }
.ifp-table th, .ifp-table td { text-align: left; padding: 14px 16px; vertical-align: top; }
.ifp-table thead th { border-bottom: 1px solid var(--ifp-ink); font-family: var(--ifp-font-body); font-weight: 600; font-size: 14px; }
.ifp-table tbody tr:nth-child(odd) { background: var(--ifp-surface); }
.ifp-table tbody th { font-family: var(--ifp-font-body); font-weight: 600; }
.ifp-flag { display: inline-flex; align-items: center; gap: 8px; }
.ifp-flag svg { width: 16px; height: 16px; flex: none; color: var(--ifp-accent); }
.ifp-compare__after { margin-top: var(--ifp-s24); max-width: 44em; }

/* ---------- Messprotokoll ---------- */

.ifp-zugang { padding: 16px 0 88px; }

.ifp-zugang__box {
  background: var(--ifp-surface);
  border-radius: var(--ifp-r-card);
  padding: var(--ifp-s32) var(--ifp-s24);
}
@media (min-width: 768px) { .ifp-zugang__box { padding: 56px 48px; } }

.ifp-zugang__top { display: grid; gap: var(--ifp-s24); margin-bottom: var(--ifp-s40); }
@media (min-width: 900px) { .ifp-zugang__top { grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; } }

.ifp-zugang__h { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; margin-bottom: var(--ifp-s16); }
.ifp-zugang__price {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--ifp-accent);
  margin: var(--ifp-s20) 0 var(--ifp-s8);
}
.ifp-zugang__pricenote { font-size: 14px; color: var(--ifp-muted); }

.ifp-steps { display: grid; gap: var(--ifp-s24); counter-reset: ifp-step; }
@media (min-width: 720px) { .ifp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 36px; } }

.ifp-steps__i { display: flex; gap: var(--ifp-s20); align-items: flex-start; }
.ifp-steps__n {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--ifp-accent);
  flex: none;
  min-width: 62px;
}
.ifp-steps__t { font-size: 19px; line-height: 1.25; margin-bottom: var(--ifp-s8); }
.ifp-steps__p { font-size: 16px; color: var(--ifp-muted); }

.ifp-zugang__note { margin-top: var(--ifp-s32); background: var(--ifp-paper); border-radius: var(--ifp-r-card); padding: var(--ifp-s20) var(--ifp-s24); font-size: 16px; }
.ifp-zugang__note strong { font-weight: 600; }

/* ---------- Fragen und Antworten ---------- */

.ifp-faq { padding: 16px 0 80px; }

.ifp-faq__list { width: 100%; }

.ifp-faq__i + .ifp-faq__i { border-top: 1px solid var(--ifp-surface-2); }

.ifp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ifp-s20);
  min-height: 56px;
  padding: var(--ifp-s16) 0;
  cursor: pointer;
  list-style: none;
}
.ifp-faq__q::-webkit-details-marker { display: none; }
.ifp-faq__q::marker { content: ""; }
.ifp-faq__q:focus-visible { outline-offset: 2px; }

.ifp-faq__qt {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ifp-ink);
  transition: color .18s ease;
}
.ifp-faq__q:hover .ifp-faq__qt { color: var(--ifp-accent); }
.ifp-faq__i[open] .ifp-faq__qt { color: var(--ifp-accent); }

.ifp-faq__mark {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--ifp-accent);
  transition: transform .18s ease;
}
.ifp-faq__i[open] .ifp-faq__mark { transform: rotate(180deg); }

.ifp-faq__a { padding: 0 0 var(--ifp-s24); max-width: 46em; }
.ifp-faq__a p { color: var(--ifp-muted); font-size: 17px; line-height: 1.62; }

/* ---------- Kontakt ---------- */

.ifp-contact { padding: 8px 0 96px; }
.ifp-contact__grid { display: grid; gap: var(--ifp-s32); }
@media (min-width: 900px) { .ifp-contact__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; } }

.ifp-contact__big {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 16em;
}
.ifp-contact__big span { color: var(--ifp-accent); }

.ifp-mailrow { margin: var(--ifp-s24) 0 var(--ifp-s16); }
.ifp-mail {
  font-family: var(--ifp-font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--ifp-accent);
  text-decoration: none;
  display: inline-block;
  min-height: 48px;
  padding: 10px 0;
  border-radius: var(--ifp-r-badge);
}
.ifp-mail:hover { color: var(--ifp-ink); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Fusszeile ---------- */

.ifp-foot { background: var(--ifp-surface); padding: 56px 0 40px; }
.ifp-foot__grid { display: grid; gap: var(--ifp-s32); }
@media (min-width: 760px) { .ifp-foot__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--ifp-s40); } }

.ifp-foot__about { font-size: 15px; color: var(--ifp-muted); margin-top: var(--ifp-s12); max-width: 26em; }
.ifp-foot__t { font-size: 14px; font-weight: 600; margin-bottom: var(--ifp-s8); }
.ifp-foot__list { display: flex; flex-direction: column; gap: 2px; }
.ifp-foot__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ifp-ink);
  text-decoration: none;
  font-size: 15px;
}
.ifp-foot__link:hover { color: var(--ifp-accent); text-decoration: underline; text-underline-offset: 3px; }
.ifp-foot__end { margin-top: var(--ifp-s40); font-size: 13px; color: var(--ifp-muted); max-width: 52em; }
.ifp-foot__end p + p { margin-top: var(--ifp-s8); }

/* ---------- Nach oben ---------- */

.ifp-up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--ifp-r-pill);
  background: var(--ifp-ink);
  color: var(--ifp-paper);
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.ifp-up.is-on { display: inline-flex; }
.ifp-up:hover { background: var(--ifp-accent); transform: translateY(-3px); }
.ifp-up svg { width: 20px; height: 20px; }

/* ---------- Cookie-Hinweis ---------- */

.ifp-cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  background: var(--ifp-ink);
  color: var(--ifp-paper);
  border-radius: var(--ifp-r-card);
  padding: var(--ifp-s20);
  display: grid;
  gap: var(--ifp-s16);
  max-width: 560px;
}
.ifp-cookie[hidden] { display: none; }
.ifp-cookie__t { font-size: 15px; line-height: 1.5; }
.ifp-cookie__t a { color: var(--ifp-paper); }
.ifp-cookie__t a:hover { color: var(--ifp-paper); text-decoration: none; }
.ifp-cookie__acts { display: flex; flex-wrap: wrap; gap: var(--ifp-s12); }
.ifp-cookie .ifp-act--quiet { background: var(--ifp-paper); color: var(--ifp-ink); }
.ifp-cookie .ifp-act--quiet:hover { background: var(--ifp-surface-2); color: var(--ifp-accent); }
.ifp-cookie .ifp-act--solid:hover { background: var(--ifp-paper); color: var(--ifp-ink); }

/* ---------- Rechtstexte ---------- */

.ifp-doc { padding: 40px 0 88px; }
.ifp-doc__h { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; margin-bottom: var(--ifp-s12); }
.ifp-doc__date { font-size: 14px; color: var(--ifp-muted); margin-bottom: var(--ifp-s32); }
.ifp-doc__body { max-width: 42em; }
.ifp-doc__body h2 { font-size: 22px; line-height: 1.25; margin: var(--ifp-s40) 0 var(--ifp-s12); }
.ifp-doc__body h3 { font-size: 18px; line-height: 1.3; margin: var(--ifp-s24) 0 var(--ifp-s8); }
.ifp-doc__body p { margin-bottom: var(--ifp-s12); }
.ifp-doc__body ul { list-style: none; margin: 0 0 var(--ifp-s16); }
.ifp-doc__body ul li { position: relative; padding-left: 22px; margin-bottom: var(--ifp-s8); }
.ifp-doc__body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: var(--ifp-r-pill); background: var(--ifp-accent); }
.ifp-doc__back { margin-top: var(--ifp-s40); }

.ifp-lost { padding: 88px 0 120px; text-align: center; }
.ifp-lost__h { font-size: clamp(34px, 7vw, 64px); line-height: 1.05; margin-bottom: var(--ifp-s16); }
.ifp-lost__p { color: var(--ifp-muted); max-width: 32em; margin: 0 auto var(--ifp-s32); }
.ifp-lost__acts { display: flex; flex-wrap: wrap; gap: var(--ifp-s12); justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
