/* ==========================================================================
   LuMa-IT – Stylesheet
   --------------------------------------------------------------------------
   1. Schriften          5. Komponenten           9. Animationen
   2. Design-Tokens      6. Header & Navigation  10. Hilfsklassen
   3. Basis              7. Footer
   4. Layout             8. Seitenbereiche
   ========================================================================== */

/* 1. Schriften – lokal gehostet, keine Verbindung zu Google (DSGVO) ------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Design-Tokens -------------------------------------------------------- */
:root {
  /* Farben */
  --c-bg: #f8f9fc;
  --c-surface: #ffffff;
  --c-surface-2: #f2f4f9;
  --c-surface-3: #e8ebf3;
  --c-border: #e4e7ef;
  --c-border-strong: #d2d7e3;
  --c-text: #0d1226;
  --c-text-2: #474e68;
  --c-muted: #646b87;

  --c-brand: #4b3af0;
  --c-brand-hover: #3a29d9;
  --c-brand-strong: #2e1fb5;
  --c-brand-soft: #ebe9ff;
  --c-brand-softer: #f5f4ff;
  --c-accent: #12a8ee;
  --c-success: #0b7a5c;
  --c-success-bright: #16b386;
  --c-success-soft: #e2f6ee;

  --gradient-brand: linear-gradient(120deg, #4b3af0 0%, #3366f2 55%, #12a8ee 100%);
  --gradient-text: linear-gradient(95deg, #4b3af0 0%, #2f5ff0 50%, #0b8ad0 100%);
  --gradient-cta: linear-gradient(125deg, #3a29d9 0%, #4b3af0 45%, #2458e6 100%);

  /* Typografie */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font-sans);

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.375rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);

  /* Abstände & Maße */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 72px;

  /* Radien */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Schatten */
  --shadow-xs: 0 1px 2px rgb(13 18 38 / .05);
  --shadow-sm: 0 1px 2px rgb(13 18 38 / .04), 0 4px 12px -4px rgb(13 18 38 / .07);
  --shadow-md: 0 1px 2px rgb(13 18 38 / .04), 0 12px 32px -12px rgb(13 18 38 / .14);
  --shadow-lg: 0 2px 6px rgb(13 18 38 / .04), 0 28px 60px -20px rgb(13 18 38 / .22);
  --shadow-brand: 0 8px 24px -8px rgb(75 58 240 / .55);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* 3. Basis ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text-2);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--c-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color .2s;
}

a:hover {
  color: var(--c-brand-hover);
}

:focus-visible {
  outline: 2.5px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--c-brand-soft);
  color: var(--c-text);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--c-text);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: 1.0625rem;
}

p {
  text-wrap: pretty;
}

