/* =========================================================
   Licina AI & Modern Workplace Consulting
   Palette: Weiß / Anthrazit / Schwarz + Microsoft-Blau / Cyan
   ========================================================= */

:root {
  --ink: #16191d;            /* Anthrazit */
  --muted: #5b6672;
  --line: #dde3e9;
  --paper: #f7f8fa;
  --soft: #eef1f4;
  --card: #ffffff;
  --blue: #0f6cbd;           /* Microsoft-Blau (Fluent) */
  --blue-dark: #0b4f8a;
  --cyan: #00b7c3;
  --accent-gradient: linear-gradient(100deg, #0f6cbd 0%, #00b7c3 100%);
  --header-bg: rgba(255, 255, 255, 0.94);
  --hero-overlay:
    linear-gradient(90deg, rgba(247, 248, 250, 0.97) 0%, rgba(247, 248, 250, 0.92) 28%, rgba(22, 25, 29, 0.28) 58%, rgba(22, 25, 29, 0.48) 100%),
    linear-gradient(180deg, rgba(22, 25, 29, 0.08) 0%, rgba(22, 25, 29, 0.32) 100%);
  --hero-overlay-mobile:
    linear-gradient(180deg, rgba(247, 248, 250, 0.97) 0%, rgba(247, 248, 250, 0.90) 40%, rgba(22, 25, 29, 0.28) 70%, rgba(22, 25, 29, 0.48) 100%),
    linear-gradient(90deg, rgba(247, 248, 250, 0.85), rgba(22, 25, 29, 0.20));
  --shadow: 0 18px 48px rgba(22, 25, 29, 0.12);
  --radius: 8px;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #e8edf2;
  --muted: #9aa6b2;
  --line: #29313b;
  --paper: #0e1116;
  --soft: #141920;
  --card: #171d25;
  --blue: #4da3e8;
  --blue-dark: #7cbdf0;
  --cyan: #2cd3de;
  --header-bg: rgba(14, 17, 22, 0.92);
  --hero-overlay:
    linear-gradient(90deg, rgba(14, 17, 22, 0.96) 0%, rgba(14, 17, 22, 0.88) 31%, rgba(14, 17, 22, 0.42) 62%, rgba(14, 17, 22, 0.3) 100%),
    linear-gradient(180deg, rgba(14, 17, 22, 0.7), rgba(20, 25, 32, 0.78));
  --hero-overlay-mobile:
    linear-gradient(180deg, rgba(14, 17, 22, 0.96) 0%, rgba(14, 17, 22, 0.9) 56%, rgba(14, 17, 22, 0.45) 100%),
    linear-gradient(90deg, rgba(14, 17, 22, 0.9), rgba(14, 17, 22, 0.4));
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Segoe UI Variable Display",
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  z-index: 100;
  top: -48px;
  left: 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 12px 16px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 700;
  transition: top 160ms ease;
}

.skip-link:focus-visible {
  top: 0;
}

/* ---------- Passwort-Gate ---------- */

body.is-locked {
  overflow: hidden;
}

.preview-gate {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(244,247,250,0.95) 100%);
  backdrop-filter: blur(8px);
}

.preview-gate.is-unlocked {
  display: none;
}

.preview-login {
  width: min(100%, 460px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
  background: var(--card);
  box-shadow: var(--shadow);
}

.preview-login .brand-mark {
  margin-bottom: 24px;
}

.preview-login .section-kicker {
  margin-bottom: 8px;
}

.preview-login h1 {
  font-size: clamp(22px, 4vw, 30px);
  margin: 0 0 12px;
  line-height: 1.2;
}

.preview-login p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.preview-login label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.preview-login input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
}

.preview-login input[type="password"]:focus {
  outline: 3px solid color-mix(in srgb, var(--blue) 25%, transparent);
  border-color: var(--blue);
}

.preview-login .button {
  width: 100%;
  margin-top: 4px;
}

.login-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: #b3362a;
  font-size: 14px;
  font-weight: 700;
}

[data-theme="dark"] .preview-gate {
  background: linear-gradient(135deg, rgba(14,17,22,0.97) 0%, rgba(20,25,32,0.95) 100%);
}

[data-theme="dark"] .login-error {
  color: #f08a7e;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--ink);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: var(--header-bg);
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  color: white;
  background: var(--accent-gradient);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 3;
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
}

