/* Tanduu Shield — tanduu.de: visuelles 1:1-Spiegelbild der ContractorHQ-Startseite (tanduu.com).
   Farben/Abstände an home-page.tsx + public-header/footer angelehnt. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --sky-600: #0284c7;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --hero-bg: #0a0720;
  --section-dark-2: #100d2b;
  --section-cta: #0f0c24;
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --amber-400: #fbbf24;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: var(--slate-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* ─── Layout shell (PublicCoreLayout) ─── */
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

main {
  flex: 1 1 auto;
  overflow-x: hidden;
  min-width: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .px {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .px {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.max-w-7xl {
  max-width: 80rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-xl {
  max-width: 36rem;
}

/* ─── Public header (public-header.tsx) ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--slate-900);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 4rem;
  gap: 1rem;
}
@media (min-width: 640px) {
  .nav-inner {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .nav-inner {
    padding: 0 2rem;
  }
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .nav-left {
    gap: 2rem;
  }
}

.logo img {
  height: 2.25rem;
  width: auto;
}
@media (min-width: 640px) {
  .logo img {
    height: 2.5rem;
  }
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}
@media (min-width: 768px) {
  .nav-links-desktop {
    display: flex;
  }
}

.nav-links-desktop a:hover {
  color: var(--sky-600);
}

.nav-center-search {
  display: none;
  flex-grow: 1;
  max-width: 36rem;
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .nav-center-search {
    display: flex;
  }
}

.nav-right-desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .nav-right-desktop {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--slate-200);
  background: #fff;
  color: var(--slate-800);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  background: #f8fafc;
}

.btn-orange {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #fff;
  font-weight: 700;
}
.btn-orange:hover {
  background: var(--orange-700);
  border-color: var(--orange-700);
}

.btn-ghost-header {
  background: transparent;
  border-color: var(--slate-200);
  color: var(--slate-800);
  font-weight: 500;
}

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

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  color: var(--slate-800);
}
.menu-toggle:hover {
  background: #f1f5f9;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-drawer:target {
  pointer-events: auto;
  opacity: 1;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-drawer:target .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer h2 {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
}

.mobile-drawer a {
  display: block;
  padding: 0.65rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--slate-800);
  border-bottom: 1px solid var(--slate-100);
}
.mobile-drawer a:hover {
  color: var(--sky-600);
}

.close-drawer {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate-500);
}

/* ─── Hero (home-page section 1) ─── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  color: #fff;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* statischer Untergrund: wirkt sofort, bis das PNG da ist — kein „leeres Schwarz“-Flackern */
  background-color: #0a0720;
}

/* nur rechts: dezentes Glow — kein zweiter dunkler Fleck links (der frisst Kontrast zur Headline) */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 110% 75% at 82% 36%,
    rgba(56, 189, 248, 0.22) 0%,
    transparent 55%
  );
}

.hero-bg img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  /* wichtig: globales img{height:auto} sonst Cover-Fläche bis zum Decode falsch → Layout-Zucken */
  object-fit: cover;
  display: block;
  opacity: 0.72;
  filter: brightness(1.14) saturate(1.05) contrast(1.03);
}

.hero-grad1 {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(10, 7, 32, 0.88) 0%,
    rgba(10, 7, 32, 0.55) 26%,
    rgba(10, 7, 32, 0.18) 58%,
    transparent 100%
  );
}

.hero-grad2 {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 62%,
    rgba(10, 7, 32, 0.32) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-inner {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--violet-300);
  margin-bottom: 1.5rem;
}

.ping-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}
.ping-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--violet-400);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}
.ping-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--violet-400);
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #ffffff;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.75),
    0 1px 2px rgba(0, 0, 0, 0.55);
}

.hero-gradient-text {
  display: inline;
  background: linear-gradient(90deg, #c4b5fd, #e9d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* falls Clip in Browser spinnt, bleibt Violet lesbar */
  text-shadow: none;
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(248, 250, 252, 0.95);
  max-width: 36rem;
  margin: 0 0 2rem;
  line-height: 1.65;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(248, 250, 252, 0.92);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.92);
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--violet-400);
  flex-shrink: 0;
}

