:root {
  --bg: #07101a;
  --bg-soft: #0d1723;
  --panel: rgba(9, 20, 32, 0.78);
  --panel-strong: rgba(12, 24, 38, 0.9);
  --line: rgba(255, 199, 92, 0.18);
  --text: #f4f7fb;
  --muted: #a9b6c7;
  --gold: #ffc955;
  --gold-soft: #ffdd88;
  --teal: #7ce4d6;
  --danger: #ff7f7f;
  --success: #7af0b0;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

/* =========================
   RESET & BASIS
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 191, 71, 0.16), transparent 26%),
    radial-gradient(circle at 86% 26%, rgba(115, 255, 182, 0.1), transparent 22%),
    linear-gradient(180deg, #03070d 0%, #07111b 46%, #06101a 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  font-size: 16px;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.admin-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto 50px;
  position: relative;
  z-index: 2;
}

.hidden {
  display: none !important;
}

.full-width {
  width: 100%;
}

.field-span-2,
.full-span {
  grid-column: 1 / -1;
}

.muted,
.form-note,
.status-text {
  color: var(--muted);
  font-size: 0.94rem;
}

.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;
}

/* =========================
   HINTERGRUND / EFFEKTE
========================= */
.page-shell::before,
.page-shell::after {
  content: '';
  position: fixed;
  inset: -12%;
  pointer-events: none;
  z-index: 1;
}

.page-shell::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 191, 71, 0.16), transparent 18%),
    radial-gradient(circle at 80% 24%, rgba(115, 255, 182, 0.12), transparent 18%),
    radial-gradient(circle at 50% 70%, rgba(66, 226, 255, 0.08), transparent 24%);
  filter: blur(30px);
  animation: auraDrift 18s ease-in-out infinite alternate;
}

.page-shell::after {
  background:
    radial-gradient(circle at center, transparent 42%, rgba(255, 208, 94, 0.06) 62%, transparent 72%),
    radial-gradient(circle at center, transparent 54%, rgba(115, 255, 182, 0.05) 70%, transparent 80%);
  filter: blur(8px);
  animation: haloTurn 36s linear infinite;
}

.site-background,
.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-background {
  background:
    linear-gradient(180deg, rgba(3, 6, 11, 0.7), rgba(5, 10, 18, 0.88)),
    linear-gradient(135deg, rgba(255, 190, 66, 0.08), transparent 36%, rgba(115, 255, 182, 0.05) 100%);
}

.site-background::before,
.site-background::after {
  content: '';
  position: absolute;
  inset: 0;
}

.site-background::before {
  background: var(--page-background) center / cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: saturate(1.08) contrast(1.02) blur(0.5px);
  transform: scale(1.06);
  animation: backgroundDrift 22s ease-in-out infinite alternate;
}

.site-background::after {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 200, 82, 0.26), transparent 20%),
    radial-gradient(circle at 82% 24%, rgba(115, 255, 182, 0.18), transparent 18%),
    radial-gradient(circle at 48% 80%, rgba(87, 224, 210, 0.12), transparent 24%);
  filter: blur(22px);
  animation: colorPulse 15s ease-in-out infinite alternate;
}

.site-noise {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.1;
}

/* =========================
   TYPO / KLEINE HELFER
========================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold-soft);
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-copy h1,
.page-heading h1,
.section-heading h2,
.card h3,
.content-card h2,
.legal-card h1,
.admin-card h2 {
  margin: 0 0 16px;
  line-height: 1.08;
}

.hero-copy h1,
.page-heading h1,
.legal-card h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.hero-text,
.page-heading p,
.section-heading p,
.card p,
.content-card p,
.legal-card p,
.admin-card p {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

/* =========================
   HEADER / NAV / LOGO
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  padding-top: max(18px, env(safe-area-inset-top));
  backdrop-filter: blur(20px);
}

.header-shell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-bar {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: 12px 18px;
  background: rgba(7, 16, 26, 0.72);
  border: 1px solid rgba(255, 201, 85, 0.14);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.brand-logo-only {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-only img,
.brand img {
  width: 320px !important;
  height: 76px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid rgba(255, 201, 85, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(255, 201, 85, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(255, 201, 85, 0.95), rgba(255, 177, 76, 0.88));
  color: #101010 !important;
  font-weight: 700;
}

.mobile-social-wrap,
.header-social-mobile {
  display: none;
}

.header-social-desktop,
.header-social-mobile {
  flex-shrink: 0;
}

/* =========================
   SOCIAL LINKS
========================= */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links-compact {
  gap: 8px;
}

.social-links-compact .social-link {
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  justify-content: center;
}

