/* ============================================
   SPRACHZENTRUM NRW — Design System
   Palette (5): ink navy, signal red, white, mist, slate
   Fonts (2): Manrope (display), Inter (body)
   ============================================ */

:root {
  --ink: #0F2138;
  --ink-800: #1B3454;
  --signal: #C8323C;
  --signal-dark: #A5262F;
  --white: #FFFFFF;
  --mist: #F3F5F8;
  --slate: #64748B;
  --line: #E2E7EE;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 33, 56, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 33, 56, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 33, 56, 0.14);
  --header-h: 72px;
}

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

html {
  background-color: var(--white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  white-space: nowrap;
}

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

.btn-primary {
  background-color: var(--signal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--signal-dark);
}

.btn-dark {
  background-color: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--ink-800);
}

.btn-outline {
  border-color: var(--line);
  background-color: var(--white);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: var(--mist);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   HEADER
   ============================================ */
.topbar {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 38px;
}

.topbar-list {
  display: none;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  color: var(--signal);
  flex-shrink: 0;
}

.topbar a:hover {
  color: var(--white);
}

@media (min-width: 900px) {
  .topbar-list {
    display: flex;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background-color: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 2px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.18s, color 0.18s;
}

.nav-link:hover {
  background-color: var(--mist);
}

.nav-link.active {
  color: var(--signal);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-outline,
.header-actions .btn-primary {
  display: none;
}

@media (min-width: 640px) {
  .header-actions .btn-primary {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .header-actions .btn-outline {
    display: inline-flex;
  }
}

.burger {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: var(--white);
  display: grid;
  place-items: center;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background-color: var(--white);
  padding: 10px 0 18px;
}

.mobile-nav.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-nav.open {
    display: none;
  }
}

.mobile-nav a {
  display: block;
  padding: 12px 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .mobile-cta {
  margin: 14px 20px 0;
  border-bottom: none;
  padding: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background-color: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 33, 56, 0.96) 0%, rgba(15, 33, 56, 0.82) 52%, rgba(15, 33, 56, 0.55) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Siehe .cta-band-inner: nur oben und unten setzen, sonst verliert
     das Element den seitlichen Abstand seiner Klasse .container. */
  padding-top: 64px;
  padding-bottom: 132px;
}

@media (min-width: 768px) {
  .hero-inner {
    padding-top: 92px;
    padding-bottom: 148px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}

.hero-eyebrow strong {
  background-color: var(--signal);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-point svg {
  color: var(--signal);
  flex-shrink: 0;
}

/* ============================================
   SIGNATURE ELEMENT: EXAM FINDER
   ============================================ */
.finder-wrap {
  position: relative;
  z-index: 5;
  margin-top: -92px;
}

.finder {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.finder-head h2 {
  font-size: 1.125rem;
  font-weight: 800;
}

.finder-head p {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-top: 3px;
}

.finder-badge {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--signal);
}

@media (min-width: 768px) {
  .finder-badge {
    display: inline-flex;
  }
}

.finder-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px;
}

@media (min-width: 700px) {
  .finder-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .finder-form {
    grid-template-columns: 1.1fr 1.1fr 0.9fr auto;
    align-items: end;
  }
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: 0.75rem;
  color: var(--slate);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background-color: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 33, 56, 0.08);
}

.field input.invalid,
.field select.invalid {
  border-color: var(--signal);
}

.field-error {
  font-size: 0.75rem;
  color: var(--signal);
  font-weight: 500;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--signal);
  flex-shrink: 0;
}

.check a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================
   SECTION PRIMITIVES
   ============================================ */
.section {
  padding: 72px 0;
}

.section-mist {
  background-color: var(--mist);
}

.section-ink {
  background-color: var(--ink);
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 800;
  text-wrap: balance;
}

.section-head p {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.0625rem;
}

.section-ink .section-head p {
  color: rgba(255, 255, 255, 0.74);
}

/* ============================================
   EXAM RESULTS / LIST
   ============================================ */
.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.results-count {
  font-size: 0.9375rem;
  color: var(--slate);
}

.results-count strong {
  color: var(--ink);
  font-weight: 700;
}

.sort-inline {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--slate);
}

.sort-inline select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background-color: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.exam-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exam-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.exam-row:hover {
  border-color: #C9D3E0;
  box-shadow: var(--shadow-md);
}

@media (min-width: 860px) {
  .exam-row {
    grid-template-columns: 96px 1fr auto;
    align-items: center;
    gap: 22px;
  }
}

.exam-date {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: none;
}

@media (min-width: 860px) {
  .exam-date {
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 10px 0;
    background-color: var(--mist);
    border-radius: 10px;
  }
}

.exam-date-day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.exam-date-month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}

