/* ==========================================================================
   GETZE CONSULTING – Stylesheet
   Design: Graphite / Lime · Editorial · Tech-Mittelstand
   ========================================================================== */

/* === DESIGN TOKENS ====================================================== */
:root {
  --bg: #0E0E10;
  --bg-elev: #1A1A1D;
  --bg-elev-2: #232327;
  --bg-deep: #000;

  --accent: #C5F048;
  --accent-soft: rgba(197, 240, 72, 0.06);
  --accent-border: rgba(197, 240, 72, 0.25);

  --text: #fff;
  --text-1: rgba(255, 255, 255, 0.85);
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.55);
  --text-4: rgba(255, 255, 255, 0.45);
  --text-muted: rgba(255, 255, 255, 0.30);

  --border-1: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.15);
  --border-3: rgba(255, 255, 255, 0.30);

  --container: 1140px;
  --content: 720px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Menlo', 'Cascadia Code', Consolas, monospace;
}

/* === RESET & BASE ======================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  font-size: 16px;
}

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

a { color: inherit; text-decoration: none; }
a.text-link { color: var(--accent); }
a.text-link:hover { text-decoration: underline; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
}

/* === LAYOUT ============================================================= */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 36px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 36px; }

@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
}

section {
  padding: 88px 0;
  border-top: 0.5px solid var(--border-1);
}
section:first-of-type { border-top: none; }
section.tight { padding: 56px 0; }
section.compact { padding: 40px 0 56px; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
  section.tight { padding: 40px 0; }
}

/* === TYPOGRAFIE ========================================================= */
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.eyebrow.muted { color: var(--text-3); }

h1, h2, h3, h4 {
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.018em; }
h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.015em; }
h4 { font-size: 15px; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 580px;
}

p { margin: 0 0 14px; color: var(--text-2); }
p:last-child { margin-bottom: 0; }
p.dim { color: var(--text-3); font-size: 13px; }
p.bright { color: var(--text); font-weight: 500; }

em { font-style: italic; color: var(--accent); font-weight: 500; }

.muted { color: var(--text-3); }
.subtle { color: var(--text-4); font-size: 13px; }

.section-title {
  max-width: 580px;
  margin-bottom: 14px;
}

.section-intro {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 28px;
}

/* === HEADER & NAVIGATION ================================================ */
.site-header {
  background: var(--bg);
  border-bottom: 0.5px solid var(--border-1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-text {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-3);
  font-weight: 500;
}

.nav { display: flex; gap: 22px; font-size: 13px; }
.nav a { color: var(--text-3); transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  padding: 4px 8px;
}

@media (max-width: 720px) {
  .site-header-inner { padding: 14px 24px; }
  .brand-text { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 0.5px solid var(--border-1);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a {
    padding: 14px 24px;
    border-top: 0.5px solid var(--border-1);
    font-size: 14px;
  }
}

/* === HERO =============================================================== */
.hero { padding: 88px 0 56px; }

.hero h1 .dim {
  color: var(--text-3);
  font-weight: 700;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 40px; }
  .hero-actions { gap: 10px; }
}

/* === BUTTONS ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.1s, opacity 0.15s;
  border: 0.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { opacity: 0.9; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--border-3); }

.btn-on-light {
  background: var(--bg);
  color: var(--accent);
}
.btn-on-light:hover { opacity: 0.9; }

/* === CARD =============================================================== */
.card {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.card-emphasis {
  border-color: var(--accent-border);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.1s;
}
.card-link:hover { border-color: rgba(255, 255, 255, 0.20); }

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.card-tag {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}
.card-tag.muted {
  color: var(--text-3);
  letter-spacing: 0.2em;
}

/* === LISTS, BULLETS, ARROWS ============================================ */
.bullet-list { list-style: none; padding: 0; margin: 0; }
.bullet-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.dash-list { list-style: none; padding: 0; margin: 0; }
.dash-list li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-3);
}

/* === KPI CARDS ========================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.kpi {
  background: var(--bg-elev);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
}
.kpi-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-4);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.kpi-value {
  display: block;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.kpi-sub {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

/* === QUOTE / CALLOUT ==================================================== */
.callout {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout strong { color: var(--accent); font-weight: 500; }

.quote {
  border-left: 2px solid var(--text);
  padding: 6px 0 6px 16px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-1);
}