/* Testimonial card */
.testimonial-wrap {
  position: relative;
  min-height: 280px;
}
@media (max-width: 1023px) {
  .testimonial-wrap {
    display: none;
  }
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s, transform 0.7s;
  pointer-events: none;
}
.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--amber-400);
  color: var(--amber-400);
}

.testimonial-quote {
  color: var(--slate-200);
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--violet-500), #6b21a8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.testimonial-dots button {
  height: 0.375rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  width: 0.375rem;
  transition: all 0.2s;
}
.testimonial-dots button.is-active {
  width: 1.5rem;
  background: var(--violet-400);
}

/* ─── Lead / Kontakt section (#anfrage) ─── */
.section-lead {
  background: var(--section-dark-2);
  border-top: 1px solid rgba(91, 33, 182, 0.4);
  border-bottom: 1px solid rgba(91, 33, 182, 0.4);
  padding: 3rem 1rem;
}
@media (min-width: 640px) {
  .section-lead {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.section-lead .eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-400);
  margin: 0 0 0.5rem;
}

.section-lead h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.section-lead .sub {
  text-align: center;
  color: var(--slate-400);
  font-size: 0.875rem;
  margin: 0 auto 2rem;
  max-width: 36rem;
  line-height: 1.6;
}

.lead-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}

.lead-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (min-width: 480px) {
  .lead-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
}

.btn-violet {
  background: var(--violet-600);
  border-color: var(--violet-600);
  color: #fff;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.35);
}
.btn-violet:hover {
  filter: brightness(1.08);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ─── White section: 3 steps ─── */
.section-white {
  background: #fff;
  padding: 5rem 1rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-600);
  margin: 0 0 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.75rem;
}

.section-head .sub {
  color: var(--slate-500);
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 2.5rem;
    left: calc(16.66% + 2rem);
    right: calc(16.66% + 2rem);
    height: 1px;
    background: var(--violet-200);
    z-index: 0;
  }
}

.step-card {
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.75rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.step-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
}

.step-icon-wrap {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
}

.step-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--violet-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.step-card:hover .step-icon-box {
  background: var(--violet-600);
}
.step-icon-box svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--violet-600);
}
.step-card:hover .step-icon-box svg {
  color: #fff;
}

.step-num {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--violet-600);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
}

.step-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.section-footnote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* ─── Violet-50 categories ─── */
.section-violet {
  background: var(--violet-50);
  padding: 5rem 1rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto 2rem;
}
@media (min-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.cat-tile {
  background: #fff;
  border: 1px solid var(--violet-100);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.cat-tile:hover {
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.cat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--violet-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.cat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--violet-600);
}

.cat-tile h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.25;
}

.cat-tile p.desc {
  margin: 0.25rem 0 0;
  font-size: 11px;
  color: var(--slate-400);
  line-height: 1.3;
}
@media (max-width: 639px) {
  .cat-tile p.desc {
    display: none;
  }
}

.cat-footer-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-500);
  max-width: 48rem;
  margin: 0 auto;
}

/* ─── City image band ─── */
.section-city {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.section-city .bg {
  position: absolute;
  inset: 0;
}
.section-city .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-city .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 7, 32, 0.95) 0%,
    rgba(10, 7, 32, 0.75) 55%,
    transparent 100%
  );
}

.section-city .content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}

.section-city .inner-max {
  max-width: 36rem;
}

.section-city .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--violet-300);
  margin-bottom: 1.25rem;
}

.section-city h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.section-city h2 span {
  color: var(--violet-300);
}

.section-city p {
  color: var(--slate-300);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* ─── Benefits 4-col ─── */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-tile {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.benefit-tile:hover {
  border-color: #ddd6fe;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--violet-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--violet-600);
}

.benefit-tile h3 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
}

.benefit-tile p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ─── Final CTA dark ─── */
.section-final-cta {
  background: var(--section-cta);
  padding: 5rem 1rem;
  color: #fff;
  text-align: center;
}

.section-final-cta .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-400);
  margin: 0 0 1rem;
}

