﻿:root {
  --ink: #202941;
  --deep: #202f52;
  --green: #2d6c9a;
  --leaf: #f5a615;
  --cream: #fff7e8;
  --paper: #fffdfa;
  --line: rgba(32, 47, 82, 0.16);
  --muted: #697389;
}

html,
body {
  overflow-x: hidden;
}

em {
  font-family: Manrope, sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.brand img {
  width: 92px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.site-header {
  height: 88px;
}

.desktop-nav {
  gap: 18px;
}

.desktop-nav a.active {
  color: #2d6c9a;
  font-weight: 800;
}

.hero-actions {
  flex-wrap: wrap;
}

footer .brand img {
  width: 104px;
  height: 104px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.75));
}

footer .brand {
  position: relative;
  isolation: isolate;
  width: fit-content;
  padding: 8px 18px 8px 8px;
}

footer .brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px -76px -16px -20px;
  background:
    radial-gradient(ellipse at 26% 52%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0.42) 54%, rgba(245, 166, 21, 0.1) 68%, rgba(45, 108, 154, 0.06) 80%, rgba(45, 108, 154, 0) 96%);
  filter: blur(12px);
}

.customer-count {
  display: grid;
}

.customer-count b {
  font: 800 34px/1 Manrope;
  color: #ffc21c;
}

.customer-count small {
  margin-top: 8px;
  color: #d5deed;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 34, 65, 0.94) 0%, rgba(25, 50, 84, 0.8) 42%, rgba(32, 70, 101, 0.2) 78%, rgba(32, 70, 101, 0.06));
}

