/* SchichtHero Landing — Designsystem
   Farbwelt: App-Teal (#0FA184) + Logo-Navy (#1D3A52), helle Mint-Flächen */

:root {
  --teal: #0fa184;
  --teal-dark: #0b7f68;
  --teal-deep: #0a5a4c;
  --mint: #e7f8f3;
  --mint-soft: #f2fbf8;
  --navy: #1d3a52;
  --navy-deep: #152c40;
  --ink: #16324a;
  --text: #3d4c5c;
  --muted: #64748b;
  --line: #dbe7e2;
  --bg: #ffffff;
  --bg-soft: #f6faf8;
  --warn: #b45309;
  --warn-bg: #fdf3e2;
  --radius: 12px;
  --radius-small: 8px;
  --wrap: 1180px;
  --shadow-card: 0 18px 50px rgba(17, 24, 39, 0.10);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
img { display: block; }
section { scroll-margin-top: 84px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-logo { width: 40px; height: 40px; }
.brand-word {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.brand-word em { font-style: normal; color: var(--teal); }

.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.6rem); }
.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.2rem 0;
}
.site-nav a:hover { color: var(--teal-dark); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 161, 132, 0.32);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.92rem; }
.btn-large { padding: 0.95rem 2rem; font-size: 1.05rem; }

/* ---------- Grundraster ---------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2.5rem); }

.section-head { max-width: 780px; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.section-lead { margin-top: 0.9rem; color: var(--text); font-size: 1.06rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--teal-dark);
  margin-bottom: 0.9rem;
}

.microcopy { margin-top: 1.1rem; font-size: 0.92rem; color: var(--muted); }
.microcopy a { color: var(--teal-dark); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}
.chip-state { background: var(--mint); color: var(--teal-deep); }
.chip-ok { background: #e5f6ee; color: #0d7a4d; }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-caption {
  background: var(--mint);
  color: var(--teal-deep);
  margin-bottom: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--mint-soft) 60%, var(--mint) 100%);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(15, 161, 132, 0.05) 0 1px,
    transparent 1px 96px
  );
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, transparent 95%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2.1rem, 4.6vw, 3.15rem); }
.hero-copy .lead {
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  color: var(--text);
  max-width: 34rem;
}
.hero-actions { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.3rem; font-size: 0.92rem; color: var(--muted); }

.hero-visual { position: relative; min-width: 0; }

.browser-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.95rem;
  background: #f2f6f4;
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: inline-flex; gap: 0.35rem; }
.browser-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d8e2dd; display: inline-block;
}
.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.18rem 0.9rem;
  max-width: 260px;
  margin: 0 auto;
}
.hero-status {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow-x: auto;
}
.shot-crop { position: relative; overflow: hidden; aspect-ratio: 1331 / 660; }
.shot-crop img {
  width: 113.9%;
  max-width: none;
  height: auto;
  margin-left: -13.9%;
}
.hero-float {
  position: absolute;
  left: -1.25rem;
  bottom: -1.4rem;
  display: grid;
  gap: 0.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-small);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
  padding: 0.8rem 1.1rem;
  max-width: 300px;
}
.hero-float strong { color: var(--ink); font-size: 0.92rem; }
.hero-float span { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

/* ---------- Problem ---------- */
.problem { background: var(--bg); padding-top: clamp(4.5rem, 9vw, 7rem); }
.problem-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.problem-inner h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.problem-inner > p { margin-top: 1.1rem; font-size: 1.08rem; }
.problem-list {
  list-style: none;
  margin: 1.9rem auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 640px;
}
.problem-list li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.94rem;
  color: var(--ink);
}
.problem-solution { margin-top: 1.9rem; font-weight: 700; color: var(--teal-deep); font-size: 1.08rem; }

/* ---------- Produktbeweis ---------- */
.proof { background: var(--bg-soft); }
.proof-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.proof-copy > p { font-size: 1.05rem; }

.check-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.98rem;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a5a4c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  background-size: 62%;
  background-position: center;
  background-repeat: no-repeat;
}

