/* ==========================================================================
   GovRadar Services: Landingpage vergabeservice.govradar.net
   Design-Tokens 1:1 aus govradar.net (template_base.min.css) uebernommen.
   ========================================================================== */

@font-face {
  font-family: "Gellix";
  src: url("fonts/Gellix-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gellix";
  src: url("fonts/Gellix-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marke */
  --ink: #171717;
  --navy: #071229;
  --lilac: #bf8aff;
  --violet: #703ab3;
  --paper: #f7f6f2;
  --white: #fff;

  /* Abgeleitet */
  --ink-soft: #55565a;
  --rule: #e5e7ea;
  --rule-dark: rgb(255 255 255 / 16%);

  --radius-pill: 30px;
  --radius-sheet: 4px;

  --font: "Gellix", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;

  --gutter: 20px;
  --measure: 62ch;
  --shell: 1180px;
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.375rem, 5.6vw, 4rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.14;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
}

a {
  color: var(--violet);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Grundgeruest --------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.band--paper {
  background: var(--paper);
}

.band--navy {
  background: var(--navy);
  color: var(--white);
}

.band--navy h2,
.band--navy h3 {
  color: var(--white);
}

.band--navy a {
  color: var(--lilac);
}

.band__intro {
  display: grid;
  gap: 1.25rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Ueberschrift links, Einleitung rechts, damit breite Baender gefuellt bleiben. */
@media (min-width: 880px) {
  .band__intro--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.band__intro h2 {
  max-width: 19ch;
}

.band__intro .lead {
  max-width: 48ch;
  margin: 0;
}

.lead {
  font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.band--navy .lead {
  color: rgb(255 255 255 / 76%);
}

/* Ausgeblendet, ohne den Viewport zu verbreitern (kein left:-9999px). */
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1.25rem;
  overflow: visible;
  clip-path: none;
  background: var(--white);
  box-shadow: 0 6px 24px rgb(7 18 41 / 24%);
  border-radius: var(--radius-pill);
}

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

.masthead {
  border-bottom: 1px solid var(--rule);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.masthead__logo img {
  width: 158px;
  height: auto;
}

.masthead__note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .masthead__note {
    display: none;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--solid {
  background: var(--violet);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--line {
  background: transparent;
  border-color: rgb(23 23 23 / 24%);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

.hero {
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  }
}

.hero__text p {
  max-width: 46ch;
}

.hero__lede {
  margin-top: 1.5rem;
}

.hero__price {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 2px solid var(--lilac);
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.hero__price b {
  color: var(--ink);
  font-weight: 600;
}

/* Das Blatt Papier: der Kern der Seite, deshalb als einziges Element gestaltet
   wie ein reales Dokument statt wie eine UI-Karte. */
.sheet {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sheet);
  box-shadow:
    0 1px 2px rgb(7 18 41 / 6%),
    0 18px 44px -14px rgb(7 18 41 / 22%);
  padding: clamp(1.5rem, 3.4vw, 2.5rem);
  rotate: -0.6deg;
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 920px) {
  .sheet {
    font-size: 0.875rem;
  }
}

.sheet__head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.sheet__kicker {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.sheet__title {
  margin: 0.35rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sheet__body {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.sheet__clause {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0 0.75rem;
  align-items: baseline;
}

.sheet__no {
  font-variant-numeric: tabular-nums;
  color: var(--violet);
  font-weight: 600;
}

.sheet__clause dd {
  margin: 0;
}

.sheet__clause h3 {
  font-size: inherit;
  font-weight: 600;
  margin: 0 0 0.3rem;
  letter-spacing: 0;
}

.spec {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 1rem;
  font-family: var(--mono);
  font-size: 0.78em;
  color: var(--ink-soft);
}

.spec dt {
  min-width: 0;
}

.spec dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
  white-space: nowrap;
}

.sheet__foot {
  margin: 1.5rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* Der eine choreografierte Moment: das Blatt schreibt sich einmal beim Laden. */
@media (prefers-reduced-motion: no-preference) {
  .sheet__head,
  .sheet__clause,
  .sheet__foot {
    animation: sheet-write 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  }

  .sheet__head { animation-delay: 0.15s; }
  .sheet__clause:nth-of-type(1) { animation-delay: 0.45s; }
  .sheet__clause:nth-of-type(2) { animation-delay: 0.68s; }
  .sheet__clause:nth-of-type(3) { animation-delay: 0.91s; }
  .sheet__foot { animation-delay: 1.15s; }
}

@keyframes sheet-write {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- Status quo (dunkles Band) -------------------------------------------- */

.facts {
  display: grid;
  gap: 2.5rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 4rem;
  }
}

.facts > li {
  border-top: 1px solid var(--rule-dark);
  padding-top: 1.25rem;
}

.facts b {
  display: block;
  font-size: clamp(2.25rem, 4.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lilac);
  margin-bottom: 0.6rem;
}

.facts p {
  margin: 0;
  color: rgb(255 255 255 / 76%);
  max-width: 34ch;
}

.facts cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  font-style: normal;
  color: rgb(255 255 255 / 52%);
}

/* --- Ablauf (echte Sequenz, deshalb nummeriert) --------------------------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 880px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 3rem;
  }
}

.steps > li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding: 1.5rem 0 2rem;
}

@media (min-width: 880px) {
  .steps > li {
    padding-bottom: 0;
  }
}

.steps > li::before {
  content: "Schritt " counter(step);
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.steps h3 {
  margin-bottom: 0.6rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38ch;
}

/* --- Leistungsumfang ------------------------------------------------------ */

.scope {
  display: grid;
  gap: 2.5rem 4rem;
  margin-top: 3rem;
}

@media (min-width: 820px) {
  .scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.scope h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.scope ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.scope li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  max-width: 44ch;
}

.scope li::before {
  font-weight: 600;
  line-height: 1.6;
}

.scope--in li::before {
  content: "\2713";
  color: var(--violet);
}

.scope--out li::before {
  content: "\2013";
  color: var(--ink-soft);
}

.scope--out li {
  color: var(--ink-soft);
}

/* --- Preis ---------------------------------------------------------------- */

.price {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 860px) {
  .price {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

.price__figure {
  border-left: 3px solid var(--violet);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.price__amount {
  display: block;
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price__unit {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  max-width: 32ch;
}

.price__compare {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.price__compare p {
  margin: 0;
  max-width: 40ch;
}

.price__compare s {
  color: var(--ink-soft);
  text-decoration-thickness: 1px;
}

/* --- Vertrauen ------------------------------------------------------------ */

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.15rem;
  font-size: 0.9375rem;
  background: var(--white);
}

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

.faq {
  margin-top: 2.75rem;
  border-top: 1px solid var(--rule);
  max-width: 78ch;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--violet);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details > div {
  padding-bottom: 1.5rem;
}

.faq p {
  margin: 0 0 0.75em;
  color: var(--ink-soft);
}

.faq p:last-child {
  margin-bottom: 0;
}

/* --- Formular ------------------------------------------------------------- */

.contact {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field span {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgb(23 23 23 / 22%);
  border-radius: 6px;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--violet);
}

.form__legal {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
}

.form__status {
  margin: 0;
  font-size: 0.9375rem;
  min-height: 1.5rem;
}

.form__status[data-state="error"] {
  color: #942e1e;
}

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

.colophon {
  background: var(--navy);
  color: rgb(255 255 255 / 70%);
  padding-block: 3rem;
  font-size: 0.9375rem;
}

.colophon__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.colophon nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.colophon a {
  color: rgb(255 255 255 / 70%);
}

.colophon a:hover {
  color: var(--white);
}

.colophon p {
  margin: 0;
}