.quote.accent {
  border-left-color: var(--accent);
}

/* === STAGES (Process Steps) ============================================ */
.stage {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.stage-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.stage-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-family: var(--font-mono);
}
.stage-name {
  font-weight: 700;
  font-size: 15px;
}
.stage-meta {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
}

/* === FUNNEL (corrected, no overlap) ===================================== */
.funnel { display: flex; flex-direction: column; gap: 6px; }
.funnel-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border-1);
}
.funnel-row:last-child { border-bottom: none; }

.funnel-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  font-weight: 500;
}
.funnel-bar-wrap {
  background: var(--border-1);
  border-radius: var(--radius-sm);
  height: 22px;
  overflow: hidden;
}
.funnel-bar {
  height: 100%;
  background: var(--bg-elev);
  border-radius: var(--radius-sm);
  border-right: 2px solid var(--text-3);
}
.funnel-bar.accent {
  background: var(--accent);
  border-right-color: var(--accent);
}
.funnel-value {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.funnel-value.accent {
  color: var(--accent);
}

@media (max-width: 720px) {
  .funnel-row {
    grid-template-columns: 130px 1fr 50px;
    gap: 8px;
  }
  .funnel-label { font-size: 9px; letter-spacing: 0.14em; }
  .funnel-value { font-size: 13px; }
}

/* === TIMELINE =========================================================== */
.timeline {
  position: relative;
  padding-left: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border-2);
}
.tl-item {
  position: relative;
  margin-bottom: 32px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -26px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-3);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border-2);
}
.tl-item.current .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.tl-date {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.16em;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.tl-item.current .tl-date { color: var(--accent); }
.tl-headline {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tl-company { font-weight: 700; font-size: 15px; }
.tl-role { font-size: 13px; color: var(--text-3); }

/* === DARK INPUT FORMS =================================================== */
.form-grid { display: grid; gap: 14px; }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  font-weight: 500;
}

.form-input,
.form-textarea {
  background: var(--bg);
  border: 0.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.55;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-checkbox {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  align-items: flex-start;
}
.form-checkbox input { margin-top: 2px; flex-shrink: 0; }
.form-checkbox a { color: var(--accent); text-decoration: underline; }

.form-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: none;
}
.form-status.show { display: block; }
.form-status.success {
  background: rgba(197, 240, 72, 0.1);
  color: var(--accent);
  border: 0.5px solid var(--accent-border);
}
.form-status.error {
  background: rgba(255, 100, 100, 0.1);
  color: #ff7676;
  border: 0.5px solid rgba(255, 100, 100, 0.3);
}

/* Honeypot for anti-spam */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* === PILLS ============================================================== */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  background: var(--bg);
  border: 0.5px solid var(--border-2);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--text-2);
}
.pill.accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 500;
}