strong {
  font-weight: 600;
  color: var(--c-text);
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

/* 4. Layout --------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow {
  --container: 820px;
}

.section {
  position: relative;
  padding-block: var(--space-section);
}

.section--white {
  background: var(--c-surface);
  border-block: 1px solid var(--c-border);
}

.section--tight {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: .875rem;
}

.section-head p {
  margin-top: 1.25rem;
  font-size: var(--fs-lg);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}

.section-head--split > div {
  max-width: 680px;
}

.grid {
  display: grid;
  gap: var(--grid-gap, 1.5rem);
}

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.split {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--wide-left {
    grid-template-columns: 1.15fr .85fr;
  }

  .split--wide-right {
    grid-template-columns: .85fr 1.15fr;
  }

  .split--top {
    align-items: start;
  }

  .split--reverse > :first-child {
    order: 2;
  }

  /* Spalte bleibt beim Scrollen stehen */
  .sticky-col {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
}

.stack > * + * {
  margin-top: var(--stack-gap, 1.25rem);
}

/* 5. Komponenten ---------------------------------------------------------- */

/* Überzeile */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.eyebrow::before {
  content: "";
  width: 1.375rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

/* Pill-Badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .375rem .875rem .375rem .4375rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: var(--shadow-xs);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
}

.pill__tag {
  padding: .125rem .625rem;
  border-radius: var(--r-pill);
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Buttons */
.btn {
  --btn-bg: var(--c-surface);
  --btn-fg: var(--c-text);
  --btn-border: var(--c-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .75rem 1.375rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform .2s var(--ease-out);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn--primary {
  --btn-bg: var(--c-brand);
  --btn-fg: #fff;
  --btn-border: transparent;
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgb(255 255 255 / .2);
}

.btn--primary:hover {
  --btn-bg: var(--c-brand-hover);
  box-shadow: 0 14px 30px -10px rgb(75 58 240 / .6), inset 0 1px 0 rgb(255 255 255 / .2);
}

.btn--secondary:hover {
  --btn-border: var(--c-text);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--c-brand-strong);
  --btn-border: transparent;
}

.btn--outline-light {
  --btn-bg: rgb(255 255 255 / .08);
  --btn-fg: #fff;
  --btn-border: rgb(255 255 255 / .35);
}

.btn--outline-light:hover {
  --btn-bg: rgb(255 255 255 / .16);
}

.btn--lg {
  min-height: 3.5rem;
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-brand);
  text-decoration: none;
}

.link-arrow .icon {
  width: 1rem;
  height: 1rem;
  transition: transform .2s var(--ease-out);
}

.link-arrow:hover .icon,
.card--link:hover .link-arrow .icon {
  transform: translateX(3px);
}

/* Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--c-brand-soft);
  border-radius: var(--r-sm);
  background: var(--c-brand-softer);
  color: var(--c-brand);
}

.icon-box--gradient {
  border: 0;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgb(255 255 255 / .25);
}

.icon-box--sm {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}

.icon-box--sm .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-box--success {
  border-color: var(--c-success-soft);
  background: var(--c-success-soft);
  color: var(--c-success);
}

/* Häkchen-Liste */
.check-list {
  display: grid;
  gap: .75rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.check-list .icon {
  width: 1.375rem;
  height: 1.375rem;
  margin-top: .125rem;
  padding: .25rem;
  border-radius: 50%;
  background: var(--c-success-soft);
  color: var(--c-success);
  stroke-width: 2.75;
}

.check-list--2 {
  gap: .75rem 1.5rem;
}

@media (min-width: 640px) {
  .check-list--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  list-style: none;
}

.tag {
  padding: .3125rem .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-2);
}

/* Karten */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}

.card h3 {
  font-size: 1.1875rem;
}

.card p {
  font-size: 1rem;
}

.card--link:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-lg);
}

/* Gesamte Karte klickbar machen */
.card__link {
  color: inherit;
  text-decoration: none;
}

.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.card__link:hover {
  color: inherit;
}

.card .link-arrow {
  margin-top: auto;
  padding-top: .25rem;
}

/* Feature (Icon + Titel + Text) */
.feature {
  display: grid;
  align-content: start;
  gap: .875rem;
}

.feature h3 {
  font-size: 1.125rem;
}

.feature p {
  font-size: 1rem;
}

/* Prozess-Schritte */
.steps {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gradient-brand);
  opacity: .85;
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

.step p {
  margin-top: .5rem;
  font-size: .9375rem;
}

/* FAQ / Akkordeon */
.faq {
  display: grid;
  gap: .75rem;
}

.faq details {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  transition: border-color .2s, box-shadow .2s;
}

.faq details[open] {
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
}

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

.faq summary .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-brand);
  transition: transform .3s var(--ease-out);
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 1.5rem 1.375rem;
}

.faq__answer p + p {
  margin-top: .75rem;
}

/* Sanftes Auf- und Zuklappen in modernen Browsern */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete;
  }

  .faq details[open]::details-content {
    block-size: auto;
  }
}

/* Breadcrumb */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: .375rem;
  color: var(--c-border-strong);
}

.breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--c-brand);
}

.breadcrumb [aria-current] {
  font-weight: 500;
  color: var(--c-text);
}

/* Formulare */
.form {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 640px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
}

.field .req {
  color: var(--c-brand);
}

.field .optional {
  font-weight: 400;
  color: var(--c-muted);
}

.input {
  width: 100%;
  padding: .8125rem 1rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font-size: 1rem;
  color: var(--c-text);
  transition: border-color .2s, box-shadow .2s;
}

.input::placeholder {
  color: #8b91a8;
}

.input:hover {
  border-color: #b9bfd0;
}

.input:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgb(75 58 240 / .15);
}

.input:user-invalid {
  border-color: #d92d50;
}

