    :root {
      /* Warmes, helles Creme – Basis- und Panel-Flächen */
      --bg-page: oklch(0.965 0.013 83);
      --bg-hero: oklch(0.965 0.013 83);
      --bg-panel: oklch(0.94 0.016 80);
      --bg-dark: oklch(0.19 0.035 260);

      /* Dunkles Navy – Text, dunkle Flächen, Überschriften */
      --navy: oklch(0.19 0.035 260);
      --navy-soft: oklch(0.24 0.035 260);
      /* Terrakotta/Rostorange – ersetzt das bisherige Gold als Akzentfarbe */
      --accent: oklch(0.62 0.15 52);
      --accent-soft: oklch(0.72 0.15 55);

      --text-main: oklch(0.19 0.035 260);
      --text-muted: oklch(0.42 0.03 260);

      /* Dünne Trennlinien: Navy bei ~14% Deckkraft statt harter grauer Linien */
      --border-soft: oklch(0.19 0.035 260 / 0.14);
      --shadow-soft: 0 18px 45px oklch(0.19 0.035 260 / 0.18);
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }

    body {
      font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-page);
      color: var(--text-main);
      font-size: 1.15rem;
      line-height: 1.8;
    }

    p {
      margin: 0 0 0.9rem;
    }

    /* ========================
       Globale Typografie
    ========================= */
    h1, h2, h3 {
      margin: 0 0 0.8rem;
    }

    h1 {
      font-family: "Newsreader", serif;
      font-weight: 400;
      font-size: clamp(2.875rem, 6.4vw, 5.875rem);
      line-height: 1.0;
      letter-spacing: -0.015em;
      color: var(--navy-soft);
    }

    h2 {
      font-family: "Newsreader", serif;
      font-weight: 400;
      font-size: clamp(1.75rem, 3.4vw, 2.75rem);
      line-height: 1.12;
      letter-spacing: -0.01em;
      color: var(--navy-soft);
    }

    /* Ein einzelnes, bedeutungstragendes Wort in Überschriften
       akzentuieren (kursiv + Akzentfarbe). Auf dunklem Hintergrund
       automatisch die hellere --accent-soft-Variante für Kontrast. */
    h1 em,
    h2 em {
      font-style: italic;
      color: var(--accent);
    }

    .section--dark h1 em,
    .section--dark h2 em,
    .cta-section h1 em,
    .cta-section h2 em {
      color: var(--accent-soft);
    }

    h3 {
      font-family: "Newsreader", serif;
      font-weight: 500;
      font-size: clamp(1.375rem, 2.2vw, 1.875rem);
      line-height: 1.35;
      letter-spacing: 0;
      color: var(--navy-soft);
    }

    .overline,
    .eyebrow,
    .section-eyebrow,
    .process-eyebrow {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.16em;
      margin-bottom: 0.8rem;
      text-transform: uppercase;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Layout Helper */
    .container {
      width: 100%;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 1.6rem;
    }

    .header-container {
      width: 100%;
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* ========================
       Header / Navigation
    ========================= */

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: oklch(0.965 0.013 83 / 0.94);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(193, 139, 115, 0.8);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.1rem 0;
    }

    .brand-mark {
      display: flex;
      flex-direction: column;
      gap: 0.18rem;
    }

    .brand-line-top {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.75rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .brand-line-main {
      font-family: "Newsreader", serif;
      font-size: 1.6rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--navy);
    }

    .nav {
      font-family: "IBM Plex Mono", monospace;
      display: flex;
      align-items: center;
      gap: 2.4rem;
      font-size: 1rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .nav a {
      position: relative;
      padding-bottom: 0.12rem;
    }

    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 1px;
      background: var(--navy);
      transition: width 0.2s ease;
    }

    .nav a:hover::after {
      width: 100%;
    }

    .nav-cta {
      font-family: "IBM Plex Mono", monospace;
      padding: 0.75rem 2rem;
      border-radius: 999px;
      border: 1px solid var(--navy);
      background: var(--navy);
      color: #fff;
      font-size: 0.95rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .nav-cta:hover {
      background: oklch(0.15 0.035 260);
    }

    /* Mobile Toggle */
    .nav-toggle {
      display: none;
      border: none;
      background: transparent;
      padding: 0;
      cursor: pointer;
    }

    .nav-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--navy);
      margin: 4px 0;
    }