/* === TRUST-PILLS (Hero) ================================================ */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elev);
  border: 0.5px solid var(--border-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-1);
  font-weight: 500;
}
.trust-check {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

/* === LIME CTA FOOTER (closing section) ================================= */
.cta-final {
  background: var(--accent);
  color: var(--bg);
  padding: 64px 0 44px;
  border-top: none;
}
.cta-final .eyebrow { color: rgba(14, 14, 16, 0.6); }
.cta-final h2 {
  color: var(--bg);
  font-size: clamp(26px, 3.5vw, 32px);
  margin-bottom: 18px;
  max-width: 580px;
}
.cta-final p {
  color: rgba(14, 14, 16, 0.78);
  max-width: 540px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
}
.cta-final .btn-on-light { background: var(--bg); color: var(--accent); }

.cta-footer-meta {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 0.5px solid rgba(14, 14, 16, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(14, 14, 16, 0.55);
  text-transform: uppercase;
}

/* === FOOTER (legal) ===================================================== */
.site-footer {
  background: var(--bg);
  padding: 36px 0 28px;
  border-top: 0.5px solid var(--border-1);
  font-size: 12px;
  color: var(--text-3);
}
.site-footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer a { color: var(--text-3); }
.site-footer a:hover { color: var(--text); }
.site-footer-links {
  display: flex;
  gap: 18px;
}

/* === LEGAL PAGES (Impressum / Datenschutz) ============================== */
.legal {
  padding: 80px 0;
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 28px;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 8px;
  color: var(--text);
}
.legal p { font-size: 14px; line-height: 1.7; color: var(--text-2); }
.legal ul { padding-left: 20px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }

/* === UTILITIES ========================================================== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-12 { gap: 12px; }
.gap-18 { gap: 18px; }
.flex-wrap { flex-wrap: wrap; }
.text-accent { color: var(--accent); }
.mt-12 { margin-top: 12px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.mb-12 { margin-bottom: 12px; }
.mb-22 { margin-bottom: 22px; }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }

/* === GRID HELPERS ======================================================= */
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
}

/* === SOLUTION-SPECIFIC: Architecture Flow =============================== */
.flow-step {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.flow-arrow {
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
  margin: 6px 0;
}
.flow-io {
  font-size: 11.5px;
  color: var(--text-4);
  font-family: var(--font-mono);
  margin-top: 6px;
}

/* === LEAD-MAGNET (PDF download form) ==================================== */
.lead-magnet {
  background: var(--bg-elev);
  border: 0.5px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 36px 0;
}
.lead-magnet h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}
.lead-magnet .form-grid { gap: 12px; max-width: 460px; }

/* === CONTACT-PAGE-SPECIFIC ============================================== */
.contact-card {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 18px;
}
.contact-card.featured {
  border-color: var(--accent-border);
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border-2);
  color: var(--text);
  gap: 12px;
  flex-wrap: wrap;
  transition: border-color 0.15s;
}
.contact-link:hover { border-color: var(--border-3); }
.contact-link-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-mono);
}
.contact-link-hint { font-size: 11px; color: var(--text-3); }

/* === KI-AGENTEN APP-BOX ================================================= */
.agent-app {
  background: var(--bg-elev);
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}

