/* ==========================================================================
   Die Zentrale Coworking – Empfehlungsprogramm
   Brand-Tokens aus landingpage-dzc/tailwind.config.js
   ========================================================================== */

:root {
  --dzc-blue: #0076b9;
  --dzc-blue-dark: #005a8f;
  --dzc-mint: #b7e492;
  --dzc-cream: #faf9f7;
  --dzc-pink: #f02b8a;
  --dzc-sky: #87ceeb;

  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-cta: 0 4px 14px rgba(0, 118, 185, 0.35);
  --shadow-cta-hover: 0 8px 25px rgba(0, 118, 185, 0.4);

  --wrap: 1120px;
  --wrap-narrow: 760px;
}

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

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

/* Muss die display-Regeln von .form und .field ueberstimmen,
   sonst bleiben Erfolgsmeldung und Firmenfeld sichtbar. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--dzc-cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--dzc-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

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

:focus-visible {
  outline: 3px solid var(--dzc-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--dzc-blue);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: top 0.15s ease;
}

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

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

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

.section--cream {
  background: var(--dzc-cream);
}

.section--blue {
  background: var(--dzc-blue);
  color: rgba(255, 255, 255, 0.92);
}

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section__head p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0;
}

.section--blue .section__head p {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dzc-blue);
  margin-bottom: 0.75rem;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.site-header__logo img {
  display: block;
  height: 2.25rem;
  width: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  background: var(--dzc-blue);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--dzc-blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--dzc-blue);
  box-shadow: var(--shadow-card);
}

.btn--light:hover {
  background: #f3f4f6;
  color: var(--dzc-blue-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--dzc-blue);
  box-shadow: inset 0 0 0 2px var(--dzc-blue);
}

.btn--ghost:hover {
  background: rgba(0, 118, 185, 0.06);
}

.btn--block {
  width: 100%;
}

.btn--small {
  padding: 0.65rem 1.15rem;
  font-size: 0.95rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--dzc-cream) 100%);
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem 0 1.25rem;
}

.hero__note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
}

.hero__card-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.hero__amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--dzc-blue);
  line-height: 1;
}

.hero__amount b {
  font-size: clamp(3rem, 9vw, 4.25rem);
  letter-spacing: -0.03em;
}

.hero__amount span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__card-sub {
  margin: 1rem 0 1.25rem;
  color: var(--ink-soft);
}

.hero__card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.hero__card-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.98rem;
}

.hero__card-list svg {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.22rem;
  color: var(--dzc-blue);
}

/* ---------- Kicker ---------- */

.kicker {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.kicker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .kicker__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.kicker__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--ink);
}

.kicker__list svg {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--dzc-blue);
}

/* ---------- Steps ---------- */

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

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

.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--dzc-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
}

.steps h3 {
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Prämientabelle ---------- */

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

.rewards table {
  width: 100%;
  border-collapse: collapse;
}

.rewards caption {
  text-align: left;
  padding: 1.25rem 1.5rem 0;
  font-weight: 700;
  color: var(--ink);
}

.rewards th,
.rewards td {
  padding: 0.95rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.rewards thead th {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--dzc-cream);
}

.rewards tbody tr:last-child th,
.rewards tbody tr:last-child td {
  border-bottom: 0;
}

.rewards tbody th {
  font-weight: 600;
  color: var(--ink);
}

.rewards td:last-child,
.rewards th:last-child {
  text-align: right;
}

.rewards .amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dzc-blue);
  white-space: nowrap;
}

.rewards__gross {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .rewards th,
  .rewards td {
    padding: 0.8rem 0.85rem;
    font-size: 0.92rem;
  }

  .rewards thead th {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .rewards .amount {
    font-size: 1.1rem;
  }
}

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

/* ---------- Beispiel ---------- */

.example {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: rgba(183, 228, 146, 0.28);
  border: 1px solid var(--dzc-mint);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 780px) {
  .example {
    grid-template-columns: 1fr auto;
    gap: 2rem;
  }
}

.example h3 {
  margin-bottom: 0.4rem;
}

.example p {
  margin: 0;
}

.example__sum {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.example__sum b {
  display: block;
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--dzc-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.example__sum span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.card svg {
  width: 2rem;
  height: 2rem;
  color: var(--dzc-blue);
  margin-bottom: 0.9rem;
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checklist svg {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.2rem;
  color: var(--dzc-blue);
}

.section--blue .checklist svg {
  color: var(--dzc-mint);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--dzc-blue);
  border-bottom: 2px solid var(--dzc-blue);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details > div {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- Formular ---------- */

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form__row {
  display: grid;
  gap: 1.1rem;
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

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

.field .optional {
  font-weight: 500;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d1d5db;
  border-radius: 0.7rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--dzc-blue);
  box-shadow: 0 0 0 3px rgba(0, 118, 185, 0.18);
}

.field__hint {
  font-size: 0.87rem;
  color: var(--muted);
  margin: 0;
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  margin-bottom: 0.5rem;
}

.choice__option {
  flex: 1 1 12rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.7rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice__option:hover {
  border-color: var(--dzc-blue);
}

.choice__option:has(input:checked) {
  border-color: var(--dzc-blue);
  background: rgba(0, 118, 185, 0.06);
}

.choice__option input {
  accent-color: var(--dzc-blue);
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.field--consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.field--consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.22rem;
  accent-color: var(--dzc-blue);
}

.field--consent label {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form__status:empty {
  display: none;
}

.form__status--error {
  color: #b91c1c;
  font-weight: 600;
}

.form__status--info {
  color: var(--dzc-blue-dark);
  font-weight: 600;
}

.form__success {
  text-align: center;
  padding: 1rem 0;
}

.form__success svg {
  width: 3rem;
  height: 3rem;
  color: var(--dzc-blue);
  margin-bottom: 0.75rem;
}

.form__success h3 {
  font-size: 1.45rem;
}

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

/* ---------- Final CTA ---------- */

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 2.75rem 0 2rem;
  font-size: 0.93rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 780px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.site-footer a {
  color: #d1d5db;
}

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

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__legal {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #1f2937;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ---------- Teilnahmebedingungen ---------- */

.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--white);
}

.legal__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
}

.legal h2:first-of-type {
  margin-top: 1.5rem;
}

.legal ol,
.legal ul {
  padding-left: 1.3rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal .rewards {
  margin: 1.75rem 0;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
