﻿@font-face {
  font-family: "Raleway";
  src: url("assets/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #022f5b;
  --blue: #0364ce;
  --blue-soft: #e8f1fc;
  --ink: #1d2b3a;
  --muted: #5b6b7c;
  --line: #e1e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.eyebrow {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--blue);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
header a:first-child { display: flex; align-items: center; gap: 12px; }
header img.m { height: 40px; width: 40px; }
header img.w { height: 24px; width: auto; }
header nav { display: flex; gap: 28px; margin-left: auto; }
header nav a {
  text-decoration: none; color: var(--navy);
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: .95rem;
}
header nav a:hover { color: var(--blue); }

/* Sprachumschalter (wird von assets/i18n/i18n.js eingefügt) */
.langsw { position: relative; }
.langsw-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit;
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: .9rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px;
  transition: border-color .15s, color .15s;
}
.langsw-btn:hover, .langsw-btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.langsw-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.langsw-btn b { font-weight: 700; }
.langsw-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(2,47,91,.14); z-index: 20;
}
.langsw-list[hidden] { display: none; }
.langsw-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); font-size: .95rem; }
.langsw-list li:hover, .langsw-list li:focus { background: var(--blue-soft); outline: none; }
.langsw-list li[aria-selected="true"] { color: var(--blue); font-weight: 600; }
.langsw-list li[aria-selected="true"] i { width: 7px; height: 12px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); }

