/* Venopay — Block backgrounds, 2 Fotos je 1× */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --muted: #eef0f3;
  --border: #e2e4e9;
  --text: #111318;
  --text-soft: #5c6370;
  --text-faint: #8a909e;
  --ink: #1a1d23;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --wrap: min(68rem, 100% - 2rem);
  --radius: 10px;
  --img-m1: url('../assets/images/venopay_m1.png');
  --img-m2: url('../assets/images/venopay_m2.png');
}

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

html { scroll-behavior: smooth; }

body.site-body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(40rem, 100% - 2rem);
  margin-inline: auto;
}

/* Type */
.label {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.label--light { color: rgba(255, 255, 255, 0.65); }
.label--blue { color: var(--blue); }

.display {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 8.5vw, 4.85rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.h2--light { color: #fff; }

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 32rem;
}

.lead--light {
  color: rgba(255, 255, 255, 0.88);
}

.sub {
  margin: 0;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 34rem;
}

.head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.head .sub { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn i[class*='ph-'] {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover i[class*='ph-'] {
  transform: translateX(3px);
}

.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.8rem; }
.btn--lg { padding: 0.8rem 1.4rem; font-size: 0.95rem; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover { background: #1d4ed8; }

.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header--solid .nav__links a { color: var(--text-soft); }
.site-header--solid .nav__links a:hover { color: var(--blue); }
.site-header--solid .nav__toggle { color: var(--text); border-color: var(--border); background: var(--surface); }
.site-header--solid .nav__cta.btn--light {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  backdrop-filter: none;
}

.site-header--solid .nav__cta.btn--primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.site-header__inner {
  max-width: 68rem;
  margin-inline: auto;
  padding: 0.85rem 1rem;
}

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

.nav__brand {
  line-height: 0;
  flex-shrink: 0;
}

.logo {
  height: 1.45rem;
  width: auto;
  max-width: 8rem;
  aspect-ratio: 6718 / 1317;
  object-fit: contain;
}

.logo--sm { height: 1.2rem; max-width: 6.5rem; }

/* Logo auf dunklem Hero lesbar */
.site-header:not(.site-header--solid) .logo {
  filter: brightness(0) invert(1);
}

.site-header--solid .logo {
  filter: none;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header:not(.site-header--solid) .nav__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-header:not(.site-header--solid) .nav__links a:hover {
  color: #fff;
}

.nav__links a {
  position: relative;
  text-decoration: none;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header--solid .nav__links a {
  text-decoration: none;
}

.nav__cta { display: none; }

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; margin-left: 0.5rem; }
  .nav__toggle { display: none; }
}

/* ===== HERO — Hintergrund m1 ===== */
.block-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 3.5rem;
  background-color: var(--ink);
  overflow: hidden;
}

.block-hero__bg {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: var(--img-m1);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  will-change: transform;
}

.block-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(17, 19, 24, 0.62) 0%,
    rgba(17, 19, 24, 0.44) 35%,
    rgba(17, 19, 24, 0.82) 72%,
    rgba(17, 19, 24, 0.96) 100%
  );
  pointer-events: none;
}

.block-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.block-hero__content .label {
  font-size: 0.78rem;
  margin-bottom: 0.85rem;
}

.block-hero__content .lead {
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.6;
  max-width: 38rem;
}

.block-hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  text-decoration: none;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.tags i { color: #93c5fd; }

/* ===== IMAGE BLOCK — Hintergrund m2 ===== */
.block-image {
  position: relative;
  padding: 5rem 0;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.block-image--service {
  background-image: var(--img-m2);
  background-position: center 40%;
}

.block-image__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17, 19, 24, 0.92) 0%,
    rgba(17, 19, 24, 0.78) 45%,
    rgba(17, 19, 24, 0.55) 100%
  );
  pointer-events: none;
}

.block-image__content {
  position: relative;
  z-index: 1;
  max-width: 32rem;
}

.list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.list--light li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.list--light i {
  color: #93c5fd;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section--muted { background: var(--bg); }

.section--accent {
  background: var(--blue-soft);
  border-block: 1px solid rgba(37, 99, 235, 0.15);
}

.section--dark {
  background: var(--ink);
  color: #fff;
  text-align: center;
}

/* Contact */
.contact {
  text-align: left;
}

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

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.contact__text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}

.contact__points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.contact__points i {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 1.1rem;
  color: var(--blue);
}

.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.15s;
}