.social-links-compact .social-label {
  display: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 201, 85, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 201, 85, 0.12);
  border-color: rgba(115, 255, 182, 0.28);
}

.social-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg,
.social-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.social-icon svg {
  fill: currentColor;
  stroke: none;
}

.social-link.has-custom-icon {
  padding-inline: 12px;
}

.social-link.has-custom-icon .social-icon {
  width: 22px;
  height: 22px;
}

.social-link.has-custom-icon .social-icon img {
  object-fit: contain;
}

/* =========================
   LAYOUTS
========================= */
.hero {
  padding: 62px 0 46px;
}

.section,
.page-section {
  padding: 30px 0 80px;
}

.hero-grid,
.two-col-grid,
.info-grid,
.page-grid,
.team-grid,
.footer-grid,
.contact-layout,
.stats-row,
.card-grid,
.benefit-grid,
.highlight-grid,
.faq-grid,
.legal-grid,
.admin-grid,
.metrics-grid {
  display: grid;
  gap: 22px;
}

.hero-grid,
.page-grid,
.contact-layout {
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.page-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 26px;
}

.stats-row,
.metrics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.card-grid,
.benefit-grid,
.highlight-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-grid {
  grid-template-columns: 1fr 1fr;
}

.admin-grid {
  grid-template-columns: 1fr;
}

/* =========================
   BUTTONS / PANELS / CARDS
========================= */
.hero-actions,
.card-actions,
.inline-actions,
.admin-actions-inline,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #ffb85c);
  color: #151515;
  box-shadow: 0 14px 28px rgba(255, 193, 74, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 201, 85, 0.16);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-panel,
