/* =========================================================================
   iKfz - Layout
   Eigene Klassen, Präfix "ik-". Werte sind an der Originalseite ausgemessen
   (Desktop-Referenz 1280px Viewport).
   ========================================================================= */

:root {
  /* Graustufen der Marke */
  --zinc-300: #d4d4d8;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-800: #27272a;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --gray-900:  #111827;

  --green:       #16a34a;
  --green-700:   #15803d;
  --emerald-700: #047857;

  --container: 1280px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.ik-body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.ik-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ik-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--slate-900); color: #fff; padding: .75rem 1.25rem;
}
.ik-skip:focus { left: 1rem; top: 1rem; }

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

.ik-cookie {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: calc(100% - 2rem);
  max-width: 384px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.ik-cookie[hidden] { display: none; }

.ik-cookie__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
}
.ik-cookie__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--slate-500);
}
.ik-cookie__text a { color: var(--slate-500); text-decoration: underline; }
.ik-cookie__text a:hover { color: var(--green-700); }

.ik-cookie__btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 9999px;
  padding: 7px 16px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.ik-cookie__btn:hover { background: var(--green-700); }

.ik-shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) { .ik-shell { padding-inline: 24px; } }
@media (min-width: 1024px) { .ik-shell { padding-inline: 32px; } }

/* --------------------------------------------------------------- Buttons -- */

.ik-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.ik-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Weisser Hero-Button */
.ik-btn--white {
  background: #fff;
  color: var(--slate-700);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  padding: 16px 40px;
}
.ik-btn--white:hover { background: var(--slate-100); }

/* Dunkler Button in den Preiskarten */
.ik-btn--slate {
  background: var(--slate-700);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 40px;
}
.ik-btn--slate:hover { background: var(--slate-900); }

/* Umrandeter Button (Support) */
.ik-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 32px;
}
.ik-btn--outline:hover { background: #fff; color: var(--slate-700); }

/* ------------------------------------------------------- Kopfband + Menue */

.ik-menu {
  background: linear-gradient(to bottom right, var(--zinc-500), var(--zinc-300));
  color: #fff;
  padding: 16px 0;
}
@media (min-width: 640px) { .ik-menu { padding: 24px 0; } }

.ik-menu__inner { display: flex; flex-direction: column; align-items: center; }

.ik-brand { display: block; text-align: center; text-decoration: none; }

.ik-brand__logotype {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ik-brand__logo { height: 16px; width: auto; }
@media (min-width: 640px) { .ik-brand__logo { height: 24px; } }

.ik-brand__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
@media (min-width: 640px) { .ik-brand__name { font-size: 19px; } }

.ik-brand__claim {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  margin-top: 0;
}

.ik-nav { padding-top: 16px; }
.ik-nav__inner { position: relative; }
.ik-nav__list {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 20px;
}
/* Nur Desktop: nimmt dem li die zusaetzliche Zeilenhoehe. Auf Mobil wuerde
   display:flex das Zentrieren der Menuepunkte aushebeln. */
@media (min-width: 781px) { .ik-nav__list li { display: flex; } }
.ik-nav__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #000;
  text-decoration: none;
}
.ik-nav__link:hover { color: var(--green-700); }

.ik-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0; border: 0;
  background: transparent;
  cursor: pointer;
  margin-inline: auto 0; /* rechtsbuendig */
}
.ik-burger span {
  display: block; height: 2px; width: 24px; margin-inline: auto;
  background: #000;
  transition: transform .2s ease, opacity .2s ease;
}
.ik-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ik-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ik-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------- Zurück-Button auf Unterseiten */

.ik-subnav { padding-top: 16px; }

.ik-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.ik-back:hover { border-color: var(--green); color: var(--green-700); }
.ik-back:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.ik-back svg { width: 16px; height: 16px; flex: 0 0 16px; }

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

.ik-hero { padding: 24px 0 96px; }
@media (min-width: 1024px) { .ik-hero { padding-top: 48px; } }

.ik-hero__box {
  background: linear-gradient(to right, var(--zinc-800), var(--zinc-600));
  color: #fff;
  border-radius: 12px;
  padding: 64px 32px;
  text-align: center;
}

/* Block statt inline-flex: sonst erzeugt die Zeilenbox 4px Extrahöhe. */
.ik-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  margin: 0 0 12px;
}
.ik-badge__new {
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .06em;
  padding: 2px 5px;
  border-radius: 4px;
}

.ik-hero__title {
  font-size: 48px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: normal;
  color: #fff;
  margin: 0;
}
.ik-hero__lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: rgba(255, 255, 255, .85);
  margin: 16px 0 0;
}

.ik-hero__cta { margin-top: 56px; }

.ik-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.ik-hero__kba { height: 50px; width: auto; }
.ik-hero__trust-text {
  max-width: 260px;
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
  color: rgba(255, 255, 255, .55);
  text-align: left;
}
/* Sobald der Text unter das Logo rutscht, passt linksbündig nicht mehr zum
   zentrierten Hero. */
