/* Farben und Grundwerte – hier lässt sich das Erscheinungsbild zentral anpassen */
:root {
  --brand: #74dce4;        /* Türkis aus dem Wais-Logo */
  --brand-light: #a6eaef;
  --brand-soft: #e8f9fb;
  --dark: #1f3a3f;         /* dunkles Petrol für Überschriften und Buttons */
  --accent-dark: #0b7a84;  /* Türkis für Text auf Weiß (gut lesbar) */
  --text: #22333a;
  --muted: #566a70;
  --bg: #ffffff;
  --bg-alt: var(--brand-soft);
  --border: #dbe9ec;
  --radius: 14px;
  /* Systemschriften: keine externen Font-Server, daher DSGVO-unkritisch */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Snell Roundhand", "Segoe Script", "Apple Chancery", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #d6e8eb; }
.section-dark h2 { color: #fff; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .75rem;
}
.section-dark .eyebrow { color: var(--brand); }
.hero .eyebrow { color: var(--dark); opacity: .75; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--dark); color: #fff; font-weight: 700; text-decoration: none;
  border: 2px solid var(--dark); transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: #2c5259; border-color: #2c5259; transform: translateY(-1px); }
.btn-small { padding: 9px 18px; }
.btn-ghost { background: transparent; color: var(--dark); border-color: #1f3a3f66; }
.btn-ghost:hover { background: #ffffff55; border-color: var(--dark); }
.btn-ghost-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-ghost-dark:hover { background: var(--bg-alt); border-color: var(--dark); }
.section-dark .btn { background: var(--brand); border-color: var(--brand); color: var(--dark); }
.section-dark .btn:hover { background: var(--brand-light); border-color: var(--brand-light); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #ffffffee; backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--dark); text-decoration: none; direction: ltr; }
.logo img { border-radius: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text em { font-family: var(--script); font-style: italic; font-size: 1.7rem; line-height: .8; color: #2bb7c2; margin-bottom: 2px; }
.logo-text span { font-weight: 400; font-size: 1.15rem; letter-spacing: .03em; color: var(--dark); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--text); }
.nav a:not(.btn):hover { color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; }

/* Hero: Türkis als Hintergrund wie im Logo */
.hero { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: var(--dark); }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: clamp(56px, 9vw, 112px) 0;
}
.lead { font-size: 1.15rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card {
  padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 12px 30px #1f3a3f1a; transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Zweispaltige Bereiche */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.facts strong { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--accent-dark); margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .95rem; }

/* Ablauf */
.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 3px solid var(--brand); padding-top: 18px; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; color: var(--accent-dark); margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Jobs */
.checklist { list-style: none; margin: 0; padding: 28px; background: #ffffff0f; border: 1px solid #ffffff22; border-radius: var(--radius); }
.checklist li { padding: 10px 0; padding-inline-start: 34px; position: relative; border-bottom: 1px solid #ffffff1a; color: #fff; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 16px; width: 14px; height: 8px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}

/* Kontakt */
.contact-card {
  font-style: normal; display: grid; gap: 6px; padding: 32px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-card strong { font-size: 1.2rem; color: var(--dark); margin-bottom: 6px; }
.contact-card a { color: var(--dark); font-weight: 600; }

/* Footer */
.site-footer { background: #152a2e; color: #a7c3c8; padding: 28px 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Rechtstexte (Impressum, Datenschutz) */
.legal { padding: 56px 0 88px; max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 1em; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.notice { background: #fff6dc; border: 1px solid #f0d58a; border-radius: 10px; padding: 14px 18px; margin-bottom: 2em; }

/* Sprachumschalter */
.lang { display: flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button {
  font: inherit; font-size: .85rem; font-weight: 700; color: var(--muted);
  background: none; border: 0; border-radius: 999px; padding: 5px 10px; cursor: pointer;
}
.lang button:hover { color: var(--dark); }
.lang button[aria-pressed="true"] { background: var(--brand); color: var(--dark); }

/* Arabisch: Leserichtung von rechts nach links */
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.45; }
[dir="rtl"] .eyebrow { font-size: .95rem; }
[dir="rtl"] .hero-art { transform: scaleX(-1); }
[dir="rtl"] .contact-card > * { text-align: right; }

/* Mobil */
@media (max-width: 860px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 300px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .lang { align-self: flex-start; margin-top: 16px; }
}
@media (max-width: 480px) {
  .steps, .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Bewerbung im Jobs-Bereich */
.apply { margin-top: 28px; padding: 24px; border: 1px solid #ffffff22; border-radius: var(--radius); background: #ffffff0a; }
.apply h3 { color: #fff; }
.apply-docs { margin: 0 0 18px; padding-inline-start: 20px; color: #fff; }
.apply-docs li { margin-bottom: 4px; }
.apply-docs li::marker { color: var(--brand); }
.apply-contact { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.apply-contact dt { color: #a7c3c8; }
.apply-contact dd { margin: 0; }
.apply-contact a { color: var(--brand); font-weight: 700; text-decoration: none; }
.apply-contact a:hover { text-decoration: underline; }
[dir="rtl"] .apply-contact dd { text-align: right; }
.section-dark .btn-ghost { background: transparent; color: #fff; border-color: #ffffff55; }
.section-dark .btn-ghost:hover { background: #ffffff14; border-color: #fff; }
.section-dark .two-col { align-items: start; }
.apply-to { color: #fff; font-weight: 600; margin-bottom: 8px; }
.legal ul { padding-inline-start: 22px; margin: 0 0 1em; }
