/* Meilenstein Gruppe – Logo-Farben, weich & vertrauensvoll (#E30613 · Schwarz · Weiß) */

:root {
  --black: #000000;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --gray-600: #5c5c5c;
  --gray-500: #7a7a7a;
  --gray-400: #a8a8a8;
  --gray-200: #e8e8e8;
  --gray-100: #f4f4f4;
  --cream: #fafafa;
  --white: #ffffff;

  --red: #e30613;
  --red-dark: #c40511;
  --red-soft: rgba(227, 6, 19, 0.1);
  --red-glow: rgba(227, 6, 19, 0.22);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 24px 56px rgba(0, 0, 0, 0.1);

  --container: min(1160px, calc(100% - 48px));
  --header-h: 96px;
  --logo-header: clamp(56px, 7vw, 76px);
  --logo-header-scrolled: 52px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 4px rgba(227, 6, 19, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin: 0 auto; }

/* Sanfter Hintergrund (kein hartes Raster) */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(227, 6, 19, 0.04), transparent 55%),
    radial-gradient(ellipse 60% 45% at 95% 15%, rgba(0, 0, 0, 0.03), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(227, 6, 19, 0.03), transparent 55%);
}

.ambient-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-lines .line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
  animation: lineDrift 20s ease-in-out infinite;
}

@keyframes lineDrift {
  0%, 100% { transform: translateX(0); opacity: 0.3; }
  50% { transform: translateX(40px); opacity: 0.7; }
}

/* Ruler progress (logo motif) */
.ruler-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 5px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.ruler-progress__track {
  position: relative;
  height: 100%;
  max-width: 100%;
}

.ruler-progress__ticks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 39px,
    rgba(0,0,0,0.12) 39px,
    rgba(0,0,0,0.12) 40px
  );
}

.ruler-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: rgba(227, 6, 19, 0.12);
  transition: width 0.08s linear;
}

.ruler-progress__needle {
  position: absolute;
  top: -2px;
  left: 0;
  width: 2px;
  height: 14px;
  background: var(--red);
  transform: translateX(-1px);
  transition: left 0.08s linear;
  box-shadow: 0 0 8px rgba(227, 6, 19, 0.5);
}
.ruler-progress__needle::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* Skip */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { left: 16px; outline: none; }

/* Loading */
.loading {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading__inner { text-align: center; }
.loading__logo {
  margin: 0 auto 28px;
  width: min(360px, 88vw);
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.08));
}
.loading__scale {
  width: 200px;
  height: 4px;
  background: var(--gray-200);
  margin: 0 auto;
  position: relative;
}
.loading__needle {
  position: absolute;
  left: 30%;
  top: -6px;
  width: 2px;
  height: 16px;
  background: var(--red);
  animation: needleSweep 1.2s ease-in-out infinite alternate;
}
.loading__needle::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
@keyframes needleSweep {
  from { left: 10%; }
  to { left: 85%; }
}

/* Header */
.site-header {
  position: sticky;
  top: 5px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s var(--ease), background 0.4s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  border-bottom-color: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px 10px 14px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(227, 6, 19, 0.06);
  transition: padding 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand:hover {
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(227, 6, 19, 0.12);
  transform: translateY(-1px);
}
.brand__plate {
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}
.brand__logo {
  height: var(--logo-header);
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
  transition: height 0.35s var(--ease), filter 0.35s;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}
.site-header.is-scrolled .brand {
  padding: 8px 14px 8px 12px;
}
.site-header.is-scrolled .brand__logo {
  height: var(--logo-header-scrolled);
  max-width: min(240px, 50vw);
}

/* Desktop nav */
.nav--desktop {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
  opacity: 0.85;
}

.nav__link--cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px var(--red-glow);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--red-glow);
}

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle__line {
  display: block;
  height: 2px;
  width: 60%;
  background: var(--red);
  margin-top: -2px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line { opacity: 0; }

/* Drawer */
.nav-drawer { position: fixed; inset: 0; z-index: 1200; }
.nav-drawer[hidden] { display: none; }
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}
.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.35s var(--ease);
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.nav-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}
.nav-drawer__logo {
  width: min(260px, 72vw);
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.08));
}
.nav-drawer__nav { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-100);
}
.nav-drawer__link span {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
  min-width: 24px;
}
.nav-drawer__link--cta {
  margin-top: 16px;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px;
  box-shadow: 0 6px 20px var(--red-glow);
}
.nav-drawer__scale {
  margin-top: auto;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--gray-200) 0, var(--gray-200) 1px, transparent 1px, transparent 12px);
  position: relative;
}
.nav-drawer__scale::after {
  content: "";
  position: absolute;
  left: 40%;
  top: -5px;
  width: 2px;
  height: 14px;
  background: var(--red);
}