@media (max-width: 560px) {
  .ik-hero__trust-text { text-align: center; }
}

/* Eyebrow mit Linien links und rechts */
.ik-hero__rule {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 672px;
  margin: 64px auto 20px;
}
.ik-hero__rule::before,
.ik-hero__rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, .25);
}
.ik-hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}

.ik-featurelist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 40px;
  max-width: 672px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}
@media (min-width: 640px) { .ik-featurelist { grid-template-columns: 1fr 1fr; } }
.ik-featurelist__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: rgba(241, 245, 249, .9);
}

.ik-check { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; opacity: .8; }
.ik-check circle { fill: var(--green); }
.ik-check--lg { width: 24px; height: 24px; flex-basis: 24px; margin-top: 2px; opacity: 1; }

/* Screenshot ragt unten aus der dunklen Box heraus */
.ik-hero__shot {
  width: 300px;
  margin: 48px auto -336px;
  border-radius: 10px;
}
@media (min-width: 640px) { .ik-hero__shot { width: 450px; } }
@media (min-width: 768px) { .ik-hero__shot { width: 600px; } }

/* ------------------------------------------------------ Vergleichstabelle -- */

/* Gleicht den ueberstehenden Screenshot aus, damit die Tabelle darunter sitzt.
   Der Wert sitzt hier und nicht an der Tabelle, weil Margins sonst kollabieren. */
.ik-hero__table { margin-top: 336px; }

.ik-compare {
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 12px;
  font-weight: 300;
}
@media (min-width: 640px) { .ik-compare { font-size: 16px; } }

.ik-compare thead { text-align: left; text-transform: uppercase; }
.ik-compare thead th { font-weight: 700; }
.ik-compare th,
.ik-compare td {
  padding: 16px 8px;
  text-align: left;
  vertical-align: middle;
}
@media (min-width: 640px) { .ik-compare th, .ik-compare td { padding: 24px; } }

.ik-compare tbody tr { border-bottom: 1px solid var(--slate-200); }
.ik-compare tbody tr:last-child { border-bottom: 0; }
.ik-compare tbody th { font-weight: 600; }
.ik-compare__tick { margin-right: 6px; }

/* --------------------------------------------------------- Split-Sektion -- */

.ik-split { padding: 96px 0; }
.ik-split__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) { .ik-split__inner { grid-template-columns: 1fr 1fr; } }

.ik-split__eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-700);
  margin: 0 0 16px;
}
.ik-split__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--gray-900);
  margin: 0;
}
@media (min-width: 768px) { .ik-split__title { font-size: 48px; } }
@media (min-width: 1024px) { .ik-split__title { font-size: 60px; } }

.ik-split__lead {
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  color: var(--slate-600);
  margin: 24px 0 32px;
}
.ik-split__media img { border-radius: 12px; margin-inline: auto; }

/* ------------------------------------------------------------------ Preise */

.ik-pagehead { padding-top: 64px; text-align: center; }

.ik-pricing { padding: 96px 0; }

.ik-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-700);
  text-align: center;
  margin: 0 0 16px;
}
.ik-h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 40px;
  color: var(--slate-900);
  text-align: center;
  margin: 0;
}
@media (min-width: 768px) { .ik-h2 { font-size: 36px; } }

.ik-lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: var(--slate-700);
  text-align: center;
  max-width: 768px;
  margin: 16px auto 0;
}

.ik-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 32px;
  max-width: 896px;
  margin: 48px auto 0;
}
.ik-card {
  width: 384px;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--slate-200), 0 10px 15px -3px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.ik-card__body { padding: 24px; }
.ik-card__price {
  font-size: 30px;
  font-weight: 500;
  line-height: 40px;
  color: var(--slate-700);
  text-align: center;
  margin: 16px 0;
}
@media (min-width: 640px) { .ik-card__price { font-size: 36px; font-weight: 600; } }
.ik-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--slate-900);
  text-align: center;
  margin: 0;
}
.ik-card__sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--slate-600);
  text-align: center;
  margin: 4px 0 0;
}
.ik-card__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.ik-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
}
.ik-card__cta { text-align: center; margin-top: 32px; }

.ik-pricing__payments { width: 578px; max-width: 100%; margin: 64px auto 0; }

/* ----------------------------------------------------------------- Support */

.ik-support { padding-bottom: 24px; }
.ik-support__box {
  background: var(--slate-500);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
}
@media (min-width: 640px) { .ik-support__box { padding: 48px; } }
.ik-support__title { font-size: 24px; font-weight: 600; margin: 0 0 4px; }
.ik-support__box p { margin: 0; font-weight: 300; }

/* ---------------------------------------------------------------- FAQ / A11y */

.ik-faq { padding: 96px 0; }
.ik-faq__head { max-width: 672px; margin-inline: auto; }
.ik-faq__eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--emerald-700);
  text-align: center;
  margin: 0;
}
.ik-faq__title {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--slate-900);
  text-align: center;
  margin: 16px 0 0;
  font-weight: 300;
}
.ik-faq__title strong { display: block; font-weight: 600; }

