/* ================================================================
   Nova EDV - Leichte Sprache
   Datei: /assets/css/leichte-sprache.css

   Zweck:
   - Eigenstaendige CSS nur fuer die Seiten in Leichter Sprache.
   - Keine Abhaengigkeit von /assets/css/main.css.
   - Immer helles Erscheinungsbild, auch wenn auf der Hauptseite
     Darkmode aktiv ist.
================================================================ */

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  background: #f6f9fc;
}

html[data-theme],
html[data-theme="dark"] {
  color-scheme: light !important;
  background: #f6f9fc !important;
}

body.easy-site,
body.easy-site[data-theme],
body.easy-site[data-theme="dark"],
html[data-theme="dark"] body.easy-site {
  --ls-ink: #061327;
  --ls-text: #12304f;
  --ls-muted: #385573;
  --ls-soft: #5d7188;
  --ls-bg: #f6f9fc;
  --ls-bg-alt: #edf5f8;
  --ls-surface: #ffffff;
  --ls-surface-soft: #f2f8fb;
  --ls-border: rgba(6, 19, 39, 0.16);
  --ls-border-strong: rgba(6, 19, 39, 0.26);
  --ls-cyan: #007c94;
  --ls-cyan-dark: #005e73;
  --ls-cyan-soft: #dff5f8;
  --ls-focus: #ffbf00;
  --ls-note: #fff5c7;
  --ls-footer: #061327;
  --ls-shadow: 0 14px 38px rgba(6, 19, 39, 0.08);
  --ls-shadow-hover: 0 18px 46px rgba(6, 19, 39, 0.13);

  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ls-bg) !important;
  color: var(--ls-text) !important;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.easy-site *,
body.easy-site *::before,
body.easy-site *::after {
  box-sizing: border-box;
}

body.easy-site * {
  color-scheme: light;
}

body.easy-site img,
body.easy-site svg {
  max-width: 100%;
  height: auto;
}

body.easy-site a {
  color: var(--ls-cyan-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

body.easy-site a:hover {
  color: var(--ls-ink);
}

body.easy-site a:focus-visible,
body.easy-site button:focus-visible,
body.easy-site input:focus-visible,
body.easy-site select:focus-visible,
body.easy-site textarea:focus-visible {
  outline: 4px solid var(--ls-focus);
  outline-offset: 3px;
}

body.easy-site h1,
body.easy-site h2,
body.easy-site h3,
body.easy-site h4,
body.easy-site h5,
body.easy-site h6 {
  color: var(--ls-ink) !important;
  font-family: "Barlow Condensed", Inter, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.easy-site p,
body.easy-site li,
body.easy-site span,
body.easy-site label,
body.easy-site td,
body.easy-site th {
  color: inherit;
}

body.easy-site strong,
body.easy-site b {
  color: var(--ls-ink);
  font-weight: 800;
}

body.easy-site button,
body.easy-site input,
body.easy-site select,
body.easy-site textarea {
  font: inherit;
}

body.easy-site button {
  cursor: pointer;
}

/* Layout */
body.easy-site .easy-main {
  overflow: hidden;
  background: var(--ls-bg) !important;
}

body.easy-site .easy-wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

body.easy-site .easy-text {
  max-width: 820px;
  font-size: 21px;
  line-height: 1.78;
}

body.easy-site .easy-text p {
  margin: 0 0 1.05em;
}

body.easy-site .easy-text ul,
body.easy-site .easy-card ul {
  padding-left: 1.35em;
  margin: 0.75em 0 0;
}

body.easy-site .easy-text li,
body.easy-site .easy-card li {
  margin: 0.55em 0;
}

/* Kopfbereich */
body.easy-site .easy-top {
  background: var(--ls-footer) !important;
  color: #ffffff !important;
  border-bottom: 4px solid var(--ls-cyan);
}

body.easy-site .easy-top-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
}

body.easy-site .easy-top a {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

body.easy-site .easy-nav,
body.easy-site[data-theme="dark"] .easy-nav,
html[data-theme="dark"] body.easy-site .easy-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--ls-ink) !important;
  border-bottom: 2px solid var(--ls-border) !important;
  box-shadow: 0 8px 26px rgba(6, 19, 39, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.easy-site .easy-nav-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

body.easy-site .easy-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 12px;
}

body.easy-site .easy-logo img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

body.easy-site .easy-menu {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

body.easy-site .easy-menu a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--ls-surface);
  color: var(--ls-ink) !important;
  border: 2px solid var(--ls-border);
  text-decoration: none;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

body.easy-site .easy-menu a.on,
body.easy-site .easy-menu a:hover {
  background: var(--ls-cyan) !important;
  border-color: var(--ls-cyan) !important;
  color: #ffffff !important;
}

/* Hero */
body.easy-site .easy-hero,
body.easy-site[data-theme="dark"] .easy-hero,
html[data-theme="dark"] body.easy-site .easy-hero {
  padding: 78px 0 58px;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 124, 148, 0.16), transparent 34%),
    linear-gradient(135deg, #eaf8fb 0%, #f8fbef 100%) !important;
  color: var(--ls-ink) !important;
  border-bottom: 2px solid rgba(6, 19, 39, 0.08);
}

body.easy-site .easy-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ls-cyan-soft);
  color: var(--ls-cyan-dark) !important;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.easy-site .easy-title {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--ls-ink) !important;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
}