.lang-switch {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--card);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent-gradient);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 88px);
  padding-top: 82px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 108, 189, 0.22);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

[data-theme="dark"] .button.primary {
  color: #0e1116;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--card);
}

.button[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 4vw, 56px);
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.two-column,
.profile-layout,
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.intro {
  background: var(--paper);
}

.intro h2,
.section-heading h2,
.profile-panel h2,
.cta-inner h2,
.legal h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.intro-copy p,
.profile-panel p,
.cta-inner p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

.services,
.audience {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 294px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--card);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
}

.service-card h3 {
  min-height: 58px;
  margin: 20px 0 12px;
  font-size: 21px;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.service-link:hover,
.service-link:focus-visible {
  text-decoration: underline;
}

.proof {
  background: var(--paper);
}

.profile-panel {
  position: sticky;
  top: 104px;
}

.experience-list {
  display: grid;
  gap: 14px;
}

.experience-list div {
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 18px 18px 22px;
  background: var(--soft);
}

.experience-list div:nth-child(even) {
  border-left-color: var(--cyan);
}

.experience-list strong,
.experience-list span {
  display: block;
}

.experience-list strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.experience-list span {
  color: var(--muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.audience-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--ink);
  background: var(--card);
  font-weight: 750;
}

.process {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  border-top: 3px solid var(--blue);
  padding-top: 18px;
}

.process-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent-gradient);
  font-weight: 850;
}

.process-list h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Kontakt ---------- */

.cta-section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 4vw, 56px);
  background: var(--soft);
}

.cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  align-items: center;
}

.contact-direct a {
  color: var(--blue);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  background: var(--card);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--blue) 25%, transparent);
  border-color: var(--blue);
}

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500 !important;
  color: var(--muted) !important;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: #1c7a43;
}

.form-status.is-error {
  color: #b3362a;
}

[data-theme="dark"] .form-status.is-success {
  color: #4ecb8a;
}

[data-theme="dark"] .form-status.is-error {
  color: #f08a7e;
}

/* ---------- Rechtsseiten ---------- */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 56px) 80px;
}

.legal h1 {
  margin-bottom: 24px;
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 24px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal a {
  color: var(--blue);
  text-decoration: underline;
}

.legal .placeholder {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  border-radius: 4px;
  padding: 0 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  color: var(--blue);
  font-weight: 750;
}

/* ---------- LIA-Verweis: Trust-Row-Badge ---------- */

.trust-link {
  border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--line));
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--blue);
  background: var(--card);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.trust-link:hover,
.trust-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 108, 189, 0.18);
  background: color-mix(in srgb, var(--blue) 10%, var(--card));
}

/* ---------- LIA-Verweis: hervorgehobene Leistungskarte ---------- */

.service-card.featured {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  box-shadow: 0 18px 40px -22px rgba(15, 108, 189, 0.35);
}

.card-badge {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- LIA-Verweis: Mini-Showcase auf der Startseite ---------- */

.showcase {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.showcase-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  color: #eef2f6;
  /* Fixer dunkler Hintergrund, absichtlich nicht themeabhängig - siehe lia.html */
  background: #232a33;
  box-shadow: var(--shadow);
}

.showcase-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, transparent);
  pointer-events: none;
}

.showcase-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(238, 242, 246, 0.14);
  padding-bottom: 14px;
  margin-bottom: 6px;
}

.showcase-who {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cyan);
}

.showcase-time {
  font-size: 12px;
  color: rgba(238, 242, 246, 0.6);
}

.showcase-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 4px;
}

.showcase-turn .showcase-tag {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(238, 242, 246, 0.5);
}

.showcase-turn p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.showcase-turn.lia p { color: #f4f7fa; }
.showcase-turn.caller {
  padding-left: 18px;
  border-left: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
}
.showcase-turn.caller p { color: rgba(238, 242, 246, 0.78); }

.showcase-booked {
  margin-top: 6px;
  border-radius: 7px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
}
.showcase-booked strong { display: block; font-size: 17px; font-weight: 700; color: var(--cyan); }
.showcase-booked span { font-size: 12px; color: rgba(238, 242, 246, 0.62); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    padding: 12px 18px;
    background: var(--header-bg);
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.12);
  }

  .brand small {
    max-width: 188px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background: var(--hero-overlay-mobile);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    align-self: start;
    padding-top: 132px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .two-column,
  .profile-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    position: static;
  }

  .service-grid,
  .process-list,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
