/* =====================================================================
   Process Academy Stuttgart — Stylesheet
   Mobile-first. Lokale Schriften. Keine externen CDNs.
   ===================================================================== */

/* ---------- Fonts (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/spacegrotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/spacegrotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  --ink: #070b1a;
  --navy: #0c1636;
  --navy-2: #0e1a4d;
  --brand: #1e4de0;
  --brand-strong: #2f7bff;
  --sky: #35b6f0;
  --ice: #eaf1ff;
  --paper: #f6f8fc;
  --white: #ffffff;

  --text: #10192e;
  --text-soft: #45536f;
  --text-on-dark: #eaf1ff;
  --text-on-dark-soft: #a4b2d4;

  --line: #e2e8f5;
  --line-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(12, 22, 54, 0.06);
  --shadow: 0 18px 44px -22px rgba(12, 22, 54, 0.35);
  --shadow-lg: 0 40px 80px -32px rgba(9, 18, 48, 0.5);

  --maxw: 1160px;
  --gutter: clamp(1.15rem, 5vw, 2.5rem);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 {
  font-size: clamp(2.3rem, 7vw, 4.2rem);
}
h2 {
  font-size: clamp(1.8rem, 4.6vw, 2.9rem);
}
h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
}
p {
  margin: 0 0 1rem;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.9rem;
}
.section-dark .eyebrow {
  color: var(--sky);
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-primary {
  --btn-bg: var(--brand);
  box-shadow: 0 14px 30px -12px rgba(30, 77, 224, 0.7);
}
.btn-primary:hover {
  --btn-bg: var(--brand-strong);
  box-shadow: 0 20px 38px -12px rgba(47, 123, 255, 0.75);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-lg {
  min-height: 54px;
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
}
.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}

.link-arrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brand);
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.link-arrow span {
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover {
  text-decoration: none;
}
.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(7, 11, 26, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
}
.brand:hover {
  text-decoration: none;
}
.brand-ring {
  color: var(--sky);
  display: inline-flex;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-text em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav > a {
  color: var(--text-on-dark);
  font-size: 0.96rem;
  font-weight: 500;
  position: relative;
}
.nav > a:not(.nav-cta):hover {
  text-decoration: none;
  color: #fff;
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}
.nav-cta {
  color: #fff;
}
.nav-cta:hover {
  text-decoration: none;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease), top 0.28s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-media img {
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 11, 26, 0.62) 0%, rgba(7, 11, 26, 0.25) 34%, rgba(7, 11, 26, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 11, 26, 0.7) 0%, rgba(7, 11, 26, 0) 60%);
}
.hero-inner {
  position: relative;
}
.hero h1 {
  max-width: 16ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-on-dark);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 2.2rem;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.hero-chips .ico {
  color: var(--sky);
  width: 18px;
  height: 18px;
}

/* Orbit-Signatur (Ringmotiv aus dem Logo) */
.hero-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -14vw;
  transform: translateY(-50%);
  width: min(52vw, 620px);
  aspect-ratio: 1;
  pointer-events: none;
}
.hero-orbit .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(53, 182, 240, 0.22);
}
.hero-orbit .ring-2 {
  inset: 14%;
  border-color: rgba(47, 123, 255, 0.28);
  border-style: dashed;
  animation: spin 46s linear infinite;
}
.hero-orbit .ring-3 {
  inset: 30%;
  border-color: rgba(53, 182, 240, 0.35);
  animation: spin 32s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--ink);
  color: #fff;
  padding: clamp(2rem, 5vw, 2.8rem) 0;
  border-bottom: 1px solid var(--line-dark);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.trust-item .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--sky);
  line-height: 1;
}
.trust-item .lbl {
  font-size: 0.9rem;
  color: var(--text-on-dark-soft);
}

/* ---------- Section base ---------- */
.section {
  padding: clamp(3.6rem, 9vw, 7rem) 0;
}
.section-tint {
  background: var(--paper);
}
.section-dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section-dark h2 {
  color: #fff;
}
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.section-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
}
.section-dark .section-lead {
  color: var(--text-on-dark-soft);
}