body.easy-site .easy-lead {
  max-width: 790px;
  margin: 0 0 14px;
  color: var(--ls-text) !important;
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.55;
  font-weight: 500;
}

/* Inhaltsbereiche */
body.easy-site .easy-section,
body.easy-site[data-theme="dark"] .easy-section,
html[data-theme="dark"] body.easy-site .easy-section {
  padding: 60px 0;
  background: var(--ls-bg) !important;
  color: var(--ls-text) !important;
}

body.easy-site .easy-section.alt,
body.easy-site[data-theme="dark"] .easy-section.alt,
html[data-theme="dark"] body.easy-site .easy-section.alt {
  background: var(--ls-bg-alt) !important;
  border-top: 1px solid rgba(6, 19, 39, 0.08) !important;
  border-bottom: 1px solid rgba(6, 19, 39, 0.08) !important;
}

body.easy-site .easy-h2 {
  margin: 0 0 20px;
  color: var(--ls-ink) !important;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
}

body.easy-site .easy-h3 {
  margin: 0 0 12px;
  color: var(--ls-ink) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 900;
}

body.easy-site .easy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 26px;
}

body.easy-site .easy-card,
body.easy-site[data-theme="dark"] .easy-card,
html[data-theme="dark"] body.easy-site .easy-card {
  background: var(--ls-surface) !important;
  color: var(--ls-text) !important;
  border: 2px solid var(--ls-border) !important;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--ls-shadow);
}

body.easy-site .easy-card:hover {
  border-color: var(--ls-border-strong) !important;
  box-shadow: var(--ls-shadow-hover);
}

body.easy-site .easy-card p,
body.easy-site .easy-card li {
  margin: 0 0 0.85em;
  color: var(--ls-text) !important;
  font-size: 20px;
  line-height: 1.68;
}

body.easy-site .easy-note,
body.easy-site[data-theme="dark"] .easy-note,
html[data-theme="dark"] body.easy-site .easy-note {
  margin: 26px 0;
  padding: 20px 22px;
  background: var(--ls-note) !important;
  color: var(--ls-ink) !important;
  border-left: 8px solid var(--ls-cyan) !important;
  border-radius: 18px;
  font-size: 21px;
  line-height: 1.7;
  font-weight: 600;
}

/* Buttons */
body.easy-site .easy-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

body.easy-site .easy-btn,
body.easy-site[data-theme="dark"] .easy-btn,
html[data-theme="dark"] body.easy-site .easy-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body.easy-site .easy-btn:hover {
  transform: translateY(-1px);
}

body.easy-site .easy-btn.primary,
body.easy-site[data-theme="dark"] .easy-btn.primary,
html[data-theme="dark"] body.easy-site .easy-btn.primary {
  background: var(--ls-cyan) !important;
  color: #ffffff !important;
  border-color: var(--ls-cyan) !important;
}

body.easy-site .easy-btn.primary:hover {
  background: var(--ls-cyan-dark) !important;
  border-color: var(--ls-cyan-dark) !important;
}

body.easy-site .easy-btn.secondary,
body.easy-site[data-theme="dark"] .easy-btn.secondary,
html[data-theme="dark"] body.easy-site .easy-btn.secondary {
  background: var(--ls-surface) !important;
  color: var(--ls-ink) !important;
  border-color: var(--ls-border-strong) !important;
}

body.easy-site .easy-btn.secondary:hover {
  background: var(--ls-surface-soft) !important;
  border-color: var(--ls-cyan) !important;
  color: var(--ls-ink) !important;
}

body.easy-site button.easy-btn {
  width: fit-content;
}

/* Formulare */
body.easy-site .easy-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

body.easy-site .easy-form label,
body.easy-site[data-theme="dark"] .easy-form label,
html[data-theme="dark"] body.easy-site .easy-form label {
  margin: 0 0 -8px;
  color: var(--ls-ink) !important;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

body.easy-site .easy-form input,
body.easy-site .easy-form select,
body.easy-site .easy-form textarea,
body.easy-site[data-theme="dark"] .easy-form input,
body.easy-site[data-theme="dark"] .easy-form select,
body.easy-site[data-theme="dark"] .easy-form textarea,
html[data-theme="dark"] body.easy-site .easy-form input,
html[data-theme="dark"] body.easy-site .easy-form select,
html[data-theme="dark"] body.easy-site .easy-form textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 15px 16px;
  background: #ffffff !important;
  color: var(--ls-ink) !important;
  border: 2px solid rgba(6, 19, 39, 0.24) !important;
  border-radius: 16px;
  font-size: 19px;
  line-height: 1.45;
  outline: none;
}

