/* Tecrak, tecrak.de
   Farben aus dem Logo: Orange #d9702e, Anthrazit #272b33, Grau #9a9ca3 */

@font-face {
  font-family: "Exo 2";
  src: url("../fonts/exo2-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #d9702e;          /* Logo-Orange: Flächen, große Schrift auf Dunkel */
  --orange-dark: #b0541a;     /* Buttons mit weißer Schrift, Links auf Hell */
  --orange-light: #f0a070;    /* Links auf Dunkel */
  --orange-tint: #fbeee4;
  --anthrazit: #272b33;
  --anthrazit-2: #31363f;
  --anthrazit-3: #1d2026;
  --line-dark: #434852;
  --grau: #9a9ca3;
  --creme: #f5f3ef;
  --creme-2: #ebe7df;
  --weiss: #ffffff;
  --text: #1f2228;
  --text-muted: #4c4a45;
  --text-on-dark: #f5f3ef;
  --muted-on-dark: #c3c0b9;
  --line: #e2ddd3;

  --font-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(31, 34, 40, .04), 0 8px 24px rgba(31, 34, 40, .06);
  --shadow-lg: 0 2px 4px rgba(31, 34, 40, .05), 0 24px 48px rgba(31, 34, 40, .10);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: #8a3d12; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--orange); color: var(--weiss); }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--weiss); color: var(--text); padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.container--narrow { max-width: 860px; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

/* Markenmotiv: die drei Quadrate aus dem Logo */
.squares {
  --sq3: var(--anthrazit);
  position: relative; display: inline-block; width: 13px; height: 19px; margin-right: 12px; flex-shrink: 0;
}
.squares i { position: absolute; width: 6px; height: 6px; border-radius: 1.5px; }
.squares i:nth-child(1) { left: 0; top: 0; background: var(--orange); }
.squares i:nth-child(2) { left: 7px; top: 6.5px; background: var(--grau); }
.squares i:nth-child(3) { left: 0; top: 13px; background: var(--sq3); }

.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
}
.hero .eyebrow, .section--dark .eyebrow, .contact__card .eyebrow, .tile--knowledge .eyebrow { color: var(--orange); }
.hero .squares, .section--dark .squares, .contact__card .squares { --sq3: var(--creme); }

.section-head { max-width: 780px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.section-head p { color: var(--text-muted); font-size: 18px; }
.section--dark .section-head p { color: var(--muted-on-dark); }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section > .container { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.section--white { background: var(--weiss); }
.section--dark { background: var(--anthrazit); color: var(--text-on-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange-dark); color: var(--weiss); box-shadow: 0 6px 20px rgba(176, 84, 26, .28); }
.btn--primary:hover { background: #96460f; color: var(--weiss); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(176, 84, 26, .34); }
.btn--ghost { border-color: rgba(245, 243, 239, .28); color: var(--text-on-dark); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: rgba(245, 243, 239, .6); color: var(--text-on-dark); background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header (Grundform, auch für Impressum und Datenschutz) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 239, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.brand__light { display: none; }

/* Header über dem dunklen Einstieg: erst transparent, beim Scrollen hell */
.site-header--overlay {
  position: fixed; left: 0; right: 0;
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header--overlay .brand__light { display: block; }
.site-header--overlay .brand__dark { display: none; }
.site-header--overlay .site-nav a:not(.btn) { color: var(--text-on-dark); }
.site-header--overlay .nav-toggle { color: var(--text-on-dark); border-color: rgba(245, 243, 239, .3); }

.site-header--overlay.is-scrolled,
.site-header--overlay.is-open {
  background: rgba(245, 243, 239, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(31, 34, 40, .06);
}
.site-header--overlay.is-scrolled .brand__light,
.site-header--overlay.is-open .brand__light { display: none; }
.site-header--overlay.is-scrolled .brand__dark,
.site-header--overlay.is-open .brand__dark { display: block; }
.site-header--overlay.is-scrolled .site-nav a:not(.btn),
.site-header--overlay.is-open .site-nav a:not(.btn) { color: var(--text); }
.site-header--overlay.is-scrolled .nav-toggle,
.site-header--overlay.is-open .nav-toggle { color: var(--text); border-color: var(--line); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 4px 30px; font-size: 15px; }
.site-nav a:not(.btn) { position: relative; color: var(--text); text-decoration: none; padding: 10px 0; font-weight: 500; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; min-height: 52px; font-size: 17px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--anthrazit); color: var(--text-on-dark);
  padding-block: clamp(132px, 14vw, 176px) clamp(80px, 10vw, 128px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(245, 243, 239, .09) 1px, transparent 1.2px);
  background-size: 26px 26px;
}
.hero .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 470px), 1fr));
  gap: clamp(48px, 6vw, 80px); align-items: center;
}
@media (min-width: 1100px) { .hero .container { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.hero__text { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero h1 { font-weight: 800; font-size: clamp(46px, 6.2vw, 86px); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 span { color: var(--orange); }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted-on-dark); max-width: 33em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--muted-on-dark); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { color: var(--orange); flex-shrink: 0; }

/* Produktansicht mit Live-Chat */
.mock { position: relative; display: flex; flex-direction: column; gap: 16px; }
.mock__window {
  background: var(--anthrazit-2); border: 1px solid rgba(255, 255, 255, .09); border-radius: 20px; overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #4a4f59; }
.mock__bar strong { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mock__local { margin-left: auto; color: var(--muted-on-dark); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6fcf8b; display: inline-block; box-shadow: 0 0 0 4px rgba(111, 207, 139, .15); }
.mock__body { padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.55; }
.mock__messages { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; height: 290px; overflow: hidden; }
@media (max-width: 560px) {
  .mock__messages { height: 380px; }
  .mock__local { display: none; }
}
.bubble { max-width: 82%; padding: 11px 16px; white-space: pre-line; }
.bubble--user { align-self: flex-end; background: #474c57; border-radius: 18px 18px 4px 18px; }

/* Antwort der KI: ohne Sprechblase, mit Symbol, Status und Quelle */
.ai { display: flex; gap: 12px; align-items: flex-start; }
.ai__avatar { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--orange); display: flex; align-items: center; justify-content: center; gap: 2px; }
.ai__avatar i { width: 4px; height: 4px; background: var(--anthrazit-3); }
.ai__avatar.is-working { animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(217, 112, 46, .55); } to { box-shadow: 0 0 0 10px rgba(217, 112, 46, 0); } }
.ai__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.ai__status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ai__status svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shimmer {
  background: linear-gradient(90deg, #8d9099 0%, #8d9099 35%, var(--text-on-dark) 50%, #8d9099 65%, #8d9099 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.ai__found { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-on-dark); animation: fade .4s ease both; }
.ai__found > svg { color: #6fcf8b; }
.source { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--text-on-dark); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.ai__text { white-space: pre-wrap; color: var(--text-on-dark); }
.ai__text .w { animation: wort .5s ease-out both; }
@keyframes wort { from { opacity: 0; filter: blur(6px); transform: translateY(3px); } to { opacity: 1; filter: none; transform: none; } }
.ai__text.is-streaming::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 2px; border-radius: 50%; background: var(--orange); vertical-align: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ai__after { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai__tools { display: inline-flex; gap: 2px; margin-right: 4px; color: var(--grau); }
.ai__tools span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }

.is-new { animation: bubble-in .5s var(--ease) both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* Eingabefeld */
.composer { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 16px; background: var(--anthrazit); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s ease; }
.composer.is-typing { border-color: rgba(240, 160, 112, .55); }
.composer__text { flex: 1; min-width: 0; min-height: 22px; white-space: nowrap; overflow: hidden; display: flex; }
.composer.is-typing .composer__text { justify-content: flex-end; }
.composer__ph { color: #8d9099; }
.composer.is-typing .composer__ph { display: none; }
.composer__typed::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -3px; background: var(--orange); animation: blink 1s steps(1) infinite; }
.composer:not(.is-typing) .composer__typed { display: none; }
.composer__send { flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #8d9099; transition: background-color .25s ease, color .25s ease; }
.composer.is-typing .composer__send { background: var(--orange); color: var(--anthrazit-3); }
.composer__send.is-sending { animation: senden .35s ease-out; }
@keyframes senden { 40% { transform: scale(.86); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.chip { position: relative; overflow: hidden; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--muted-on-dark); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: var(--anthrazit-3); }
/* Fortschritt bis zum nächsten Beispiel */
.chip.is-timer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(29, 32, 38, .45); transform-origin: left center; animation: fortschritt 5.5s linear both; }
@keyframes fortschritt { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mock__box {
  display: flex; align-items: center; gap: 18px;
  background: var(--anthrazit-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px;
  padding: 16px 20px; font-size: 14px; color: var(--muted-on-dark); line-height: 1.45;
}
.mock__box strong { color: var(--text-on-dark); }
.device {
  width: 128px; height: 46px; flex-shrink: 0; border-radius: 8px;
  background: linear-gradient(180deg, #424752, #353a44); border: 1px solid #555b66;
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; color: var(--muted-on-dark);
}
.device__leds { display: flex; gap: 5px; }
.device__leds i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.device__leds i:last-child { background: #6fcf8b; animation: led 2.4s infinite ease-in-out; }
@keyframes led { 50% { opacity: .35; } }

/* Kachelraster AIrak */
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "know know know know"
    "data ready care limits"
    "assist assist assist assist"
    "it it it it";
}
@media (min-width: 1001px) {
  .bento .tile--knowledge {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: 1fr auto; column-gap: clamp(32px, 4vw, 56px); align-items: start;
  }
  .tile--knowledge .tile__head { grid-column: 1; grid-row: 1; }
  .tile--knowledge .knowledge__list { grid-column: 2; grid-row: 1 / span 2; }
  .tile--knowledge .tile__foot { grid-column: 1; grid-row: 2; }
}
.tile {
  background: var(--creme); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile p { color: var(--text-muted); }
.tile--knowledge { grid-area: know; background: var(--anthrazit); color: var(--text-on-dark); gap: 24px; position: relative; overflow: hidden; }
.tile--knowledge::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 112, 46, .22), transparent); pointer-events: none;
}
.tile--knowledge h3 { font-size: clamp(28px, 3.2vw, 40px); }
.tile--knowledge .tile__head p, .tile--knowledge .tile__foot { color: var(--muted-on-dark); }
.tile--knowledge .tile__foot { margin-top: auto; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.tile--knowledge .tile__foot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6fcf8b; flex-shrink: 0; }
.tile--data { grid-area: data; }
.tile--ready { grid-area: ready; }
.tile--assist { grid-area: assist; }
.tile--care { grid-area: care; }
.tile--limits { grid-area: limits; }
.tile--it { grid-area: it; gap: 24px; }

/* Anbindungen */
.connect { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.connect__group {
  background: var(--weiss); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.connect__group:hover { border-color: rgba(176, 84, 26, .4); box-shadow: var(--shadow); }
.connect__title { display: flex; align-items: center; gap: 12px; }
.connect__title h4 { font-size: 18px; }
.connect__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.connect__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px; background: var(--creme); font-size: 15px; font-weight: 500;
}
.connect__list li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b0541a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.tile__head { display: flex; flex-direction: column; gap: 14px; }

.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-tint); color: var(--orange-dark); flex-shrink: 0;
}
.icon--sm { width: 42px; height: 42px; border-radius: 12px; }

.knowledge__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.knowledge__list li {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: background-color .25s ease, border-color .25s ease;
}
.knowledge__list li:hover { background: rgba(255, 255, 255, .08); border-color: rgba(217, 112, 46, .5); }
.knowledge__list strong { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.knowledge__list span { font-size: 16px; line-height: 1.5; }

.assist-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
@media (max-width: 900px) { .assist-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .assist-list { grid-template-columns: minmax(0, 1fr); } }
.assist { background: var(--weiss); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.assist h4 { font-size: 17px; }
.assist p { font-size: 15px; line-height: 1.5; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--weiss); border: 1px solid var(--line); font-size: 15px; }

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "know know"
      "data ready"
      "care limits"
      "assist assist"
      "it it";
  }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "know" "data" "ready" "care" "limits" "assist" "it"; }
}

/* Ablauf als Zeitleiste */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--grau) 0 6px, transparent 6px 12px); opacity: .6;
}
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.steps .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--creme); border: 2px solid var(--anthrazit);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--anthrazit);
  margin-bottom: 8px; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.steps li:hover .num { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--weiss); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--text-muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--grau) 0 6px, transparent 6px 12px); }
  .steps li { padding-left: 80px; min-height: 56px; }
  .steps .num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* Servicepakete */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.plan {
  background: var(--weiss); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.plan--premium { border-color: var(--orange-dark); }
.plan__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan__head h3 { font-size: 24px; }
.plan__tag { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.plan--premium .plan__tag { color: var(--orange-dark); }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan__list li { position: relative; padding-left: 22px; color: var(--text-muted); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.plans__note { margin-top: 20px; color: var(--text-muted); }
.plans__note a { font-weight: 600; }

/* Zweispaltige Abschnitte */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: start; }

/* IT-Dienstleistungen */
.it-intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.it-intro p { color: var(--muted-on-dark); font-size: 18px; }
.it-intro .link-arrow { color: var(--orange-light); margin-top: 6px; }
.it-intro .link-arrow:hover { color: var(--weiss); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.service {
  background: var(--anthrazit-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s ease, transform .3s var(--ease);
}
.service:hover { border-color: rgba(217, 112, 46, .55); transform: translateY(-3px); }
.service .icon { background: rgba(217, 112, 46, .14); color: var(--orange); }
.service h3 { font-size: 20px; }
.service p { color: var(--muted-on-dark); font-size: 16px; }

/* FAQ */
.faq-head { position: sticky; top: 110px; }
.faq-head p a { font-weight: 600; }
@media (max-width: 900px) { .faq-head { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; font-weight: 600; font-size: 19px;
  transition: color .2s ease;
}
.faq summary:hover { color: var(--orange-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b0541a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--text-muted); max-width: 44em; }
.faq details[open] p { animation: fade-in .35s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.person { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: var(--radius); background: var(--creme); border: 1px solid var(--line); }
.person h3 { font-size: 19px; }
.person a { font-size: 15px; }

/* Kontakt */
.contact__card {
  background: var(--anthrazit); color: var(--text-on-dark); border-radius: 32px;
  padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: start;
}
.contact__card::before {
  content: ""; position: absolute; z-index: -1; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 112, 46, .22), transparent);
}
.contact__card a { color: var(--orange-light); }
.contact__card a:hover { color: var(--weiss); }
.contact__info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact__info p { color: var(--muted-on-dark); font-size: 18px; }
.address { font-style: normal; display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 16px; color: var(--muted-on-dark); padding-left: 16px; border-left: 2px solid var(--orange); }
.address strong { color: var(--text-on-dark); }

.form { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted-on-dark); }
.form input, .form select, .form textarea {
  min-height: 50px; border-radius: 12px; border: 1px solid var(--line-dark);
  background: var(--anthrazit-3); color: var(--text-on-dark);
  padding: 10px 14px; font: inherit; font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #5a606b; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(217, 112, 46, .2); }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; }
.form .consent input { min-height: 0; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--orange); }
.form .btn { align-self: flex-start; }
.form__status { font-size: 14px; color: var(--muted-on-dark); min-height: 1.4em; }

/* Hinweis-Modal */
.modal {
  width: min(440px, calc(100% - 32px)); padding: 28px 28px 24px; border: 0; border-radius: var(--radius);
  background: var(--weiss); color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.modal::backdrop { background: rgba(39, 43, 51, .55); }
.modal[open] { animation: fade-in .25s ease both; }
.modal h3 { font-size: 20px; margin-bottom: 8px; }
.modal p { color: var(--text-muted); margin-bottom: 20px; }
.modal form { display: flex; justify-content: flex-end; }
.contact__card .modal a { color: var(--orange-dark); }
.contact__card .modal a:hover { color: var(--text); }

/* Footer */
.site-footer { background: var(--anthrazit-3); color: var(--muted-on-dark); padding-block: 64px 40px; font-size: 14px; }
.site-footer .container { display: flex; flex-direction: column; gap: 36px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 32px; }
.footer-grid > div, .footer-grid > nav { display: flex; flex-direction: column; gap: 6px; }
.footer-grid strong { color: var(--text-on-dark); margin-bottom: 4px; }
.footer-grid a { color: var(--muted-on-dark); text-decoration: none; padding-block: 2px; }
.footer-grid a:hover { color: var(--text-on-dark); text-decoration: underline; }
.footer-logo { height: 34px; width: auto; align-self: flex-start; object-fit: contain; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #343842; padding-top: 20px; }
.footer-bottom--plain { border-top: 0; padding-top: 0; }
.footer-bottom a { color: inherit; }

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero__text > *, .js .mock { animation: hero-in .9s var(--ease) both; }
.js .hero__text > :nth-child(2) { animation-delay: .08s; }
.js .hero__text > :nth-child(3) { animation-delay: .16s; }
.js .hero__text > :nth-child(4) { animation-delay: .24s; }
.js .hero__text > :nth-child(5) { animation-delay: .32s; }
.js .mock { animation-delay: .3s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Regionsseiten */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--anthrazit); color: var(--text-on-dark);
  padding-block: clamp(56px, 8vw, 104px);
}
.page-hero .container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.page-hero h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em; max-width: 14em; }
.page-hero h1 span { color: var(--orange); }
.page-hero .eyebrow { color: var(--orange); }
.page-hero .squares { --sq3: var(--creme); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-on-dark); }
.breadcrumb a { color: var(--muted-on-dark); }
.breadcrumb a:hover { color: var(--text-on-dark); }

.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.usecase { background: var(--creme); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.usecase p { color: var(--text-muted); }
.usecase .usecase__example { margin-top: auto; padding: 12px 16px; border-radius: 12px; background: var(--weiss); border-left: 3px solid var(--orange); font-size: 15px; color: var(--text); }

.route { display: grid; gap: 12px; margin: 0; }
.route div { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: var(--radius); background: var(--anthrazit-2); border: 1px solid rgba(255, 255, 255, .07); }
.route dt { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.route dd { margin: 0; color: var(--text-on-dark); }

.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.regions a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 600;
  transition: border-color .25s ease, transform .3s var(--ease);
}
.section--white .regions a { background: var(--creme); }
.regions a:hover { border-color: rgba(176, 84, 26, .45); transform: translateY(-2px); color: var(--text); }
.regions a[aria-current] { border-color: var(--orange-dark); }
.regions small { display: block; font-weight: 400; font-size: 14px; color: var(--text-muted); }
.regions svg { color: var(--orange-dark); flex-shrink: 0; }

/* Rechtstexte */
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal .container { display: flex; flex-direction: column; gap: 28px; }
.legal h1 { font-weight: 800; font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 24px; margin-top: 16px; }
.legal p, .legal li { color: var(--text-muted); max-width: 46em; }
.legal section p + p { margin-top: 12px; }
.legal address { font-style: normal; color: var(--text); }
.todo { background: #fff3e6; border: 1px dashed var(--orange-dark); border-radius: 10px; padding: 14px 18px; color: #6e3510; font-size: 15px; }

/* KI-Wissen */
.kb-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted-on-dark); }
.kb-group { display: flex; flex-direction: column; gap: 20px; }
.kb-group + .kb-group { margin-top: clamp(24px, 3vw, 40px); }
.kb-group__title { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-dark); }
.kb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.kb-card {
  height: 100%; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--weiss); border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  transition: border-color .25s ease, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section--white .kb-card { background: var(--creme); }
.kb-card:hover { color: var(--text); border-color: rgba(176, 84, 26, .45); transform: translateY(-3px); box-shadow: var(--shadow); }
.kb-card p { color: var(--text-muted); }
.kb-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-muted); }
.kb-card__foot svg { color: var(--orange-dark); flex-shrink: 0; transition: transform .25s var(--ease); }
.kb-card:hover .kb-card__foot svg { transform: translateX(4px); }