.exam-date-weekday {
  font-size: 0.75rem;
  color: var(--slate);
  margin-top: 2px;
}

.exam-main h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.exam-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.875rem;
  color: var(--slate);
}

.exam-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.exam-meta svg {
  color: var(--slate);
  flex-shrink: 0;
}

.exam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 5px;
  background-color: var(--mist);
  color: var(--ink);
}

.tag-level {
  background-color: var(--ink);
  color: var(--white);
}

.tag-free {
  background-color: #E7F4EC;
  color: #1B7A45;
}

.tag-few {
  background-color: #FDECEE;
  color: var(--signal-dark);
}

.tag-full {
  background-color: #EFF1F5;
  color: var(--slate);
}

.exam-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

@media (min-width: 860px) {
  .exam-cta {
    align-items: flex-end;
    text-align: right;
  }
}

.exam-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.exam-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--slate);
  letter-spacing: 0;
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  background-color: var(--white);
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.empty-state h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--slate);
  margin-bottom: 18px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

/* ============================================
   LEVEL CARDS
   ============================================ */
.level-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .level-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.level-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.18s, transform 0.18s;
}

.level-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.level-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background-color: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
  align-self: flex-start;
}

.level-card h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.level-card p {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.level-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.level-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.level-fact dt {
  color: var(--slate);
}

.level-fact dd {
  margin: 0;
  font-weight: 600;
}

.level-card .btn {
  margin-top: auto;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.process-item {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.16);
}

.process-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -13px;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--signal);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
}

.process-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ============================================
   FEATURE / TRUST GRID
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  background-color: var(--white);
  padding: 28px 24px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background-color: var(--mist);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--slate);
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SPLIT / CONTENT
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.split-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

.prose p {
  color: var(--slate);
  margin-bottom: 16px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.tick-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9375rem;
}

.tick-list svg {
  color: var(--signal);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================
   FAQ (accordion)
   ============================================ */
.faq {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-q svg {
  flex-shrink: 0;
  color: var(--slate);
  transition: transform 0.22s;
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
  color: var(--signal);
}

.faq-a {
  display: none;
  padding: 0 0 22px;
  color: var(--slate);
  max-width: 68ch;
}

.faq-item.open .faq-a {
  display: block;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background-color: var(--signal);
  color: var(--white);
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  /* Nur oben und unten: das Element trägt zugleich .container, dessen
     seitlicher Abstand von der Kurzschreibweise sonst überschrieben wird
     und der Text klebte am Bildschirmrand. */
  padding-top: 52px;
  padding-bottom: 52px;
}

@media (min-width: 900px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn-light {
  background-color: var(--white);
  color: var(--signal-dark);
}

.cta-band .btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   PAGE HEAD (subpages)
   ============================================ */
.page-head {
  background-color: var(--ink);
  color: var(--white);
  padding: 52px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 22ch;
}

.page-head p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
}

/* ============================================
   FILTER SIDEBAR (exam page)
   ============================================ */
.listing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .listing {
    grid-template-columns: 280px 1fr;
    gap: 36px;
  }
}

.filters {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

@media (min-width: 1024px) {
  .filters {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.filters-head h2 {
  font-size: 1rem;
  font-weight: 800;
}

.filter-reset {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--signal);
  text-decoration: underline;
}

.filter-group {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background-color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.18s;
}

.chip:hover {
  border-color: var(--ink);
}

.chip.active {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ============================================
   BOOKING (multi-step)
   ============================================ */
.booking {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 1024px) {
  .booking {
    grid-template-columns: 1fr 358px;
    gap: 36px;
  }
}

.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--slate);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}

.step.active .step-num {
  background-color: var(--signal);
  border-color: var(--signal);
  color: var(--white);
}

.step.active .step-label {
  color: var(--ink);
}

.step.done .step-num {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.step-line {
  width: 28px;
  height: 1px;
  background-color: var(--line);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .step-line {
    width: 52px;
  }
}

.panel {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}

.panel + .panel {
  margin-top: 16px;
}

.panel h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.panel-sub {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 22px;
}

.panel h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin: 24px 0 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 620px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 620px) {
  .grid-3 {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Option cards (account / payment / delivery) */
.option {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  transition: border-color 0.18s;
}

.option:hover {
  border-color: #C9D3E0;
}

.option.active {
  border-color: var(--ink);
}

.option-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  cursor: pointer;
}

.option-head input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--signal);
  flex-shrink: 0;
}

.option-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.option-desc {
  font-size: 0.875rem;
  color: var(--slate);
  margin-top: 4px;
}

.option-body {
  display: none;
  padding: 0 16px 16px;
}

.option.active .option-body {
  display: block;
}

.option-body-inner {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.badge-soft {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  background-color: var(--mist);
  color: var(--slate);
}

.badge-soft.accent {
  background-color: #FDECEE;
  color: var(--signal-dark);
}

/* Card visual */
.card-visual {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-800) 62%, var(--signal-dark) 160%);
  color: var(--white);
  border-radius: 12px;
  padding: 20px;
  max-width: 360px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.card-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.card-chip {
  width: 40px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #E9C46A, #D4A017);
}

.card-scheme {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.card-number {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
}

.card-foot span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 3px;
}

.card-foot strong {
  font-weight: 600;
  text-transform: uppercase;
}

.pay-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background-color: var(--mist);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--slate);
  margin-top: 18px;
}