.button,
.button-primary {
  background: linear-gradient(135deg, #ffc21c, #f09016);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(32, 47, 82, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(255, 247, 232, 0.92));
  box-shadow: 0 10px 24px rgba(32, 47, 82, 0.08);
  font: 800 12px/1 Manrope, sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.language-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #202f52;
  color: #ffc21c;
  font-size: 13px;
  letter-spacing: 0;
}

.language-switch a {
  color: #697389;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  padding: 5px 7px;
  border-radius: 999px;
}

.language-switch a:hover,
.language-switch a.active {
  color: #202941;
  background: rgba(245, 166, 21, 0.18);
}

.language-switch span:not(.language-icon) {
  color: rgba(32, 47, 82, 0.28);
}

.eyebrow.light,
.rating span,
.hero-fact a,
.process-grid b {
  color: #ffc21c;
}

.pulse,
.process-grid article::before {
  background: #f5a615;
}

.pulse {
  box-shadow: 0 0 0 6px rgba(245, 166, 21, 0.18);
}

.hero-fact {
  background: rgba(29, 53, 91, 0.92);
}

.partner-strip,
.process,
.contact {
  background: #202f52;
}

.service-dark {
  background: #182640;
}

.service-solar {
  background: linear-gradient(135deg, #ffe39a, #ffc35a);
}

.services {
  gap: 16px;
  background: transparent;
  border: 0;
}

.service-card,
.service-dark,
.service-solar {
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff 0%, #f4f8fc 100%);
  color: var(--ink);
  border: 1px solid rgba(45, 108, 154, 0.18);
  box-shadow: 0 12px 26px rgba(32, 47, 82, 0.07);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f5a615 0%, #ef6336 34%, #2d6c9a 72%, #233b68 100%);
}

.service-card .service-icon {
  color: #2d6c9a;
  border-color: rgba(45, 108, 154, 0.42);
  background: rgba(45, 108, 154, 0.06);
}

.service-card .service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.service-card .card-index {
  color: #d9781e;
  opacity: 1;
}

.service-card p:not(.card-index) {
  color: var(--muted);
  opacity: 1;
}

.service-card a {
  color: #294e85;
}

.home-about {
  background: linear-gradient(135deg, #fff7e8 0%, #f4f8fc 100%);
}

.advice-benefits {
  background: #f4f8fc;
}

.advice-benefits-head,
.audience-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: end;
}

.benefit-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.benefit-grid article,
.audience-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(45, 108, 154, 0.18);
  box-shadow: 0 12px 26px rgba(32, 47, 82, 0.05);
}

.benefit-grid b {
  color: #d9781e;
  font: 700 12px Manrope;
}

.benefit-grid h3 {
  margin-top: 20px;
}

.benefit-grid p,
.audience-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-section {
  background: linear-gradient(135deg, #fff7e8 0%, #f4f8fc 100%);
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-direct a {
  display: grid;
  width: fit-content;
  color: #fff;
  text-decoration: none;
}

.contact-direct small {
  color: #adc1ba;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page textarea {
  min-height: 115px;
  resize: vertical;
  border: 1px solid var(--line);
  background: #fbfbf8;
  padding: 13px;
  color: var(--ink);
  font: inherit;
  width: 100%;
}

.confirmation-page {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
}

.confirmation-card {
  position: relative;
}

.confirmation-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 24px;
  color: #202f52;
  background: linear-gradient(135deg, #ffc21c, #f09016);
  border-radius: 50%;
  font: 800 42px/1 Manrope;
}

.confirmation-icon.warning {
  color: #fff;
  background: #ef6336;
}

.confirmation-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 850px;
  margin: 34px 0;
}

.confirmation-next article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.confirmation-next b,
.confirmation-next span {
  display: block;
}

.confirmation-next b {
  color: #ffc21c;
  font: 800 13px/1 Manrope;
  margin-bottom: 10px;
}

.confirmation-next span {
  color: #d5deed;
}

.confirmation-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 82px;
  align-items: start;
}

.home-about-copy {
  padding-left: 28px;
  border-left: 2px solid rgba(245, 166, 21, 0.8);
}

.home-about-copy p {
  color: var(--muted);
  font-size: 17px;
}

.home-about-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.home-about-actions .text-link {
  color: #294e85;
}

.home-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-facts article {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.home-facts article:last-child {
  border-right: 0;
}

.home-facts b,
.home-facts span {
  display: block;
}

.home-facts b {
  color: #2d6c9a;
  font: 800 30px/1 Manrope;
}

.home-facts span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.reviews {
  background: #fffdfa;
}

.tarifrechner-section {
  padding: 70px 0 95px;
  background: linear-gradient(135deg, #fff7e8 0%, #f4f8fc 100%);
}

.tarifrechner-frame-wrap {
  overflow: hidden;
  background: #fffdfa;
  border: 1px solid rgba(45, 108, 154, 0.18);
  box-shadow: 0 18px 45px rgba(32, 47, 82, 0.12);
}

.tarifrechner-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 1200px;
  border: 0;
}

.reviews-intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: end;
}

.reviews-intro-action .button {
  margin-top: 16px;
}

.review-showcase {
  margin-top: 42px;
}

.review-showcase .reviews-results-head {
  padding-bottom: 18px;
}

.review-carousel {
  grid-template-columns: repeat(3, 1fr);
  transition: opacity 0.42s ease, transform 0.42s ease;
  will-change: opacity, transform;
}

.review-carousel.is-transitioning-out {
  opacity: 0;
  transform: translateX(-18px);
}

.review-carousel.is-transitioning-in {
  animation: review-carousel-in 0.65s ease both;
}

.review-carousel .review-card {
  min-height: 205px;
  animation: review-flow-in 0.55s ease both;
}

.review-carousel .review-card:nth-child(2) {
  animation-delay: 0.08s;
}

.review-carousel .review-card:nth-child(3) {
  animation-delay: 0.16s;
}

.review-carousel .review-empty {
  grid-column: 1 / -1;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  margin-top: 44px;
}

.review-form {
  display: block;
  padding: 28px;
  color: var(--ink);
  background: linear-gradient(145deg, #fff7e8, #fffdfa);
  border: 1px solid var(--line);
}

.review-form h3 {
  margin-bottom: 4px;
}

.review-form h2 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.review-form p,
.review-form small {
  color: var(--muted);
}

.review-form label {
  margin-top: 16px;
}

.review-form textarea {
  min-height: 125px;
  resize: vertical;
  border: 1px solid var(--line);
  background: #fff;
  padding: 13px;
  color: var(--ink);
  font: inherit;
  width: 100%;
}

.review-form .button {
  margin-top: 20px;
}

.review-form small {
  display: block;
  margin-top: 14px;
}

.review-stars {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.review-stars legend {
  font-size: 12px;
  font-weight: 700;
}

.review-stars div {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  margin-top: 5px;
}

.review-stars button {
  border: 0;
  background: transparent;
  padding: 0;
  color: #d5deed;
  cursor: pointer;
  font-size: 31px;
  line-height: 1;
}

.review-stars button.active,
.review-stars button:hover {
  color: #f5a615;
}

.review-form-message {
  min-height: 18px;
  margin: 8px 0 0;
  color: #b85e17 !important;
  font-size: 13px;
  font-weight: 700;
}

.reviews-results {
  padding: 30px;
  border: 1px solid var(--line);
}

.reviews-results-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.reviews-results-head h3 {
  margin-bottom: 0;
}

.review-summary {
  display: grid;
  min-width: 112px;
  text-align: right;
}

.review-summary b {
  color: #294e85;
  font: 800 30px/1 Manrope;
}

.review-summary span {
  color: #f5a615;
}

.review-summary small {
  color: var(--muted);
}

.review-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.review-page .review-list-scrollable {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 10px;
  scrollbar-color: #f5a615 #f4f8fc;
  scrollbar-width: thin;
}

.review-page .review-list-scrollable::-webkit-scrollbar {
  width: 8px;
}

.review-page .review-list-scrollable::-webkit-scrollbar-track {
  background: #f4f8fc;
}

.review-page .review-list-scrollable::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffc21c, #f09016);
  border-radius: 999px;
}

.review-empty {
  margin: 0;
  color: var(--muted);
}

.review-card {
  padding: 18px;
  background: #f4f8fc;
  border-left: 3px solid #f5a615;
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.review-card-stars {
  color: #f5a615;
  letter-spacing: 2px;
}

.review-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.review-card small {
  color: var(--muted);
}

.review-remove {
  margin-top: 12px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #697389;
  cursor: pointer;
  font: 700 12px Manrope;
  text-align: left;
  text-decoration: underline;
}

@keyframes review-flow-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes review-carousel-in {
  from {
    opacity: 0;
    transform: translateX(22px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-carousel,
  .review-carousel .review-card {
    animation: none;
    transition: none;
  }
}

.case-main {
  background: linear-gradient(135deg, #2d6c9a, #294e85);
}

.stars {
  color: #f19a18;
}

.contact-person > span {
  background: linear-gradient(135deg, #f7a614, #ef6336);
}

footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 10%, rgba(245, 166, 21, 0.2), transparent 23%),
    radial-gradient(circle at 19% 0%, rgba(239, 99, 54, 0.13), transparent 25%),
    linear-gradient(112deg, #233b68 0%, #202f52 48%, #1e3158 100%);
  border-top: 0;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  background:
    linear-gradient(112deg, rgba(245, 166, 21, 0.34) 0%, rgba(239, 99, 54, 0.2) 14%, rgba(45, 108, 154, 0.18) 39%, rgba(45, 108, 154, 0) 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 72%);
}

footer .container {
  position: relative;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #d5deed;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}

.instagram-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cookie-banner {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  width: min(560px, calc(100% - 48px));
}

.cookie-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(45, 108, 154, 0.18);
  box-shadow: 0 18px 45px rgba(32, 47, 82, 0.2);
}

.cookie-card h2 {
  margin: 8px 0 10px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.cookie-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cookie-settings {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cookie-settings[hidden] {
  display: none;
}

.cookie-settings article {
  padding: 14px;
  background: #f4f8fc;
  border-left: 3px solid #f5a615;
}

.cookie-settings b,
.cookie-settings span {
  display: block;
}

.cookie-settings span {
  color: var(--muted);
  font-size: 13px;
}

.cookie-settings .disabled {
  opacity: 0.72;
  border-left-color: #2d6c9a;
}

.cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-secondary {
  border: 0;
  background: transparent;
  color: #294e85;
  cursor: pointer;
  font: 800 13px Manrope;
  padding: 0;
}

.cookie-actions a {
  color: #697389;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {

  .language-switch {
    margin-left: auto;
    padding: 7px 9px;
  }  .brand img {
    width: 80px;
    height: 70px;
  }

  .site-header {
    height: 82px;
  }

  .site-header.menu-open .desktop-nav {
    top: 81px;
  }

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advice-benefits-head,
  .audience-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefit-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .reviews-intro,
  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .confirmation-next {
    grid-template-columns: 1fr;
  }

  .review-carousel {
    grid-template-columns: 1fr;
  }

  .tarifrechner-section {
    padding: 42px 0 70px;
  }

}

@media (max-width: 560px) {
  .cookie-banner {
    right: 15px;
    bottom: 15px;
    width: calc(100% - 30px);
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .home-about-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-facts {
    grid-template-columns: 1fr;
  }

  .home-facts article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-facts article:last-child {
    border-bottom: 0;
  }
}
