/* =======================================================================
   Blinker-Links! Landingpage
   Klar. Direkt. Wirksam.
   ======================================================================= */

:root {
  /* Brand Colors */
  --bl-slate-blue:            #7A93A0;
  --bl-signal-yellow:         #FCD21B;
  --bl-signal-yellow-hover:   #E8BC0F;
  --bl-signal-yellow-active:  #D4AB0D;
  --bl-deep-anthracite:       #1F2A30;
  --bl-steel-grey:            #5C6770;
  --bl-mist:                  #D6DEE2;
  --bl-off-white:             #F7F7F5;

  /* Semantic */
  --bl-bg-default:    var(--bl-off-white);
  --bl-bg-dark:       var(--bl-deep-anthracite);
  --bl-bg-soft:       #FFFFFF;
  --bl-text-headline: var(--bl-deep-anthracite);
  --bl-text-body:     var(--bl-steel-grey);
  --bl-text-on-dark:  #FFFFFF;
  --bl-text-on-dark-muted: #C8D0D4;
  --bl-border:        var(--bl-mist);
  --bl-cta:           var(--bl-signal-yellow);
  --bl-cta-hover:     var(--bl-signal-yellow-hover);
  --bl-cta-active:    var(--bl-signal-yellow-active);
  --bl-cta-text:      var(--bl-deep-anthracite);

  /* Layout */
  --bl-max-width:    1160px;
  --bl-gutter:       24px;
  --bl-radius:       8px;
  --bl-radius-lg:    14px;
  --bl-shadow-card:  0 1px 2px rgba(31, 42, 48, 0.04), 0 8px 24px rgba(31, 42, 48, 0.06);

  /* Type */
  --bl-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* -----------------------------------------------------------------------
   Reset / Base
   ----------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bl-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--bl-text-body);
  background: var(--bl-bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  color: var(--bl-text-headline);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em 0;
}

h1 {
  font-size: 56px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 1em 0;
}

a {
  color: var(--bl-deep-anthracite);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--bl-signal-yellow);
}

a:hover {
  text-decoration-thickness: 2px;
}

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

ul {
  margin: 0 0 1em 0;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

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

.bl-container {
  width: 100%;
  max-width: var(--bl-max-width);
  margin: 0 auto;
  padding: 0 var(--bl-gutter);
}

.bl-section {
  padding: 96px 0;
}

.bl-section--dark {
  background: var(--bl-bg-dark);
  color: var(--bl-text-on-dark);
}

.bl-section--dark h1,
.bl-section--dark h2,
.bl-section--dark h3 {
  color: var(--bl-text-on-dark);
}

.bl-section--soft {
  background: var(--bl-bg-soft);
}

.bl-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bl-steel-grey);
  margin-bottom: 16px;
}

.bl-section--dark .bl-eyebrow {
  color: var(--bl-text-on-dark-muted);
}

/* -----------------------------------------------------------------------
   Yellow Bar (Signature)
   ----------------------------------------------------------------------- */

.bl-yellow-bar {
  position: relative;
  padding-left: 20px;
}

.bl-yellow-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: var(--bl-signal-yellow);
  border-radius: 2px;
}

.bl-yellow-underline {
  background-image: linear-gradient(var(--bl-signal-yellow), var(--bl-signal-yellow));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 6px;
  padding-bottom: 2px;
}

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

.bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--bl-radius);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.bl-btn--primary {
  background: var(--bl-cta);
  color: var(--bl-cta-text);
}

.bl-btn--primary:hover {
  background: var(--bl-cta-hover);
  color: var(--bl-cta-text);
}

.bl-btn--primary:active {
  background: var(--bl-cta-active);
  transform: translateY(1px);
}

.bl-btn--primary:focus-visible {
  outline: none;
  border-color: var(--bl-deep-anthracite);
  box-shadow: 0 0 0 2px var(--bl-off-white), 0 0 0 4px var(--bl-deep-anthracite);
}

.bl-btn--ghost {
  background: transparent;
  color: var(--bl-deep-anthracite);
  border-color: var(--bl-deep-anthracite);
}

.bl-btn--ghost:hover {
  background: var(--bl-deep-anthracite);
  color: var(--bl-text-on-dark);
}