body.easy-site .easy-form textarea {
  min-height: 150px;
  resize: vertical;
}

body.easy-site .easy-form input::placeholder,
body.easy-site .easy-form textarea::placeholder {
  color: var(--ls-soft) !important;
}

body.easy-site .easy-form input:focus,
body.easy-site .easy-form select:focus,
body.easy-site .easy-form textarea:focus {
  border-color: var(--ls-cyan) !important;
  box-shadow: 0 0 0 4px rgba(0, 124, 148, 0.16);
}

/* Footer */
body.easy-site .easy-footer,
body.easy-site[data-theme="dark"] .easy-footer,
html[data-theme="dark"] body.easy-site .easy-footer {
  background: var(--ls-footer) !important;
  color: #ffffff !important;
  padding: 44px 0;
}

body.easy-site .easy-footer p,
body.easy-site .easy-footer strong,
body.easy-site .easy-footer b {
  color: #ffffff !important;
}

body.easy-site .easy-footer p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
}

body.easy-site .easy-footer a {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* Button zur normalen Sprache */
body.easy-site .normal-fab,
body.easy-site[data-theme="dark"] .normal-fab,
html[data-theme="dark"] body.easy-site .normal-fab {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--ls-footer) !important;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  border: 2px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

body.easy-site .normal-fab i {
  color: #62e7f8 !important;
  font-size: 17px;
}

body.easy-site .normal-fab:hover {
  border-color: #62e7f8 !important;
  transform: translateY(-1px);
}

/* Falls main.css versehentlich weiterhin vor dieser Datei geladen wird:
   Diese Regeln neutralisieren die Darkmode-Selektoren fuer Leichte Sprache. */
body.easy-site[data-theme="dark"] main,
html[data-theme="dark"] body.easy-site main,
body.easy-site[data-theme="dark"] .easy-main,
html[data-theme="dark"] body.easy-site .easy-main,
body.easy-site[data-theme="dark"] .easy-section,
html[data-theme="dark"] body.easy-site .easy-section,
body.easy-site[data-theme="dark"] .easy-card,
html[data-theme="dark"] body.easy-site .easy-card,
body.easy-site[data-theme="dark"] .easy-btn,
html[data-theme="dark"] body.easy-site .easy-btn,
body.easy-site[data-theme="dark"] input,
html[data-theme="dark"] body.easy-site input,
body.easy-site[data-theme="dark"] textarea,
html[data-theme="dark"] body.easy-site textarea,
body.easy-site[data-theme="dark"] select,
html[data-theme="dark"] body.easy-site select {
  color-scheme: light !important;
}

/* Darkmode des Betriebssystems ignorieren: Leichte Sprache bleibt hell. */
@media (prefers-color-scheme: dark) {
  html,
  body.easy-site,
  body.easy-site[data-theme="dark"],
  html[data-theme="dark"] body.easy-site {
    color-scheme: light !important;
    background: #f6f9fc !important;
    color: #12304f !important;
  }
}

@media (max-width: 860px) {
  body.easy-site .easy-nav-in {
    align-items: flex-start;
    flex-direction: column;
  }

  body.easy-site .easy-menu {
    margin-left: 0;
    width: 100%;
  }

  body.easy-site .easy-menu a {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  body.easy-site {
    font-size: 18px;
  }

  body.easy-site .easy-wrap,
  body.easy-site .easy-top-in,
  body.easy-site .easy-nav-in {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.easy-site .easy-top-in {
    align-items: flex-start;
    flex-direction: column;
  }

  body.easy-site .easy-hero {
    padding: 56px 0 42px;
  }

  body.easy-site .easy-section {
    padding: 46px 0;
  }

  body.easy-site .easy-text {
    font-size: 20px;
  }

  body.easy-site .easy-grid {
    grid-template-columns: 1fr;
  }

  body.easy-site .easy-menu a,
  body.easy-site .easy-btn {
    width: 100%;
  }

  body.easy-site button.easy-btn {
    width: 100%;
  }

  body.easy-site .normal-fab {
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
    font-size: 13px;
  }

  body.easy-site .normal-fab span {
    display: none;
  }
}

@media print {
  body.easy-site .normal-fab {
    display: none !important;
  }

  body.easy-site,
  body.easy-site .easy-section,
  body.easy-site .easy-hero,
  body.easy-site .easy-card {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
  }
}
