:root {
  --trial-input-bg: rgba(255, 255, 255, 0.9);
  --trial-input-border: rgba(28, 26, 27, 0.12);
  --trial-input-focus: rgba(122, 31, 43, 0.24);
}

body {
  min-height: 100vh;
}

.trial-main {
  padding: 10px 0 0;
}

.trial-header .header-inner {
  gap: 20px;
}

.trial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1 1 auto;
}

.trial-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
}

.trial-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.trial-header-cta {
  min-width: 48px;
  justify-content: flex-end;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 26, 27, 0.1);
  box-shadow: 0 10px 24px rgba(40, 16, 22, 0.06);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
}

.trial-hero {
  padding: 0 0 34px;
}

.trial-hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.78fr);
  gap: 22px;
  align-items: start;
}

.trial-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.trial-copy .lead {
  margin-bottom: 0;
  max-width: 60ch;
}

.trial-steps {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 26, 27, 0.08);
  box-shadow: 0 10px 24px rgba(40, 16, 22, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.trial-mini-trust {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 58ch;
}

.trial-form-card {
  padding: 22px;
}

.trial-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow {
  margin: 0;
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trial-form-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trial-form {
  display: grid;
  gap: 12px;
}

.trial-field {
  display: grid;
  gap: 8px;
}

.trial-field span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.trial-field input {
  width: 100%;
  border: 1px solid var(--trial-input-border);
  border-radius: 14px;
  padding: 14px 15px;
  background: var(--trial-input-bg);
  color: var(--text);
  outline: none;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.trial-field input:focus {
  border-color: rgba(122, 31, 43, 0.44);
  box-shadow: 0 0 0 4px var(--trial-input-focus);
}

.trial-submit {
  width: 100%;
  margin-top: 4px;
}

.trial-feedback {
  display: grid;
  gap: 8px;
}

.status-slot {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(28, 26, 27, 0.1);
  background: rgba(239, 233, 228, 0.86);
  color: var(--muted);
  line-height: 1.6;
}

.status-slot:not(:empty) {
  display: block;
}

.status-slot.success {
  border-color: rgba(46, 125, 70, 0.22);
  background: rgba(46, 125, 70, 0.08);
  color: #2e7d46;
}

.status-slot.error {
  border-color: rgba(239, 68, 68, 0.18);
  background: rgba(239, 68, 68, 0.08);
  color: #7f1d1d;
}

.trial-meta {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.trial-inline-link {
  font-size: 14px;
  font-weight: 750;
  color: var(--primary-2);
  text-decoration: none !important;
}

.trial-inline-link:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.trial-footer-section {
  padding-top: 0;
  padding-bottom: 22px;
}

.trial-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.trial-footer-links a {
  text-decoration: none !important;
}

.trial-footer-links a:hover {
  color: var(--text);
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .trial-hero {
    padding: 0 0 24px;
  }

  .trial-hero-grid {
    grid-template-columns: 1fr;
  }

  .trial-nav {
    gap: 14px;
  }

  .trial-copy {
    gap: 12px;
  }
}

@media (max-width: 740px) {
  .trial-header .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .trial-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-bottom: 2px;
  }

  .trial-form-card {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .trial-main {
    padding: 8px 0 0;
  }

  .trial-hero {
    padding: 0 0 20px;
  }

  .trial-form-card {
    padding: 16px;
  }

  .trial-field input {
    padding: 13px 14px;
  }

  .step {
    width: 100%;
    border-radius: 16px;
  }

  .trial-footer-links {
    gap: 12px;
    font-size: 13px;
  }
}
/* Keep the language toggle visible on mobile.
   (The shared page.css hides the generic .header-cta below 980px, but the
   trial header only carries the language toggle there, which must stay.) */
@media (max-width: 980px) {
  .trial-header .header-cta {
    display: flex;
  }
}

/* =========================================================
   Sprach-Umschalter als Flagge (neues Design-Schema 2026-06)
   Spiegelt bohlevision.ch: zeigt die ZIEL-Sprache.
   DE-Seite -> britische Flagge, EN-Seite -> deutsche Flagge.
========================================================= */
.lang-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.85);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px auto;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}
:root[lang^="de"] .lang-toggle,
html[lang^="de"] .lang-toggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0 60 30 M60 0 0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0 60 30 M60 0 0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0 V30 M0 15 H60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0 V30 M0 15 H60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}
html[lang^="en"] .lang-toggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='3' fill='%23000'/%3E%3Crect y='1' width='5' height='1' fill='%23D00'/%3E%3Crect y='2' width='5' height='1' fill='%23FC0'/%3E%3C/svg%3E");
}
