/* Entry sections for the home and service pages, and the consultation banner. */
.landing-page {
  --landing-ink: #0b1520;
  --landing-muted: #c5d1de;
  --landing-accent: #9bc9f8;
}

.landing-page .site-header {
  transition: none;
}

.landing-page .site-header.is-over-dark {
  background: rgba(11, 21, 32, .9);
  border-bottom-color: #26394d;
}

.landing-page .header-kontakt {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border-radius: .45rem;
  white-space: nowrap;
}

body.landing-page .landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--landing-ink);
  color: #fff;
}

.landing-hero-media,
.landing-hero-media::after {
  position: absolute;
  inset: 0;
}

.landing-hero-media {
  z-index: -1;
}

.landing-hero-media::after {
  content: "";
  background: linear-gradient(90deg, #0b1520 3%, rgba(11, 21, 32, .97) 29%, rgba(11, 21, 32, .73) 53%, rgba(11, 21, 32, .12) 100%),
    linear-gradient(0deg, #0b1520, transparent 36%);
}

.landing-hero-media picture,
.landing-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-hero-media img {
  object-fit: cover;
  object-position: 67% 52%;
}

.landing-hero--home .hero-slides {
  z-index: -1;
}

.landing-hero--home .hero-slide img {
  filter: none;
}

.landing-hero--home .hero-foot {
  bottom: .4rem;
}

.landing-hero--home .hero-foot-inner {
  justify-content: flex-end;
  gap: .75rem;
}

.landing-hero--home .hero-progress button {
  margin-block: 0;
}

.landing-hero--home .hero-progress button[aria-current="true"] i {
  animation: none;
  width: 100%;
}

.landing-hero--home .hero-playback {
  min-height: 24px;
  padding: .15rem .5rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: .25rem;
  background: rgba(10, 10, 10, .75);
  color: #fff;
  font-size: .75rem;
  cursor: pointer;
}

.landing-hero .landing-hero-content {
  padding-block: calc(var(--header-h) + clamp(3.25rem, 7vw, 6.75rem)) clamp(4rem, 8vw, 7.5rem);
}

.landing-hero .landing-eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--landing-accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.landing-eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.landing-page .landing-hero h1 {
  max-width: 14ch;
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2.5rem, 1.3rem + 4vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: none;
}

.landing-page .landing-hero--home h1 {
  max-width: 22ch;
  font-size: clamp(1.75rem, 1.1rem + 3.25vw, 4.5rem);
}

.landing-title-tagline {
  display: block;
  margin-top: .3em;
  color: var(--landing-muted);
  font-size: .72em;
  font-weight: 550;
}

.landing-hero .landing-lead {
  max-width: 34rem;
  margin: 0 0 1.65rem;
  color: var(--landing-muted);
  font-size: clamp(1rem, .95rem + .3vw, 1.23rem);
  line-height: 1.55;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.landing-actions .landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 3rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
}

.landing-actions .landing-button--primary {
  background: #f2f7ff;
  color: #0b1520;
}

.landing-actions .landing-button--primary:hover {
  background: #cbe3ff;
}

.landing-actions .landing-button--secondary {
  border-color: #9bacbf;
  background: rgba(11, 21, 32, .7);
  color: #fff;
}

.landing-actions .landing-button--secondary:hover {
  background: #213750;
}

.landing-actions .landing-button:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

.landing-hero .landing-note {
  margin: .9rem 0 0;
  color: var(--landing-muted);
  font-size: .82rem;
}

.landing-proof {
  border-top: 1px solid #26394d;
  background: var(--landing-ink);
  color: #fff;
}

.landing-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-proof-grid p {
  display: grid;
  gap: .25rem;
  margin: 0;
  padding: 1.25rem clamp(.7rem, 3vw, 2.75rem);
}

.landing-proof-grid p:first-child {
  padding-inline-start: 0;
}

.landing-proof-grid p + p {
  border-inline-start: 1px solid #26394d;
}

.landing-proof-grid strong {
  font-size: clamp(1.05rem, .8rem + 1.25vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.landing-proof-grid span {
  color: var(--landing-muted);
  font-size: .8rem;
  line-height: 1.35;
}

.landing-page #leistungen {
  background: #f3f6f9;
}

.landing-page #leistungen .tkp-card {
  border-radius: .8rem;
  overflow: hidden;
}

.cta-booking-box .cta-phone {
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.cta-banner.consultation-banner {
  padding: clamp(1.25rem, 5vw, 4rem);
  align-items: start;
  background: linear-gradient(145deg, #20242a, #111317 60%);
}

.consultation-banner .consultation-label {
  margin-bottom: .85rem;
  color: #bdc7d1;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.consultation-banner h2 {
  margin-bottom: .9rem;
  text-wrap: balance;
}

.consultation-banner .cta-banner-copy p {
  overflow-wrap: anywhere;
}

.consultation-banner .cta-booking-box h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.consultation-banner .cta-booking-box svg {
  flex: none;
}

.consultation-banner .cta-booking-box .btn {
  min-height: 3rem;
  padding: .75rem 1rem;
  border-radius: .45rem;
  text-align: center;
  white-space: normal;
}

@media (max-width: 960px) {
  .landing-page .tkp-home .tkp-company {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-page .tkp-company-text {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 701px) {
  .landing-intro {
    display: grid;
    grid-template-rows: minmax(min-content, 1fr) auto;
    min-block-size: 100svh;
    margin-block-start: calc(-1 * var(--header-h));
  }

  body.has-overlay-header .landing-intro .landing-hero--home {
    margin-block-start: 0;
  }

  .landing-hero--home .landing-hero-content {
    --hero-gutter: clamp(2rem, 3svh, 2.5rem);
    padding-block: calc(var(--header-h) + var(--hero-gutter)) var(--hero-gutter);
  }

  .landing-page .landing-hero--home h1 {
    max-width: 24ch;
    margin-bottom: 1rem;
    font-size: clamp(2.25rem, min(4.4vw, 8.6svh), 4.25rem);
  }

  .landing-hero--home .landing-title-tagline {
    font-size: .62em;
    letter-spacing: -.04em;
    line-height: 1.15;
  }

  .landing-hero--home .landing-lead {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 700px) {
  .landing-page .site-header .logo {
    width: clamp(6.5rem, 30vw, 9rem);
  }

  .landing-page .header-inner,
  .landing-page .header-actions {
    gap: .45rem;
  }

  .landing-page .header-kontakt {
    padding-inline: .75rem;
  }

  .landing-page .nav-toggle {
    flex-shrink: 0;
  }

  .landing-page .header-phone {
    display: none;
  }

  .landing-hero-media::after {
    background: linear-gradient(90deg, rgba(11, 21, 32, .94), rgba(11, 21, 32, .57)),
      linear-gradient(0deg, #0b1520, transparent 78%);
  }

  .landing-hero .landing-hero-content {
    padding-block: calc(var(--header-h) + 2rem) 2.5rem;
  }

  .landing-page .landing-hero h1 {
    font-size: clamp(2rem, 1.1rem + 4.8vw, 3.45rem);
    letter-spacing: -.05em;
  }

  .landing-hero .landing-eyebrow {
    font-size: .68rem;
    letter-spacing: .075em;
    margin-bottom: .85rem;
  }
}

@media (max-width: 400px) and (max-height: 620px) {
  .landing-hero--home .landing-hero-content {
    padding-top: calc(var(--header-h) + 1.25rem);
  }

  .landing-page .landing-hero--home h1,
  .landing-hero--home .landing-lead {
    margin-bottom: .9rem;
  }
}

@media (max-width: 390px) {
  .landing-actions .landing-button {
    width: 100%;
  }

  .landing-proof-grid span {
    font-size: .72rem;
  }
}

/* Shared layout for the full-width photo headers on public subpages. */
body.has-overlay-header .page-hero.page-hero--aligned {
  display: grid;
  align-items: start;
  isolation: isolate;
  min-block-size: 100svh;
  padding: calc(var(--header-h) + clamp(2.75rem, 7svh, 5rem)) 0 clamp(2rem, 4svh, 3.5rem);
  background: #111214;
}

.page-hero--aligned > .landing-hero-media::after {
  background: linear-gradient(90deg, rgba(16, 16, 16, .93) 0%, rgba(16, 16, 16, .8) 44%, rgba(16, 16, 16, .28) 100%),
    linear-gradient(0deg, rgba(16, 16, 16, .82), transparent 52%);
}

.page-hero--aligned > :is(.page-hero-content, .landing-hero-content) {
  max-width: none;
  min-inline-size: 0;
  padding: 0;
  text-align: left;
}

.page-hero--aligned :is(.eyebrow, .landing-eyebrow) {
  display: flex;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: #9bc9f8;
  font-size: .76rem;
  letter-spacing: .12em;
  line-height: 1.5;
}

.page-hero--aligned :is(.eyebrow, .landing-eyebrow)::before {
  width: 1.6rem;
  height: 1px;
  background: currentColor;
}

body.has-overlay-header .page-hero.page-hero--aligned h1 {
  max-width: min(28ch, 100%);
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, min(1.15rem + 3.5vw, 8svh), 4.25rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body.has-overlay-header .page-hero--aligned :is(.lead, .landing-lead) {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  color: #e2e5e9;
  font-size: clamp(1rem, .95rem + .3vw, 1.23rem);
  line-height: 1.55;
}

body.has-overlay-header .page-hero--aligned :is(.lead, .landing-lead):last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  body.has-overlay-header .page-hero.page-hero--aligned {
    min-block-size: 0;
    padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  }

  .page-hero--aligned :is(.eyebrow, .landing-eyebrow) {
    gap: .5rem;
    margin-bottom: .85rem;
    font-size: .68rem;
    letter-spacing: .075em;
  }

  .page-hero--aligned :is(.eyebrow, .landing-eyebrow)::before {
    width: 1rem;
  }

  body.has-overlay-header .page-hero.page-hero--aligned h1 {
    font-size: clamp(1.55rem, 6.6vw, 2.6rem);
  }

  .page-hero--aligned > .landing-hero-media::after {
    background: linear-gradient(90deg, rgba(16, 16, 16, .9), rgba(16, 16, 16, .62)),
      linear-gradient(0deg, rgba(16, 16, 16, .82), transparent 72%);
  }
}

/* Energy overview: experience, market access and personal support. */
.energy-facts {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--tk2-line);
  border-radius: var(--tk2-radius);
  background: #fff;
  overflow: hidden;
}
.energy-facts li {
  padding: clamp(1.25rem, 3vw, 2rem);
}
.energy-facts li + li {
  border-top: 1px solid var(--tk2-line);
}
.energy-facts strong {
  display: block;
  margin-bottom: .8rem;
  color: var(--tk2-text);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.energy-facts h3 {
  margin: 0 0 .65rem;
  color: var(--tk2-text);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.energy-facts p {
  margin: 0;
  color: var(--tk2-text-2);
  line-height: 1.6;
}