.bl-section--dark .bl-btn--ghost {
  color: var(--bl-text-on-dark);
  border-color: var(--bl-text-on-dark);
}

.bl-section--dark .bl-btn--ghost:hover {
  background: var(--bl-text-on-dark);
  color: var(--bl-deep-anthracite);
}

.bl-btn--small {
  padding: 10px 18px;
  font-size: 15px;
}

/* -----------------------------------------------------------------------
   Navigation
   ----------------------------------------------------------------------- */

.bl-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.bl-nav.is-scrolled {
  border-bottom-color: var(--bl-border);
}

.bl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--bl-gutter);
  max-width: var(--bl-max-width);
  margin: 0 auto;
}

.bl-nav__logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
}

.bl-nav__logo img {
  height: 100%;
  width: auto;
}

.bl-nav__logo-r {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  margin-left: 3px;
  margin-top: 1px;
  align-self: flex-start;
  color: var(--bl-deep-anthracite);
}

.bl-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bl-nav__links a {
  font-size: 15px;
  color: var(--bl-deep-anthracite);
  text-decoration: none;
  font-weight: 500;
}

.bl-nav__links a:hover {
  color: var(--bl-steel-grey);
}

.bl-nav__cta {
  margin-left: 12px;
}

.bl-nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.bl-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bl-deep-anthracite);
  position: relative;
  transition: background 0.2s ease;
}

.bl-nav__toggle span::before,
.bl-nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--bl-deep-anthracite);
  transition: transform 0.2s ease, top 0.2s ease;
}

.bl-nav__toggle span::before { top: -7px; }
.bl-nav__toggle span::after  { top: 7px; }

.bl-nav.is-open .bl-nav__toggle span { background: transparent; }
.bl-nav.is-open .bl-nav__toggle span::before { top: 0; transform: rotate(45deg); }
.bl-nav.is-open .bl-nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

/* -----------------------------------------------------------------------
   Hero (Dark)
   ----------------------------------------------------------------------- */

.bl-hero {
  background: var(--bl-deep-anthracite);
  color: var(--bl-text-on-dark);
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
}

.bl-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(252, 210, 27, 0.10) 0%, rgba(252, 210, 27, 0) 70%);
  pointer-events: none;
}

.bl-hero__inner {
  position: relative;
  max-width: 880px;
}

.bl-hero h1 {
  color: var(--bl-text-on-dark);
  margin-bottom: 24px;
}

.bl-hero__sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--bl-text-on-dark-muted);
  margin-bottom: 36px;
  max-width: 640px;
}

.bl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.bl-hero__meta {
  margin-top: 28px;
  font-size: 14px;
  color: var(--bl-text-on-dark-muted);
}

/* -----------------------------------------------------------------------
   Pain mirror (Schmerz-Spiegel)
   ----------------------------------------------------------------------- */

.bl-pain {
  background: var(--bl-off-white);
}

.bl-pain__intro {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--bl-text-headline);
  font-weight: 400;
}

.bl-pain__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}

.bl-pain__list li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  color: var(--bl-steel-grey);
}

.bl-pain__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 2px;
  background: var(--bl-signal-yellow);
}

/* -----------------------------------------------------------------------
   Services (Leistungs-Cards)
   ----------------------------------------------------------------------- */

.bl-services {
  background: var(--bl-bg-soft);
  border-top: 1px solid var(--bl-border);
}

.bl-services__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.bl-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bl-card {
  background: var(--bl-off-white);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bl-shadow-card);
  border-color: transparent;
}

.bl-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bl-deep-anthracite);
  background: var(--bl-signal-yellow);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.bl-card h3 {
  margin-bottom: 14px;
}

.bl-card__body {
  flex: 1;
}

.bl-card__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 28px;
}

.bl-card__list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  font-size: 16px;
}

.bl-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--bl-slate-blue);
}

.bl-card__cta {
  margin-top: auto;
}

/* -----------------------------------------------------------------------
   Process (Wie das Zusammenarbeiten aussieht)
   ----------------------------------------------------------------------- */

.bl-process {
  background: var(--bl-off-white);
}

.bl-process__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.bl-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.bl-step {
  background: var(--bl-bg-soft);
  border: 1px solid var(--bl-border);
  border-radius: var(--bl-radius-lg);
  padding: 28px 24px;
  position: relative;
}