textarea.input {
  min-height: 170px;
  resize: vertical;
}

select.input {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646b87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.125rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: var(--fs-sm);
}

.checkbox input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .15rem;
  accent-color: var(--c-brand);
}

.form__note {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* Honeypot (Spam-Schutz) – für Menschen unsichtbar */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hinweise */
.alert {
  display: flex;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border: 1px solid #ffd0d8;
  border-radius: var(--r-sm);
  background: #fff1f3;
  font-size: var(--fs-sm);
  color: #9f1239;
}

.notice {
  display: flex;
  gap: .875rem;
  margin-bottom: 2.5rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid #fde4a6;
  border-radius: var(--r-md);
  background: #fff8e6;
  font-size: var(--fs-sm);
  color: #6b4200;
}

.notice p {
  margin: 0;
}

.notice .icon,
.alert .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .125rem;
}

/* 6. Header & Navigation -------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1.125rem;
  border-radius: var(--r-sm);
  background: var(--c-text);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

/* Milchglas als Pseudo-Element – so bleibt das mobile Menü (position: fixed)
   am Viewport ausgerichtet und nicht am Header. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(248 249 252 / .78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background-color .3s;
}

.site-header.is-scrolled {
  border-color: var(--c-border);
  box-shadow: 0 8px 30px -20px rgb(13 18 38 / .25);
}

.site-header.is-scrolled::before {
  background: rgb(255 255 255 / .86);
}

.nav-open .site-header::before {
  background: var(--c-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--c-text);
  text-decoration: none;
}

.logo:hover {
  color: var(--c-text);
}

.logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  filter: drop-shadow(0 6px 12px rgb(75 58 240 / .28));
  transition: transform .35s var(--ease-out);
}

.logo:hover .logo__mark {
  transform: rotate(-6deg) scale(1.04);
}

.logo__accent {
  color: var(--c-brand);
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-text);
}

.nav-toggle .icon {
  grid-area: 1 / 1;
  transition: opacity .2s, transform .3s var(--ease-out);
}

.nav-toggle__close {
  opacity: 0;
  transform: rotate(-90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  opacity: 0;
  transform: rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  opacity: 1;
  transform: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
}

.nav__link:hover,
.nav__link.is-active,
.nav__link[aria-current="page"] {
  color: var(--c-text);
}

.nav__chevron {
  width: 1rem;
  height: 1rem;
  transition: transform .25s var(--ease-out);
}

.nav__sub-list {
  display: grid;
  gap: .125rem;
}

.nav__sublink {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .625rem .75rem;
  border-radius: var(--r-sm);
  color: var(--c-text);
  text-decoration: none;
  transition: background-color .2s;
}

.nav__sublink:hover,
.nav__sublink[aria-current="page"] {
  background: var(--c-surface-2);
  color: var(--c-text);
}

.nav__sublink strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.nav__sublink small {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}

/* Mobile Navigation */
@media (max-width: 1023.98px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    border-top: 1px solid var(--c-border);
    background: var(--c-bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: .875rem .25rem;
    border-bottom: 1px solid var(--c-border);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-text);
  }

  .nav__chevron {
    display: none;
  }

  .nav__sub-list {
    padding: .5rem 0 .75rem;
  }

  .nav__cta {
    width: 100%;
    margin-top: auto;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Desktop Navigation */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: .25rem;
  }

  .nav__link {
    padding: .5rem .875rem;
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    transition: color .2s, background-color .2s;
  }

  .nav__link:hover,
  .nav__link.is-active,
  .nav__link[aria-current="page"] {
    background: rgb(13 18 38 / .05);
  }

  .nav__item--has-sub {
    position: relative;
  }

  .nav__sub {
    position: absolute;
    top: calc(100% + .75rem);
    left: 50%;
    width: 380px;
    padding: .625rem;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease-out), visibility .2s;
  }

  /* Unsichtbare Brücke, damit das Menü beim Überfahren offen bleibt */
  .nav__sub::before {
    content: "";
    position: absolute;
    inset: -.875rem 0 100%;
  }

  .nav__item--has-sub:hover .nav__sub,
  .nav__item--has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .nav__item--has-sub:hover .nav__chevron,
  .nav__item--has-sub:focus-within .nav__chevron {
    transform: rotate(180deg);
  }

  .nav__cta {
    min-height: 2.75rem;
    padding: .625rem 1.25rem;
  }
}