.contact__link:hover {
  color: #fff;
}

.contact-form {
  margin: 0;
  padding: 1.75rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 4px);
  backdrop-filter: blur(8px);
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 520px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.form-field .req {
  color: #93c5fd;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff99' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.contact-form select option {
  color: var(--text);
  background: var(--surface);
}

.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #f87171;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.contact-form__hint {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.contact-form__hint a {
  color: rgba(255, 255, 255, 0.65);
}

.contact-form__hint a:hover {
  color: #fff;
}

.contact__subtitle {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Startseite — Kontakt-Teaser */
.cta-teaser {
  text-align: left;
  padding: 3rem 0;
}

.cta-teaser__inner {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cta-teaser__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .cta-teaser__copy {
    max-width: 36rem;
  }
}

.cta-teaser__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}

.cta-teaser .btn {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cta-teaser .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Kontaktseite */
.site-body--contact .contact-page {
  padding-top: 4.5rem;
}

.contact-page__head {
  padding: 1.5rem 0 2rem;
  background: var(--ink);
  color: #fff;
  text-align: left;
}

.contact-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-page__back:hover {
  color: #fff;
}

.contact-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.contact-page__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 40rem;
}

.site-body--contact .contact {
  padding-top: 0;
  padding-bottom: 4.5rem;
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.tile {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover {
  border-color: #c5cad3;
  box-shadow: 0 12px 28px rgba(17, 19, 24, 0.08);
  transform: translateY(-4px);
}

.tile i {
  display: block;
  font-size: 1.85rem;
  color: var(--blue);
  margin-bottom: 0.65rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover i {
  transform: scale(1.12) translateY(-2px);
}

.tile h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Features */
.features {
  display: grid;
  gap: 0.85rem;
}

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

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

.feat {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.feat:hover {
  border-color: #c5cad3;
  box-shadow: 0 12px 28px rgba(17, 19, 24, 0.07);
  transform: translateY(-3px);
}

.feat i {
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 0.55rem;
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s;
}

.feat:hover i {
  transform: scale(1.08);
}

.feat h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.feat p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.feat--accent {
  background: var(--blue-soft);
  border-color: rgba(37, 99, 235, 0.25);
}

.feat--accent i { color: var(--blue); }

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline li {
  display: flex;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible .timeline li:hover {
  border-color: #c5cad3;
  box-shadow: 0 10px 24px rgba(17, 19, 24, 0.06);
  transform: translateX(4px);
}

.timeline__n {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.4;
  line-height: 1;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible .timeline li .timeline__n {
  opacity: 1;
  transform: scale(1.05);
}

.timeline h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.timeline p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Flow */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 36rem;
  margin-inline: auto;
}

.flow__step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.reveal-stagger.is-visible .flow__step:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.flow__step span {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  border-radius: 6px;
}

.flow__arrow {
  color: var(--blue);
  font-size: 1.1rem;
}

.reveal-stagger.is-visible .flow__arrow {
  animation: flow-pulse 1.8s ease-in-out infinite;
}

@keyframes flow-pulse {
  0%, 100% { opacity: 0.55; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* Footer */
.footer {
  padding: 1.75rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

.footer nav {
  display: flex;
  gap: 1.25rem;
}

.footer nav a {
  color: inherit;
  text-decoration: none;
}

.footer nav a:hover { color: #fff; }

.footer .logo {
  filter: brightness(0) invert(1);
}

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(280px, 88vw);
  height: 100%;
  padding: 5rem 1.25rem 2rem;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer.is-open { transform: translateX(0); }

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.drawer__nav a {
  color: var(--text);
  text-decoration: none;
}

.drawer__cta { color: var(--blue); }

/* Cookie */
.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.85rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
}

.cookie[hidden] { display: none !important; }

.cookie__inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .cookie__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie__inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.cookie__inner a { color: var(--blue); }

.cookie__btns {
  display: flex;
  gap: 0.5rem;
}

/* Skip */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus { left: 0; }

/* ===== Animations ===== */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-reveal: 0.7s;
}

/* Hero — Einstieg beim Laden */
@media (prefers-reduced-motion: no-preference) {
  body.is-ready .block-hero__bg {
    animation: hero-ken 22s ease-out forwards;
  }

  body.is-ready .hero-stagger > * {
    animation: hero-in 0.85s var(--ease-out) both;
  }

  body.is-ready .hero-stagger > *:nth-child(1) { animation-delay: 0.08s; }
  body.is-ready .hero-stagger > *:nth-child(2) { animation-delay: 0.18s; }
  body.is-ready .hero-stagger > *:nth-child(3) { animation-delay: 0.28s; }
  body.is-ready .hero-stagger > *:nth-child(4) { animation-delay: 0.38s; }
  body.is-ready .hero-stagger > *:nth-child(5) { animation-delay: 0.48s; }

  body.is-ready .tags--stagger li {
    animation: hero-in 0.6s var(--ease-out) both;
  }

  body.is-ready .tags--stagger li:nth-child(1) { animation-delay: 0.62s; }
  body.is-ready .tags--stagger li:nth-child(2) { animation-delay: 0.72s; }
  body.is-ready .tags--stagger li:nth-child(3) { animation-delay: 0.82s; }

  body.is-ready .block-hero__scroll {
    animation: bob 2s ease-in-out infinite, hero-fade 1s var(--ease-out) 0.95s backwards;
  }
}

@keyframes hero-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-Reveal */
.reveal,
.reveal-stagger > * {
  opacity: 1;
  transform: none;
}

html.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

html.js-reveal .reveal--left:not(.is-visible) {
  transform: translateX(-28px);
}

html.js-reveal .reveal--right:not(.is-visible) {
  transform: translateX(28px);
}

html.js-reveal .reveal--up:not(.is-visible) {
  transform: translateY(32px);
}

html.js-reveal .reveal--scale:not(.is-visible) {
  transform: scale(0.96);
}

html.js-reveal .reveal-stagger:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(20px);
}

.reveal,
.reveal-stagger > * {
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}

html.js-reveal .reveal.is-visible,
html.js-reveal .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.29s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.34s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.39s; }

.reveal.reveal--right.is-visible { transition-delay: 0.12s; }
.reveal.reveal--left.is-visible { transition-delay: 0s; }

/* Legal (unchanged structure) */
.legal-page {
  padding: 6rem 0 3rem;
}

.legal-page h1 {
  font-size: 1.75rem;
  font-weight: 800;
}

.legal-back {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.legal-header-bar {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Mobile */
@media (max-width: 767px) {
  :root { --wrap: min(68rem, 100% - 1.25rem); }

  .block-hero {
    min-height: 92svh;
    align-items: flex-end;
    padding-top: 5rem;
  }

  .block-hero__bg {
    background-position: center 30%;
  }

  .display {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .block-hero__content .lead {
    font-size: 1.15rem;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .block-image {
    padding: 3.5rem 0;
  }

  .block-image__overlay {
    background: linear-gradient(
      180deg,
      rgba(17, 19, 24, 0.88) 0%,
      rgba(17, 19, 24, 0.82) 100%
    );
  }

  .head {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .head .sub {
    margin-inline: 0;
  }

  .flow__arrow { display: none; }

  .flow {
    flex-direction: column;
    align-items: stretch;
  }

  .section { padding: 3.25rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .hero-stagger > *,
  .tags--stagger li,
  .block-hero__bg {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .block-hero__scroll { animation: none; }
  .reveal-stagger.is-visible .flow__arrow { animation: none; }
  .tile:hover,
  .feat:hover,
  .flow__step:hover,
  .timeline li:hover {
    transform: none !important;
  }
}