.section-final-cta h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 900;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.section-final-cta h2 span {
  color: var(--violet-400);
}

.section-final-cta p {
  color: var(--slate-400);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--violet-600);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
  text-decoration: none;
}
.btn-cta-large:hover {
  filter: brightness(1.08);
}

.section-final-cta .fine {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1rem;
}
.section-final-cta .fine a {
  color: var(--slate-400);
  text-decoration: underline;
}
.section-final-cta .fine a:hover {
  color: var(--violet-400);
}

/* ─── Intent / SEO block ─── */
.section-intent {
  padding: 3.5rem 1rem;
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
}

.section-intent h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
}

.section-intent .intro {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
}
@media (min-width: 640px) {
  .section-intent .intro {
    font-size: 1rem;
  }
}

.intent-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.intent-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-800);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .intent-list li {
    font-size: 1rem;
  }
}
.intent-list li::before {
  content: "·";
  color: var(--sky-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── FAQ ─── */
.section-faq {
  padding: 4rem 1rem 5rem;
  background: #fff;
  border-top: 1px solid var(--slate-200);
}

.section-faq h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
}

.section-faq .sub {
  text-align: center;
  color: var(--slate-600);
  font-size: 0.875rem;
  margin: 0 auto 2rem;
  max-width: 36rem;
}
@media (min-width: 640px) {
  .section-faq .sub {
    font-size: 1rem;
  }
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(248, 250, 252, 0.5);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1rem;
  font-weight: 600;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate-400);
}
.faq-item[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 1rem 1rem;
  color: var(--slate-600);
  font-size: 0.875rem;
  line-height: 1.65;
}
@media (min-width: 640px) {
  .faq-body {
    font-size: 1rem;
  }
}

/* ─── Footer (public-footer) ─── */
.site-footer {
  background: #111827;
  color: #fff;
  margin-top: auto;
}

.site-footer .inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 1rem 0 0;
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: #9ca3af;
}
.footer-col a:hover {
  color: #fff;
}

.footer-sep {
  height: 1px;
  background: #1f2937;
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

/* ─── Legal & Unterseiten (PublicLayout + Card wie tanduu.com) ─── */
.legal-wrap {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) {
  .legal-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .legal-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.legal-wrap h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}

.legal-wrap .legal-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 2rem;
}

.legal-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.legal-card section + section {
  margin-top: 1.5rem;
}

.legal-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-card h2.legal-h2-plain {
  display: block;
}

.legal-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 1rem 0 0.5rem;
}

.legal-card p,
.legal-card li {
  color: #374151;
  line-height: 1.65;
}

.legal-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-card a {
  color: #2563eb;
  text-decoration: underline;
}
.legal-card a:hover {
  color: #1e40af;
}

.legal-address {
  font-style: normal;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 0.75rem 0;
}

.legal-callout {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem 0;
}
.legal-callout strong {
  color: #78350f;
}
.legal-callout p {
  font-size: 0.875rem;
  color: #92400e;
  margin: 0.25rem 0 0;
}

.legal-footer-note {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* How-it-works (öffentlich, wie /how-it-works auf tanduu.com) */
.hiw-hero {
  text-align: center;
  margin-bottom: 4rem;
}
.hiw-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-600);
  margin: 0 0 0.75rem;
}
.hiw-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.15;
  margin: 0 0 1.5rem;
}
.hiw-title span {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hiw-lead {
  font-size: 1.25rem;
  color: var(--slate-600);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.65;
}

.hiw-slab {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 4rem;
}
.hiw-slab h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 2rem;
}

.hiw-flow-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hiw-flow-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--violet-600);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-public-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .module-public-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.module-public-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border-left: 4px solid #60a5fa;
  background: #fff;
}
.module-public-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.module-public-card .badge {
  font-size: 10px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.35rem;
}
.module-public-card p {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.55;
}
.module-public-card .sub {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.module-public-card .impact {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #1d4ed8;
  font-weight: 600;
}