/* 7. Footer --------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3.5rem, 3rem + 3vw, 5rem);
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
}

.footer-contact {
  display: grid;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--c-brand);
}

.footer-contact .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--c-brand);
}

.footer-title {
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-text);
}

.footer-links {
  display: grid;
  gap: .625rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--c-text-2);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--c-brand);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 3.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.footer-bottom__note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.footer-bottom .icon {
  width: 1rem;
  height: 1rem;
  color: var(--c-success);
}

/* 8. Seitenbereiche ------------------------------------------------------- */

/* Hintergrund-Deko: feines Raster + farbiges Leuchten */
.bg-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(13 18 38 / .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(13 18 38 / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 0%, #000 20%, transparent 75%);
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 120%;
  background:
    radial-gradient(38% 42% at 15% 25%, rgb(75 58 240 / .15), transparent 70%),
    radial-gradient(34% 40% at 85% 30%, rgb(18 168 238 / .15), transparent 70%);
}

/* Hero (Startseite) */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(4rem, 3rem + 5vw, 7rem);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 2rem + 5vw, 5rem);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.1fr .9fr;
  }
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 3.875rem);
}

.hero__lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: var(--fs-lg);
}

.hero .btn-group {
  margin-top: 2.25rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hero__trust .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--c-success);
  stroke-width: 2.5;
}

/* Hero-Illustration: Browserfenster + schwebende Karten */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  padding: 2.75rem 0 4.5rem 1rem;
}

@media (min-width: 640px) {
  .hero-visual {
    padding: 3rem 1.5rem 4.5rem 2.5rem;
  }
}

.mock-browser {
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgb(255 255 255 / .55);
}

@media (min-width: 1024px) {
  .mock-browser {
    transform: perspective(1800px) rotateY(-7deg) rotateX(3deg);
  }
}

.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}

.mock-browser__bar > span {
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  background: #ff8a80;
}

.mock-browser__bar > span:nth-child(2) {
  background: #ffd479;
}

.mock-browser__bar > span:nth-child(3) {
  background: #7ee2b0;
}

.mock-browser__url {
  display: flex;
  flex: 1;
  align-items: center;
  gap: .375rem;
  margin-left: .75rem;
  padding: .3125rem .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-size: .75rem;
  color: var(--c-muted);
}

.mock-browser__url .icon {
  width: .8125rem;
  height: .8125rem;
  color: var(--c-success);
  stroke-width: 2.25;
}

.mock-site {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem 1.5rem;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.mock-nav i {
  width: 2.25rem;
  height: .4375rem;
  border-radius: 4px;
  background: var(--c-surface-3);
}

.mock-nav .mock-logo {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: auto;
  border-radius: .4375rem;
  background: var(--gradient-brand);
}

.mock-nav b {
  width: 3.75rem;
  height: 1.375rem;
  border-radius: var(--r-pill);
  background: var(--c-text);
}

.mock-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 1.25rem;
}

.mock-lines {
  display: grid;
  gap: .5rem;
}

.mock-lines i {
  height: .875rem;
  border-radius: 5px;
  background: var(--c-text);
}

.mock-lines i:nth-child(2) {
  width: 75%;
}

.mock-lines .thin {
  width: 92%;
  height: .4375rem;
  margin-top: .375rem;
  background: var(--c-surface-3);
}

.mock-lines .thin + .thin {
  width: 70%;
  margin-top: 0;
}

.mock-lines b {
  width: 5.25rem;
  height: 1.625rem;
  margin-top: .625rem;
  border-radius: var(--r-pill);
  background: var(--c-brand);
  box-shadow: var(--shadow-brand);
}