.agent-app-titlebar {
  background: var(--bg-elev-2);
  padding: 12px 20px;
  border-bottom: 0.5px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.agent-app-titlebar-name {
  font-size: 11px;
  color: var(--text-1);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.agent-app-titlebar-name .sep {
  color: var(--text-muted);
  margin: 0 8px;
}
.agent-app-titlebar-name .sub {
  color: var(--text-3);
  font-weight: 400;
}
.agent-app-titlebar-version {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.agent-app-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
}

/* Sidebar */
.agent-sidebar {
  background: var(--bg);
  border-right: 0.5px solid var(--border-1);
  padding: 20px 12px;
}
.agent-sidebar-label {
  font-size: 9px;
  color: var(--text-4);
  letter-spacing: 0.22em;
  padding: 0 8px 12px;
  margin-bottom: 8px;
  border-bottom: 0.5px solid var(--border-1);
}
.agent-tab {
  padding: 11px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.agent-tab:hover {
  background: rgba(255, 255, 255, 0.03);
}
.agent-tab.active {
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.agent-tab-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.agent-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.agent-tab.active .agent-tab-dot {
  background: var(--accent);
  animation: pulse 2s infinite;
}
.agent-tab-num {
  font-size: 9px;
  color: var(--text-4);
  letter-spacing: 0.2em;
  font-family: var(--font-mono);
}
.agent-tab.active .agent-tab-num {
  color: var(--accent);
}
.agent-tab-name {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  padding-left: 14px;
  line-height: 1.3;
}
.agent-tab.active .agent-tab-name {
  color: var(--text);
  font-weight: 600;
}

/* Main / Chat */
.agent-main {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.agent-main-header {
  padding: 16px 22px;
  border-bottom: 0.5px solid var(--border-1);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.agent-main-header-eyebrow {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 3px;
  font-family: var(--font-mono);
}
.agent-main-header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.agent-main-header-meta {
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: 0.15em;
}

.agent-chat {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.chat-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
}
.chat-avatar.user {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-1);
}
.chat-avatar.agent {
  background: var(--accent);
  color: var(--bg);
}
.chat-content {
  flex: 1;
  min-width: 0;
}
.chat-role {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
}
.chat-role.agent {
  color: var(--accent);
}
.chat-role-extra {
  color: var(--text-4);
  font-style: italic;
  font-weight: 400;
  margin-left: 6px;
}
.chat-bubble {
  padding: 11px 14px;
  border-radius: 4px 12px 12px 12px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 560px;
}
.chat-bubble.user {
  background: var(--bg-elev);
  color: var(--text);
}
.chat-bubble.agent {
  background: rgba(197, 240, 72, 0.07);
  border: 0.5px solid var(--accent-border);
  color: var(--text);
  line-height: 1.6;
  border-radius: 12px 4px 12px 12px;
  padding: 14px 16px;
}
.chat-bubble.agent strong {
  color: var(--accent);
}
.chat-source {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 0.5px solid var(--border-1);
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* Typing indicator */
.chat-typing {
  background: rgba(197, 240, 72, 0.04);
  border: 0.5px solid rgba(197, 240, 72, 0.15);
  padding: 12px 16px;
  border-radius: 12px 4px 12px 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.typing-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 2px;
  animation: typing-bounce 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0.32s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 240, 72, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(197, 240, 72, 0); }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Input area */
.agent-input {
  padding: 14px 22px;
  border-top: 0.5px solid var(--border-1);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
}
.agent-input-field {
  flex: 1;
  padding: 9px 13px;
  background: var(--bg-elev);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-1);
  border: 0.5px solid rgba(197, 240, 72, 0.35);
}
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 13px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s infinite;
}
.agent-input-button {
  background: var(--accent);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* Status bar */
.agent-statusbar {
  background: var(--bg);
  padding: 8px 18px;
  border-top: 0.5px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.agent-statusbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.agent-statusbar-connected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.agent-statusbar-connected::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hide non-active chat content */
.agent-content {
  display: none;
}
.agent-content.active {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Below-CTA */
.agent-below-cta {
  margin-top: 32px;
  max-width: 580px;
}

/* === SPRACHSCHALTER ==================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin-left: 12px;
  border: 0.5px solid var(--border-1);
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--text-3);
}
.lang-switch a {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}
.lang-switch a:hover {
  color: var(--accent);
}
.lang-switch strong {
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 720px) {
  .lang-switch {
    margin-left: 0;
    margin-top: 8px;
  }
}
.agent-below-cta p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-1);
  margin: 0 0 16px;
}

/* === AGENT-KACHELN (Detail-Übersicht) ================================== */
.agent-details-intro {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border-1);
  margin-bottom: 22px;
}
.agent-details-headline {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 560px;
}

.agent-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.agent-card {
  background: var(--bg-elev);
  border: 0.5px solid var(--border-1);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.agent-card-eyebrow {
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.22em;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.agent-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.agent-card-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0 0 16px;
}
.agent-card-tags {
  margin-bottom: 18px;
}
.agent-card-tags .pill {
  font-size: 10px;
  padding: 4px 9px;
}
.agent-card-cta {
  align-self: flex-start;
  padding: 9px 14px;
  font-size: 11px;
}

@media (max-width: 720px) {
  .agent-cards-grid {
    grid-template-columns: 1fr;
  }
  .agent-card {
    padding: 20px;
  }
}

/* Mobile responsive */
@media (max-width: 720px) {
  .agent-app-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .agent-sidebar {
    border-right: none;
    border-bottom: 0.5px solid var(--border-1);
    padding: 14px 10px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .agent-sidebar-label {
    display: none;
  }
  .agent-tab {
    flex-shrink: 0;
    min-width: 130px;
    margin-bottom: 0;
  }
  .agent-tab-name {
    font-size: 11px;
    white-space: normal;
  }
  .agent-app-titlebar-name .sep,
  .agent-app-titlebar-name .sub {
    display: none;
  }
  .agent-statusbar {
    font-size: 9px;
  }
  .agent-statusbar-left {
    gap: 8px;
  }
}

/* === RESPONSIVE TWEAKS ================================================== */
@media (max-width: 720px) {
  .hero h1 br { display: none; }
  .stage-meta { display: none; }
  .card { padding: 18px 20px; }
}