/* ---------- Kurse ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #cdd9f2;
}
.course-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.course-card:hover .course-media img {
  transform: scale(1.06);
}
.course-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 11, 26, 0.7);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
}
.course-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.course-body p {
  color: var(--text-soft);
  font-size: 0.97rem;
  margin-bottom: 0.5rem;
}
.course-body .link-arrow {
  margin-top: auto;
}

/* ---------- Werte ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.value-card {
  position: relative;
  padding: 2rem 1.7rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.08), rgba(47, 123, 255, 0.02));
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.value-ring {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px dashed rgba(53, 182, 240, 0.4);
}
.value-card h3 {
  color: #fff;
  margin-bottom: 0.35rem;
}
.value-card p {
  color: var(--text-on-dark-soft);
  margin: 0;
}
.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.benefit-list .ico {
  color: var(--sky);
}

/* ---------- Über / Coach ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3.4rem);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(7, 11, 26, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
}
.about-badge span {
  font-size: 0.82rem;
  color: var(--text-on-dark-soft);
}
.cred-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.cred-list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-soft);
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.cred-list span {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  margin-right: 0.35rem;
}

/* ---------- Ablauf / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step-no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: var(--brand);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.step h3 {
  margin-bottom: 0.3rem;
}
.step p {
  color: var(--text-soft);
  margin: 0;
}

/* ---------- Kursplan ---------- */
.schedule-desktop {
  display: none;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.schedule-table th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 0.5rem;
  text-align: center;
}
.schedule-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.6rem;
  vertical-align: top;
  text-align: center;
  width: 14.28%;
}
.schedule-table tbody tr:nth-child(even) td {
  background: var(--paper);
}
.schedule-table td b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.25;
}
.schedule-table td em {
  font-style: normal;
  color: var(--brand);
}
.schedule-table td span {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
}

.schedule-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.acc-head {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  text-align: left;
}
.acc-ico {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.acc-ico::before,
.acc-ico::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}
.acc-ico::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}
.acc-ico::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}
.acc-head[aria-expanded="true"] .acc-ico::after {
  transform: scaleY(0);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.acc-panel > ul {
  overflow: hidden;
  min-height: 0;
}
.acc-item.open .acc-panel {
  grid-template-rows: 1fr;
}
.acc-panel li {
  display: flex;
  gap: 0.9rem;
  padding: 0.55rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
}
.acc-panel li span {
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  font-weight: 600;
  min-width: 92px;
  flex: none;
}

/* ---------- Zitat / Referenz ---------- */
.quote-wrap {
  max-width: 62ch;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--brand-strong);
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.55;
}
.quote-wrap blockquote {
  margin: 0;
}
.quote-wrap blockquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
}
.quote-wrap blockquote footer {
  margin-top: 1.2rem;
  color: var(--text-on-dark-soft);
  font-size: 0.98rem;
}
.badge-line {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  background: rgba(53, 182, 240, 0.1);
  border: 1px solid rgba(53, 182, 240, 0.28);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
}
.badge-line .ico {
  color: var(--sky);
}
.badge-line strong {
  color: #fff;
}

