/* ============================================================
   tentacl.ai Startseite – Fassung 3 (17.10.2026)
   Vorbild große Softwarehäuser: rein weiß, kühle graue Flächen (#f4f4f5)
   statt Creme, gestaltete Produktbilder statt roher Screenshots,
   mittige Bühne, Kachel-Raster, dunkle Kundengeschichte.
   Bewegung: nur transform/opacity, ease-out, kurze Staffel.
   ============================================================ */

.st {
  --ink: #0a0a0a;
  --ink-2: #52525b;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --panel: #f4f4f5;
  --panel-2: #fafafa;
  --orange: #e8540a;
  --orange-dark: #c94408;
  --dark: #0c0c0d;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color: var(--ink);
  background: #fff;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.st *, .st *::before, .st *::after { box-sizing: border-box; }
.st-wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.st h1, .st h2, .st h3 { color: var(--ink); margin: 0; text-align: left; }
.st h2 { font-size: clamp(32px, 3.8vw, 52px) !important; line-height: 1.06 !important; letter-spacing: -0.04em !important; }
.st h3 { font-size: 20px !important; line-height: 1.3 !important; letter-spacing: -0.02em !important; font-weight: 600 !important; }
.st p { margin: 0; }

.st-sec { padding: 128px 0; border-top: 0 !important; }
.st-sec-tight { padding: 40px 0; }
.st-head { max-width: 720px; margin-bottom: 56px; }
.st .section-label { display: flex; align-items: center; justify-content: flex-start; text-align: left; width: auto; margin: 0 0 18px; }
.st-sub { color: var(--ink-2); font-size: 19px; line-height: 1.6; margin-top: 20px !important; }
.st-center { margin-left: auto; margin-right: auto; text-align: center; }
.st-center h2, .st-center .st-sub { text-align: center; }
.st .st-center .section-label { justify-content: center; }

/* --- Knöpfe ------------------------------------------------------------ */
.st-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.st-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 10px;
  background: var(--orange); color: #fff !important; border: 1px solid var(--orange);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out);
}
.st-btn-line { background: #fff; color: var(--ink) !important; border-color: #d4d4d8; }
.st-btn:active { transform: scale(0.97); }
.st-more-link { display: inline-flex; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.st-more-link span { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .st-btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
  .st-btn-line:hover { background: var(--panel); border-color: #a1a1aa; }
}

/* --- Hero: mittig, große Zeile ---------------------------------------- */
.st-hero { padding: 144px 0 0; border-top: 0 !important; }
.st-hero-text { max-width: 900px; margin: 0 auto; text-align: center; }
.st-kicker { color: var(--ink-3); font-size: 15px; font-weight: 500; margin-bottom: 24px !important; }
.st-hero h1 {
  font-size: clamp(44px, 6.4vw, 84px) !important;
  line-height: 1.0 !important; letter-spacing: -0.05em !important;
  font-weight: 650 !important; text-align: center;
}
.st-hero h1 em { display: block; }
.st-lead { color: var(--ink-2); font-size: 20px; line-height: 1.55; max-width: 660px; margin: 28px auto 36px !important; }
.st-hero .st-actions { justify-content: center; }
.st-hero-text > * { animation: st-auf 700ms var(--ease-out) both; }
.st-hero-text > *:nth-child(2) { animation-delay: 60ms; }
.st-hero-text > *:nth-child(3) { animation-delay: 120ms; }
.st-hero-text > *:nth-child(4) { animation-delay: 180ms; }
@keyframes st-auf { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --- Produktbühne ------------------------------------------------------ */
.st-stage {
  position: relative; margin-top: 80px;
  background: var(--panel); border-radius: 24px;
  padding: 64px 150px 0; overflow: hidden;
  min-height: 520px;
}
.ui-win {
  position: relative; background: #fff; border-radius: 14px 14px 0 0;
  border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 30px 60px -30px rgba(10, 10, 10, 0.22);
  font-size: 13px; color: var(--ink);
  animation: st-auf 800ms 200ms var(--ease-out) both;
}
.ui-top { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.ui-dot { width: 20px; height: 20px; border-radius: 6px; background: var(--orange); }
.ui-top b { font-weight: 600; }
.ui-crumb { color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--line); }
.ui-date { margin-left: auto; color: var(--ink-3); }
.ui-body { display: grid; grid-template-columns: 170px 1fr; }
.ui-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); }
.ui-side span { padding: 8px 10px; border-radius: 7px; color: var(--ink-2); }
.ui-side .on { background: var(--panel); color: var(--ink); font-weight: 600; }
.ui-main { padding: 20px 24px 28px; }
.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.ui-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.ui-kpis small { display: block; color: var(--ink-3); font-size: 12px; }
.ui-kpis strong { display: block; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ui-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ui-th, .ui-tr { display: grid; grid-template-columns: 1.6fr 0.6fr 0.9fr 0.9fr; align-items: center; padding: 0 16px; }
.ui-th { height: 36px; background: var(--panel-2); color: var(--ink-3); font-size: 12px; border-bottom: 1px solid var(--line); }
.ui-tr { height: 44px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ui-tr:last-child { border-bottom: 0; }
.ui-tr b { color: var(--ink); font-weight: 600; }
.pill { display: inline-block; font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #f4f4f5; color: var(--ink-2); }
.pill.ok { background: #ecfdf3; color: #067647; }
.pill.warn { background: #fff4ed; color: #b93815; }

.ui-card {
  position: absolute; display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px 14px 14px; min-width: 240px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05), 0 16px 40px -12px rgba(10, 10, 10, 0.18);
  font-size: 13px; animation: st-schweb 700ms var(--ease-out) both;
}
.ui-card b { display: block; font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.ui-card small { display: block; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }
.ui-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--panel); }
.ui-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-ico.ok { background: #ecfdf3; } .ui-ico.ok svg { stroke: #067647; }
.ui-ico.acc { background: #fff4ed; } .ui-ico.acc svg { stroke: var(--orange); }
.ui-c1 { left: 28px; bottom: 88px; animation-delay: 520ms; }
.ui-c2 { right: 28px; top: 132px; animation-delay: 640ms; }
.ui-c3 { right: 44px; bottom: 44px; animation-delay: 760ms; }
@keyframes st-schweb { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.st-stage-note { color: var(--ink-3); font-size: 13px; text-align: center; margin-top: 14px !important; }

/* --- Zahlen ------------------------------------------------------------ */
.st-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 96px 0 0; padding: 0; }
.st-facts > div { padding: 0 24px; text-align: center; }
.st-facts > div + div { border-left: 1px solid var(--line); }
.st-facts dt { font-size: 48px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.st-facts dd { margin: 12px 0 0; color: var(--ink-3); font-size: 15px; line-height: 1.45; }

/* --- Leistungen: Kachel-Raster ---------------------------------------- */
.st-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.st-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: var(--panel); border-radius: 20px; padding: 36px;
  color: var(--ink) !important; text-decoration: none; min-height: 380px;
  transition: transform 220ms var(--ease-out);
}
.st-tile-wide { grid-column: span 2; }
.st-tile-text p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 12px 0 18px !important; max-width: 46ch; }
@media (hover: hover) and (pointer: fine) {
  .st-tile:hover .st-more-link span, .st-product:hover .st-more-link span, .st-case-link:hover span { transform: translateX(3px); }
}
.st-tile:active { transform: scale(0.99); }
.vis { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 12.5px; color: var(--ink-2); box-shadow: 0 12px 32px -18px rgba(10, 10, 10, 0.18); }

.cal-head, .cal-row { display: grid; grid-template-columns: 48px repeat(7, 1fr); align-items: center; position: relative; }
.cal-head { color: var(--ink-3); font-size: 11.5px; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cal-row { height: 34px; }
.cal-row > span { color: var(--ink); font-weight: 600; }
.cal-row .bar { position: absolute; left: calc(48px + (100% - 48px) / 7 * (var(--a) - 1) + 3px); width: calc((100% - 48px) / 7 * (var(--b) - var(--a)) - 6px); height: 22px; border-radius: 6px; background: #18181b; }
.cal-row .bar.alt { background: #a1a1aa; }
.cal-row .bar.acc { background: var(--orange); }

.inv-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.inv-line:last-child { border-bottom: 0; }

.vis-pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vis-pipe div { display: flex; flex-direction: column; gap: 6px; }
.vis-pipe small { color: var(--ink-3); font-size: 11.5px; margin-bottom: 2px; }
.vis-pipe i { height: 26px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); }
.vis-pipe i.acc { background: #fff4ed; border-color: #fbd1b6; }

.vis-flow { display: flex; align-items: center; gap: 12px; }
.flow-step { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.flow-step small { display: block; color: var(--ink-3); font-size: 11.5px; }
.flow-step b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 2px; }
.flow-arrow { flex: none; width: 18px; height: 1px; background: #a1a1aa; position: relative; }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid #a1a1aa; border-right: 1px solid #a1a1aa; transform: rotate(45deg); }

/* --- Kundengeschichte: dunkle Karte ----------------------------------- */
.st-case {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px;
  background: var(--dark); color: #fff; border-radius: 24px; padding: 72px 72px 0; overflow: hidden;
}
.st-case-text { padding-bottom: 72px; }
.st-case-label { color: #a1a1aa; font-size: 14px; font-weight: 500; margin-bottom: 18px !important; }
.st-case h2 { color: #fff !important; font-size: clamp(30px, 3.2vw, 44px) !important; }
.st-case-text > p:not(.st-case-label) { color: #d4d4d8; font-size: 17px; line-height: 1.65; margin-top: 22px !important; max-width: 56ch; }
.st-case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; padding: 28px 0 0; border-top: 1px solid #27272a; }
.st-case-facts dt { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.st-case-facts dd { margin: 6px 0 0; color: #a1a1aa; font-size: 14px; line-height: 1.4; }
.st-case-link { display: inline-flex; gap: 6px; color: #fff !important; font-weight: 600; text-decoration: none; }
.st-case-link span { display: inline-block; transition: transform 200ms var(--ease-out); }
.st-case-visual { display: flex; justify-content: center; align-items: flex-end; }
.st-device { width: min(300px, 100%); border: 10px solid #27272a; border-bottom: 0; border-radius: 40px 40px 0 0; overflow: hidden; background: #fff; }
.st-device img { display: block; width: 100%; height: auto; margin-bottom: -18%; }

/* --- Routine ----------------------------------------------------------- */
.st-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.st-split .st-head { position: sticky; top: 112px; margin-bottom: 0; }
.st-compare { border-top: 1px solid var(--ink); }
.st-compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 14px 0; font-size: 13px; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.st-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.st-row s { color: var(--ink-3); text-decoration-color: #a1a1aa; }
.st-row span { color: var(--ink); font-weight: 500; }

/* --- Ablauf ------------------------------------------------------------ */
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.st-steps li { background: var(--panel); border-radius: 20px; padding: 32px; }
.st-step-n { display: block; color: var(--orange); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 40px; }
.st-steps p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-top: 10px !important; }

/* --- Produkte ---------------------------------------------------------- */
.st-products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-product {
  display: block; padding: 36px; border: 1px solid var(--line); border-radius: 20px;
  color: var(--ink) !important; text-decoration: none; background: #fff;
  transition: border-color 160ms ease, transform 220ms var(--ease-out);
}
.st-product p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 12px 0 22px !important; }
.st-product:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .st-product:hover { border-color: #a1a1aa; } }

/* --- Ansprechpartner --------------------------------------------------- */
.st-person { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; }
.st-person img { width: 220px; height: 248px; object-fit: cover; object-position: center 20%; border-radius: 20px; }
.st-person h2 { font-size: 40px !important; }
.st-role { color: var(--ink-3); font-size: 16px; margin: 8px 0 18px !important; }
.st-person p:not(.section-label):not(.st-role):not(.st-social) { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 62ch; }
.st-social { display: flex; gap: 22px; margin-top: 20px !important; }
.st-social a { color: var(--ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; }

/* --- FAQ --------------------------------------------------------------- */
.st-faq { border-top: 1px solid var(--line); }
.st-faq details { border: 0 !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; }
.st-faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0 !important; position: relative; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; display: block !important; }
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after {
  content: "" !important; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg); transition: transform 200ms var(--ease-out);
}
.st-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.st-faq .faq-answer { padding: 0 0 26px !important; font-size: 16px; color: var(--ink-2); line-height: 1.65; max-width: 66ch; }

/* --- Abschluss: graue Fläche, mittig ---------------------------------- */
.st-cta { background: var(--panel); border-radius: 24px; padding: 96px 48px; text-align: center; }
.st-cta h2 { text-align: center; max-width: 760px; margin: 0 auto !important; font-size: clamp(34px, 4.4vw, 56px) !important; }
.st-cta > p:not(.st-contact) { color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 600px; margin: 22px auto 34px !important; }
.st-cta .st-actions { justify-content: center; }
.st-contact { display: flex; justify-content: center; gap: 14px; margin-top: 30px !important; font-size: 15px; color: var(--ink-3); }
.st-contact a { color: var(--ink-2) !important; text-decoration: none; }

/* --- Seitenübersicht --------------------------------------------------- */
.st-sitemap { padding: 72px 0 40px; }
.st-sitemap .site-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; border-top: 1px solid var(--line); opacity: 1 !important; transform: none !important; }
.st-sitemap h4 { font-size: 13px !important; color: var(--ink-3); font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none; margin: 0 0 14px; }
.st-sitemap ul { list-style: none; margin: 0; padding: 0; }
.st-sitemap li { margin: 0 0 9px; padding: 0; }
.st-sitemap a { color: var(--ink-2) !important; font-size: 14px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .st-sitemap a:hover { color: var(--ink) !important; } }

/* --- Erscheinen beim Scrollen ----------------------------------------- */
.st .reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }
.st .reveal.revealed { opacity: 1; transform: none; }
.st .reveal[data-delay="80"] { transition-delay: 80ms; }
.st .reveal[data-delay="160"] { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .st *, .st *::before, .st *::after { animation: none !important; transition: none !important; }
  .st .reveal { opacity: 1; transform: none; }
}

/* --- Tablet ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .st-stage { padding: 48px 40px 0; }
  .ui-c2 { display: none; }
}
@media (max-width: 960px) {
  .st-sec { padding: 96px 0; }
  .st-hero { padding-top: 120px; }
  .ui-body { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .st-facts { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .st-facts > div:nth-child(3) { border-left: 0; }
  .st-bento { grid-template-columns: 1fr 1fr; }
  .st-tile-wide { grid-column: span 2; }
  .st-case { grid-template-columns: 1fr; padding: 56px 40px 0; }
  .st-case-text { padding-bottom: 0; }
  .st-split { grid-template-columns: 1fr; gap: 40px; }
  .st-split .st-head { position: static; }
  .st-steps { grid-template-columns: 1fr; }
  .st-products { grid-template-columns: 1fr; }
  .st-sitemap .site-links { grid-template-columns: 1fr 1fr; }
}

/* --- Handy ------------------------------------------------------------- */
@media (max-width: 600px) {
  .st-wrap { width: calc(100% - 32px); }
  .st-sec { padding: 72px 0; }
  .st-sec-tight { padding: 16px 0; }
  .st-hero { padding-top: 96px; }
  .st-hero h1 { font-size: 42px !important; }
  .st-lead { font-size: 17px; }
  .st-actions { flex-direction: column; }
  .st-btn { width: 100%; }
  .st-stage { margin-top: 56px; padding: 28px 16px 0; min-height: 0; border-radius: 18px; }
  .ui-top .ui-date, .ui-top .ui-crumb { display: none; }
  .ui-main { padding: 14px; }
  .ui-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ui-th, .ui-tr { grid-template-columns: 1.5fr 0.6fr 1fr; padding: 0 12px; }
  .ui-th span:nth-child(3), .ui-tr span:nth-child(3) { display: none; }
  .ui-tr:nth-child(n+5) { display: none; }
  .ui-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: -24px 8px 16px; min-width: 0; }
  .ui-c3 { display: none; }
  .st-facts { margin-top: 64px; }
  .st-facts > div { padding: 0 12px; }
  .st-facts dt { font-size: 36px; }
  .st-bento { grid-template-columns: 1fr; }
  .st-tile-wide { grid-column: auto; }
  .st-tile { padding: 28px 22px; min-height: 0; }
  .vis-flow { flex-direction: column; align-items: stretch; }
  .flow-arrow { display: none; }
  .st-case { padding: 40px 24px 0; border-radius: 18px; gap: 32px; }
  .st-case-facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .st-case-facts dt { font-size: 26px; }
  .st-compare-head { display: none; }
  .st-row { grid-template-columns: 1fr; gap: 6px; }
  .st-person { grid-template-columns: 1fr; gap: 24px; }
  .st-person img { width: 140px; height: 160px; }
  .st-cta { padding: 64px 22px; border-radius: 18px; }
  .st-contact { flex-direction: column; gap: 6px; }
  .st-contact span { display: none; }
  .st-sitemap .site-links { grid-template-columns: 1fr 1fr; gap: 24px; }
}
