/* ==========================================================================
   Startseite (landing.html)
   Aufmacher mit Produktvideo, die vier Kapitel der Bestandsarbeit,
   Nutzen, Preise, Fragen und der Abschluss mit Kontaktformular.
   Das gemeinsame Geruest (Navigation, Buttons, Fusszeile) steht in
   sw-site.css und wird davor geladen.
   ========================================================================== */

/* ==========================================================================
   Bausteine, die mehrere Abschnitte der Seite teilen
   ========================================================================== */

.btn-arrow {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s;
}

a:hover .btn-arrow,
button:hover .btn-arrow {
  transform: translate(3px, -3px);
}

.plan-step {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #37576b;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #496d8244;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 20px;
}

.page-section {
  padding: 86px 7%;
  scroll-margin-top: 28px;
}

.section-label {
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #394454;
  font-weight: 600;
}

.heading {
  font-weight: 700;
  font-size: clamp(35px, 5.3cqw, 74px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.copy {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 490px;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 14px;
  border-bottom: 1px solid #7897a8;
  padding-bottom: 8px;
}

.story-link:hover {
  color: #246b93;
}

.benefits .heading {
  font-size: clamp(37px, 5.2cqw, 70px);
}

.benefits-intro .copy {
  margin-top: 24px;
  max-width: 320px;
  color: #3f647a;
}

.pricing-intro .copy {
  max-width: 290px;
  font-size: 15px;
}

.plan-pilot .tag {
  margin: 0;
  color: #c2e0ef;
  border-color: #79a4bc6b;
}

.plan .story-link {
  margin-top: auto;
  padding-top: 20px;
}

.faq .heading {
  font-size: clamp(35px, 4.2cqw, 58px);
}

.closing .section-label {
  color: #aebed8;
}

.closing .heading {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(34px, 4.7cqw, 64px);
}

.closing .heading em {
  color: var(--accent-soft);
}

.closing .btn-primary {
  margin-top: 8px;
}

.closing .copy {
  margin: 25px auto;
  color: #afc5d2;
  max-width: 440px;
  font-size: 15px;
}

.copy, .pricing-intro .copy, .closing .copy {
  font-size: 16px;
}

.benefits .heading em {
  color: var(--accent-soft);
}

/* ==========================================================================
   Hero: Aufmacher mit dem Produktvideo
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5%;
  padding: 64px 6% 70px;
  align-items: center;
  background: #10192c;
}

.hero-pitch {
  min-width: 0;
  padding-bottom: 24px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b3c2d9;
  margin-bottom: 25px;
}

.hero-pitch h1 {
  font-size: clamp(48px, 5.5cqw, 78px);
  font-weight: 700;
  line-height: 1.045;
  letter-spacing: -0.045em;
}

.hero-pitch h1 span {
  color: var(--accent-soft);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #bbc8dc;
  margin-top: 26px;
  max-width: 465px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 14px;
}

.hero-ctas>a:last-child:hover {
  text-decoration: underline;
}

.hero-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 18px;
  font-size: 14px;
  color: #8c9db7;
}

.hero-offer strong {
  color: #f6f7f2;
  font-weight: 500;
}

.hero-offer a,
.plan-pilot h3 a {
  color: inherit;
  text-decoration: none;
}

.hero-pitch-note {
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: #8c9db7;
  margin-top: 38px;
  border-left: 1px solid #344563;
  padding-left: 17px;
}

/* ==========================================================================
   Hero-Video: Produktvideo aus videos/src/landing-teaser
   ========================================================================== */

.hero-video {
  min-width: 0;
  width: 100%;
  max-width: 820px;
  justify-self: end;
  margin: 0;
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Im Vollbild das ganze Bild zeigen, auch wenn der Bildschirm nicht 16:9 ist. */
.hero-video video:fullscreen {
  object-fit: contain;
  background: #0b1220;
}

.hero-video video:-webkit-full-screen {
  object-fit: contain;
  background: #0b1220;
}

.hero-video-sound {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(8, 14, 25, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.hero-video-sound:hover {
  background: rgba(0, 86, 251, 0.85);
}

.hero-video-sound:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.hero-video-sound svg {
  width: 16px;
  height: 16px;
}

.hero-video-pause,
.hero-video-fullscreen {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 14, 25, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.hero-video-fullscreen {
  left: 60px;
}

.hero-video-pause:hover,
.hero-video-fullscreen:hover {
  background: rgba(0, 86, 251, 0.85);
}

.hero-video-pause:focus-visible,
.hero-video-fullscreen:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.hero-video-pause svg,
.hero-video-fullscreen svg {
  width: 16px;
  height: 16px;
}

.hero-video-pause .icon-play,
.hero-video-pause.is-paused .icon-pause {
  display: none;
}

.hero-video-pause.is-paused .icon-play {
  display: block;
}

.hero-video figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: #8e9fb9;
}

/* ==========================================================================
   Der Ablauf in vier Kapiteln
   ========================================================================== */

.story {
  background: #fff;
  color: #111b2c;
  padding: 85px 7%;
}

/* Die Ueberzeile steht im Raster des Abschnitts ueber beiden Spalten. */
.story .kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: #285bb6;
}

.story-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px 8%;
  align-items: end;
  margin-bottom: 48px;
}

.story h2 {
  font-size: clamp(34px, 4.7cqw, 64px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.story-intro>p:not(.kicker) {
  font-size: 17px;
  line-height: 1.7;
  color: #586377;
  max-width: 420px;
}

/* Zeigt einmal die Bandbreite der Aktionen (Jahrescheck ist nur das
   Beispiel). Volle Breite unter Titel und Beschreibung, mit Akzentkante. */
.story-scope {
  grid-column: 1 / -1;
  max-width: 640px;
  margin-top: 4px;
  padding-left: 16px;
  border-left: 2px solid #285bb6;
}

.story-scope strong {
  color: #1c2740;
  font-weight: 600;
}

.story-rows article {
  display: grid;
  grid-template-columns: 45px 0.8fr 1.2fr;
  gap: 28px;
  border-top: 1px solid #b7c1d0;
  padding: 35px 0;
}

.story-number {
  font-size: 14px;
  color: #2861ed;
  padding-top: 5px;
}

.story-rows h3 {
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.story-rows p {
  font-size: 16px;
  line-height: 1.75;
  color: #4b586d;
}

.story-example {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: #2456ad;
  margin-top: 17px;
}

/* ==========================================================================
   Nutzen im Agenturalltag
   ========================================================================== */

.benefits {
  background: #182744;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding-top: 75px;
  padding-bottom: 75px;
  border-top: 1px solid #344564;
}

.benefit-row {
  padding: 20px 0;
  border-top: 1px solid #648da34d;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  border-color: #ffffff50;
}

.benefit-row:last-child {
  border-bottom: 1px solid #648da34d;
  border-color: #ffffff50;
}

.benefits .section-label,
.benefits-intro .copy {
  color: #e5ecff;
}

.benefit-row > span {
  font-size: 12px;
  color: #e5ecff;
  padding-top: 5px;
}

.benefit-row h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.benefit-row p {
  font-size: 16px;
  line-height: 1.6;
  color: #e5ecff;
  margin-top: 7px;
}

/* ==========================================================================
   Preise und Einstieg
   ========================================================================== */

.pricing {
  background: #ffffff;
  color: #101827;
}

.pricing-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 37px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.plan-pilot {
  background: #19253f;
  color: #f6f7f2;
  border-radius: 16px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid #397cff;
}

.plan-pilot-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.plan-pilot h3 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 23px 0 18px;
}

.plan-price {
  font-size: clamp(50px, 6.3cqw, 80px);
  letter-spacing: -0.065em;
  line-height: 1;
  font-weight: 500;
}

.plan-price small {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  display: inline-block;
  line-height: 1.5;
  color: #c1d5e1;
  margin-left: 7px;
}

.plan-fee {
  color: #c4d7e1;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 16px;
}

.plan-included {
  padding: 20px 0 0;
  margin: 21px 0 25px;
  list-style: none;
  border-top: 1px solid #6d8c9d60;
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.plan-included li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 7px;
}

.plan-included li:before {
  content: '✓';
  color: #add5e9;
}

.plan-pilot .btn-primary {
  align-self: stretch;
  margin-top: auto;
}

.plan-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.plan {
  border: 1px solid #b9c9ce;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: start;
  border-color: #aeb6c3;
}

.plan h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 17px;
}

.plan .plan-price {
  font-size: 48px;
}

.plan .plan-price small {
  color: #57717f;
  font-size: 13px;
}

.plan p {
  font-size: 14px;
  color: #57717f;
  margin-top: 15px;
  line-height: 1.5;
}

.pricing-footnote {
  font-size: 12px;
  color: #617987;
  line-height: 1.7;
  margin-top: 22px;
}

.plan-pilot, .plan {
  border-radius: 5px;
}

/* ==========================================================================
   Haeufige Fragen
   ========================================================================== */

.faq {
  background: #ffffff;
  color: #101827;
  padding-top: 0;
}

.faq-layout {
  border-top: 1px solid #b6c7ce;
  padding-top: 58px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8%;
}

.faq details {
  border-bottom: 1px solid #b9c9ce;
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.45;
}

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

.faq summary:after {
  content: '+';
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #b2c3ca;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
}

.faq details[open] summary:after {
  content: '−';
}

.faq details p {
  padding: 0 42px 24px 0;
  color: #536e7d;
  font-size: 16px;
  line-height: 1.75;
}

.faq details a {
  border-bottom: 1px solid #728e9e;
}

.faq summary:hover {
  color: #287499;
}

/* ==========================================================================
   Abschluss und Kontakt
   ========================================================================== */

.closing {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 70px;
  background: #101828;
  position: relative;
}

/* --------------------------------------------------------------------------
   Kontaktformular
   Zweiter Weg neben dem Buchungslink: wer nicht sofort einen Termin waehlen
   moechte, hinterlaesst seine Nummer. Die Feldnamen entsprechen denen der
   Route /api/landing-contact.
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
  background: #131e33;
  border-top: 1px solid #1d2b45;
}

.contact .section-label {
  color: #aebed8;
}

.contact .heading {
  font-size: clamp(32px, 4cqw, 54px);
  color: #ffffff;
}

.contact .heading em {
  color: var(--accent-soft);
}

.contact .copy {
  margin-top: 22px;
  color: #afc5d2;
  font-size: 15px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* E-Mail steht allein in ihrer Zeile — eine halbbreite Spalte neben
   nichts sieht unbeabsichtigt aus. */
.contact-row-single {
  grid-template-columns: 1fr;
}

.contact-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #b9c9d3;
}

.contact-field input {
  min-height: 48px;
  padding: 12px 14px;
  background: #18253f;
  border: 1px solid #35496b;
  border-radius: 4px;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
}

.contact-field input:focus-visible {
  outline: 3px solid #78bde6;
  outline-offset: 2px;
}

.contact-consent {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #9fb2c4;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.contact-consent a {
  text-decoration: underline;
}

.contact-form .btn-primary {
  justify-self: start;
}

.contact-form .btn-primary:disabled {
  opacity: 0.6;
  transform: none;
  cursor: default;
}

.contact-status {
  font-size: 14px;
  line-height: 1.6;
  color: #b9c9d3;
}

.contact-status.is-success {
  color: #94dbbf;
}

.contact-status.is-error {
  color: #f0a8b4;
}

/* ==========================================================================
   Schmalere Fenster
   ========================================================================== */

@container (max-width: 1050px) {
  .hero {
    gap: 4%;
    padding: 50px 5%;
  }

  .hero-pitch h1 {
    font-size: clamp(43px, 5.2cqw, 58px);
  }

  .hero-lead {
    font-size: 16px;
  }

}

@container (max-width: 1000px) {
  .plan-pilot {
    padding: 27px;
  }

  .plan {
    padding: 24px;
  }
}

@container (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 6% 50px;
    gap: 34px;
  }

  .hero-video {
    max-width: 760px;
    justify-self: center;
  }

  .hero-pitch {
    padding: 0;
    max-width: 650px;
  }

  .hero-pitch h1 {
    font-size: clamp(43px, 7.5cqw, 64px);
  }

  .hero-pitch h1 br:nth-of-type(2) {
    display: none;
  }

  .hero-pitch h1 span {
    display: inline;
  }

  .hero-pitch-note {
    display: none;
  }

  .hero-lead {
    max-width: 580px;
    margin-top: 20px;
  }

}

@container (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-section {
    padding: 62px 6%;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .benefits-intro .copy {
    max-width: 460px;
  }

  .benefit-row {
    padding: 19px 0;
  }

  .pricing-intro {
    align-items: start;
    flex-direction: column;
    gap: 23px;
  }

  .pricing-intro .copy {
    max-width: 470px;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .plan-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .plan .plan-price {
    font-size: 42px;
  }

  .plan .plan-price small {
    display: block;
    margin: 8px 0 0;
  }

  .faq {
    padding-top: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 40px;
  }

  .closing {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .story {
    padding: 60px 6%;
  }

  .story-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-rows article {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .story-rows article>div {
    grid-column: 2;
  }

  .story-rows h3 br {
    display: none;
  }

  .story-rows h3 {
    font-size: 27px;
  }
}

@container (max-width: 480px) {
  .story-rows article {
    grid-template-columns: 24px 1fr;
  }
}

@container (max-width: 420px) {
  .contact-row {
    grid-template-columns: 1fr;
  }

  .page-section {
    padding: 47px 24px;
  }

  .heading {
    font-size: 35px;
  }

  .plan-stack {
    grid-template-columns: 1fr;
  }

  .plan-pilot, .plan {
    padding: 24px;
  }

  .plan-price {
    font-size: 58px;
  }

  .plan .plan-price small {
    display: inline-block;
    margin-left: 8px;
  }

  .faq {
    padding-top: 0;
  }

  .faq summary {
    gap: 14px;
    font-size: 15px;
  }

  .faq details p {
    padding-right: 0;
  }

  .hero {
    padding: 32px 5% 42px;
  }

  .hero-video-pause,
  .hero-video-fullscreen {
    left: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
  }

  .hero-video-fullscreen {
    left: 50px;
  }

  .hero-video-sound {
    right: 10px;
    bottom: 10px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .hero-pitch h1 {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 16px;
  }

}
