/* ============================================
   Kairos Webdesign – zentrales Designsystem
   Kairos Forschung, Bildung und Beratung GmbH
   ============================================ */

/* -------------------------------
   Farbvariablen (Corporate Design)
   ------------------------------- */
:root {
  /* Primärfarben – wähle die gewünschte Variante */
  --kairos-rot: #8B1E2D;     /* dunkles, seriöses Weinrot (Standard) */
  /* Alternative 1: Warm-klassisch: #7A1C24 */
  /* Alternative 2: Modern-kulturell: #9C2F38 */

  --kairos-grau: #4B5563;    /* neutrales seriöses Grau */
  --kairos-bg: #F7F7F5;      /* warmes Off-White */
  --kairos-text: #1F1F1F;    /* dunkler, klarer Grundtext */

  /* Akzentfarbe (für subtile Details) */
  --kairos-akzent: #CBB8A0; 
}

/* -------------------------------
   Grundstruktur / Body
   ------------------------------- */
body {
  background: var(--kairos-bg);
  color: var(--kairos-text);
  margin: 0;
  padding: 0;
  font-family: 'Source Sans 3', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem; /* Offset für sticky Header (h-24 / 96px) */
}

/* -------------------------------
   Typografie
   ------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', serif;
  color: var(--kairos-text);
  font-weight: 400;
}

h1 {
  letter-spacing: -0.02em;
}
h2 {
  margin-top: 1.5rem;
}
p {
  line-height: 1.7;
}

/* -------------------------------
   Navigation / Header
   ------------------------------- */
nav {
  backdrop-filter: blur(8px);
}

nav a {
  transition: color 0.2s ease;
}
nav a:hover {
  color: var(--kairos-rot);
}

/* -------------------------------
   Buttons (standardisiert)
   ------------------------------- */
.btn-primary {
  background: var(--kairos-rot);
  color: white;
  padding: 0.75rem 1.4rem;
  border-radius: 0.375rem;
  display: inline-block;
  transition: background 0.2s ease;
}
.btn-primary:hover {
  background: #741824; /* dunklere Rotnuance */
}

/* -------------------------------
   Formulare
   ------------------------------- */
input, textarea, select {
  border: 1px solid #D1D5DB; /* Tailwind neutral-300 */
  border-radius: 0.375rem;
  padding: 0.6rem 0.9rem;
  width: 100%;
  font-family: 'Source Sans 3', sans-serif;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--kairos-rot);
  box-shadow: 0 0 0 3px rgba(139, 30, 45, 0.2);
}

/* -------------------------------
   Leistungsboxen
   ------------------------------- */
.kairos-card {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kairos-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* -------------------------------
   Footer
   ------------------------------- */
footer {
  background: #ffffff;
  border-top: 1px solid #E5E7EB;
}

footer h3 {
  color: var(--kairos-rot);
}

/* -------------------------------
   Utility-Klassen (Erweiterung)
   ------------------------------- */
.text-rot {
  color: var(--kairos-rot);
}
.bg-rot {
  background: var(--kairos-rot);
}

.text-grau {
  color: var(--kairos-grau);
}
.bg-grau {
  background: var(--kairos-grau);
}

.bg-kairos {
  background: var(--kairos-bg);
}
/* ---------- Lexikon-Block (Kairos) ---------- */
.kairos-lexikonblock {
    position: relative;
    padding: 3rem 2.5rem;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 0.9rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* vertikaler Akzentstreifen links */
.kairos-lexikonblock::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 4px;
    background: var(--kairos-rot);
    border-radius: 999px;
}

/* kleines Label oben rechts (optional) */
.kairos-lexikon-label {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kairos-grau);
    text-align: right;
    margin-bottom: 1.2rem;
}

/* griechischer Begriff */
.kairos-lexikon-griechisch {
    font-family: 'Source Serif 4', serif;
    font-size: 3.1rem;
    font-weight: 400;
    color: var(--kairos-rot);
    letter-spacing: 0.02em;
}

/* Umschrift */
.kairos-lexikon-umschrift {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    color: var(--kairos-grau);
}

/* Bedeutung */
.kairos-lexikon-bedeutung {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    margin-top: 0.8rem;
    color: var(--kairos-text);
}
/* Kleine, zentrierte Illustration (SVG) */

.kairos-illustration-center {
    max-width: 800px;          /* vorher 420px */
    margin: 0 auto;
    padding: 1.5rem 1.75rem;   /* kann später noch angepasst werden */
    background: var(--kairos-bg);
    border-radius: 0.75rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.kairos-illustration-img {
    display: block;
    width: 100%;     /* füllt die gesamte Breite der Box */
    height: auto;    /* Höhe ergibt sich aus dem viewBox-Verhältnis */
}

/* Kabel-Illustration zwischen Hero und Leistungen */
.kairos-divider-figure {
  margin: 0;              /* kein zusätzlicher Abstand um die Grafik */
}

.kairos-divider-img {
  display: block;
  width: 100%;            /* nutzt die gesamte verfügbare Breite im Container */
  height: auto;           /* behält das Seitenverhältnis der SVG bei */
}