.card,
.content-card,
.stats-card,
.team-card,
.faq-item,
.legal-card,
.admin-card,
.admin-savebar,
.status-banner,
.partner-card,
.admin-sidebar {
  background: var(--panel);
  border: 1px solid rgba(255, 201, 85, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stats-card,
.card,
.team-card,
.content-card,
.legal-card,
.admin-card {
  padding: 24px;
}

.stats-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  color: var(--gold-soft);
}

.card .meta {
  color: var(--gold-soft);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* =========================
   BILDER / FRAMES
========================= */
.image-frame {
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 201, 85, 0.18);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glow-frame {
  position: relative;
}

.glow-frame::after {
  content: '';
  position: absolute;
  inset: auto 18px -18px 18px;
  height: 50px;
  filter: blur(22px);
  background: linear-gradient(90deg, rgba(255, 190, 66, 0.32), rgba(87, 224, 210, 0.28));
}

.hero-image .image-frame {
  aspect-ratio: 0.9;
}

.content-card .image-frame {
  margin-top: 20px;
  aspect-ratio: 1.15;
}

.content-card .split-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.content-card .split-images .image-frame {
  margin-top: 0;
  aspect-ratio: 1;
}

.card img,
.highlight-card img {
  border-radius: 20px;
  aspect-ratio: 1.05;
  object-fit: cover;
  margin-bottom: 18px;
}

/* =========================
   LISTEN
========================= */
.trust-list,
.icon-list,
.audience-list,
.check-list,
.footer-links,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.trust-list li,
.audience-list li,
.check-list li,
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.trust-list li::before,
.audience-list li::before,
.check-list li::before,
.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

/* =========================
   TEAM / PROCESS / FAQ
========================= */
.team-card img {
  width: min(100%, 220px);
  height: 220px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 201, 85, 0.14);
  padding: 0;
  margin: 0 auto 22px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.team-card {
  text-align: center;
}

.team-card p {
  text-align: left;
}

.team-role {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-weight: 600;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.process-number {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(255, 201, 85, 0.95), rgba(255, 170, 66, 0.45));
  color: #121212;
  font-weight: 800;
  font-size: 1.3rem;
}

.faq-search {
  width: 100%;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 22px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.hidden-by-search {
  display: none;
}

/* =========================
   FORMULARE
========================= */
.contact-form,
.admin-form {
  display: grid;
  gap: 16px;
}

.contact-form.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form.two-columns {
  grid-template-columns: 1fr;
}

.contact-form.single-column,
.admin-form.single-column {
  grid-template-columns: 1fr;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(255, 201, 85, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 201, 85, 0.08);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.status-banner {
  padding: 14px 18px;
}

.status-banner.success {
  border-color: rgba(122, 240, 176, 0.24);
  color: var(--success);
}

.status-banner.error {
  border-color: rgba(255, 127, 127, 0.24);
  color: var(--danger);
}

/* =========================
   PARTNER
========================= */
.partner-section .container {
  max-width: 1040px;
}

.partners-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 190px;
  padding: 28px 24px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(255, 199, 92, 0.16);
  background:
    linear-gradient(180deg, rgba(12, 24, 38, 0.9) 0%, rgba(8, 18, 30, 0.82) 100%),
    rgba(9, 20, 32, 0.78);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 228, 214, 0.3);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
}

.partner-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 132px;
  padding: 6px 0;
}

.partner-card img {
  display: block;
  width: min(100%, 360px);
  max-width: 100%;
  max-height: 132px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
}

/* =========================
   LEGALS / FOOTER / COOKIE
========================= */
.legal-card {
  padding: 34px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 46px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 10, 16, 0.68);
  position: relative;
  z-index: 2;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact a,
.footer-bottom-links a,
.link-button {
  color: var(--muted);
}


.footer-cta-group {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.link-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px 20px;
  z-index: 70;
}

.cookie-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

.cookie-settings {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-option input {
  width: 18px;
  height: 18px;
}

/* =========================
   ADMIN
========================= */
.admin-body {
  background: linear-gradient(180deg, #050b12, #0b1622);
}

.admin-login,
.admin-panel {
  position: relative;
  z-index: 2;
}

.admin-login {
  max-width: 560px;
  margin: 80px auto;
  padding: 28px;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-workspace {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-savebar {
  grid-column: 1 / -1;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-sidebar {
  position: sticky;
  top: 24px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 20px;
  z-index: 5;
}

.admin-sidebar-head h2 {
  margin: 0 0 8px;
}

.admin-sidebar-nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.24s ease;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
  color: var(--text);
  border-color: rgba(115, 255, 182, 0.22);
  background: rgba(255, 201, 85, 0.08);
}

.admin-section-card {
  scroll-margin-top: 110px;
}

.admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card textarea {
  min-height: 110px;
}

.repeater-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.repeater-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
}

.repeater-item .admin-actions-inline {
  margin-top: 4px;
}

.remove-button {
  justify-self: end;
  background: rgba(255, 127, 127, 0.12);
  color: #ffd6d6;
  border: 1px solid rgba(255, 127, 127, 0.18);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-soft);
  font-size: 0.88rem;
}

/* =========================
   REVEAL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   ANIMATIONEN
========================= */
@keyframes auraDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(1%, -1.5%, 0) scale(1.08);
  }
}

@keyframes haloTurn {
  0% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes backgroundDrift {
  0% {
    transform: scale(1.05) translate3d(-1.5%, -1%, 0);
  }
  100% {
    transform: scale(1.1) translate3d(1.2%, 1.6%, 0);
  }
}

@keyframes colorPulse {
  0% {
    opacity: 0.76;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* =========================
   RESPONSIVE 1180
========================= */
@media (max-width: 1180px) {
  .partners-grid,
  .partners-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .brand-logo-only img {
    width: 170px;
    max-height: 88px;
  }
}

/* =========================
   RESPONSIVE 980
========================= */
@media (max-width: 980px) {
  .hero-grid,
  .page-grid,
  .contact-layout,
  .footer-grid,
  .admin-grid,
  .legal-grid,
  .team-grid,
  .card-grid,
  .benefit-grid,
  .highlight-grid,
  .faq-grid,
  .stats-row,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .header-shell {
    display: block;
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    padding: 10px 14px;
    border-radius: 28px;
  }

  .brand-logo-only img {
    width: 140px;
    max-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(7, 16, 26, 0.96);
    border: 1px solid rgba(255, 201, 85, 0.14);
    border-radius: 24px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .header-social-desktop,
  .header-utilities .social-links {
    display: none;
  }

  .header-social-mobile,
  .mobile-social-wrap {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-social-mobile .social-links,
  .mobile-social-wrap .social-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-social-mobile .social-link,
  .mobile-social-wrap .social-link {
    width: 48px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .partners-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form.two-columns,
  .admin-form.two-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom,
  .admin-topbar,
  .admin-savebar {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 10px;
    max-height: none;
    overflow: hidden;
    padding: 14px;
  }

  .admin-sidebar-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .admin-sidebar-nav a {
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

/* =========================
   RESPONSIVE 640
========================= */
@media (max-width: 640px) {
  .container,
  .admin-shell {
    width: min(100% - 20px, 100%);
  }

  .site-header {
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .header-bar {
    padding: 8px 12px;
    gap: 12px;
    border-radius: 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand span {
    font-size: 0.8rem;
  }

  .brand-logo-only img {
    width: 120px;
    max-height: 68px;
  }

  .menu-toggle {
    min-width: 72px;
    min-height: 44px;
    padding-inline: 12px;
  }

  .hero {
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .hero-copy h1,
  .page-heading h1,
  .legal-card h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
    line-height: 1.08;
  }

  .hero-text,
  .page-heading p,
  .section-heading p,
  .card p,
  .content-card p,
  .legal-card p,
  .admin-card p {
    line-height: 1.6;
  }

  .hero-actions,
  .card-actions,
  .inline-actions,
  .admin-actions-inline,
  .cookie-actions {
    gap: 10px;
  }

  .btn,
  .main-nav a,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .social-links {
    width: 100%;
  }

  .header-social-mobile {
    margin-top: 10px;
  }

  .header-social-mobile .social-links,
  .mobile-social-wrap .social-links {
    gap: 8px;
  }

  .header-social-mobile .social-link,
  .mobile-social-wrap .social-link {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .partners-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 160px;
    padding: 18px;
  }

  .partner-logo-wrap {
    min-height: 112px;
  }

  .partner-card img {
    width: min(100%, 280px);
    max-height: 104px;
  }

  .contact-form,
  .admin-form {
    gap: 14px;
  }

  input,
  textarea,
  select {
    padding: 14px 15px;
    border-radius: 16px;
  }

  .card,
  .content-card,
  .team-card,
  .legal-card,
  .admin-card,
  .stats-card {
    padding: 20px;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .metrics-grid,
  .faq-grid {
    gap: 16px;
  }

  .footer-bottom-links {
    width: 100%;
    gap: 12px;
  }

  .footer-bottom-links a,
  .footer-bottom-links button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .admin-topbar {
    gap: 14px;
  }

  .admin-savebar {
    padding: 16px 18px;
  }

  .cookie-banner {
    inset: auto 10px 10px 10px;
  }
}

/* =========================
   TOUCH / REDUCED MOTION
========================= */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .content-card:hover,
  .stats-card:hover,
  .team-card:hover,
  .faq-item:hover,
  .image-frame:hover,
  .admin-card:hover,
  .partner-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .image-frame:hover img,
  .card:hover img,
  .highlight-card:hover img {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell::before,
  .page-shell::after,
  .site-background::before,
  .site-background::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    transition: none !important;
  }

  .btn,
  .social-link,
  .partner-card,
  .main-nav a {
    transition: none !important;
  }
}

/* =========================
   ADMIN LAYOUT FIX / EASY CHECK
========================= */
.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-main {
  min-width: 0;
  max-width: 980px;
}

.admin-side-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.admin-side-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.24s ease;
}

.admin-side-nav a:hover,
.admin-side-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(115, 255, 182, 0.22);
  background: rgba(255, 201, 85, 0.08);
}

.admin-sidebar-brand {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-brand img {
  max-width: 170px;
  max-height: 72px;
}

.admin-sidebar-copy {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--muted);
}

.admin-subsection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}

.admin-subsection {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-subsection.full-span {
  grid-column: 1 / -1;
}

.admin-subsection h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.stat-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 10px;
  }
}

@media (max-width: 780px) {
  .admin-subsection-grid {
    grid-template-columns: 1fr;
  }
}


.easy-question-item { border: 1px solid rgba(255,255,255,.08); }
.easy-options-editor { display: grid; gap: 10px; margin-top: 8px; }
.easy-option-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checkbox-row input { width: auto; }
.admin-note { color: var(--muted); margin: 0 0 14px; }

.admin-upload-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.admin-upload-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.admin-upload-preview img {
  max-width: 220px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
}

.admin-upload-path {
  font-size: 0.85rem;
  color: var(--muted);
  word-break: break-word;
}


/* Vertriebspartner Seiten */
.partner-spotlight-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.partner-spotlight-card,
.partner-mini-card,
.partner-benefit-card,
.partner-cta-panel {
  position: relative;
  overflow: hidden;
}

.partner-spotlight-card::after,
.partner-cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 85, 0.18), transparent 68%);
  pointer-events: none;
}

.partner-check-list li::marker {
  color: var(--accent);
}

.partner-metric-stack {
  display: grid;
  gap: 18px;
}

.partner-mini-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}
.partner-mini-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.partner-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.partner-mini-card p { color: var(--muted); margin: 0; }
.partner-benefit-grid { align-items: stretch; }
.partner-benefit-card { padding-top: 30px; }
.partner-benefit-icon {
  width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items:center; justify-content:center;
  background: rgba(255, 201, 85, 0.14); color: var(--accent); font-size: 1.1rem; margin-bottom: 14px;
}
.partner-process-step {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
}
.partner-spotlight-actions { margin-top: 22px; }

@media (max-width: 900px) {
  .partner-spotlight-grid { grid-template-columns: 1fr; }
}
