/* =========================
   BASE
========================= */

:root {
  --ink: #0e1a28;
  --ink-2: #16273a;
  --navy: #314559;
  --blue: #3496d8;
  --blue-light: #6bb8ea;
  --blue-dark: #1f6fa8;
  --text: #3d4a57;
  --muted: #5f6b77;
  --line: #e3e8ee;
  --bg-soft: #f4f7fa;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--blue-dark);
}

a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.section {
  padding: 96px 0;
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section-head p {
  max-width: 640px;
  color: var(--muted);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 26, 40, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand img {
  display: block;
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav .nav-cta {
  color: #fff;
  background: var(--blue-dark);
}

.nav .nav-cta:hover {
  background: var(--blue);
}

/* Sprachumschalter */
.lang {
  display: flex;
  gap: 2px;
  margin: 0 0.5rem;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.nav .lang a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.nav .lang a[aria-current] {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.flag {
  display: block;
  width: 22px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(52, 150, 216, 0.35), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(52, 150, 216, 0.18), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  padding: 120px 20px 128px;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.35fr 1fr;
  }
}

.hero .eyebrow {
  color: var(--blue-light);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--blue-light);
}

.hero-lead {
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--blue-dark);
}

.btn-primary:hover {
  background: var(--blue);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.definition {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.definition-word {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.definition-meta {
  font-size: 0.9rem;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

.definition p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   LEISTUNGEN
========================= */

.cards {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: #c9d9e8;
  box-shadow: 0 12px 32px rgba(14, 26, 40, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  font-size: 1.6rem;
  color: var(--blue-dark);
  background: #e8f2fb;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.chips-label {
  margin: 48px 0 16px;
  font-weight: 600;
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
}

/* =========================
   ARBEITSWEISE
========================= */

.soft {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  position: relative;
  padding-top: 56px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.steps li::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 64px;
  right: 0;
  height: 1px;
  background: #cfdae5;
}

.steps h3 {
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

/* =========================
   KONTAKT
========================= */

.contact {
  color: #fff;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(52, 150, 216, 0.3), transparent 60%),
    var(--ink);
}

.contact h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.contact .eyebrow {
  color: var(--blue-light);
}

.contact-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
}

.mail-link:hover {
  color: var(--blue-light);
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-row + .contact-row {
  margin-top: 18px;
}

.contact-row .icon {
  font-size: 1.4rem;
  margin-top: 2px;
  color: var(--blue-light);
}

.contact-row strong {
  display: block;
  color: #fff;
}

.contact-row span {
  color: rgba(255, 255, 255, 0.75);
}

/* =========================
   IMPRESSUM & FOOTER
========================= */

.legal {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.legal h2 {
  font-size: 1.5rem;
}

.legal-grid {
  display: grid;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 800px) {
  .legal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.legal-grid p {
  margin: 0;
}

.footer {
  padding: 24px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fff;
  margin-left: 1rem;
}

/* =========================
   UNTERSEITEN (Datenschutz)
========================= */

.page {
  max-width: 820px;
  padding: 72px 20px 80px;
}

.page h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.page h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand img {
    height: 30px;
  }

  .nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
  }

  .nav .nav-hide-sm {
    display: none;
  }

  .lang {
    margin: 0 0.25rem;
  }

  .nav .lang a {
    padding: 0.3rem 0.45rem;
  }

  .nav .lang span {
    display: none;
  }

  .hero-inner {
    padding: 72px 20px 80px;
  }

  .section {
    padding: 72px 0;
  }

  .card {
    padding: 24px;
  }

  .footer a {
    margin: 0 1rem 0 0;
  }
}

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

  * {
    transition: none !important;
  }
}
