/* =====================================================================
   Header (legacy Layout – kann parallel zur neuen Tailwind-Header-Partial existieren)
   ===================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 1px solid rgba(200, 203, 208, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-img {
  height: 36px;
  display: block;
}

.main-nav {
  display: none;
  gap: 1.5rem;
  margin-left: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: #444;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher (alte Variante) */

.lang-switch {
  position: relative;
}

.lang-current {
  border-radius: var(--radius-pill);
  border: 1px solid var(--silver);
  background: #fff;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 120%;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 0.4rem;
  min-width: 140px;
}

.lang-menu button {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.35rem 0.6rem;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 8px;
}

.lang-menu button:hover {
  background: var(--very-light-gray);
}

/* =====================================================================
   Sections & Hero
   ===================================================================== */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--very-light-gray);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--deep-gray);
}

.section-lead {
  max-width: 680px;
  font-size: 1rem;
  color: #555;
  margin: 0.25rem 0 2.5rem;
}

/* Hero */

.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 55%, #e7f0ff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(58, 111, 248, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 215, 166, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-shell {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.hero-copy {
  flex: 1;
}

.hero-preview {
  flex: 1;
  max-width: 480px;
}

.hero-kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 0.75rem;
  color: var(--deep-gray);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #555;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.hero-bullets li::before {
  content: "•";
  color: var(--green-check);
  font-weight: 700;
  display: inline-block;
  margin-right: 0.45rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* =====================================================================
   Quick test visual
   ===================================================================== */

.quick-preview-card {
  position: relative;
  border-radius: 32px;
  padding: 1.8rem;
  background: linear-gradient(165deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(56, 102, 214, 0.2);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.quick-preview-card::after {
  content: "";
  position: absolute;
  inset: 12% auto auto 60%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(58, 111, 248, 0.12), transparent 65%);
  pointer-events: none;
}

.quick-preview-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.quick-preview-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-blue);
}

.quick-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1b4045;
  background: rgba(31, 206, 136, 0.15);
}

.quick-metric-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(90, 132, 224, 0.2);
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.quick-metric-card span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7695;
}

.quick-metric-card span:last-child {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-gray);
}

.quick-kit {
  position: relative;
  margin-top: 1.5rem;
  border-radius: 30px;
  padding: 1.5rem;
  background: linear-gradient(120deg, #ffffff 0%, #f2f7ff 100%);
  border: 1px solid rgba(68, 121, 249, 0.18);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.quick-kit-left h4 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--deep-gray);
}

.quick-kit-left p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #5f6b85;
}

.quick-kit-lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.quick-kit-line {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(92, 120, 192, 0.12);
  overflow: hidden;
}

.quick-kit-line::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(58, 111, 248, 0.1), rgba(31, 206, 136, 0.5));
}

.quick-kit-line.is-alert::after {
  background: linear-gradient(90deg, rgba(255, 180, 90, 0.2), rgba(255, 118, 118, 0.5));
}

.quick-kit-window {
  position: relative;
  border-radius: 26px;
  padding: 1rem;
  background: linear-gradient(145deg, #edf2ff, #ffffff);
  box-shadow: inset 0 2px 6px rgba(15, 33, 66, 0.08);
}

.quick-kit-window .window-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8390b3;
  margin-bottom: 0.5rem;
  display: block;
}

.quick-kit-window .window-strip {
  height: 60px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px dashed rgba(89, 124, 178, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1.2rem;
}

.window-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e6ecff;
  position: relative;
}

.window-dot.is-active {
  background: #3a6ff8;
  box-shadow: 0 0 0 6px rgba(58, 111, 248, 0.18);
}

.window-dot.is-pass {
  background: #1fce88;
  box-shadow: 0 0 0 6px rgba(31, 206, 136, 0.18);
}

.quick-kit-footnote {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: #7a86a8;
}

/* =====================================================================
   Generic Section Shell & Cards
   ===================================================================== */

.section-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  border-radius: 36px;
  background: linear-gradient(155deg, #ffffff 0%, #f4f7ff 100%);
  border: 1px solid rgba(58, 111, 248, 0.14);
  box-shadow: 0 30px 60px rgba(15, 33, 66, 0.08);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.section-shell::after {
  content: "";
  position: absolute;
  inset: 12% 8% auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 215, 166, 0.18), transparent 65%);
  pointer-events: none;
}

.card-frame {
  border-radius: 26px;
  padding: 1.5rem;
  background: linear-gradient(140deg, #ffffff 0%, #f5f7ff 100%);
  border: 1px solid rgba(58, 111, 248, 0.14);
  box-shadow: 0 18px 40px rgba(15, 33, 66, 0.08);
}

.card-frame--accent {
  border-color: rgba(58, 111, 248, 0.3);
  box-shadow: 0 22px 45px rgba(58, 111, 248, 0.15);
}

.card-frame--soft {
  background: linear-gradient(140deg, #fbfcff 0%, #f2f6ff 100%);
}

.section-band {
  position: relative;
}

.section-band--soft {
  background: linear-gradient(180deg, #edf3ff 0%, #f9fbff 100%);
}

.section-band--reverse {
  background: linear-gradient(180deg, #f9fbff 0%, #edf3ff 100%);
}

/* =====================================================================
   Steps / Features / Pricing / FAQ
   ===================================================================== */

.steps-grid,
.features-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card,
.feature-card,
.pricing-card,
.faq-item {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(230, 230, 230, 0.9);
}

.section-alt .step-card,
.section-alt .feature-card,
.section-alt .pricing-card,
.section-alt .faq-item {
  background: #fff;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(0, 81, 255, 0.07);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.step-card h3,
.feature-card h3,
.pricing-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.step-card p,
.feature-card p,
.pricing-card p,
.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.feature-card ul,
.pricing-card ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.feature-card li,
.pricing-card li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.35rem;
}

.feature-card li::before,
.pricing-card li::before {
  content: "✔";
  color: var(--green-check);
  margin-right: 0.45rem;
}

/* Pro card */

.feature-card-pro {
  border-color: rgba(0, 81, 255, 0.3);
}

.pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 81, 255, 0.08);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Pricing */

.pricing-card {
  position: relative;
}

.pricing-card-muted {
  opacity: 0.85;
}

.price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0.3rem 0 0.4rem;
}

/* FAQ */

.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.6rem;
}

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer {
  border-top: 1px solid rgba(200, 203, 208, 0.6);
  background: #fafafa;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #666;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* =====================================================================
   Responsive
   ===================================================================== */

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

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 720px) {
  .steps-grid,
  .features-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