.prose { max-width: 46em; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 28px; }
.prose h3 { margin-top: 8px; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.prose ul li::marker { color: var(--orange); }
.prose .note { font-size: 15px; padding: 14px 18px; border-radius: 12px; background: var(--creme-2); }

.callout { padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: var(--orange-tint); border-left: 4px solid var(--orange-dark); display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.callout h2, .callout h3 { font-size: 22px; margin: 0; }
.callout p, .callout li { color: var(--text); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--weiss); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); background: var(--anthrazit); color: var(--text-on-dark); }
.compare tbody th { font-weight: 600; color: var(--text); }
.compare td { color: var(--text-muted); }
.compare tr:last-child > * { border-bottom: 0; }

.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 5px;
  border: 2px solid var(--orange-dark);
}

.cta-card { background: var(--anthrazit); color: var(--text-on-dark); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-card .eyebrow { color: var(--orange); }
.cta-card .squares { --sq3: var(--creme); }
.cta-card p { color: var(--muted-on-dark); font-size: 18px; max-width: 40em; }

.glossary { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.glossary > div { padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.glossary dt { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); }
.glossary dd { margin: 6px 0 0; color: var(--text-muted); }
.prose .letters { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border-radius: 10px; background: var(--creme); border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.letters a:hover { border-color: var(--orange-dark); }
