@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --bg:       #FFFFFF;
  --surface:  #F5F5F7;
  --ink:      #1D1D1F;
  --muted:    #6E6E73;
  --border:   #E0E0E0;
  --footer:   #0A0A0A;
  --r-card:   24px;
  --max-w:    1200px;
  --nav-h:    72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: letter-spacing 0.3s;
}
.brand:hover { letter-spacing: -0.01em; }
.brand .logo { height: 76px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0;
  background: none;
  border-radius: 0;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.main-nav a.nav-cta:hover { background: #333; color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Main ── */
main {
  padding-top: var(--nav-h);
  max-width: none;
  margin: 0;
}

/* ── Section base ── */
.section { display: none; }
.section.visible { display: block; }

/* Inner container */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Default section padding */
.section:not(.hero-section):not(.stats-section):not(.cta-section):not(.contact-section) {
  padding: 7rem 0;
}

.section > h2 {
  max-width: var(--max-w);
  margin: 0 auto 1rem;
  padding: 0 2rem;
  font-size: clamp(2.2rem, 6vw, 72px);
  text-align: left;
}
.section-intro {
  margin: 0 auto 3.5rem;
  padding: 0 2rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  text-align: left;
  max-width: 52ch;
}

/* ── Hero ── */
.hero-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  background: var(--bg);
}
.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.swiss-made-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
}
.swiss-made-badge img {
  width: 70px;
  height: 56px;
  object-fit: contain;
  border-radius: 3px;
}
.swiss-made-badge span {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.hero-content h1 {
  font-size: clamp(48px, 11vw, 148px);
  max-width: 14ch;
  margin-bottom: 1.75rem;
  color: var(--ink);
}
.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.7;
  letter-spacing: 0;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-large { padding: 1rem 2.25rem; font-size: 0.95rem; }

/* ── Stats ── */
.stats-section {
  background: var(--footer);
  color: #fff;
  padding: 5rem 2rem;
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat { text-align: left; }
.stat-number {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ── Leistungen cards ── */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 2.5rem;
  text-align: left;
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-icon { font-size: 1.8rem; margin-bottom: 1.25rem; }
.card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }


/* ── Stimmen / Kundenfeedback ── */
.proof-section {
  background: var(--bg);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}
.proof-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease,
              box-shadow 0.25s ease, border-color 0.25s ease;
}
.proof-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.proof-card.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  border-color: rgba(29, 29, 31, 0.16);
}

/* ── Stars ── */
.proof-stars {
  display: flex;
  gap: 2px;
  align-items: center;
}
.star-wrap {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  color: #E8E8E8;
}
.star-wrap.full  { color: #BDA94A; }
.star-wrap.half  { color: #E8E8E8; }
.star-wrap.half::after {
  content: '★';
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  color: #BDA94A;
}

/* ── Card content ── */
.proof-card h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0;
}
.proof-copy {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.8;
  flex: 1;
}
.proof-meta {
  align-self: stretch;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Über uns ── */
#uber-uns { background: var(--surface); }
.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  margin-top: 2.5rem;
  text-align: left;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}
.about-text p {
  font-size: 0.975rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.about-text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}
.about-text ul { list-style: none; padding: 0; }
.about-text li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: #444;
}
.about-text li:last-child { border-bottom: none; }
.about-text li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--ink);
}
.image-placeholder {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 2rem;
}

/* ── Katalog ── */
.sortiment-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  margin-top: 2.5rem;
  align-items: start;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}
.sortiment-text { text-align: left; }
.sortiment-text p {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.sortiment-button { margin-top: 2rem; }
.product-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.product-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-3px); }
.product-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ── Konfigurator – outer section ── */
#konfigurator { background: var(--surface); }
#konfigurator > h2 { padding: 0 2rem; max-width: var(--max-w); margin: 0 auto 1rem; }
#konfigurator > .section-intro { max-width: var(--max-w); }
.konfigurator-frame-wrap,
#konfigurator > .kfg-steps-bar,
#konfigurator > .kfg-layout {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}
.konfigurator-frame {
  width: 100%;
  min-height: 1080px;
  border: none;
  border-radius: 20px;
  display: block;
  background: var(--surface);
}

/* ── CTA ── */
.cta-section {
  background: var(--footer);
  color: #fff;
  padding: 8rem 2rem;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 64px);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  max-width: none;
}
.cta-section .btn-primary { background: #fff; color: var(--ink); }
.cta-section .btn-primary:hover { background: #e5e5e5; }

/* ── Contact ── */
.contact-section {
  padding: 7rem 2rem !important;
  background: var(--bg);
}
.contact-section > h2 {
  max-width: 720px;
  margin: 0 auto 0.75rem;
  text-align: left;
  padding: 0;
}
.contact-section > .section-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0;
}
.contact-section > form {
  max-width: 640px;
  margin: 0 auto;
}

/* ── Forms ── */
form { display: grid; gap: 0; margin-top: 0; }

form > label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  margin-top: 1.8rem;
  display: block;
}
form > label:first-of-type { margin-top: 0; }

input, textarea {
  width: 100%;
  padding: 0.6rem 0;
  border: none;
  border-bottom: 1.5px solid var(--border);
  background: transparent;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.2s;
  border-radius: 0;
  outline: none;
}
input:focus, textarea:focus {
  border-bottom-color: var(--ink);
  outline: none;
}
textarea { resize: vertical; min-height: 100px; }