/* Hero */
.hero {
  padding: 110px 0 96px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--blue-soft), transparent 70%),
    var(--bg);
}
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero .mark { justify-self: center; width: min(100%, 300px); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  font-family: "Raleway", sans-serif; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(3,100,206,.25); }
.btn.primary:hover { transform: translateY(-2px); background: #0556b3; }
.btn.ghost { color: var(--navy); border: 2px solid var(--line); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Karten */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(2,47,91,.08); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft);
  display: grid; place-items: center; margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Unser Ziel (dunkles Band) */
.goal { background: linear-gradient(135deg, var(--navy), #04427f); color: #fff; }
.goal h2, .goal h3 { color: #fff; }
.goal .eyebrow { color: #8dbcf5; }
.goal .lead { color: #cfdcec; }
.goal-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 32px 28px; }
.goal-card p { color: #cfdcec; margin: 0; }
.goal .icon { background: rgba(255,255,255,.12); }
.goal .icon svg { stroke: #fff; }

/* Handlungsfelder */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.topics div { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 18px 20px; background: #fff; }
.topics b { display: block; font-family: "Raleway", sans-serif; color: var(--navy); margin-bottom: 2px; }
.topics span { color: var(--muted); font-size: .94rem; }

/* Produkte */
.products { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 44px; }
.product { border-radius: 24px; padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.product h3 { font-size: 1.7rem; }
.product p { max-width: 520px; }
.product .tag { font-family: "Raleway", sans-serif; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.product.elviora { background: #1f4a3b; color: #f5f1e8; }
.product.elviora h3 { color: #f5f1e8; }
.product.elviora p { color: #cfdad3; }
.product.elviora .tag { color: #d4a653; }
.product.elviora .btn.primary { background: #d4a653; color: #1f4a3b; box-shadow: none; margin-top: auto; }
.product.elviora .btn.primary:hover { background: #e2b868; }
.product.more { border: 2px dashed #b9cbe0; background: var(--bg-alt); }
.product.more .tag { color: var(--blue); }
.product.more p { color: var(--muted); margin-bottom: 0; }

/* Vorgehen */
.steps4 { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; }
.steps4 li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps4 li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-family: "Raleway", sans-serif; font-weight: 700; margin-bottom: 14px;
}
.steps4 b { display: block; font-family: "Raleway", sans-serif; color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.steps4 span { color: var(--muted); font-size: .95rem; }

/* Über uns / Kontakt */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.contact-box a { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 1.15rem; word-break: break-all; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); margin-left: 20px; text-decoration: none; }
footer a:hover { color: var(--blue); }
footer a:first-child { margin-left: 0; }

/* Rechtsseiten */
.legal { padding: 64px 0 96px; max-width: 760px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

.legal h2 + p, .legal p { max-width: 70ch; }
.legal a { color: var(--blue); }
.legal .todo { background: #fff6e0; border: 1px solid #f0d9a0; border-radius: 12px; padding: 12px 16px; color: #6b4b00; }
.legal-note { max-width: var(--max); margin: 18px auto 0; color: var(--muted); font-size: .85rem; }
.card-open { border-style: dashed; background: var(--bg-alt); }

/* Elviora-Teaser (Ausblick) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.elv-teaser {
  position: relative; margin-top: 44px; padding: 48px; border-radius: 28px;
  background: #1f4a3b; color: #f5f1e8;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
}
.elv-teaser h3 { font-size: 2rem; color: #f5f1e8; margin-bottom: .4em; }
.elv-teaser p { color: #cfdad3; }
.elv-teaser .tag { display: inline-block; font-family: "Raleway", sans-serif; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #d4a653; margin-bottom: 10px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.chips li { padding: 6px 14px; border: 1px solid rgba(212,166,83,.55); border-radius: 999px; font-size: .88rem; color: #f5f1e8; }

.nlform { margin-top: 28px; padding: 22px; border-radius: 18px; background: rgba(245,241,232,.08); border: 1px solid rgba(245,241,232,.16); display: grid; gap: 12px; }
.nlform[hidden] { display: none; }
.nl-title { margin: 0; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 1.15rem; color: #f5f1e8 !important; }
.nl-sub { margin: -4px 0 0; font-size: .92rem; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input {
  flex: 1 1 220px; min-width: 0; font: inherit; color: #1e2b25; background: #fbf9f4;
  border: 1px solid transparent; border-radius: 999px; padding: 12px 18px;
}
.nl-row input:focus { outline: none; box-shadow: 0 0 0 3px rgba(212,166,83,.55); }
.nlform .btn.primary { background: #d4a653; color: #1f4a3b; box-shadow: none; border: 0; cursor: pointer; font-size: 1rem; }
.nlform .btn.primary:hover { background: #e2b868; }
.nlform .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.nlform .check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: #cfdad3; }
.nlform .check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: #d4a653; }
.nlform .check a { color: #f0cd8a; }
.nlform .status { margin: 0; min-height: 1.3em; font-size: .9rem; color: #cfdad3; }
.nlform .status.ok { color: #9be0b3; font-weight: 600; }
.nlform .status.err { color: #ffb4a8; }
.nl-banner { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.nl-banner[hidden] { display: none; }
.nl-banner.ok { background: rgba(155,224,179,.16); color: #b8f0cb !important; border: 1px solid rgba(155,224,179,.4); }
.nl-banner.err { background: rgba(255,180,168,.14); color: #ffd0c8 !important; border: 1px solid rgba(255,180,168,.4); }

.elv-visual { display: grid; justify-items: center; gap: 12px; }
.mini-phone { position: relative; width: 250px; padding: 10px; border-radius: 36px; background: #0d1a15; box-shadow: 0 26px 50px rgba(0,0,0,.35), inset 0 0 0 2px #26332d; }
.mp-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 74px; height: 18px; background: #0d1a15; border-radius: 0 0 12px 12px; z-index: 1; }
.mp-screen { background: #f5f1e8; color: #1e2b25; border-radius: 28px; padding: 40px 14px 16px; min-height: 380px; }
.mp-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mp-top b { font-size: .95rem; }
.mp-top span { font-size: .68rem; color: #6b726c; }
.mp-hero { background: #1f4a3b; color: #f5f1e8; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.mp-hero small { display: block; opacity: .7; font-size: .66rem; }
.mp-hero b { display: block; font-size: 1.02rem; margin: 2px 0; }
.mp-hero span { font-size: .74rem; opacity: .85; }
.mp-row { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #e4ddce; border-radius: 12px; padding: 10px 12px; margin-bottom: 7px; }
.mp-row b { display: block; font-size: .78rem; }
.mp-row span { font-size: .66rem; color: #6b726c; }
.mp-row .d { width: 9px; height: 9px; border-radius: 50%; background: #b8893b; margin-top: 4px; flex: none; }
.mp-row .d.hot { background: #a63d2f; }
.mp-row .d.ok { background: #3b6b4a; }
.mp-note { margin: 0; font-size: .78rem; color: #b9c8bf !important; }
.more-note { margin-top: 24px; color: var(--muted); border: 2px dashed #b9cbe0; border-radius: 16px; padding: 16px 20px; max-width: 70ch; }
@media (max-width: 860px) {
  .elv-teaser { grid-template-columns: 1fr; padding: 30px 24px; border-radius: 22px; gap: 28px; }
  .elv-visual { order: -1; }
  .mini-phone { width: 220px; }
  .mp-screen { min-height: 330px; }
}

/* Seminar-Abschnitt: Themenwelten mit kompakten Karten (Seminare und Teambuilding) */
.sem-group { margin-top: 44px; }
.grp-title { font-size: 1.3rem; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.grid-c { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card-c { padding: 22px 22px 24px; }
.card-c h3 { font-size: 1.08rem; margin-bottom: .35em; }
.card-c p { font-size: .93rem; }
.sem-tag.tb { background: #e3f4f0; color: #0b7a66; }
.card-open .sem-tag { background: #eef1f5; color: var(--muted); }
.sem-note { margin: 34px 0 0; color: var(--muted); font-size: .92rem; }

/* Seminar-Abschnitt: Betonung des Angebots */
.sem-tag {
  display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-family: "Raleway", sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.card .sem-tag + h3 { margin-top: 0; }
.sem-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.sem-facts li {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .92rem;
}
.sem-facts li::before { content: ""; width: 7px; height: 12px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.sem-cta {
  margin-top: 40px; padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #04427f); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
}
.sem-cta p { margin: 0; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 1.15rem; max-width: 36ch; }
.sem-cta .btn.primary { background: #fff; color: var(--navy); box-shadow: none; }
.sem-cta .btn.primary:hover { background: var(--blue-soft); }
@media (max-width: 520px) { .sem-cta { padding: 22px 20px; } .sem-cta .btn { width: 100%; text-align: center; } }

/* Über mich */
.about { margin-top: 28px; display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.about.no-photo { grid-template-columns: 1fr; }
.about p { max-width: 62ch; }
.portrait { margin: 0; position: sticky; top: 96px; }
.portrait[hidden] { display: none; }
.portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: 28px; box-shadow: 0 24px 50px rgba(2,47,91,.18);
  background: var(--blue-soft);
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
  .portrait { position: static; max-width: 260px; }
}
.about-grid { margin-top: 20px; }
.about-note { margin-top: 36px; color: var(--muted); max-width: 70ch; border-left: 4px solid var(--blue-soft); padding-left: 16px; }

/* Kontaktformular */
.mailline { margin-top: 18px; color: var(--muted); }
.mailline a { font-family: "Raleway", sans-serif; font-weight: 700; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; position: relative; }
.cform label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.cform input:not([type="checkbox"]), .cform textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft); }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .85rem; }
.cform .check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--blue); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform button { justify-self: start; border: 0; cursor: pointer; font-size: 1rem; }
.cform button:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.cform .status { margin: 0; min-height: 1.4em; font-size: .92rem; color: var(--muted); }
.cform .status.ok { color: #1c7a3f; font-weight: 600; }
.cform .status.err { color: #b3261e; }
@media (max-width: 860px) { .cform { padding: 22px; } .cform .row2 { grid-template-columns: 1fr; } }

/* Wartungsseite */
.maint { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 24px; }

/* Responsive */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .hero .wrap, .two, .products { grid-template-columns: 1fr; }
  .hero .mark { order: -1; width: 150px; justify-self: start; }
  .grid, .topics { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .product { padding: 30px 26px; }
  header nav { gap: 18px; }
}
@media (max-width: 520px) {
  header .wrap { gap: 10px; }
  header img.m { height: 32px; width: 32px; }
  header img.w { height: 19px; }
  header nav a:not(:last-child) { display: none; }
  .langsw-btn { padding: 6px 10px; }
  .steps4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