/* ---------- Standort ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3rem);
  align-items: center;
}
.contact-facts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.4rem 0 2rem;
}
.contact-facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-soft);
}
.contact-facts .ico {
  color: var(--brand);
}
.contact-facts em {
  font-style: normal;
  color: var(--text-soft);
  opacity: 0.8;
}
.location-map {
  position: relative;
  aspect-ratio: 16 / 12;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 30% 20%, #12224f 0%, #0b1430 55%, #070b1a 100%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 182, 240, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 182, 240, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(80% 80% at 50% 45%, #000 40%, transparent 100%);
}
.map-pin {
  position: relative;
  color: var(--sky);
  filter: drop-shadow(0 8px 18px rgba(53, 182, 240, 0.55));
  animation: pin-float 3.2s ease-in-out infinite;
}
.map-pin svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes pin-float {
  50% {
    transform: translateY(-8px);
  }
}
.map-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: rgba(7, 11, 26, 0.6);
  border: 1px solid var(--line-dark);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
}
.map-note {
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--text-on-dark-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ---------- Kontaktformular ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 3.2rem);
  align-items: start;
}
.contact-intro h2 {
  max-width: 16ch;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 77, 224, 0.12);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #d92d5b;
  box-shadow: 0 0 0 4px rgba(217, 45, 91, 0.12);
}
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  margin-top: 0.15rem;
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent.consent-error span {
  color: #d92d5b;
}
.form-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.2em;
}
.form-status.ok {
  color: #157a4b;
}
.form-status.err {
  color: #d92d5b;
}
.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-soft);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 2.6rem;
}
.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.footer-brand .brand-ring {
  color: var(--sky);
}
.footer-brand strong {
  color: #fff;
  font-family: var(--font-display);
}
.footer-nav h3,
.footer-contact h3 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a,
.footer-contact a {
  color: var(--text-on-dark-soft);
  font-size: 0.96rem;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
}
.footer-contact address {
  font-style: normal;
  line-height: 1.8;
  font-size: 0.96rem;
}
.social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--text-on-dark-soft);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social a:hover {
  color: var(--sky);
  border-color: var(--sky);
  transform: translateY(-2px);
}
.social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.6rem 0 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.legal-links {
  display: flex;
  gap: 1.4rem;
}
.legal-links a {
  color: var(--text-on-dark-soft);
  font-size: 0.9rem;
}
.legal-links a:hover {
  color: #fff;
}
.copyright {
  margin: 0;
  font-size: 0.85rem;
}
.powered {
  margin: 0;
  font-size: 0.9rem;
}
.wowobot {
  color: #22b8e0;
  font-weight: 600;
}
.wowobot:hover {
  text-decoration: underline;
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   Breakpoints
   ===================================================================== */
@media (min-width: 560px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr 1.05fr;
  }
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1.3fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .schedule-desktop {
    display: block;
  }
  .schedule-mobile {
    display: none;
  }
}

@media (max-width: 899px) {
  /* Mobile Navigation */
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 95;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: calc(var(--header-h) + 1.2rem) 1.4rem 2rem;
    background: rgba(9, 14, 32, 0.97);
    backdrop-filter: blur(14px);
    border-left: 1px solid var(--line-dark);
    transform: translateX(100%);
    transition: transform 0.34s var(--ease);
    overflow-y: auto;
  }
  .nav.open {
    transform: translateX(0);
    box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.6);
  }
  .nav > a {
    padding: 0.9rem 0.4rem;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.05rem;
  }
  .nav > a::after {
    display: none;
  }
  .nav-cta {
    margin-top: 1rem;
    border-bottom: none !important;
    justify-content: center;
  }
  .burger {
    display: block;
  }
  body.nav-open {
    overflow: hidden;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(4, 7, 18, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
  }
}

/* ---------- Rechtliche Seiten / 404 ---------- */
.legal-header {
  background: var(--ink);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.legal-main {
  padding: clamp(2.4rem, 7vw, 5rem) 0;
  min-height: 60vh;
}
.legal-main .container {
  max-width: 780px;
}
.legal-main h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  color: var(--text);
  margin-bottom: 1.4rem;
}
.legal-main h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 0.6rem;
}
.legal-main p,
.legal-main li {
  color: var(--text-soft);
}
.legal-main ul.dashed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}
.legal-main ul.dashed li {
  padding-left: 1.1rem;
  position: relative;
}
.legal-main ul.dashed li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--brand);
}
.placeholder {
  display: inline-block;
  background: rgba(30, 77, 224, 0.1);
  border: 1px dashed var(--brand);
  color: var(--brand);
  border-radius: 6px;
  padding: 0.05rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  font-size: 0.95rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.4rem;
  font-family: var(--font-display);
  font-weight: 500;
}
.error-wrap {
  text-align: center;
  padding: clamp(4rem, 12vh, 8rem) 0;
}
.error-wrap .code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 16vw, 9rem);
  color: var(--brand);
  line-height: 1;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