.workflow-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.7rem;
}
.workflow-stepper .step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.95rem 0.32rem 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.workflow-stepper .step i {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.78rem;
}
.workflow-stepper .step.is-active {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: var(--mint-soft);
}
.workflow-stepper .step.is-active i {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.proof-visual { position: relative; min-width: 0; padding-bottom: 3.5rem; }

.shot-card { margin: 0; min-width: 0; }
.shot-caption {
  display: inline-block;
  background: var(--mint);
  color: var(--teal-deep);
  border-radius: 999px 999px 0 0;
  padding: 0.3rem 1rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin-left: 0.9rem;
  margin-bottom: -0.25rem;
}
.shot-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.shot-frame img, .shot-frame picture { width: 100%; height: auto; }

.shot-card-overlap {
  position: absolute;
  right: -0.75rem;
  bottom: 0;
  width: 58%;
}
.shot-card-overlap .shot-frame { box-shadow: 0 22px 55px rgba(17, 24, 39, 0.18); }

/* ---------- Features ---------- */
.features { max-width: calc(var(--wrap) + 5rem); margin: 0 auto; }
.feature-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 1001px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.feature:hover {
  box-shadow: 0 14px 34px rgba(21, 44, 64, 0.10);
  transform: translateY(-2px);
  border-color: #cfe4dc;
}
.feature-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--teal-deep);
  margin-bottom: 1.05rem;
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin-top: 0.5rem; font-size: 0.96rem; }

/* ---------- Ablauf (dunkle Sektion) ---------- */
.steps { background: var(--navy-deep); color: #dbe5ee; }
.steps .section-head h2 { color: #fff; }
.steps .eyebrow { color: #6ed3ba; }
.step-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}
.step-list li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 750;
}
.step-list h3 { font-size: 1.08rem; color: #fff; }
.step-list p { margin-top: 0.4rem; color: #a7b8c7; font-size: 0.95rem; }

/* ---------- Einblicke ---------- */
.insights { background: var(--bg); }
.insight {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}
.insight + .insight { border-top: 1px solid var(--line); }
.insight-alt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.insight-alt .insight-copy { order: 2; }
.insight-alt .shot-card { order: 1; }
.insight h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.insight-copy > p { margin-top: 0.9rem; font-size: 1.02rem; }

/* ---------- Team-Portal ---------- */
.portal { background: var(--bg-soft); }
.portal-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.portal-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.portal-copy > p { margin-top: 1rem; font-size: 1.04rem; }

/* ---------- Branchen ---------- */
.industry-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
}
.industry-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
}
.industry-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.industry-icon svg { width: 21px; height: 21px; }
.industry-grid h3 { font-size: 1.02rem; }
.industry-grid p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Sicherheit ---------- */
.trust { background: var(--mint-soft); }
.trust-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.trust-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.trust-grid h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 0.5rem; }
.trust-grid h3::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.trust-grid p { margin-top: 0.45rem; font-size: 0.92rem; color: var(--muted); }
/* ---------- Kontakt ---------- */
.contact { background: var(--bg); }
.contact-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.contact-copy > p { margin-top: 1rem; font-size: 1.04rem; }

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  display: grid;
  gap: 1.05rem;
}
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-size: 0.92rem; font-weight: 650; color: var(--ink); }
.label-optional { font-weight: 450; color: var(--muted); }
.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 0.65rem 0.85rem;
  width: 100%;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 0;
  border-color: var(--teal-dark);
}
.form-field textarea { resize: vertical; min-height: 7.5rem; }
.field-error { font-size: 0.85rem; color: #b42318; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #d92d20; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-form .btn { justify-self: start; }
.form-status { min-height: 1.4rem; font-size: 0.95rem; }
.form-status.is-success { color: #0d7a4d; font-weight: 650; }
.form-status.is-error { color: #b42318; font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem clamp(1rem, 4vw, 2.5rem) 1.75rem;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 0.8rem; align-items: flex-start; max-width: 420px; }
.footer-brand strong { color: var(--navy); }
.footer-brand p { margin-top: 0.3rem; font-size: 0.9rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; align-items: center; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--teal-dark); }
.footer-legal {
  max-width: var(--wrap);
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner,
  .proof-grid,
  .portal-grid,
  .contact-grid,
  .insight,
  .insight-alt { grid-template-columns: 1fr; }
  .insight-alt .insight-copy { order: 1; }
  .insight-alt .shot-card { order: 2; }
  .hero-visual { margin-top: 0.5rem; }
  .hero-float { position: static; margin-top: 1rem; max-width: none; }
  .proof-visual { padding-bottom: 0; display: grid; gap: 1.25rem; }
  .shot-card-overlap { position: static; width: auto; }
  .section-head { text-align: left; margin-left: 0; }
  .problem-inner { text-align: left; }
  .problem-list { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 0.9rem;
    box-shadow: 0 18px 30px rgba(17, 24, 39, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.65rem 0.25rem; border-bottom: 1px solid var(--bg-soft); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }

  /* Screenshots auf Mobile: horizontal scrollen statt schrumpfen */
  .shot-crop { overflow-x: auto; aspect-ratio: auto; }
  .shot-crop img { width: auto; min-width: 820px; margin-left: 0; }
  .shot-frame { overflow-x: auto; }
  .shot-frame img { min-width: 760px; width: auto; }
  .hero-status { flex-wrap: nowrap; }
}