.ik-accordion { max-width: 768px; margin: 48px auto 0; }
.ik-accordion__item { border-bottom: 1px solid var(--slate-200); }
.ik-accordion__item h3 { margin: 0; font-size: 1rem; }

.ik-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: var(--slate-900);
  text-align: left;
  cursor: pointer;
}
.ik-accordion__trigger:hover { color: var(--emerald-700); }
.ik-accordion__trigger:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.ik-accordion__icon {
  width: 20px; height: 20px; flex: 0 0 20px;
  transition: transform .22s ease;
}
.ik-accordion__trigger[aria-expanded="true"] .ik-accordion__icon { transform: rotate(180deg); }

.ik-accordion__panel { padding: 0 0 24px; }
.ik-accordion__panel p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: var(--slate-600);
}

/* -------------------------------------------------------- Städte/Landkreise */

/* Nur Block-Padding setzen: die Kurzform "padding" wuerde das seitliche
   Padding von .ik-shell ueberschreiben. */
.ik-indexpage { padding-block: 48px 96px; }

.ik-indexlist {
  column-width: 220px;
  column-gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ik-indexlist li { break-inside: avoid; margin-bottom: 4px; }
.ik-indexlist a {
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--slate-700);
  text-decoration: none;
}
.ik-indexlist a:hover { color: var(--green-700); text-decoration: underline; }

/* ------------------------------------------------------------------ Prosa -- */

.ik-prose { max-width: 768px; padding-bottom: 96px; font-weight: 300; }
.ik-prose h2 {
  font-size: 20px; font-weight: 600; color: var(--slate-900);
  margin: 40px 0 12px;
}
.ik-prose p, .ik-prose ul { margin: 0 0 16px; line-height: 26px; }
.ik-prose ul { padding-left: 20px; }
.ik-prose li { margin-bottom: 6px; }
.ik-prose a { color: var(--green-700); }
.ik-prose strong { font-weight: 600; }

.ik-h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--slate-900);
  margin: 0 0 8px;
}
@media (min-width: 768px) { .ik-h1 { font-size: 48px; } }

.ik-stand { color: var(--slate-500); font-size: 14px; }
.ik-note {
  background: var(--slate-100);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 24px;
  color: var(--slate-600);
}
.ik-formular {
  border: 1px dashed var(--slate-200);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}
.ik-formular__fields { list-style: none; padding: 0; }
.ik-formular__fields li {
  border-bottom: 1px solid var(--slate-200);
  padding: 12px 0;
  color: var(--slate-600);
}

/* ------------------------------------------------------------------ Footer */

.ik-footer { background: var(--slate-700); color: var(--slate-50); padding: 80px 0 32px; }
.ik-footer a { color: var(--slate-50); }
.ik-footer a:hover { color: #fff; }

.ik-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.ik-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ik-footer__logo { height: 30px; width: auto; }
.ik-footer__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  color: var(--slate-50);
}
.ik-footer__links,
.ik-footer__legal {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 300;
}

.ik-footer__disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-block: 24px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 300;
  color: rgba(248, 250, 252, .7);
}
.ik-footer__disclaimer p { margin: 0; }
.ik-footer__disclaimer-title { font-weight: 600; color: var(--slate-50); margin-bottom: 4px !important; }

.ik-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 300;
}
.ik-footer__bottom p { margin: 0; }

/* ------------------------------------------------------------------ Mobile */

@media (max-width: 780px) {
  .ik-burger { display: flex; }

  .ik-nav__list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 8px;
  }
  .ik-nav__list.is-open { display: flex; }
  .ik-nav__list li { width: 100%; text-align: center; }
  .ik-nav__link { display: block; padding: 12px 0; }

  .ik-hero__box { padding: 40px 20px; }
  .ik-hero__title { font-size: 32px; line-height: 36px; }
  .ik-btn--white { font-size: 18px; padding: 14px 28px; }
  .ik-hero__shot { margin-bottom: -180px; }
  .ik-hero__table { margin-top: 200px; }

  .ik-split { padding: 56px 0; }
  .ik-split__media { order: -1; }
  .ik-pricing, .ik-faq { padding: 56px 0; }
  .ik-faq__title { font-size: 32px; }

  /* Vergleichstabelle wird zum Kartenstapel */
  .ik-compare { width: 100%; }
  .ik-compare thead { display: none; }
  .ik-compare, .ik-compare tbody, .ik-compare tr, .ik-compare th, .ik-compare td { display: block; }
  .ik-compare tr {
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 8px 4px;
  }
  .ik-compare tbody th { padding-bottom: 4px; }
  .ik-compare td { padding-top: 4px; }
  .ik-compare td::before {
    content: attr(data-label) " ";
    color: var(--slate-500);
    font-size: 12px;
  }

  .ik-support__box { flex-direction: column; align-items: flex-start; }
  .ik-footer__top { flex-direction: column; align-items: flex-start; gap: 20px; }
}

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