/* Section spy */
.section-spy {
  display: none;
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  flex-direction: column;
  gap: 12px;
}
.section-spy__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  position: relative;
}
.section-spy__dot span {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.section-spy__dot:hover span,
.section-spy__dot.is-active span { opacity: 1; color: var(--ink); }
.section-spy__dot.is-active {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.2);
}

#main { position: relative; z-index: 1; }

.notice {
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
  position: relative;
  z-index: 2;
}
.notice__inner { padding: 12px 0; font-size: 14px; }
.notice--success .notice__inner { color: #1a5c3a; }
.notice--error .notice__inner { color: var(--red-dark); }

/* Hero */
.hero {
  padding: clamp(56px, 9vh, 96px) 0 0;
  background: linear-gradient(165deg, var(--white) 0%, var(--cream) 55%, #f0f0f0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-soft), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Logo – mobilní banner nahoře */
.hero__logo-banner {
  grid-column: 1 / -1;
  text-align: center;
}
.hero__logo-link {
  display: inline-block;
  padding: 20px 28px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
}
.hero__logo-link::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0 auto 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.hero__logo-img {
  width: min(320px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

/* Logo – desktop showcase vpravo */
.hero-logo-showcase {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 32px 28px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
}
.hero-logo-showcase__link {
  display: block;
  width: 100%;
  text-align: center;
}
.hero-logo-showcase__img {
  width: min(380px, 100%);
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s var(--ease), filter 0.4s;
}
.hero-logo-showcase:hover .hero-logo-showcase__img {
  transform: scale(1.02);
  filter: drop-shadow(0 16px 44px rgba(227, 6, 19, 0.12));
}
.hero-scale--accent {
  width: 100%;
  max-width: 280px;
  margin-top: 28px;
  padding-top: 8px;
  opacity: 0.75;
}

.hero__content { max-width: 640px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
  padding: 6px 14px;
  display: inline-block;
  background: var(--red-soft);
  border-radius: var(--radius-pill);
}

.hero__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--black);
}
.hero__accent {
  display: block;
  margin-top: 10px;
  color: var(--gray-600);
  font-weight: 500;
}

.hero__lead {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-scale {
  width: 100%;
  max-width: 300px;
  position: relative;
  padding: 28px 0 36px;
}
.hero-scale__line {
  height: 2px;
  background: linear-gradient(90deg, var(--black), var(--gray-400));
  border-radius: 2px;
  position: relative;
  opacity: 0.85;
}
.hero-scale__line::before,
.hero-scale__line::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 2px;
  height: 20px;
  background: var(--black);
  border-radius: 2px;
  opacity: 0.7;
}
.hero-scale__line::before { left: 0; }
.hero-scale__line::after { right: 0; }

.hero-scale__marks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 2px;
}
.hero-scale__marks span {
  width: 1px;
  height: 10px;
  background: var(--gray-500);
}

.hero-scale__needle {
  position: absolute;
  left: 35%;
  top: 0;
  width: 2px;
  height: 48px;
  background: var(--red);
  transition: left 0.15s ease-out;
  pointer-events: none;
}
.hero-scale__needle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px var(--red-soft), 0 4px 20px var(--red-glow);
}

.hero__caption {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Stats – weich statt harter schwarzer Leiste */
.stats {
  margin-top: clamp(32px, 5vh, 48px);
  padding-bottom: clamp(32px, 5vh, 56px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stat {
  padding: 26px 20px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.stat__n {
  display: block;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.stat__n::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: var(--radius-pill);
  margin: 10px auto 0;
}
.stat__l {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Sections */
.section {
  padding: clamp(64px, 10vh, 100px) 0;
  position: relative;
}
.section__head { max-width: 640px; margin-bottom: 40px; }
.h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--black);
}
.lead { margin: 14px 0 0; font-size: 17px; color: var(--gray-600); line-height: 1.75; }
.h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.muted { color: var(--gray-600); font-size: 15px; line-height: 1.7; }

.section--alt {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.section--contact {
  background: var(--white);
}

/* Milestone cards */
.cards--milestones {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.cards__rail {
  display: none;
}

.card--milestone {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.card--milestone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.card--milestone:hover {
  border-color: rgba(227, 6, 19, 0.15);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.card--milestone:hover::before { opacity: 1; }

.card__needle {
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 0;
  background: var(--red);
  transition: height 0.35s var(--ease);
  pointer-events: none;
}
.card--milestone:hover .card__needle { height: 100%; }
.card__needle::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.card--milestone:hover .card__needle::after { opacity: 1; }

.card__step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 16px;
}

.card__logo {
  width: 100%;
  height: 96px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin: 0 0 16px;
  padding: 8px 10px;
  overflow: hidden;
}
.card__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
}

.card__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.card__desc { margin: 0 0 20px; font-size: 15px; color: var(--gray-600); line-height: 1.6; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s;
}
.card__link:hover { color: var(--red); gap: 12px; }

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.trust {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.trust:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.trust__badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--red-soft);
  color: var(--red);
  border-radius: var(--radius-md);
}
.trust__badge::after {
  content: "";
  position: absolute;
  /* decorative - badge is not position relative, skip */
}

/* Split / bullets */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.bullets { display: grid; gap: 12px; margin-top: 20px; }
.bullet {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-left: none;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.bullet:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}
.bullet__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
  flex-shrink: 0;
}
.bullet__t { font-weight: 700; margin-bottom: 4px; }

.panel {
  background: linear-gradient(155deg, #2a2a2a 0%, #1a1a1a 55%, #121212 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.panel__glow { display: none; }
.panel__content { padding: 32px; position: relative; }
.panel__title { margin: 0 0 12px; font-size: 22px; font-weight: 800; }
.panel .muted { color: rgba(255,255,255,0.72); }
.panel__cta { display: grid; gap: 10px; margin-top: 20px; }
.panel .btn--outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.panel .btn--outline:hover { background: rgba(255,255,255,0.1); }
.panel__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
}

/* Buttons – weich, pill-förmig */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  font-family: inherit;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px var(--red-glow);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--red-glow);
}
.btn--outline {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-soft);
}
.btn--outline:hover {
  background: var(--cream);
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: var(--ink);
  border-radius: var(--radius-pill);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--red);
  color: var(--red);
}
.btn--full { width: 100%; }
.btn--soft { background: var(--gray-100); border: 1px solid var(--gray-200); color: var(--ink); }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.form {
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.hp { position: absolute; left: -9999px; }
.field { margin-bottom: 18px; }
.label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.input:focus {
  outline: none;
  border-color: rgba(227, 6, 19, 0.35);
  background: var(--white);
  box-shadow: var(--focus);
}
.input--area { min-height: 130px; resize: vertical; }
.field__msg { font-size: 12px; color: var(--red); min-height: 16px; margin-top: 6px; }
.input[aria-invalid="true"] { border-color: var(--red); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 8px 0; }
.check input { position: absolute; opacity: 0; }
.check__box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.check input:checked + .check__box {
  background: var(--red);
  border-color: var(--red);
}
.check input:checked + .check__box::after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  margin: 5px auto;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}
.check__text { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.form__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.form__hint { margin: 0; font-size: 13px; color: var(--gray-600); }
.notice-inline {
  margin-top: 16px;
  padding: 14px;
  background: var(--gray-100);
  font-size: 13px;
  border-left: 3px solid var(--red);
}

.aside-card {
  padding: 32px;
  background: linear-gradient(160deg, #2e2e2e 0%, #1a1a1a 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.aside-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.aside-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.aside-card__title { margin-top: 10px; font-size: 20px; font-weight: 800; }
.aside-card__list { margin-top: 20px; display: grid; gap: 14px; }
.aside-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}
.aside-item__k { font-weight: 700; }
.aside-item__v { opacity: 0.8; text-align: right; }

/* Footer */
.footer {
  background: linear-gradient(180deg, #222 0%, #161616 100%);
  color: var(--white);
  padding: 56px 0 32px;
  position: relative;
  z-index: 2;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer__brand {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}
.footer__logo {
  width: min(260px, 100%);
  height: auto;
  display: block;
  margin-bottom: 16px;
  /* Původní barvy loga (černá + červená) – bez invert filtru */
}
.footer__micro {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
  max-width: 48ch;
}
.footer__links { display: grid; grid-template-columns: 1fr; gap: 24px; }
.footer__heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.footer__col { display: grid; gap: 10px; }
.footer__link {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}
.footer__link:hover { color: var(--white); transform: translateX(4px); }
.footer__button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: rgba(255,255,255,0.75);
}
.footer__hint { font-size: 12px; opacity: 0.6; }
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Toast, back-to-top, cookie, modal */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 850;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.to-top:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--red-glow);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 980;
  width: min(440px, calc(100% - 32px));
}
.toast__inner {
  position: relative;
  padding: 16px 18px 16px 22px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.toast__inner::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--red);
  border-radius: var(--radius-pill);
}
.toast__title { font-weight: 700; font-size: 14px; }
.toast__msg { font-size: 13px; color: var(--gray-600); }

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.icon-btn:hover { border-color: var(--ink); }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 970;
  padding: 16px;
}
.cookie-banner__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
}
.cookie-banner__title { margin: 0; font-weight: 800; }
.cookie-banner__desc { margin: 8px 0 0; font-size: 13px; color: var(--gray-600); }
.cookie-banner__link { color: var(--red); font-weight: 700; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.modal { position: fixed; inset: 0; z-index: 990; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal__panel {
  position: relative;
  width: min(520px, calc(100% - 32px));
  margin: 10vh auto 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.modal__header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}
.modal__title { margin: 0; font-size: 18px; font-weight: 800; }
.modal__content { padding: 20px; }
.modal__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  background: var(--gray-100);
}

.cookie-cats { display: grid; gap: 12px; margin-top: 12px; }
.switch {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.switch input { position: absolute; opacity: 0; }
.switch__ui {
  width: 44px;
  height: 26px;
  background: var(--gray-200);
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
}
.switch__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.switch input:checked + .switch__ui { background: var(--red); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch__text { font-size: 14px; }
.switch__text strong { display: block; margin-bottom: 4px; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (min-width: 768px) {
  .nav--desktop { display: flex; }
  .nav-toggle { display: none; }
  .hero__logo-banner { display: none; }
  .hero-logo-showcase { display: flex; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .card__logo { height: 112px; padding: 10px 12px; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .cards--milestones { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1.15fr 0.85fr; }
  .footer__grid { grid-template-columns: 1.2fr 1fr; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .split { grid-template-columns: 1.1fr 0.9fr; }
}

@media (min-width: 1024px) {
  .section-spy { display: flex; }
  .cards--milestones { grid-template-columns: repeat(4, 1fr); }
  .cards__rail {
    display: block;
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gray-200) 0, var(--gray-200) 8px, transparent 8px, transparent 16px);
  }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