.mock-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / .9;
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 25% 25%, #b3a8ff 0, transparent 55%),
    radial-gradient(circle at 80% 75%, #8fdcff 0, transparent 55%),
    linear-gradient(135deg, #eeebff, #e6f6ff);
}

.mock-image::before {
  content: "";
  position: absolute;
  bottom: -14%;
  left: 18%;
  width: 64%;
  height: 64%;
  border-radius: 50%;
  background: rgb(255 255 255 / .55);
}

.mock-image::after {
  content: "";
  position: absolute;
  top: 16%;
  right: 16%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 30%;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
  transform: rotate(12deg);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.mock-cards i {
  position: relative;
  height: 4.5rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: linear-gradient(var(--c-surface-2), var(--c-surface));
}

.mock-cards i::before {
  content: "";
  position: absolute;
  top: .625rem;
  left: .625rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: .375rem;
  background: var(--c-brand-soft);
}

.mock-cards i::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: .75rem;
  left: .625rem;
  height: .375rem;
  border-radius: 3px;
  background: var(--c-surface-3);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgb(255 255 255 / .95);
  box-shadow: var(--shadow-lg);
  font-size: .8125rem;
  color: var(--c-text-2);
  animation: float 7s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: .875rem;
  color: var(--c-text);
}

.float-card small {
  display: block;
  font-size: .75rem;
  color: var(--c-muted);
}

.float-card--speed {
  top: .5rem;
  right: 0;
}

.float-card--serp {
  bottom: 0;
  left: 0;
  display: grid;
  gap: .375rem;
  width: min(300px, 80%);
  animation-delay: -2.5s;
}

.float-card--chip {
  right: 0;
  bottom: 6.5rem;
  padding: .4375rem 1rem .4375rem .4375rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  color: var(--c-text);
  animation-delay: -4.5s;
}

@media (max-width: 639.98px) {
  .float-card--chip {
    display: none;
  }
}

.gauge {
  position: relative;
  width: 3rem;
  height: 3rem;
}

.gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge circle {
  fill: none;
  stroke-width: 4;
}

.gauge__track {
  stroke: var(--c-success-soft);
}

.gauge__value {
  stroke: var(--c-success-bright);
  stroke-linecap: round;
  stroke-dasharray: 113.1;
  stroke-dashoffset: 2.3;
  animation: gauge 1.8s var(--ease-out) .4s both;
}

.gauge span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 800;
  color: var(--c-success);
}

.serp__top {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--c-muted);
}

.serp__fav {
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  font-size: .625rem;
  font-weight: 700;
  color: #fff;
}

.serp__title {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-brand-strong);
}

.serp__lines i {
  display: block;
  height: .375rem;
  border-radius: 3px;
  background: var(--c-surface-3);
}

.serp__lines i + i {
  width: 72%;
  margin-top: .375rem;
}

.serp__badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .3125rem;
  margin-top: .25rem;
  padding: .1875rem .625rem;
  border-radius: var(--r-pill);
  background: var(--c-success-soft);
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-success);
}

.serp__badge .icon {
  width: .875rem;
  height: .875rem;
  stroke-width: 2.5;
}

/* Laufband mit Schlagworten */
.marquee {
  overflow: hidden;
  padding-block: 1.25rem;
  border-block: 1px solid var(--c-border);
  background: var(--c-surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2.5rem 0 0;
  list-style: none;
}

.marquee__group li {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-text);
}

.marquee__group li::after {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: rotate(45deg);
}

/* Leistungen als Bento-Raster */
.bento {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento > * {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .bento > :nth-child(4n + 1),
  .bento > :nth-child(4n + 4) {
    grid-column: span 7;
  }

  .bento > :nth-child(4n + 2),
  .bento > :nth-child(4n + 3) {
    grid-column: span 5;
  }
}

.service-card {
  isolation: isolate;
  overflow: hidden;
  gap: 1.125rem;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 90% at 100% 0%, rgb(75 58 240 / .09), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  color: #b4bacb;
}

.service-card h3 {
  font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem);
}

/* Seitenkopf der Unterseiten */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
  border-bottom: 1px solid var(--c-border);
}

.page-hero .breadcrumb {
  margin-bottom: 2rem;
}

.page-hero h1 {
  max-width: 18ch;
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
}

.page-hero__lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  font-size: var(--fs-lg);
}

.page-hero .btn-group {
  margin-top: 2rem;
}

.page-hero__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .page-hero__grid {
    grid-template-columns: 1.2fr .8fr;
    gap: 4rem;
  }
}

/* „Auf einen Blick“-Karte */
.glance {
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: rgb(255 255 255 / .88);
  box-shadow: var(--shadow-lg);
}

.glance__head {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}

.glance__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.glance__head small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.glance .check-list {
  font-size: .96875rem;
}