.bl-step__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bl-slate-blue);
  margin-bottom: 12px;
}

.bl-step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.bl-step p {
  font-size: 15px;
  margin: 0;
}

/* -----------------------------------------------------------------------
   About Carsten
   ----------------------------------------------------------------------- */

.bl-about {
  background: var(--bl-bg-soft);
  border-top: 1px solid var(--bl-border);
}

.bl-about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.bl-about__portrait-img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--bl-radius-lg);
  background: var(--bl-mist);
  display: block;
}

.bl-about__text p {
  font-size: 17px;
  line-height: 1.65;
}

.bl-about__text p:first-of-type {
  font-size: 19px;
  color: var(--bl-text-headline);
}

.bl-about__cta {
  margin-top: 12px;
}

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

.bl-final {
  background: var(--bl-deep-anthracite);
  color: var(--bl-text-on-dark);
  text-align: center;
}

.bl-final h2 {
  color: var(--bl-text-on-dark);
  font-size: 40px;
  max-width: 720px;
  margin: 0 auto 20px;
}

.bl-final p {
  color: var(--bl-text-on-dark-muted);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 32px;
}

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

.bl-footer {
  background: var(--bl-bg-soft);
  border-top: 1px solid var(--bl-border);
  padding: 56px 0 32px;
  font-size: 14px;
  color: var(--bl-steel-grey);
}

.bl-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.bl-footer h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bl-deep-anthracite);
  margin: 0 0 14px;
}

.bl-footer__brand-text {
  max-width: 320px;
  margin-top: 16px;
}

.bl-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bl-footer li {
  margin-bottom: 8px;
}

.bl-footer a {
  color: var(--bl-steel-grey);
  text-decoration: none;
}

.bl-footer a:hover {
  color: var(--bl-deep-anthracite);
}

.bl-footer__bottom {
  border-top: 1px solid var(--bl-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.bl-footer__logo {
  height: 32px;
  width: auto;
}

.bl-footer__create-hint {
  font-size: 13px;
  color: var(--bl-steel-grey);
  font-style: italic;
}

.bl-footer__trademark {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--bl-border);
  font-size: 12px;
  color: var(--bl-steel-grey);
  text-align: center;
}

/* -----------------------------------------------------------------------
   Legal pages
   ----------------------------------------------------------------------- */

.bl-legal {
  padding: 80px 0 96px;
}

.bl-legal h1 {
  font-size: 40px;
}

.bl-legal h2 {
  font-size: 22px;
  margin-top: 2em;
}

.bl-legal__placeholder {
  background: var(--bl-off-white);
  border: 1px dashed var(--bl-mist);
  border-radius: var(--bl-radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--bl-steel-grey);
  margin-bottom: 24px;
}

/* -----------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */

@media (max-width: 880px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  body { font-size: 16px; }

  .bl-section { padding: 64px 0; }
  .bl-hero { padding: 80px 0 72px; }

  .bl-hero__sub { font-size: 18px; }
  .bl-final h2 { font-size: 28px; }

  .bl-cards { grid-template-columns: 1fr; }
  .bl-steps { grid-template-columns: 1fr 1fr; }
  .bl-pain__list { grid-template-columns: 1fr; }
  .bl-about__grid { grid-template-columns: 1fr; gap: 32px; }
  .bl-about__portrait-img { max-width: 220px; }
  .bl-footer__top { grid-template-columns: 1fr; gap: 28px; }

  .bl-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bl-bg-soft);
    border-bottom: 1px solid var(--bl-border);
    padding: 12px 0;
  }

  .bl-nav.is-open .bl-nav__links {
    display: flex;
  }

  .bl-nav__links li {
    width: 100%;
  }

  .bl-nav__links a {
    display: block;
    padding: 14px var(--bl-gutter);
    width: 100%;
  }

  .bl-nav__cta {
    margin: 12px var(--bl-gutter) 6px;
  }

  .bl-nav__toggle {
    display: inline-flex;
  }
}

@media (max-width: 520px) {
  .bl-steps { grid-template-columns: 1fr; }
  .bl-hero { padding: 64px 0 56px; }
  .bl-hero__ctas { width: 100%; }
  .bl-hero__ctas .bl-btn { width: 100%; }
}

/* -----------------------------------------------------------------------
   Reduced motion
   ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