.pay-note svg {
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}

.bank-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9375rem;
}

.bank-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bank-line dt {
  color: var(--slate);
  min-width: 130px;
  font-size: 0.875rem;
}

.bank-line dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.copy-btn {
  border: 1px solid var(--line);
  background-color: var(--white);
  color: var(--ink);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 600;
}

.copy-btn:hover {
  border-color: var(--ink);
}

.panel-nav {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.panel-nav .btn-primary,
.panel-nav .btn-dark {
  flex: 1;
}

/* Summary aside */
.summary {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

@media (min-width: 1024px) {
  .summary-sticky {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

.summary h2 {
  font-size: 1rem;
  font-weight: 800;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.summary-exam {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.summary-exam h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.875rem;
}

.summary-line dt {
  color: var(--slate);
}

.summary-line dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.summary-total dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.summary-total dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.summary-secure {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--slate);
}

.summary-secure svg {
  color: #1B7A45;
  flex-shrink: 0;
}

.help-card {
  margin-top: 16px;
  background-color: var(--mist);
  border-radius: 12px;
  padding: 20px;
}

.help-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.help-card p {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 14px;
}

.help-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.help-phone:hover {
  color: var(--signal);
}

/* Confirmation */
.confirm {
  text-align: center;
  padding: 46px 24px;
}

.confirm-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #E7F4EC;
  color: #1B7A45;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

.confirm h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.confirm > p {
  color: var(--slate);
  max-width: 52ch;
  margin: 0 auto;
}

.confirm-box {
  text-align: left;
  max-width: 420px;
  margin: 28px auto 0;
  background-color: var(--mist);
  border-radius: 12px;
  padding: 20px;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ============================================
   AUTH CARD
   ============================================ */
.auth-wrap {
  display: grid;
  place-items: center;
  padding: 56px 0;
  background-color: var(--mist);
  min-height: 70vh;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-card > p {
  color: var(--slate);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.link-accent {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.875rem;
}

.link-accent:hover {
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-size: 0.8125rem;
  color: var(--slate);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--line);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 380px 1fr;
    gap: 48px;
  }
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--slate);
}

.contact-item a:hover {
  color: var(--signal);
}

.map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 26px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  border-radius: 10px;
  background-color: #E7F4EC;
  color: #1B6B3F;
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.form-status svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  filter: grayscale(1);
  transition: filter 0.25s;
}

.team-card:hover img {
  filter: grayscale(0);
}

.team-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
}

.team-card span {
  font-size: 0.875rem;
  color: var(--slate);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 0;
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-bottom: 40px;
}

@media (min-width: 700px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.site-footer .brand-mark {
  background-color: var(--white);
  color: var(--ink);
}

.site-footer .brand-name {
  color: var(--white);
}

.footer-about {
  margin-top: 18px;
  max-width: 42ch;
  font-size: 0.9375rem;
}

.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ============================================
   MOTION — one orchestrated entrance
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