/* Leistungs-Zeilen (Übersichtsseite) */
.service-row {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.service-row:first-child {
  padding-top: 0;
}

.service-row + .service-row {
  border-top: 1px solid var(--c-border);
}

@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .service-row:nth-child(even) .visual-panel {
    order: -1;
  }
}

.service-row h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
}

.service-row p {
  margin-top: 1rem;
}

.service-row .check-list {
  margin-top: 1.5rem;
}

.service-row .btn-group {
  margin-top: 2rem;
}

/* Illustrations-Panel */
.visual-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 60% at 30% 25%, rgb(75 58 240 / .14), transparent 70%),
    radial-gradient(55% 55% at 80% 80%, rgb(18 168 238 / .14), transparent 70%),
    var(--c-surface);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgb(13 18 38 / .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(13 18 38 / .05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at center, #000 10%, transparent 70%);
  mask-image: radial-gradient(circle at center, #000 10%, transparent 70%);
}

.visual-panel__icon {
  width: 6rem;
  height: 6rem;
  border-radius: 28px;
}

.visual-panel__icon .icon {
  width: 2.75rem;
  height: 2.75rem;
  stroke-width: 1.5;
}

.visual-panel__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4375rem .875rem .4375rem .4375rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  animation: float 7s ease-in-out infinite;
}

.visual-panel__chip--1 {
  top: 10%;
  left: 6%;
}

.visual-panel__chip--2 {
  right: 6%;
  bottom: 10%;
  animation-delay: -2.5s;
}

.visual-panel__chip--3 {
  top: 32%;
  right: 4%;
  display: none;
  animation-delay: -4.5s;
}

@media (min-width: 640px) {
  .visual-panel__chip--3 {
    display: inline-flex;
  }
}

/* Referenzen / Projekte */
.project-card {
  overflow: hidden;
  gap: 0;
  padding: 0;
}

.project-card__media {
  position: relative;
  display: grid;
  place-items: end center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding-inline: 12%;
  background: var(--media-bg, var(--gradient-brand));
}

.project-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .25rem .625rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .92);
  box-shadow: var(--shadow-sm);
  font-size: .75rem;
  font-weight: 600;
  color: var(--c-text);
}

.mini-site {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: .625rem;
  width: 100%;
  height: 78%;
  padding: .75rem;
  border-radius: 12px 12px 0 0;
  background: #fff;
  box-shadow: 0 -10px 40px -10px rgb(13 18 38 / .35);
  transition: transform .5s var(--ease-out);
}

.card--link:hover .mini-site {
  transform: translateY(-6px);
}

.mini-site__nav {
  display: flex;
  align-items: center;
  gap: .375rem;
}

.mini-site__nav i {
  width: 1.5rem;
  height: .3125rem;
  border-radius: 3px;
  background: var(--c-surface-3);
}

.mini-site__nav i:first-child {
  width: .875rem;
  height: .875rem;
  margin-right: auto;
  border-radius: 4px;
  background: var(--accent, var(--c-brand));
}

.mini-site__hero {
  display: grid;
  gap: .3125rem;
}

.mini-site__hero i {
  width: 70%;
  height: .5rem;
  border-radius: 3px;
  background: var(--c-text);
}

.mini-site__hero i + i {
  width: 48%;
}

.mini-site__hero b {
  width: 2.75rem;
  height: .875rem;
  margin-top: .25rem;
  border-radius: var(--r-pill);
  background: var(--accent, var(--c-brand));
}

.mini-site__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .375rem;
}

.mini-site__grid i {
  border: 1px solid var(--c-border);
  border-radius: 6px;
  background: var(--c-surface-2);
}

.project-card__body {
  display: grid;
  align-content: start;
  gap: .625rem;
  padding: 1.5rem 1.5rem 1.75rem;
}