.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 100px;          /* ideal für Desktop */
  width: auto;
  max-width: 480px;
  object-fit: contain;
}


    /* ========================
       Hero
    ========================= */

    .hero {
      background: radial-gradient(circle at top left, #fff3dd 0, var(--bg-hero) 48%, #f4e4cf 100%);
      padding: 3.6rem 0 4.4rem;
      position: relative;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto -80px -160px -80px;
      background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.7), transparent 60%);
      opacity: 0.65;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.8fr);
      gap: 3.4rem;
      align-items: center;
    }

    .hero-eyebrow {
      font-family: "IBM Plex Mono", monospace;
      font-size: 1.05rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
    }

    .hero-title {
      font-family: "Newsreader", serif;
      font-weight: 400;
      font-size: clamp(2.6rem, 4.6vw, 4.4rem);
      line-height: 1.0;
      letter-spacing: 0.04em;
      margin: 0 0 1.2rem;
      color: var(--navy-soft);
    }

    .hero-title em {
      font-style: italic;
      color: var(--accent);
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--text-muted);
      max-width: 32rem;
      margin-bottom: 1.6rem;
    }

    .hero-meta {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      color: var(--text-muted);
      margin-bottom: 1.6rem;
    }

    .hero-cta-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1.2rem;
    }

    .hero-note {
      margin-top: 0.5rem;
      font-size: 0.95rem;
      color: var(--text-muted);
      max-width: 28rem;
    }

    .btn-primary,
    .btn-ghost {
      font-family: "IBM Plex Mono", monospace;
      padding: 0.85rem 1.9rem;
      border-radius: 999px;
      font-size: 0.95rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      border: 1px solid var(--navy);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background: transparent;
    }

    .btn-primary {
      font-family: "IBM Plex Mono", monospace;
      background: var(--navy);
      color: #fff;
    }

    .btn-primary:hover {
      background: oklch(0.15 0.035 260);
    }

    .btn-ghost {
      font-family: "IBM Plex Mono", monospace;
      background: transparent;
      color: var(--navy);
    }

    .btn-ghost:hover {
      background: oklch(0.19 0.035 260 / 0.06);
    }

    /* Hero Right: Card */
    .hero-panel-wrap {
      position: relative;
      padding-left: 0.9rem;
    }

    .hero-panel-shadow {
      position: absolute;
      inset: 1.5rem 0.3rem 0.4rem 1.4rem;
      border-radius: 1.2rem;
      background: linear-gradient(145deg, rgba(178, 101, 67, 0.7), rgba(125, 79, 59, 0.12));
      z-index: 0;
    }

    .hero-panel {
  background: linear-gradient(
    145deg,
    var(--bg-dark) 0%,
    var(--navy) 100%
  );
  color: #f6f2eb;
  border-radius: 18px;
  padding: 32px 28px 26px;
  box-shadow: 0 18px 45px oklch(0.19 0.035 260 / 0.35);
}


    .hero-panel::before {
      content: "";
      position: absolute;
      inset: -18% -18% auto auto;
      background: radial-gradient(circle at 20% 0, rgba(255, 127, 70, 0.4), transparent 65%);
      opacity: 0.9;
      pointer-events: none;
    }

    .hero-panel-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.85rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(250, 234, 211, 0.8);
      margin-bottom: 0.9rem;
    }

    .hero-panel-title {
      font-family: "Newsreader", serif;
      font-size: 1.7rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 1.4rem;
    }

    .hero-panel-rows {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.2rem;
      font-size: 0.9rem;
    }

    .hero-panel-pill {
      padding: 0.7rem 0.8rem;
      border-radius: 0.7rem;
      background: radial-gradient(circle at top left, rgba(247, 144, 98, 0.16), transparent 75%);
      border: 1px solid rgba(221, 138, 101, 0.25);
    }

    .hero-panel-pill-label {
      font-family: "IBM Plex Mono", monospace;
      display: block;
      font-size: 0.78rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(225, 154, 122, 0.78);
      margin-bottom: 0.25rem;
    }

    .hero-panel-pill-main {
      font-size: 1rem;
      font-weight: 500;
    }

    .hero-panel-footnote {
      margin-top: 1.6rem;
      font-size: 0.85rem;
      color: rgba(223, 155, 125, 0.85);
    }

    /* ========================
       Section: Excellence Stack
    ========================= */

    section.section {
      padding: 4.2rem 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 2.7rem;
    }

    .section-eyebrow {
      color: var(--text-muted);
      margin-bottom: 0.8rem;
    }

    .section-title {
      margin-bottom: 0.8rem;
    }

    .section-intro {
      font-size: 1.35rem;
      line-height: 1.7;
      max-width: 52rem;
      margin: 0 auto;
    }

    .stack-section {
      background: var(--bg-page);
    }

    .stack-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.9rem;
    }

    .stack-card {
      background: var(--bg-panel);
      border-radius: 1rem;
      border: 1px solid var(--border-soft);
      padding: 1.8rem 1.7rem 1.9rem;
      box-shadow: 0 10px 24px rgba(12, 22, 43, 0.08);
    }

    .stack-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #7e5948;
      margin-bottom: 0.4rem;
    }

    .stack-title {
      margin-bottom: 0.8rem;
    }

    .stack-text {
      font-size: 1.15rem;
      line-height: 1.75;
      margin-bottom: 0.8rem;
    }

    .stack-list {
      font-size: 1.05rem;
      line-height: 1.7;
      padding-left: 1.1rem;
      margin: 0;
      color: var(--text-muted);
    }

    .stack-list li + li {
      margin-top: 0.3rem;
    }

    /* ========================
       Benefits – Warum KI?
    ========================= */

    .benefits-section {
      background: #f5ecdd;
      border-top: 1px solid var(--border-soft);
      border-bottom: 1px solid var(--border-soft);
      padding: 3.6rem 0 3.8rem;
    }

    .benefits-inner {
      text-align: center;
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 2.4rem;
      margin-top: 2.6rem;
      align-items: flex-start;
    }

    .benefit-card {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .benefit-icon-wrap {
      width: 76px;
      height: 76px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.4rem;
      background:
        radial-gradient(circle at 30% 20%, #fffdf9 0, rgba(255,255,255,0.1) 55%),
        rgba(195, 109, 70, 0.26);
      box-shadow: 0 12px 32px rgba(12, 22, 43, 0.22);
    }

    .benefit-icon {
      position: relative;
      width: 30px;
      height: 30px;
      border-radius: 999px;
      border: 1px solid oklch(0.19 0.035 260 / 0.18);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--navy-soft);
    }

    .benefit-icon::before {
      content: "";
    }

    .benefit-icon--time::before {
      content: "↻";
    }

    .benefit-icon--error::before {
      content: "✓";
    }

    .benefit-icon--scale::before {
      content: "↗";
    }

    .benefit-icon--innovation::before {
      content: "✺";
    }

    .benefit-title {
      font-weight: 600;
      font-size: 1.2rem;
      color: var(--navy-soft);
      margin-bottom: 0.4rem;
    }

    .benefit-text {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 260px;
    }

    .benefit-card--time .benefit-icon-wrap {
      background:
        radial-gradient(circle at 30% 20%, #fffdf9 0, rgba(255,255,255,0.1) 55%),
        rgba(173, 150, 255, 0.26);
    }

    .benefit-card--error .benefit-icon-wrap {
      background:
        radial-gradient(circle at 30% 20%, #fffdf9 0, rgba(255,255,255,0.1) 55%),
        rgba(128, 181, 255, 0.26);
    }

    .benefit-card--scale .benefit-icon-wrap {
      background:
        radial-gradient(circle at 30% 20%, #fffdf9 0, rgba(255,255,255,0.1) 55%),
        rgba(147, 216, 171, 0.28);
    }

    .benefit-card--innovation .benefit-icon-wrap {
      background:
        radial-gradient(circle at 30% 20%, #fffdf9 0, rgba(255,255,255,0.1) 55%),
        rgba(255, 115, 52, 0.26);
    }

    /* ========================
       n8n Section
    ========================= */

    .n8n-section {
      background: var(--bg-page);
    }

    .n8n-grid {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
      gap: 3.2rem;
      align-items: center;
    }

    .n8n-text p {
      font-size: 1.05rem;
      color: var(--text-muted);
      max-width: 34rem;
    }

    .n8n-text p + p {
      margin-top: 0.75rem;
    }

    .n8n-meta {
      font-family: "IBM Plex Mono", monospace;
      margin-top: 1.5rem;
      font-size: 0.9rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .n8n-visual {
      position: relative;
    }

    .n8n-box {
      position: relative;
      z-index: 1;
      background: var(--bg-panel);
      border-radius: 1.1rem;
      border: 1px solid var(--border-soft);
      padding: 3rem 2.8rem 3rem;
      min-height: 250px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .n8n-flow {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.1rem;
      margin-bottom: 1.8rem;
    }

    .n8n-circle {
      font-family: "IBM Plex Mono", monospace;
      width: 64px;
      height: 64px;
      border-radius: 50%;
      border: 1px dashed rgba(115, 82, 67, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #674739;
      background: #fff9f0;
    }

    .n8n-caption {
      font-family: "IBM Plex Mono", monospace;
      max-width: 300px;
      text-align: center;
      font-size: 0.95rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #7d5543;
    }

    .n8n-box-shadow {
      position: absolute;
      inset: 1.6rem 0.3rem 0.5rem 1.4rem;
      border-radius: 1.2rem;
      background: linear-gradient(145deg, rgba(169, 105, 77, 0.7), rgba(129, 89, 72, 0.22));
      z-index: 0;
    }

    /* ========================
       Use Cases
    ========================= */

    .usecases-section {
      background: var(--bg-panel);
      border-top: 1px solid var(--border-soft);
      border-bottom: 1px solid var(--border-soft);
    }

    .usecase-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.7rem;
      font-size: 1rem;
    }

    .usecase-card {
      border-radius: 0.95rem;
      border: 1px solid var(--border-soft);
      background: #fffdf9;
      padding: 1.5rem 1.5rem 1.6rem;
      box-shadow: 0 12px 28px rgba(89, 58, 44, 0.1);
    }

    .usecase-title {
      font-weight: 600;
      font-size: 1.15rem;
      color: var(--navy-soft);
      margin-bottom: 0.6rem;
    }

    .usecase-text {
      color: var(--text-muted);
      font-size: 1.02rem;
      line-height: 1.75;
    }

    /* ========================
       Process / Vorgehen
    ========================= */

    .process-section {
      background: var(--bg-dark);
      color: #fdf5e8;
      padding: 4rem 0 4.2rem;
    }

    .process-header {
      text-align: center;
      margin-bottom: 2.6rem;
    }

    .process-eyebrow {
      color: rgba(248, 235, 212, 0.78);
      margin-bottom: 0.7rem;
    }

    .process-title {
      text-transform: uppercase;
      letter-spacing: 0.2em;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 2rem;
    }

    .process-step {
      border-radius: 0.9rem;
      border: 1px solid rgba(253, 241, 223, 0.16);
      padding: 2.4rem 2.6rem;
      background: radial-gradient(circle at top left, rgba(234, 125, 76, 0.2), transparent 55%);
      font-size: 1rem;
    }

    .process-step-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.8rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(250, 236, 216, 0.9);
      margin-bottom: 0.5rem;
    }

    .process-step-title {
      margin-bottom: 0.8rem;
    }

    .process-step-text {
      color: rgba(249, 237, 219, 0.88);
      font-size: 1.08rem;
      line-height: 1.8;
    }

.process-section h2,
.process-section .process-step-title {
  color: rgba(248, 240, 228, 0.95); /* warmes Off-White */
}

.process-section h3,
.process-section .process-step-title {
  color: rgba(248, 240, 228, 0.95); /* warmes Off-White */
}

.process-section p,
.process-section .process-step-text {
  color: rgba(219, 158, 131, 0.88);
}

.process-section .process-step-label {
  color: oklch(0.62 0.15 52 / 0.9); /* Terrakotta */
}

.process-step {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06),
    rgba(0,0,0,0.25)
  );
}


    /* ========================
       References
    ========================= */

    .refs-section {
      background: var(--bg-page);
    }

    .refs-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.7rem;
      font-size: 1rem;
    }

    .ref-card {
      background: var(--bg-panel);
      border-radius: 0.95rem;
      border: 1px solid var(--border-soft);
      padding: 1.5rem 1.6rem;
      box-shadow: 0 10px 22px rgba(12, 22, 43, 0.08);
    }

    .ref-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.9rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #7d5544;
      margin-bottom: 0.5rem;
    }

    .ref-quote {
      font-size: 1.1rem;
      color: var(--text-main);
      margin-bottom: 0.7rem;
      line-height: 1.8;
    }

    .ref-meta {
      font-size: 1rem;
      color: var(--text-muted);
    }

    /* ========================
       CTA
    ========================= */

    .cta-section {
      background: var(--bg-page);
      padding-bottom: 4.2rem;
    }

    .cta-inner {
      max-width: 760px;
      margin: 0 auto;
      background: var(--bg-panel);
      border-radius: 1.1rem;
      border: 1px solid var(--border-soft);
      padding: 2.4rem 2.7rem 2.6rem;
      text-align: center;
      box-shadow: var(--shadow-soft);
    }

    .cta-title {
      letter-spacing: 0.06em;
      margin: 0 0 0.9rem;
    font-size: 2.2rem;
    }

    .cta-text {
      font-size: 1.1rem;
      color: var(--text-muted);
      margin-bottom: 1.6rem;
    }

    .cta-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
     gap: 1.1rem 1.4rem;
      text-align: left;
      margin-bottom: 1.2rem;
    }

    .cta-form textarea {
      grid-column: 1 / -1;
      resize: vertical;
      min-height: 100px;
    }

    .field-label {
      font-family: "IBM Plex Mono", monospace;
      display: block;
      font-size: 0.85rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 0.25rem;
    }

    .field-input {
      width: 100%;
      border-radius: 999px;
      border: 1px solid var(--border-soft);
      padding: 0.8rem 1.1rem;
     font-size: 1rem;
      background: #fffdf9;
      color: var(--text-main);
      outline: none;
    }

    .field-input:focus {
      border-color: #ab603f;
      box-shadow: 0 0 0 1px rgba(171, 96, 63, 0.28);
    }

textarea.field-input {
  min-height: 120px;
}

    textarea.field-input {
      border-radius: 0.9rem;
    }

    .cta-note {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

.form-consent {
  margin: 0.6rem 0 1.4rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}

.consent-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.consent-text a {
  color: var(--navy-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-text a:hover {
  color: var(--navy);
}

/* Textarea & Consent über die gesamte Formularbreite */
.cta-form .field-group,
.cta-form textarea.field-input,
.cta-form .form-consent {
  grid-column: 1 / -1;
}

/* Consent-Block optisch sauber einrücken */
.form-consent {
  margin: 0.4rem 0 1.4rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}

.consent-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.consent-text a {
  color: var(--navy-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-text a:hover {
  color: var(--navy);
}

.cta-form textarea,
.cta-form .form-consent {
  grid-column: 1 / -1;
}

.cta-form .field-group {
  grid-column: 1 / -1;
}

/* Textarea-Block & Datenschutz über beide Spalten */
.cta-form .field-group--wide,
.cta-form .form-consent {
  grid-column: 1 / -1;
}

textarea.field-input {
  min-height: 140px;
  padding: 1rem 1.1rem;
}

/* Select- und Datei-Felder im Projektanfrage-Formular */
select.field-input {
  appearance: none;
  background-color: #fffdf9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6072' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.field-file {
  width: 100%;
  padding: 0.7rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px dashed var(--border-soft);
  background: #fffdf9;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field-file:focus {
  border-color: #ab603f;
  box-shadow: 0 0 0 1px rgba(171, 96, 63, 0.28);
}

.field-hint {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@keyframes agentwerk-spin {
  to { transform: rotate(360deg); }
}

    /* ========================
       Footer
    ========================= */

    .site-footer {
      background: var(--bg-dark);
      color: #f3e7d5;
      padding: 2.8rem 0 2rem;
      font-size: 0.9rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1.4fr 1.4fr 1.4fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }

    .footer-heading {
      font-family: "IBM Plex Mono", monospace;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      margin-bottom: 0.8rem;
      color: rgba(247, 236, 219, 0.86);
    }

    .footer-text {
      color: rgba(219, 158, 131, 0.86);
      line-height: 1.9;
    }

    .footer-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-list li + li {
      margin-top: 0.35rem;
    }

    .footer-list a {
      color: rgba(219, 158, 131, 0.86);
    }

    .footer-list a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      border-top: 1px solid rgba(223, 154, 123, 0.2);
      padding-top: 1rem;
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      color: rgba(219, 158, 131, 0.82);
    }

    .footer-company {
      font-family: "IBM Plex Mono", monospace;
      font-size: 1rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    /* ========================
       Responsive
    ========================= */
    @media (min-width: 1200px) {
      .nav {
        font-family: "IBM Plex Mono", monospace;
        font-size: 1.02rem;
        gap: 2.5rem;
      }

      .nav-cta {
        font-family: "IBM Plex Mono", monospace;
        font-size: 0.98rem;
      }
    }

    @media (max-width: 1024px) {
      .hero-inner,
      .n8n-grid {
        grid-template-columns: 1fr;
      }

      .hero-inner {
        gap: 2.6rem;
      }

      .hero-panel-wrap {
        order: -1;
      }

      .stack-grid,
      .usecase-grid,
      .process-grid,
      .refs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .cta-form {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 760px) {
      .header-inner {
        padding: 0.9rem 0;
      }

      .nav {
        font-family: "IBM Plex Mono", monospace;
        position: absolute;
        inset: 100% 0 auto 0;
        background: oklch(0.965 0.013 83 / 0.98);
        border-bottom: 1px solid rgba(193, 139, 115, 0.9);
        padding: 0.9rem 1.6rem 1.1rem;
        display: none;
        flex-direction: column;
        gap: 0.9rem;
        font-size: 0.98rem;
      }

      .nav.is-open {
        display: flex;
      }

      .nav-cta {
        font-family: "IBM Plex Mono", monospace;
        width: 100%;
        justify-content: center;
      }

      .nav-toggle {
        display: block;
      }

      .hero-title {
        font-size: 2.6rem;
      }

      .section-title {
        font-size: 2.3rem;
      }

      .stack-grid,
      .usecase-grid,
      .process-grid,
      .refs-grid,
      .benefits-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .cta-inner {
        padding: 2rem 1.7rem 2.2rem;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 520px) {
      .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
      }

      .hero-cta-row button {
        width: 100%;
      }
    }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  color: rgba(219, 158, 131, 0.86);
  font-size: 0.95rem;
}

.contact-icon {
  font-size: 0.9rem;
  line-height: 1.4;
  color: oklch(0.62 0.15 52 / 0.85); /* Terrakotta */
  flex-shrink: 0;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .brand-logo {
    height: 52px;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 44px;
    max-width: 240px;
  }
}

.brand-logo {
  height: 100px;
  transition: height 0.25s ease;
}

.site-header {
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled .brand-logo {
  height: 80px; /* kleiner beim Scroll */
}

.site-header.is-scrolled {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Basis: Header + Logo */
.brand-logo {
  height: 100px;
  transition: height 0.25s ease;
}

.header-inner {
  padding: 0.9rem 0;
  transition: padding 0.25s ease;
}

.site-header {
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

/* Scroll-Zustand: schlanker Header */
.site-header.is-scrolled {
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.site-header.is-scrolled .header-inner {
  padding: 0.25rem 0;   /* HIER schrumpfen wir den Abstand wirklich */
}

.site-header.is-scrolled .brand-logo {
  height: 70px;         /* oder 60px, wenn du es noch kompakter willst */
}

/* =========================================
   Navigation im Scroll-Zustand kompakter
   (nur Desktop / Tablet)
========================================= */
@media (min-width: 761px) {
  /* Abstand zwischen den Menüpunkten reduzieren */
  .site-header.is-scrolled .nav {
    gap: 1.6rem; /* vorher 2.4–2.5rem */
  }

  /* Links vertikal etwas enger setzen */
  .site-header.is-scrolled .nav a {
    padding-bottom: 0.05rem; /* vorher 0.12rem */
  }

  /* CTA-Button schlanker machen */
  .site-header.is-scrolled .nav-cta {
    padding: 0.55rem 1.7rem; /* vorher 0.75rem 2rem */
    font-size: 0.9rem;       /* leicht kompakter */
  }
}

/* Sanfte Übergänge für die Navigation */
.nav,
.nav a,
.nav-cta {
  font-family: "IBM Plex Mono", monospace;
  transition: all 0.25s ease;
}

/* Header-CTA optisch exakt zentrieren */
.site-header .nav-cta {
  position: relative;
  top: 1px; /* feinjustiert, wirkt Wunder */
}


.site-header .nav-cta {
  padding-top: 0.7rem;
  padding-bottom: 0.75rem;
}

/* Hover-Unterlinie beim CTA im Header deaktivieren */
.site-header .nav-cta::after {
  display: none !important;
}

.site-header .nav-cta {
  text-decoration: none;
}

.section-region {
  background: var(--bg-page);
  border-top: 1px solid var(--border-soft);
}

.region-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  gap: 3rem;
  margin-top: 2.4rem;
}

.region-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.region-text p + p {
  margin-top: 0.9rem;
}

.region-list ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.region-list li + li {
  margin-top: 0.4rem;
}

@media (max-width: 1024px) {
  .region-grid {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  background: #f0e3d2;              /* deutlich abgesetzt, aber noch im Look */
  padding: 4rem 0 4.4rem;
  border-top: 1px solid var(--border-soft);
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #fffdf8;                               /* noch heller als der Hintergrund */
  border-radius: 1.1rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.35);       /* leicht terrakottafarbener Rahmen */
  padding: 2.4rem 2.7rem 2.6rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

/* Box unter dem Region-Text */
.region-box-wrap {
  display: flex;
  justify-content: center;   /* Box mittig auf der Seite */
  margin-top: 2.6rem;
}

.region-box {
  background: var(--bg-panel); /* sehr nah an bg-panel */
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 2.0rem 2.2rem;
  max-width: 720px;
  box-shadow: 0 10px 26px rgba(12, 22, 43, 0.08);
}

/* Liste innerhalb der Box */
.region-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-main);
  align-items: flex-start;   /* Box-Inhalt bleibt linksbündig */
}

.region-box-list li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.6;
  text-align: left;          /* WICHTIG: Text links, nicht zentriert */
}

.region-box-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.9em;                /* etwas tiefer als vorher */
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1;
}


/* Mobile */
@media (max-width: 760px) {
  .region-box-list {
    grid-template-columns: 1fr;
  }
}

/* --- Navigation Dropdown --- */

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-dropdown .nav-link {
  cursor: pointer;
}

./* =========================
   NAV DROPDOWN – Premium zentriert
========================= */

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);

  min-width: 320px;
  padding: 18px 24px;

  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;

  box-shadow: 0 18px 40px oklch(0.19 0.035 260 / 0.12);

  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;

  text-align: center;
}

.dropdown a {
  font-family: "IBM Plex Mono", monospace;
  display: block;
  font-size: 0.95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap; /* verhindert Umbruch */
  transition: color 0.2s ease;
}

.dropdown a:hover {
  color: var(--accent);
}

.nav-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* =========================
   Praxis-Unterseite Hero (Index-Look)
========================= */
.hero--split{
  background: var(--bg-hero);
  padding: 92px 0 72px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
}

.hero-left h1{
  margin: 0 0 18px;
}

.hero-eyebrow{
  font-family: "IBM Plex Mono", monospace;
  margin: 0 0 24px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-note{
  margin: 18px 0 0;
  color: var(--text-muted);
  max-width: 60ch;
  font-size: .95rem;
  line-height: 1.6;
}

.hero-panel{
  background: var(--bg-dark);
  color: #fff;
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  background: var(--bg-dark);
  color: #ffffff;
}

.panel-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent); /* dein Accent-Ton */
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}


.panel-title {
  color: #f4ede3;
  font-weight: 600;
  line-height: 1.25;
}


/* Phase-Titel */
.phase-title {
  color: #ffffff;
  font-weight: 500;
}

.panel-phases{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.phase {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.25s ease;
}

.phase:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}


.phase-kicker {
  color: rgba(255, 255, 255, 0.55);
}


.phase-title{
  font-weight: 600;
  line-height: 1.25;
}

.panel-text {
  color: rgba(255, 255, 255, 0.82);
}

.panel-graphic{
  margin-top: 12px;
  opacity: .85;
}

.panel-graphic svg{
  width: 100%;
  height: auto;
  display: block;
}

.hero-panel {
  box-shadow:
    0 20px 50px oklch(0.19 0.035 260 / 0.35),
    inset 0 0 40px rgba(255, 255, 255, 0.02);
}


/* Linien & Rahmen etwas subtiler */
.phase {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .panel-phases{ grid-template-columns: 1fr; }
}

.card--case{ position: relative; }
.card-icon{
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: oklch(0.19 0.035 260 / .06);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hero-subline {
  color: oklch(0.19 0.035 260 / 0.85);
}

/* =========================================================
   STACK PANEL – EINHEITLICH AUF ALLEN SEITEN
   (am ENDE der style.css einfügen)
========================================================= */

.hero-panel-wrap{
  position: relative;
}

/* Die Box selbst */
.hero-panel--stack{
  position: relative;
  z-index: 2;

  background: linear-gradient(145deg, var(--bg-dark) 0%, var(--navy) 100%);
  color: #f6f2eb;

  border-radius: 18px;
  padding: 28px 28px 22px;

  /* Wichtig: kein grauer Film */
  filter: none;
  opacity: 1;
  overflow: hidden;
}

/* Falls irgendwo Overlays existieren: neutralisieren */
.hero-panel--stack::before,
.hero-panel--stack::after{
  content: none !important;
}

/* Typo wie Startseite */
.hero-panel--stack .hero-panel-label{
  color: var(--accent);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: 10px;
}

.hero-panel--stack .hero-panel-title{
  color: #f4ede3;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Pills */
.hero-panel--stack .hero-panel-pill{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 14px 14px;
}

.hero-panel--stack .hero-panel-pill-label{
  color: rgba(255,255,255,.55);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .70rem;
  display: block;
  margin-bottom: 6px;
}

.hero-panel--stack .hero-panel-pill-main{
  color: #ffffff;
  font-weight: 600;
  line-height: 1.25;
  display: block;
}

/* Footnote */
.hero-panel--stack .hero-panel-footnote{
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin-top: 14px;
}

/* Der Shadow-Layer (das ist oft der Übeltäter) */
.hero-panel-shadow{
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;

  /* Startseiten-Look: tiefer Navy-Shadow */
  background: radial-gradient(70% 70% at 60% 35%, oklch(0.62 0.15 52 / .18) 0%, oklch(0.19 0.035 260 / 0) 60%);

  filter: blur(18px);
  transform: translateY(14px);
  opacity: .55;
  pointer-events: none;
}

/* =========================
   STACK PANEL – Premium Look (wie vorher)
========================= */

.hero-panel-wrap{
  position: relative;
  display: inline-block;
}

/* Box */
.hero-panel--stack{
  position: relative;
  z-index: 2;

  background: linear-gradient(145deg, var(--bg-dark) 0%, var(--navy) 100%);
  color: #f6f2eb;

  border-radius: 22px;
  padding: 30px 30px 24px;

  /* das macht den „Lift“ */
  transform: translateY(-2px);

  /* klare Premium-Tiefe (außen) + minimaler inner glow */
  box-shadow:
    0 26px 60px oklch(0.19 0.035 260 / 0.40),
    0 10px 22px oklch(0.19 0.035 260 / 0.22),
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 45px rgba(255,255,255,0.02);

  overflow: hidden;
}

/* Eyebrow */
.hero-panel--stack .hero-panel-label{
  color: var(--accent);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: 10px;
}

/* Title */
.hero-panel--stack .hero-panel-title{
  color: #f4ede3;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.18;
  margin-bottom: 18px;
}

/* Pills – mehr Kontrast wie vorher */
.hero-panel--stack .hero-panel-pill{
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 16px 16px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.hero-panel--stack .hero-panel-pill:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.085);
  border-color: rgba(255,255,255,0.24);
}

/* Pill label + main */
.hero-panel--stack .hero-panel-pill-label{
  color: rgba(255,255,255,0.58);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .70rem;
  display:block;
  margin-bottom: 6px;
}
.hero-panel--stack .hero-panel-pill-main{
  color: #ffffff;
  font-weight: 600;
  display:block;
}

/* Footnote */
.hero-panel--stack .hero-panel-footnote{
  color: rgba(255,255,255,0.84);
  line-height: 1.6;
  margin-top: 14px;
}

/* Shadow-Layer hinter der Box (das ist der „Premium-Schwebe“-Effekt) */
.hero-panel-shadow{
  position: absolute;
  z-index: 1;
  inset: 10px 14px -12px 14px; /* unten weiter raus für Tiefe */
  border-radius: 26px;

  background: radial-gradient(60% 70% at 60% 25%,
    oklch(0.62 0.15 52 / 0.18) 0%,
    oklch(0.19 0.035 260 / 0.00) 55%);

  filter: blur(22px);
  opacity: .70;
  pointer-events:none;
}


/* =========================
   HERO PANEL TITLE – größer wie Startseite
========================= */

.hero-panel--stack .hero-panel-title{
  font-size: clamp(2rem, 2.4vw, 2.6rem);  /* dynamisch & groß */
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4ede3;
  margin-bottom: 22px;
}


.hero-panel--stack .hero-panel-title{
  font-weight: 600;
  font-family: "Newsreader", serif;
}

/* Standard-Section (helles Beige wie Index) */
.section {
  background: var(--bg-page);
}

/* Alternierende Sektionen */
.section--alt {
  background: var(--bg-hero);
}


.section--dark,
.cta-section {
  background: var(--bg-dark);
  color: #f6f2eb;
}

.section--dark h2,
.section--dark h3,
.cta-section h2,
.cta-section h3 {
  color: #f4ede3;
}

.section--highlight {
  background: linear-gradient(
    to bottom,
    var(--bg-page),
    var(--bg-hero)
  );
}


/* =========================
   CTA BLOCK – Textkontrast erhöhen
========================= */

.section--dark .cta-title,
.cta-section .cta-title {
  color: var(--navy);  /* dunkler, klarer Kontrast */
  opacity: 1;
}

.section--dark .cta-text,
.cta-section .cta-text {
  color: var(--text-main);  /* kräftiger als vorher */
  opacity: 1;
}

/* Falls irgendwo globale opacity gesetzt war */
.section--dark h2,
.section--dark p,
.cta-section h2,
.cta-section p {
  opacity: 1;
}

/* =========================================================
   PREMIUM CTA – Signature Look
========================================================= */

.section--dark,
.cta-section {
  background: linear-gradient(
    180deg,
    oklch(0.155 0.03 262) 0%,
    var(--navy) 100%
  );
  padding: 90px 0;
}

/* Innenbox */
.section--dark .cta-inner,
.cta-section .cta-inner {
  background: linear-gradient(
    180deg,
    #f6efe6 0%,
    #f1e7da 100%
  );
  border-radius: 22px;
  padding: 60px 50px;
  text-align: center;

  box-shadow:
    0 30px 60px oklch(0.19 0.035 260 / 0.35),
    inset 0 0 0 1px rgba(255,255,255,0.6);
}

/* Titel */
.section--dark .cta-title,
.cta-section .cta-title {
  font-family: "Newsreader", serif;
  font-size: clamp(1.9rem, 2.2vw, 2.3rem);
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 18px;
}

/* Terrakotta-Underline Effekt */
.section--dark .cta-title::after,
.cta-section .cta-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--accent), #90553b);
  border-radius: 3px;
}

/* Text */
.section--dark .cta-text,
.cta-section .cta-text {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 30px;
}

/* =========================================================
   Kontakt-Seite als dunkler Kontrast-Akzent
   (.stack-section.section--dark ist eindeutig, da section--dark
   nur auf der Kontaktseite mit stack-section kombiniert wird)

   Formular- und Sidebar-Inhalte stecken in eigenen hellen Karten
   (.contact-form-panel / .sidebar-card, siehe agentwerk-kontakt.html)
   und liegen damit NICHT direkt auf dem dunklen Section-Hintergrund.
   Sie brauchen daher die normalen (dunklen) Textfarben zurück statt
   der hellen .section--dark-Vererbung – nur der Rahmen um die Karten
   herum ist tatsächlich dunkles Navy.
========================================================= */

.stack-section.section--dark .contact-form-panel,
.stack-section.section--dark .sidebar-card {
  color: var(--text-main);
}

.stack-section.section--dark .contact-form-panel h2,
.stack-section.section--dark .contact-form-panel h3,
.stack-section.section--dark .sidebar-card h3 {
  color: var(--navy-soft);
}

.stack-section.section--dark .field-input,
.stack-section.section--dark .field-file {
  color: var(--text-main);
}

.stack-section.section--dark .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.stack-section.section--dark .btn-primary:hover {
  background: oklch(0.56 0.15 52);
}

/* Button etwas stärker */
.section--dark .btn-p

/* =========================
   Workflow Band (full width, premium)
========================= */

.workflow-band{
  margin: 26px 0 6px;
  padding: 26px 0;

  /* volle Breite, aber im Stil deiner Seite */
  background: linear-gradient(180deg, var(--bg-panel), rgba(255,255,255,0));
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.wb-inner{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.wb-node{
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 22px rgba(12, 22, 43, 0.06);
}

.wb-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: oklch(0.19 0.035 260 / 0.35);
  margin-bottom: 10px;
}

.wb-label{
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
}

.wb-sub{
  margin-top: 6px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.35;
}

.wb-line{
  height: 2px;
  width: 44px;
  background: oklch(0.19 0.035 260 / 0.18);
  border-radius: 999px;
}

/* KI-Step leicht hervorheben */
.wb-node--accent{
  background: oklch(0.62 0.15 52 / 0.12);
  border-color: oklch(0.62 0.15 52 / 0.35);
}
.wb-node--accent .wb-dot{
  background: oklch(0.62 0.15 52 / 0.75);
}

/* Responsive: auf Mobile untereinander */
@media (max-width: 980px){
  .wb-inner{
    grid-template-columns: 1fr;
  }
  .wb-line{
    display: none;
  }
}


/* =========================
   Workflow Nodes im Hero Panel – Premium angepasst
========================= */

.wb-node{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px 16px 16px;
  backdrop-filter: blur(6px);

  transition: all .25s ease;
}

.wb-node:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* Label */
.wb-label{
  color: #f4ede3;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

/* Subtext */
.wb-sub{
  color: rgba(255,255,255,0.75);
  font-size: .88rem;
  line-height: 1.4;
}

/* Dot */
.wb-dot{
  background: rgba(255,255,255,0.35);
}

/* Verbindungslinie */
.wb-line{
  background: rgba(255,255,255,0.20);
}

/* =========================
   FLOWBAND (groß, breit, premium)
========================= */

.flowband--wide{
  margin: 26px 0 10px;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
}

.flowband-inner{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.flowstep{
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 24px rgba(12, 22, 43, 0.06);
}

.flowstep-title{
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.flowstep-sub{
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.35;
}

.flowarrow{
  color: oklch(0.19 0.035 260 / 0.35);
  font-size: 1.35rem;
  font-weight: 700;
}

/* KI hervorheben */
.flowstep--accent{
  background: oklch(0.62 0.15 52 / 0.14);
  border-color: oklch(0.62 0.15 52 / 0.45);
}
.flowstep--accent .flowstep-title{
  color: #5d2d18;
}

/* Mobile: vertikal stapeln */
@media (max-width: 980px){
  .flowband-inner{
    grid-template-columns: 1fr;
  }
  .flowarrow{
    display: none;
  }
}


/* =========================
   FLOWBAND – Navy Premium Version
========================= */

.flowband--dark{
  margin: 40px 0 20px;
  padding: 40px 0;

  background: linear-gradient(
    180deg,
    var(--bg-dark) 0%,
    var(--navy) 100%
  );

  position: relative;
}

.flowband--dark::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
    60% 60% at 50% 20%,
    oklch(0.62 0.15 52 / 0.15),
    transparent 60%
  );
  pointer-events:none;
}

.flowband--dark .flowband-inner{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* Glass Cards */
.flowband--dark .flowstep{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 20px 18px 18px;

  backdrop-filter: blur(6px);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  transition: all .25s ease;
}

.flowband--dark .flowstep:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,0.10);
}

/* Titel */
.flowband--dark .flowstep-title{
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #f4ede3;
  margin-bottom: 8px;
}

/* Subtext */
.flowband--dark .flowstep-sub{
  color: rgba(255,255,255,0.75);
  font-size: .92rem;
  line-height: 1.4;
}

/* Pfeile */
.flowband--dark .flowarrow{
  color: rgba(255,255,255,0.35);
  font-size: 1.5rem;
  font-weight: 600;
}

/* KI Highlight */
.flowband--dark .flowstep--accent{
  background: linear-gradient(
    145deg,
    oklch(0.62 0.15 52 / 0.20),
    rgba(255,255,255,0.05)
  );
  border: 1px solid oklch(0.62 0.15 52 / 0.55);
}

.flowband--dark .flowstep--accent .flowstep-title{
  color: var(--accent);
}

.flowband--dark .flowstep--accent .flowstep-sub{
  color: rgba(255,255,255,0.9);
}

/* Mobile */
@media (max-width: 980px){
  .flowband--dark .flowband-inner{
    grid-template-columns: 1fr;
  }
  .flowband--dark .flowarrow{
    display:none;
  }
}

/* =========================
   CASE GRID
========================= */

.cases-grid{
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.case-card{
  background: var(--bg-page);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(12, 22, 43, 0.08);
  transition: all .25s ease;
}

.case-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(12, 22, 43, 0.15);
}

.case-icon{
  font-size: 22px;
  margin-bottom: 18px;
}

.case-card h3{
  margin-bottom: 15px;
}

.case-card p{
  margin-bottom: 18px;
  color: var(--text-muted);
}

.case-result{
  font-weight: 600;
  color: var(--navy);
}

/* Responsive */
@media (max-width: 1000px){
  .cases-grid{
    grid-template-columns: 1fr;
  }
}


/* =========================
   CASE HEADER CENTERED
========================= */

.cases-header{
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.cases-header .section-eyebrow{
  margin-bottom: 15px;
}

.cases-header h2{
  margin-bottom: 20px;
}

.cases-header .section-intro{
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}


/* =========================
   AGENTWERK MOTION HIGHLIGHTS
========================= */

/* Dezente Lichttiefe im Hero – bewusst langsam und unaufdringlich */
.hero::before{
  content: "";
  position: absolute;
  width: clamp(18rem, 34vw, 34rem);
  aspect-ratio: 1;
  top: 7%;
  right: 7%;
  border-radius: 50%;
  background: oklch(0.62 0.15 52 / 0.2);
  filter: blur(54px);
  opacity: 0.55;
  pointer-events: none;
  animation: aw-ambient-drift 12s ease-in-out infinite alternate;
}

@keyframes aw-ambient-drift{
  from{ transform: translate3d(-2%, -1%, 0) scale(0.96); }
  to{ transform: translate3d(5%, 4%, 0) scale(1.05); }
}

/* Elemente bleiben ohne JavaScript vollständig sichtbar. */
.motion-ready .aw-reveal{
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--aw-delay, 0ms),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--aw-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .aw-reveal--left{
  transform: translate3d(-34px, 0, 0);
}

.motion-ready .aw-reveal--right{
  transform: translate3d(34px, 0, 0);
}

.motion-ready .aw-reveal.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Terrakotta-Signatur unter wichtigen Abschnittsüberschriften */
.section-header .section-eyebrow::after,
.cases-header .section-eyebrow::after,
.process-header .process-eyebrow::after{
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0.8rem auto 0;
  background: var(--accent);
  transform: scaleX(0.15);
  transform-origin: center;
  opacity: 0.45;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s, opacity 0.9s ease 0.18s;
}

.section-header.is-visible .section-eyebrow::after,
.cases-header.is-visible .section-eyebrow::after,
.process-header.is-visible .process-eyebrow::after{
  transform: scaleX(1);
  opacity: 1;
}

/* Karten reagieren mit minimaler Tiefe und einer feinen Akzentlinie. */
.stack-card,
.process-step{
  position: relative;
  overflow: hidden;
}

.stack-card::before,
.process-step::before{
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.stack-card:hover::before,
.stack-card:focus-within::before,
.process-step:hover::before,
.process-step:focus-within::before{
  transform: scaleX(1);
}

.motion-ready .stack-card.aw-reveal.is-visible:hover,
.motion-ready .process-step.aw-reveal.is-visible:hover{
  transform: translate3d(0, -5px, 0);
}

.stack-card:hover{
  border-color: oklch(0.62 0.15 52 / 0.68);
  box-shadow: 0 18px 38px rgba(12, 22, 43, 0.13);
}

.process-step:hover{
  border-color: oklch(0.62 0.15 52 / 0.48);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

.case-image{
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.case-card:hover .case-image{
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

/* Kurzer Lichtreflex auf den primären Handlungsaufforderungen */
.btn-primary{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary::after{
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -45%;
  width: 28%;
  background: rgba(255, 255, 255, 0.22);
  transform: skewX(-20deg) translateX(-220%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px oklch(0.19 0.035 260 / 0.2);
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after{
  transform: skewX(-20deg) translateX(620%);
}

@media (max-width: 760px){
  .motion-ready .aw-reveal--left,
  .motion-ready .aw-reveal--right{
    transform: translate3d(0, 20px, 0);
  }

  .motion-ready .aw-reveal.is-visible{
    transform: translate3d(0, 0, 0);
  }

  .hero::before{
    width: 22rem;
    top: 2%;
    right: -9rem;
    opacity: 0.4;
  }
}

/* =========================
   Team & KI-Agenten
========================= */

.team-hero{
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 85% 20%, oklch(0.62 0.15 52 / 0.22), transparent 34%), var(--bg-hero);
  border-bottom: 1px solid var(--border-soft);
}

.team-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.team-back-link{
  display: inline-flex;
  margin-bottom: 1.6rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.team-back-link:hover,
.team-back-link:focus-visible{
  color: var(--navy);
}

.team-hero h1{
  max-width: 13ch;
}

.team-hero-lead{
  max-width: 44rem;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.team-model-card{
  padding: clamp(1.7rem, 3.5vw, 2.7rem);
  border: 1px solid oklch(0.62 0.15 52 / 0.25);
  border-radius: 1.15rem;
  background: var(--bg-dark);
  color: var(--bg-page);
  box-shadow: var(--shadow-soft);
}

.team-model-eyebrow,
.team-principle-label,
.team-home-label{
  font-family: "IBM Plex Mono", monospace;
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.team-model-card h2{
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.team-model-facts{
  display: grid;
  gap: 0;
  margin: 1.7rem 0;
}

.team-model-facts > div{
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.team-model-facts > div:last-child{
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.team-model-facts dt{
  color: var(--accent-soft);
  font-family: "Newsreader", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.team-model-facts dd{
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.team-model-note{
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.65;
}

.team-section-header{
  max-width: 58rem;
  margin-inline: auto;
}

.human-team-section{
  background: var(--bg-page);
}

.human-team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.human-card{
  min-height: 330px;
  padding: 1.6rem;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  background: var(--bg-panel);
  box-shadow: 0 12px 30px rgba(12, 22, 43, 0.08);
}

.human-card--confirmed{
  border-top: 3px solid var(--accent);
}

.human-card--pending{
  border-style: dashed;
  box-shadow: none;
  background: oklch(0.94 0.016 80 / 0.58);
}

.human-avatar{
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.65);
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent-soft);
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.human-card--pending .human-avatar{
  background: transparent;
  color: var(--text-muted);
}

.human-card-status{
  font-family: "IBM Plex Mono", monospace;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.human-card h3{
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
  font-size: 1.75rem;
}

.human-role{
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.human-description{
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.team-draft-note{
  max-width: 58rem;
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: oklch(0.62 0.15 52 / 0.1);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.team-principle{
  padding: 3.3rem 0;
  background: var(--bg-dark);
  color: #fff;
}

.team-principle-inner{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.team-principle h2{
  margin: 0;
  color: #fff;
}

.team-principle p{
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.ai-team-section{
  background: var(--bg-hero);
}

.ai-team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ai-agent-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid oklch(0.62 0.15 52 / 0.38);
  border-radius: 0.9rem;
  background: var(--bg-panel);
}

.ai-agent-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 1.45rem;
  width: 3rem;
  height: 3px;
  background: var(--accent);
}

.ai-agent-head{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.3rem 0 1.1rem;
}

.ai-agent-code{
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.ai-agent-number{
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.ai-agent-card h3{
  font-size: 1.55rem;
}

.ai-agent-card p{
  margin-bottom: 1.15rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.ai-agent-domain{
  font-family: "IBM Plex Mono", monospace;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-soft);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-collaboration-section{
  background: var(--bg-page);
}

.team-collaboration-grid{
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.team-collaboration-list{
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-collaboration-list li{
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-soft);
}

.team-collaboration-list li:last-child{
  border-bottom: 1px solid var(--border-soft);
}

.team-collaboration-list > li > span{
  color: var(--accent);
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.team-collaboration-list strong{
  color: var(--navy);
}

.team-collaboration-list p{
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-home-teaser{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 2.4rem;
  max-width: 62rem;
  margin: 2.2rem auto 0;
  padding: 1.7rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.35);
  border-radius: 1rem;
  background: var(--bg-dark);
  box-shadow: 0 14px 34px oklch(0.19 0.035 260 / 0.16);
}

.team-home-teaser h3{
  color: #fff;
  font-size: 1.75rem;
}

.team-home-teaser p{
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.team-home-action{
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.6rem;
}

.team-home-action > span{
  font-family: "IBM Plex Mono", monospace;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-home-action .btn-secondary{
  font-family: "IBM Plex Mono", monospace;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.team-home-action .btn-secondary:hover,
.team-home-action .btn-secondary:focus-visible{
  border-color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px){
  .team-hero-grid,
  .team-principle-inner,
  .team-collaboration-grid{
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .team-hero h1{
    max-width: 17ch;
  }

  .human-team-grid,
  .ai-team-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  .team-hero{
    padding: 2.6rem 0 3.2rem;
  }

  .team-hero-grid{
    grid-template-columns: minmax(0, 1fr);
  }

  .team-hero h1{
    font-size: clamp(2.65rem, 13vw, 3.5rem);
    overflow-wrap: normal;
  }

  .team-model-card{
    padding: 1.4rem;
  }

  .human-team-grid,
  .ai-team-grid,
  .team-home-teaser{
    grid-template-columns: 1fr;
  }

  .human-card,
  .ai-agent-card{
    min-height: 0;
  }

  .team-home-teaser{
    gap: 1.4rem;
  }

  .team-home-action .btn-secondary{
    font-family: "IBM Plex Mono", monospace;
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce){
  .hero::before{
    animation: none;
  }

  .motion-ready .aw-reveal,
  .motion-ready .aw-reveal--left,
  .motion-ready .aw-reveal--right{
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-header .section-eyebrow::after,
  .cases-header .section-eyebrow::after,
  .process-header .process-eyebrow::after,
  .case-image,
  .btn-primary,
  .btn-primary::after{
    font-family: "IBM Plex Mono", monospace;
    animation: none;
    transition: none;
  }
}

/* Spätere Desktop-Navigationsregeln dürfen das Tablet-/Mobilmenü nicht öffnen. */
@media (max-width: 1100px){
  .nav{
    font-family: "IBM Plex Mono", monospace;
    position: absolute;
    inset: 100% 0 auto 0;
    padding: 0.9rem 1.6rem 1.1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    background: oklch(0.965 0.013 83 / 0.98);
    border-bottom: 1px solid rgba(193, 139, 115, 0.9);
    display: none;
  }

  .nav.is-open{
    display: flex;
  }

  .nav-toggle{
    display: block;
  }

  .nav-cta{
    font-family: "IBM Plex Mono", monospace;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px){
  .hero-panel-wrap{
    order: initial;
    margin-top: 0.8rem;
  }
}

@media (max-width: 520px){
  .hero-panel-rows{
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-panel--stack .hero-panel-pill{
    padding: 0.85rem 1rem;
  }
}


/* =========================
   RECHTLICHE SEITEN
========================= */

.legal-page{
  background: #f8f2e9;
  color: var(--text-main);
}

.legal-page main a,
.legal-footer a{
  text-decoration: underline;
  text-decoration-color: oklch(0.62 0.15 52 / 0.85);
  text-underline-offset: 0.2em;
}

.legal-header .header-inner{
  min-height: 92px;
  padding: 0.65rem 0;
}

.legal-header .brand-logo{
  height: 72px;
  max-width: min(360px, 58vw);
}

.legal-header-back{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--navy-soft);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.legal-header-back:hover,
.legal-header-back:focus-visible{
  background: #fffaf3;
  border-color: var(--accent);
}

.legal-container{
  width: min(1180px, calc(100% - 3.2rem));
  margin: 0 auto;
}

.legal-hero{
  position: relative;
  overflow: hidden;
  padding: clamp(3.8rem, 8vw, 6.8rem) 0 clamp(3.2rem, 6vw, 5.3rem);
  background:
    radial-gradient(circle at 82% 22%, oklch(0.62 0.15 52 / 0.28), transparent 25rem),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--navy-soft) 100%);
}

.legal-hero::after{
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -6rem;
  bottom: -11rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.28);
  border-radius: 50%;
}

.legal-eyebrow{
  margin-bottom: 0.8rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.legal-hero h1{
  max-width: 900px;
  margin-bottom: 0.75rem;
  color: #fffaf3;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0.025em;
}

.legal-lead{
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 243, 0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.legal-main{
  padding: clamp(3rem, 6vw, 5.6rem) 0 6rem;
}

.legal-layout{
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.8rem);
  align-items: start;
}

.legal-aside{
  position: sticky;
  top: 132px;
  padding: 1.45rem;
  background: rgba(255, 250, 243, 0.68);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.legal-aside p{
  margin-bottom: 1.1rem;
}

.legal-status{
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.34rem 0.68rem;
  background: oklch(0.62 0.15 52 / 0.18);
  border: 1px solid rgba(140, 81, 55, 0.38);
  border-radius: 999px;
  color: #532d1c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc{
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.legal-toc a{
  color: var(--navy-soft);
  text-decoration: none;
}

.legal-content{
  min-width: 0;
}

.legal-alert{
  margin-bottom: 1.4rem;
  padding: 1.45rem 1.6rem;
  background: #fff1ce;
  border: 1px solid #cc5f2f;
  border-left: 5px solid #8b3f1e;
  border-radius: 0.8rem;
  color: #3b2318;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-alert strong{
  display: block;
  margin-bottom: 0.35rem;
  color: #39250f;
  font-size: 1.02rem;
}

.legal-alert p,
.legal-note p,
.legal-inline-status p{
  margin: 0;
}

.legal-card{
  scroll-margin-top: 130px;
  margin-bottom: 1.2rem;
  padding: clamp(1.45rem, 4vw, 2.25rem);
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(12, 22, 43, 0.06);
}

.legal-card h2[id]{
  scroll-margin-top: 130px;
}

.legal-card h2{
  margin-bottom: 1.1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.025em;
}

.legal-card h2::after{
  content: "";
  display: block;
  width: 2.6rem;
  height: 1px;
  margin-top: 0.7rem;
  background: var(--accent);
}

.legal-card h3{
  margin: 2rem 0 0.75rem;
  color: var(--navy-soft);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.legal-card h2 + h3{
  margin-top: 0;
}

.legal-card h4{
  margin: 1.35rem 0 0.5rem;
  color: var(--navy-soft);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.legal-card p,
.legal-card li,
.legal-address,
.legal-facts{
  color: #514a42;
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-card p{
  margin-bottom: 1rem;
}

.legal-card p:last-child{
  margin-bottom: 0;
}

.legal-card a{
  overflow-wrap: anywhere;
}

.legal-address{
  margin: 0;
  font-style: normal;
}

.legal-address strong{
  color: var(--navy-soft);
}

.legal-placeholder{
  display: inline;
  padding: 0.09rem 0.25rem;
  background: #fff0be;
  color: #4b2718;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.legal-facts{
  margin: 0;
}

.legal-facts-spaced{
  margin-top: 1.2rem;
}

.legal-facts > div{
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid oklch(0.19 0.035 260 / 0.72);
}

.legal-facts > div:last-child{
  border-bottom: 0;
}

.legal-facts dt{
  color: var(--navy-soft);
  font-weight: 700;
}

.legal-facts dd{
  margin: 0;
}

.legal-inline-status{
  margin-top: 1.2rem;
  padding: 1.1rem 1.2rem;
  background: oklch(0.62 0.15 52 / 0.12);
  border: 1px solid rgba(140, 81, 55, 0.28);
  border-radius: 0.72rem;
  color: #45322a;
  font-size: 0.91rem;
  line-height: 1.65;
}

.legal-inline-status strong{
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy-soft);
}

.legal-emphasis{
  margin: 1rem 0 1.4rem;
  padding: 1.15rem 1.25rem;
  background: oklch(0.62 0.15 52 / 0.12);
  border: 1px solid rgba(140, 81, 55, 0.32);
  border-left: 4px solid var(--accent);
  border-radius: 0.72rem;
}

.legal-emphasis p{
  color: var(--text-main);
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.7;
}

.legal-list{
  margin: 0.8rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-list li + li{
  margin-top: 0.35rem;
}

.legal-source{
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid oklch(0.19 0.035 260 / 0.72);
  color: var(--text-muted) !important;
  font-size: 0.84rem !important;
}

.legal-note{
  margin-top: 1.6rem;
  padding: 1.25rem 1.4rem;
  background: var(--navy-soft);
  border-radius: 0.8rem;
  color: rgba(255, 250, 243, 0.84);
  font-size: 0.88rem;
  line-height: 1.65;
}

.legal-updated{
  margin: 1.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: right;
}

.legal-footer{
  padding-top: 0;
}

.legal-footer .footer-bottom{
  margin-top: 0;
}

.legal-footer a[aria-current="page"]{
  color: var(--accent-soft);
}

@media (max-width: 860px){
  .legal-layout{
    grid-template-columns: 1fr;
  }

  .legal-aside{
    position: static;
  }

  .legal-toc{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================
   BRANCHEN, LOKALE SEO & KI-WORKFLOW
========================= */

.nav a[aria-current="page"]{
  color: var(--navy);
}

html,
body{
  overflow-x: hidden;
  overflow-x: clip;
}

.footer-local-signal{
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.55;
}

.local-proof-strip{
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--navy-soft);
  border-top: 1px solid oklch(0.62 0.15 52 / 0.24);
  border-bottom: 1px solid oklch(0.62 0.15 52 / 0.24);
}

.local-proof-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.local-proof-item{
  font-family: "IBM Plex Mono", monospace;
  padding: 1.15rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.local-proof-item:last-child{
  border-right: 0;
}

.local-proof-item strong{
  display: block;
  margin-bottom: 0.18rem;
  color: var(--accent-soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.industry-showcase{
  background:
    radial-gradient(circle at 88% 4%, oklch(0.62 0.15 52 / 0.16), transparent 28rem),
    var(--bg-page);
}

.industry-intro-grid{
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.34fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: 2.4rem;
}

.industry-intro-grid .section-header{
  margin-bottom: 0;
  text-align: left;
}

.industry-intro-grid .section-intro{
  margin-left: 0;
}

.industry-context-note{
  padding: 1.35rem 1.45rem;
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid var(--border-soft);
  border-radius: 0.9rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.industry-context-note strong{
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy-soft);
}

.industry-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.industry-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 1.65rem;
  overflow: hidden;
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(12, 22, 43, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.industry-card::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0.22);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.industry-card:hover,
.industry-card:focus-within{
  transform: translateY(-4px);
  border-color: oklch(0.62 0.15 52 / 0.72);
  box-shadow: 0 18px 38px rgba(12, 22, 43, 0.12);
}

.industry-card:hover::before,
.industry-card:focus-within::before{
  transform: scaleY(1);
}

.industry-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.industry-mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.52);
  border-radius: 50%;
  background: oklch(0.62 0.15 52 / 0.1);
  color: #5a3422;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.industry-number{
  color: oklch(0.24 0.035 260 / 0.28);
  font-family: "Newsreader", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.industry-card h3{
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
}

.industry-card p{
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.68;
}

.industry-card-link{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--navy-soft);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}

.industry-card-link::after{
  content: "→";
  transition: transform 0.2s ease;
}

.industry-card-link:hover::after,
.industry-card-link:focus-visible::after{
  transform: translateX(4px);
}

.industry-teaser-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 2.2rem;
}

.industry-teaser-link{
  min-height: 104px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid oklch(0.62 0.15 52 / 0.32);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.industry-teaser-link span{
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.industry-teaser-link:hover,
.industry-teaser-link:focus-visible{
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.workflow-demo{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, oklch(0.62 0.15 52 / 0.2), transparent 27rem),
    var(--bg-dark);
  color: #fff;
}

.workflow-demo::after{
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -11rem;
  bottom: -14rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.2);
  border-radius: 50%;
}

.workflow-demo .section-eyebrow,
.workflow-demo .section-title,
.workflow-demo .section-intro{
  color: inherit;
}

.workflow-demo .section-intro{
  color: rgba(255, 255, 255, 0.7);
}

.workflow-layout{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.74fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 2.4rem;
}

.workflow-rail{
  display: grid;
  gap: 0.8rem;
}

.workflow-step-card{
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.85rem;
}

.workflow-step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid oklch(0.62 0.15 52 / 0.55);
  border-radius: 50%;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.workflow-step-card h3{
  margin-bottom: 0.3rem;
  color: #fff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.workflow-step-card p{
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  line-height: 1.62;
}

.savings-panel{
  padding: clamp(1.4rem, 4vw, 2rem);
  background: #fffaf3;
  border: 1px solid oklch(0.62 0.15 52 / 0.64);
  border-radius: 1rem;
  color: var(--text-main);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.savings-kicker{
  font-family: "IBM Plex Mono", monospace;
  margin-bottom: 0.45rem;
  color: #623926;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.savings-panel h3{
  margin-bottom: 0.6rem;
  font-size: 1.75rem;
}

.savings-copy{
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.savings-fields{
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.savings-field{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.7rem;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}

.savings-field label{
  color: var(--navy-soft);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.savings-input{
  width: 100%;
  min-height: 42px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border-soft);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--navy-soft);
  font: inherit;
  font-size: 0.9rem;
  text-align: right;
}

.savings-input:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.savings-results{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.savings-result{
  padding: 1rem;
  background: oklch(0.62 0.15 52 / 0.12);
  border: 1px solid oklch(0.62 0.15 52 / 0.34);
  border-radius: 0.7rem;
}

.savings-result-label{
  font-family: "IBM Plex Mono", monospace;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.savings-result strong{
  display: block;
  color: var(--navy);
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.05;
}

.savings-disclaimer{
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.industry-detail-hero{
  padding: clamp(3.4rem, 7vw, 5.8rem) 0;
  background:
    radial-gradient(circle at 82% 20%, oklch(0.62 0.15 52 / 0.27), transparent 25rem),
    linear-gradient(135deg, #f8ead6 0%, var(--bg-hero) 58%, #d28f71 100%);
}

.industry-detail-header .nav{
  gap: 1.65rem;
}

.industry-detail-footer .footer-grid{
  grid-template-columns: 1.35fr 0.8fr 1fr;
}

.industry-breadcrumb{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  color: #57382b;
  font-size: 0.82rem;
  font-weight: 600;
}

.industry-detail-hero h1{
  max-width: 980px;
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
}

.industry-detail-lead{
  max-width: 780px;
  color: #5f554b;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.industry-detail-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.45rem;
}

.industry-detail-meta span{
  padding: 0.42rem 0.75rem;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(93, 54, 36, 0.24);
  border-radius: 999px;
  color: #543222;
  font-size: 0.75rem;
}

.industry-problem-solution{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.industry-panel{
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}

.industry-panel--navy{
  background: var(--navy-soft);
  border-color: oklch(0.62 0.15 52 / 0.24);
  color: #fff;
}

.industry-panel h2{
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.industry-panel--navy h2{
  color: #fff;
}

.industry-panel p,
.industry-panel li{
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.industry-panel--navy p,
.industry-panel--navy li{
  color: rgba(255, 255, 255, 0.7);
}

.industry-usecase-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.industry-usecase-card{
  padding: 1.5rem;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid var(--border-soft);
  border-radius: 0.9rem;
}

.industry-usecase-card span{
  font-family: "IBM Plex Mono", monospace;
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #623926;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.industry-usecase-card h3{
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.industry-usecase-card p{
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.industry-flow{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  counter-reset: industry-flow;
}

.industry-flow-step{
  position: relative;
  padding: 1.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 0;
}

.industry-flow-step:first-child{
  border-radius: 0.8rem 0 0 0.8rem;
}

.industry-flow-step:last-child{
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0.8rem 0.8rem 0;
}

.industry-flow-step::before{
  counter-increment: industry-flow;
  content: "0" counter(industry-flow);
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.industry-flow-step strong{
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.9rem;
}

.industry-flow-step p{
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
  line-height: 1.55;
}

.industry-faq{
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.industry-faq details{
  padding: 1rem 1.2rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
}

.industry-faq summary{
  cursor: pointer;
  color: var(--navy-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.industry-faq details p{
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.industry-disclaimer{
  max-width: 820px;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

/* Branchen-Querverweis am Seitenende der einzelnen Branchenseiten:
   alle 12 Branchen zum direkten Durchklicken, aktuelle Seite wird
   als nicht-klickbares "Sie sind hier" markiert. */
.industry-crosslink-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.industry-crosslink-item{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 0.65rem;
  background: rgba(255, 252, 247, 0.75);
  color: var(--navy-soft);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.industry-crosslink-item:hover,
.industry-crosslink-item:focus-visible{
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-2px);
}

.industry-crosslink-item .industry-mark{
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.industry-crosslink-item.is-current{
  cursor: default;
  border-color: oklch(0.62 0.15 52 / 0.75);
  background: oklch(0.62 0.15 52 / 0.16);
  color: var(--navy);
}

.industry-crosslink-item.is-current:hover{
  transform: none;
}

.industry-crosslink-current-note{
  font-family: "IBM Plex Mono", monospace;
  display: block;
  margin-top: 0.15rem;
  color: oklch(0.24 0.035 260 / 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry-crosslink-more{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--navy-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}

.industry-crosslink-more::after{
  content: "→";
  transition: transform 0.2s ease;
}

.industry-crosslink-more:hover::after,
.industry-crosslink-more:focus-visible::after{
  transform: translateX(4px);
}

.industry-crosslink-more + .industry-crosslink-more{
  margin-left: 2rem;
}

@media (max-width: 560px){
  .industry-crosslink-more + .industry-crosslink-more{
    margin-left: 0;
    display: flex;
  }
}

@media (max-width: 1180px){
  .industry-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-teaser-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .industry-crosslink-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  .workflow-layout,
  .industry-intro-grid{
    grid-template-columns: 1fr;
  }

  .industry-usecase-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-flow{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .industry-flow-step,
  .industry-flow-step:first-child,
  .industry-flow-step:last-child{
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
  }

  .industry-detail-footer .footer-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  .local-proof-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-proof-item:nth-child(2){
    border-right: 0;
  }

  .local-proof-item:nth-child(-n+2){
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .industry-grid,
  .industry-problem-solution,
  .industry-usecase-grid{
    grid-template-columns: 1fr;
  }

  .industry-card{
    min-height: 0;
  }

  .industry-teaser-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-crosslink-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-detail-hero h1{
    overflow-wrap: anywhere;
  }

  .industry-detail-footer .footer-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .workflow-step-card{
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding: 1rem;
  }

  .workflow-step-num{
    width: 2.35rem;
    height: 2.35rem;
  }

  .savings-field{
    grid-template-columns: minmax(0, 1fr) 5rem;
  }

  .savings-results,
  .industry-flow{
    grid-template-columns: 1fr;
  }

  .industry-teaser-grid{
    grid-template-columns: 1fr;
  }

  .industry-teaser-link{
    min-height: 86px;
  }
}

@media (prefers-reduced-motion: reduce){
  .industry-card,
  .industry-card::before,
  .industry-card-link::after{
    transition: none;
  }
}

@media (max-width: 560px){
  .legal-container{
    width: min(100% - 2rem, 1180px);
  }

  .legal-header .header-inner{
    min-height: 76px;
  }

  .legal-header .brand-logo{
    height: 56px;
    max-width: 55vw;
  }

  .legal-header-back{
    padding: 0.58rem 0.78rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .legal-hero h1{
    font-size: clamp(2.25rem, 10vw, 2.75rem);
    overflow-wrap: normal;
  }

  .legal-toc{
    grid-template-columns: 1fr;
  }

  .legal-facts > div{
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .legal-card{
    border-radius: 0.8rem;
  }

  .legal-updated{
    text-align: left;
  }
}

/* =========================
   Zentrale Seitenhülle
   Header und Footer werden aus /partials geladen.
========================= */

.site-shell-slot--header{
  min-height: 132px;
  background: oklch(0.965 0.013 83 / 0.94);
  border-bottom: 1px solid rgba(193, 139, 115, 0.8);
}

.site-shell-slot--footer{
  min-height: 280px;
  background: var(--bg-dark);
}

.site-shell-slot--failed{
  min-height: 0;
}

.site-header .nav a[aria-current="page"]::after{
  width: 100%;
}

.site-header .nav > a{
  white-space: nowrap;
}

.site-header .nav-cta[aria-current="page"]{
  background: oklch(0.15 0.035 260);
  /* Ohne diese explizite Farbe wuerde die aeltere Regel
     ".nav a[aria-current=page]" (weiter oben in dieser Datei,
     Navy-Text) gewinnen - auf der Kontakt/Projektanfrage-Seite
     selbst waere der Button-Text dann navy auf navy, quasi
     unsichtbar. */
  color: #fff;
}

.site-header .nav-cta::after{
  display: none;
}

.site-footer a[aria-current="page"]{
  color: #fff;
}

.site-header .nav-toggle span{
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1320px) and (min-width: 1121px){
  .site-header .header-container{
    padding-inline: 1.25rem;
  }

  .site-header .nav{
    gap: 1.15rem;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
  }

  .site-header .brand-logo{
    height: 88px;
    max-width: 280px;
  }

  .site-header .nav-cta{
    padding-inline: 1.25rem;
  }
}

@media (max-width: 1120px){
  .site-shell-slot--header{
    min-height: 84px;
  }

  .site-header .header-inner{
    position: relative;
    min-height: 82px;
    padding-block: 0.65rem;
  }

  .site-header .brand-logo,
  .site-header.is-scrolled .brand-logo{
    height: 76px;
    max-width: min(320px, 68vw);
  }

  .site-header .nav-toggle{
    display: block;
    position: relative;
    z-index: 2;
    padding: 0.65rem;
    margin-right: -0.65rem;
  }

  .site-header .nav{
    position: absolute;
    top: 100%;
    left: -2rem;
    right: -2rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 0.7rem 2rem 1.25rem;
    background: oklch(0.965 0.013 83 / 0.99);
    border-bottom: 1px solid rgba(193, 139, 115, 0.9);
    box-shadow: 0 14px 28px oklch(0.19 0.035 260 / 0.12);
    font-size: 0.9rem;
  }

  .site-header .nav.is-open{
    display: flex;
  }

  .site-header .nav a{
    width: 100%;
    padding: 0.72rem 0;
  }

  .site-header .nav-cta{
    margin-top: 0.55rem;
    padding: 0.8rem 1.25rem;
    text-align: center;
  }
}

@media (max-width: 760px){
  .site-shell-slot--header{
    min-height: 72px;
  }

  .site-header .header-container{
    padding-inline: 1.25rem;
  }

  .site-header .header-inner{
    min-height: 70px;
  }

  .site-header .brand-logo,
  .site-header.is-scrolled .brand-logo{
    height: 66px;
    max-width: min(270px, 72vw);
  }

  .site-header .nav{
    left: -1.25rem;
    right: -1.25rem;
    max-height: calc(100vh - 70px);
    padding-inline: 1.25rem;
  }

  .site-shell-slot--footer{
    min-height: 520px;
  }
}

/* =========================================================
   Hauptnavigation – Seitenpanel (Off-Canvas), ueberarbeitet 2026-08-10
   Bewusst als einziger, unconditional gueltiger Block ans Dateiende
   gesetzt: gewinnt gegen die aelteren, breakpoint-gebundenen
   Nav-Regeln weiter oben in dieser Datei, ohne diese loeschen zu
   muessen. Menue ist immer ein Hamburger, oeffnet als schmales
   Panel von rechts (nicht mehr Vollbild) mit abgedunkeltem Rest
   der Seite dahinter. Auf schmalen Bildschirmen (Handy) ist das
   Panel praktisch vollflaechig, weil der Bildschirm selbst schmal ist.
========================================================= */

.site-header .nav-toggle{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  background-color: transparent;
  appearance: none;
  position: relative;
  z-index: 60;
}

.site-header .nav-toggle span{
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--navy);
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2){
  opacity: 0;
}
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

.site-header .nav{
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(840px, 100%) !important;
  height: 100vh !important;
  max-height: none !important;
  z-index: 50;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 10px 1.75rem 2rem;
  background: var(--bg-page);
  overflow-y: auto;
  font-size: 1rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
  box-shadow: -100vw 0 0 100vw oklch(0.19 0.035 260 / 0.45);
  -webkit-overflow-scrolling: touch;
  /* !important hier bewusst: es gibt mehrere aeltere max-height/Positions-
     Regeln fuer .site-header .nav weiter oben in dieser Datei (Zeile ~4424,
     ~4471), die sonst je nach Bildschirmbreite noch durchschlagen koennten. */
}

.site-header .nav.is-open{
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s ease, visibility 0s linear 0s;
}

.site-header .nav > a,
.site-header .nav > .nav-item > .nav-link{
  display: block;
  width: 100%;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-soft);
}

/* Logo oben im Off-Canvas-Panel, verlinkt zur Startseite.
   Selektor bewusst so spezifisch wie ".site-header .nav > a" oben,
   sonst gewinnt dessen padding-Regel trotz spaeterer Position im File. */
.site-header .nav > a.nav-brand{
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 0 0 0.8rem;
  margin-bottom: 0;
  border-bottom: none;
}

.site-header .nav-brand-logo{
  height: 88px;
  width: auto;
}

.site-header .nav-item.nav-dropdown{
  width: 100%;
}

/* Branchen-Untermenue: als Spalten-Raster statt Hover-Panel.
   Bewusst normale Viewport-Media-Queries statt Container Queries:
   der Schwellenwert einer Container Query greift auf die Panel-
   Breite MINUS Padding, was auf echten Handy-Breiten (z.B. 375px)
   knapp unter der 360px-Schwelle lag und die 2-Spalten-Ansicht dort
   nicht zuverlaessig ausloeste. Mobile-Standard ist daher fest auf
   2 Spalten gesetzt, 3 Spalten erst ab spuerbar breiterem Panel. */
.site-header .nav-dropdown .dropdown{
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  border: none;
  background: transparent;
  min-width: 0;
  text-align: left;
  margin: 0;
  padding: 0.5rem 0 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1.2rem;
  border-bottom: 1px solid var(--border-soft);
}

@media (min-width: 700px){
  .site-header .nav-dropdown .dropdown{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-header .nav-dropdown .dropdown a{
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
  white-space: normal;
}

.site-header .nav-phone{
  display: block;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--navy-soft);
  font-weight: 500;
}

.site-header .nav-cta{
  display: inline-flex;
  width: auto;
  align-self: flex-start;
  margin-top: 1.1rem;
  padding: 0.85rem 2.1rem;
  text-align: center;
  justify-content: center;
}