form button[type="submit"] {
  margin-top: 2.5rem;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
  width: fit-content;
}
form button[type="submit"]:hover { background: #333; }

.success {
  background: #f0fdf4;
  color: #14532d;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #bbf7d0;
}
.error {
  background: #fef2f2;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
}


/* ── Footer ── */
.site-footer {
  position: relative;
  background: var(--footer);
  color: #fff;
  overflow: hidden;
  padding: 5rem 2rem 2rem;
}
.site-footer::before {
  content: "RomanoPrint";
  position: absolute;
  bottom: -0.08em;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 11vw, 180px);
  color: #1A1A1A;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}
.footer-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-branding h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-branding p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 28ch;
}
.footer-navigation h4,
.footer-contact h4,
.footer-legal h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
  line-height: 1;
}
.footer-navigation a,
.footer-contact a,
.footer-contact p,
.footer-legal a {
  color: rgba(255,255,255,0.6);
  display: block;
  font-size: 0.875rem;
  line-height: 2;
  transition: color 0.2s;
}
.footer-navigation a:hover,
.footer-contact a:hover,
.footer-legal a:hover { color: #fff; }
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
footer a { color: rgba(255,255,255,0.6); }

/* ── Legal modals ── */
.rp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.58);
}
.rp-modal-overlay.open { display: flex; }
.rp-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.rp-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.rp-modal h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 2.75rem 1.5rem 0;
}
.rp-modal h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 1.6rem 0 0.5rem;
  letter-spacing: -0.02em;
}
.rp-modal-body p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.rp-modal-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive: 1024px ── */
@media (max-width: 1024px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Hamburger nav */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 2rem 2rem;
    z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    width: 100%;
    font-family: 'Inter Tight', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.03em;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    background: none;
    border-radius: 0;
  }
  .main-nav a.nav-cta {
    background: none;
    color: var(--ink);
    padding: 0.75rem 0;
    border-radius: 0;
    font-size: 2rem;
    border-bottom: none;
  }
  .main-nav a:hover, .main-nav a.nav-cta:hover { color: var(--muted); background: none; }
  .brand .logo { height: 70px; }

  /* Sections */
  .section:not(.hero-section):not(.stats-section):not(.cta-section):not(.contact-section) {
    padding: 4.5rem 0;
  }
  .section > h2 { font-size: clamp(2rem, 9vw, 3rem); padding: 0 1.25rem; }
  .section-intro { padding: 0 1.25rem; margin-bottom: 2.5rem; }
  .proof-grid { grid-template-columns: 1fr; padding: 0 1.25rem 2rem; }

  /* Hero */
  .hero-section { padding: 3rem 1.25rem; min-height: 90vh; }
  .hero-content h1 { font-size: clamp(40px, 13vw, 72px); }
  .swiss-made-badge {
    align-items: flex-start;
    max-width: 100%;
    border-radius: 14px;
  }
  .swiss-made-badge span { font-size: 0.74rem; }

  /* Stats */
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }

  /* Cards */
  .cards-container { grid-template-columns: 1fr; padding: 0 1.25rem; }

  /* About */
  .about-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.25rem; }

  /* Katalog */
  .sortiment-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.25rem; }
  .product-cards { grid-template-columns: repeat(2, 1fr); }
  .product-placeholder { height: 150px; }

  /* CTA */
  .cta-section { padding: 5rem 1.25rem; }

  /* Contact */
  .contact-section { padding: 4.5rem 1.25rem !important; }
  .contact-section > h2,
  .contact-section > .section-intro { padding: 0; }

  /* Konfigurator */
  #konfigurator > h2 { padding: 0 1.25rem; }
  #konfigurator > .section-intro { padding: 0 1.25rem; }
  .konfigurator-frame-wrap,
  #konfigurator > .kfg-steps-bar,
  #konfigurator > .kfg-layout { padding: 0 1.25rem; }
  .konfigurator-frame { min-height: 1320px; border-radius: 14px; }

  /* Footer */
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer::before { font-size: 20vw; }
  .footer-bottom { margin-top: 3rem; }
  .rp-modal { padding: 1.5rem; border-radius: 14px; }
}

@media (max-width: 480px) {
  .product-cards { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
}

/* ── Section backgrounds (alternating) ── */
#ablauf   { background: var(--surface); }
#arbeiten { background: var(--surface); }

/* ── Card tag (decision hint) ── */
.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.85rem;
  margin-top: -0.25rem;
}

/* ── Ablauf Slider ── */
.ablauf-slider {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  overflow: hidden;
  cursor: grab;
}
.ablauf-slider:active { cursor: grabbing; }

.ablauf-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  user-select: none;
}
.ablauf-track.ablauf-grabbing,
.ablauf-track.ablauf-grabbing * { cursor: grabbing !important; }

.ablauf-slide {
  flex: 0 0 100%;
  padding: 0 2rem;
  display: flex;
}

.ablauf-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2.5rem;
  width: 100%;
  transition: box-shadow 0.2s;
}

.ablauf-card-num {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.ablauf-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.ablauf-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Navigation footer */
.ablauf-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.75rem 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ablauf-counter {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
  min-width: 5.5ch;
}

.ablauf-progress {
  flex: 1;
  height: 1px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.ablauf-fill {
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  width: 25%;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.ablauf-btns { display: flex; gap: 0.5rem; }

.ablauf-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
}
.ablauf-btn:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.ablauf-btn:disabled { opacity: 0.25; cursor: not-allowed; }

/* ── Tech Cards (in Über uns) ── */
.tech-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
}
.tech-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.tech-card:hover { border-color: var(--ink); }
.tech-card h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.tech-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Fade-in on scroll ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for cards */
.cards-container .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.cards-container .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* ── Responsive: Ablauf Slider ── */
@media (max-width: 768px) {
  .ablauf-slide  { padding: 0 1.25rem; }
  .ablauf-card   { padding: 2rem; }
  .ablauf-footer { padding: 1.5rem 1.25rem 0; }
}

@media (max-width: 480px) {
  .product-cards { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .about-content .tech-cards { margin-top: 0; }
}