.project-card__meta {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.project-card .tags {
  margin-top: .375rem;
}

.media--violet { --media-bg: linear-gradient(135deg, #6a5bff, #3d6cf5); --accent: #4b3af0; }
.media--teal   { --media-bg: linear-gradient(135deg, #14b8a6, #1a8fd6); --accent: #0e9384; }
.media--amber  { --media-bg: linear-gradient(135deg, #ffb547, #ff6b6b); --accent: #f26b3a; }
.media--rose   { --media-bg: linear-gradient(135deg, #ff7ab6, #8b5cf6); --accent: #d6458f; }
.media--sky    { --media-bg: linear-gradient(135deg, #38bdf8, #6366f1); --accent: #2563eb; }
.media--green  { --media-bg: linear-gradient(135deg, #34d399, #0ea5e9); --accent: #059669; }

/* Über uns: Bild-Platzhalter */
.about-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 50% at 30% 20%, rgb(75 58 240 / .18), transparent 70%),
    radial-gradient(60% 50% at 80% 90%, rgb(18 168 238 / .18), transparent 70%),
    var(--c-surface);
}

.about-media__monogram {
  font-family: var(--font-display);
  font-size: clamp(5rem, 4rem + 4vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.about-media__card {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgb(255 255 255 / .92);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
}

.about-media__card img {
  width: 2.5rem;
  height: 2.5rem;
}

.about-media__card strong {
  display: block;
}

/* Call-to-Action-Band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1rem + 4vw, 4rem);
  border-radius: var(--r-xl);
  background: var(--gradient-cta);
  box-shadow: 0 40px 80px -40px rgb(75 58 240 / .7);
  text-align: center;
  color: rgb(255 255 255 / .88);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / .08) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / .08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000, transparent 75%);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -70%;
  z-index: -1;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(18 168 238 / .45), transparent 65%);
}

.cta-band .eyebrow {
  color: #fff;
}

.cta-band .eyebrow::before {
  background: rgb(255 255 255 / .6);
}

.cta-band h2 {
  max-width: 22ch;
  margin: .875rem auto 0;
  color: #fff;
}

.cta-band p {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: var(--fs-lg);
}

.cta-band .btn-group {
  justify-content: center;
  margin-top: 2.25rem;
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.4fr .6fr;
    align-items: start;
    gap: 2rem;
  }
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem);
}

.form-card > p {
  margin: .5rem 0 2rem;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-surface);
}

.contact-item small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.contact-item a,
.contact-item strong {
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: var(--c-brand);
}

.next-steps {
  padding: 1.5rem;
  border: 1px solid var(--c-brand-soft);
  border-radius: var(--r-lg);
  background: var(--c-brand-softer);
}

.next-steps h3 {
  font-size: 1.0625rem;
}

.next-steps ol {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.next-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .875rem;
  font-size: var(--fs-sm);
  counter-increment: step;
}

.next-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--c-brand-soft);
  border-radius: 50%;
  background: var(--c-surface);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--c-brand);
}

.next-steps strong {
  display: block;
}

/* Rechtstexte */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 2.75rem 0 .875rem;
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  letter-spacing: -.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 1.75rem 0 .625rem;
  font-size: 1.125rem;
}

.prose p,
.prose ul,
.prose address {
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: .375rem;
}

.prose li::marker {
  color: var(--c-brand);
}

.prose address {
  font-style: normal;
}

/* Platzhalter, die vor dem Livegang ersetzt werden müssen */
mark {
  padding: 0 .3em;
  border-radius: 4px;
  background: #fff3cd;
  color: #6b4200;
}

/* Status-Seiten (404, Danke) */
.status-page {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 8rem);
  padding-block: var(--space-section);
  text-align: center;
}

.status-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 4rem + 10vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.status-page__icon {
  width: 5rem;
  height: 5rem;
  margin-inline: auto;
  border-radius: 24px;
}

.status-page__icon .icon {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 2.25;
}

.status-page h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
}

.status-page p {
  max-width: 34rem;
  margin: 1rem auto 0;
}

.status-page .btn-group {
  justify-content: center;
  margin-top: 2rem;
}

/* 9. Animationen ---------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes gauge {
  from { stroke-dashoffset: 113.1; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

/* Einblenden beim Scrollen – wird erst aktiv, wenn main.js geladen ist */
.reveal-ready [data-reveal] {
  opacity: 0;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  animation: reveal .8s var(--ease-out) var(--delay, 0s) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
  }
}

/* 10. Hilfsklassen -------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.lead { font-size: var(--fs-lg); }

@media print {
  .site-header,
  .nav-toggle,
  .marquee,
  .cta-band {
    display: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    animation: none !important;
  }
}
