:root {
  --bg: #f6f8fc;
  --bg-soft: #edf2f8;
  --panel: #ffffff;
  --text: #1e293b;
  --muted: #5f6f85;
  --gold: #f4a62a;
  --button: #f7b94f;
  --button-text: #3f2a06;
  --container: 1240px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --line-soft: 1px solid rgba(30, 41, 59, 0.12);
  --surface-1: #ffffff;
  --surface-2: #f8fafc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.3;
  overflow-x: hidden;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand img {
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
  padding: 1px 0;
}

.brand-logo-real {
  width: clamp(130px, 9vw, 165px);
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.06) saturate(1.04);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: #25364c;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

.desktop-nav .pill-link {
  background: var(--gold);
  color: #2b1e05;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
}

.desktop-nav a.active {
  font-weight: 600;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn {
  width: 64px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #d9e3f2;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 6px;
}

.theme-dot {
  width: 21px;
  height: 21px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px #b7c6da;
}

.meeting-btn {
  text-decoration: none;
  color: #24364d;
  background: #ffffff;
  border: 1px solid rgba(30, 41, 59, 0.18);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
}

.menu-btn {
  background: transparent;
  border: 0;
  color: #5f6f85;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 4px 24px 24px;
  border-top: 1px solid rgba(30, 41, 59, 0.12);
  background: #f3f6fb;
}

.mobile-nav a {
  color: #2d3f57;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mobile-nav.open {
  display: flex;
}

.hero {
  position: relative;
  padding: 72px 0 54px;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(460px, 620px);
  gap: 68px;
  align-items: center;
}

.hero-left {
  padding-right: 0;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: clamp(15px, 1vw, 18px);
  letter-spacing: 0.01em;
  font-weight: 600;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(44px, 3.6vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: normal;
}

h1 span {
  color: var(--gold);
  font-weight: 700;
}

.lead {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: clamp(21px, 1.6vw, 29px);
  line-height: 1.3;
  color: #5d6e85;
}

.btn {
  display: inline-block;
  margin-top: 28px;
  text-decoration: none;
  border-radius: 10px;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 500;
  padding: 12px 22px;
}

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

.hero-right {
  position: relative;
  min-height: 440px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 0;
}

.hero-panel {
  position: absolute;
  right: 0;
  top: -30px;
  width: 255px;
  height: 540px;
  background: linear-gradient(180deg, rgba(183, 197, 219, 0.65) 0%, rgba(183, 197, 219, 0.25) 100%);
  border-radius: 4px;
  z-index: 0;
}

.hex-pattern {
  position: absolute;
  left: -36px;
  top: 12px;
  width: 300px;
  height: 285px;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 15px 9px, transparent 7px, rgba(148, 150, 156, 0.6) 8px, rgba(148, 150, 156, 0.6) 9px, transparent 10px),
    radial-gradient(circle at 30px 26px, transparent 7px, rgba(148, 150, 156, 0.6) 8px, rgba(148, 150, 156, 0.6) 9px, transparent 10px);
  background-size: 34px 34px;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  width: min(100%, 560px);
  margin-top: 32px;
  margin-right: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(30, 41, 59, 0.16);
  box-shadow: 0 14px 36px rgba(30, 41, 59, 0.18);
  z-index: 2;
}

.hero-image-wrap img {
  width: 100%;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 12px;
  width: 52px;
  height: auto;
  opacity: 0.65;
}

.hero-trust {
  margin: 38px auto 0;
  text-align: center;
  color: #4f6077;
  font-size: clamp(21px, 1.6vw, 30px);
  font-weight: 500;
  padding-right: 0;
}

.logo-strip {
  border-top: var(--line-soft);
  border-bottom: var(--line-soft);
  background: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.62)),
    linear-gradient(rgba(70, 93, 123, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 93, 123, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(70, 93, 123, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 93, 123, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px, 112px 112px, 112px 112px;
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px 0;
}

.logos img {
  max-width: 150px;
  width: 100%;
  justify-self: center;
  filter: grayscale(1) brightness(0.85);
}

.logos span {
  display: block;
  text-align: center;
  color: #445971;
  font-size: 14px;
  line-height: 1.35;
  background: var(--surface-1);
  border: var(--line-soft);
  border-radius: 999px;
  padding: 10px 12px;
}

.section {
  padding: 80px 0;
}

#leistungen.section {
  background: #f1f5fb;
  padding-top: 72px;
  padding-bottom: 120px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0 0 28px;
  font-size: clamp(17px, 1.25vw, 22px);
  color: #5c6d84;
  max-width: 780px;
  line-height: 1.45;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface-1);
  border: var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 18px 18px 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: #5a6b81;
  font-size: 16px;
  line-height: 1.45;
}

.section-dark {
  background: linear-gradient(to bottom, #f1f5fb 0 34%, #e8eff8 34% 100%);
  padding-top: 0;
  padding-bottom: 86px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 920px;
  margin: -46px auto 0;
}

.stat-grid div {
  padding: 26px 20px;
  border-radius: 0;
  background: #ffffff;
  border: 1px solid rgba(30, 41, 59, 0.12);
  text-align: center;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-grid div:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.stat-grid div:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.stat-grid strong {
  display: block;
  font-size: clamp(34px, 2.8vw, 50px);
  color: var(--gold);
}

.stat-grid span {
  color: var(--muted);
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-list p {
  font-size: 22px;
  color: #d5d7dc;
  margin: 0 0 20px;
}

.review-section {
  background: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.62)),
    linear-gradient(rgba(70, 93, 123, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 93, 123, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(70, 93, 123, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 93, 123, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px, 112px 112px, 112px 112px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  background: var(--surface-2);
  border: var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}

.review-card p {
  margin: 0;
  color: #53657b;
  font-size: 16px;
  line-height: 1.45;
}

.review-card .review-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.review-card .review-author {
  color: #25364c;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
}

.quote-block {
  background: linear-gradient(to bottom, #eef3fa, #e4edf9);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.faq-item p {
  margin: 0;
  color: #576a81;
  font-size: 15px;
  line-height: 1.45;
}

blockquote {
  margin: 22px 0 12px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  max-width: 1000px;
}

.quote-author {
  color: var(--gold);
  font-size: 22px;
}

.contact-section {
  background: #ffffff;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.62)),
    linear-gradient(rgba(70, 93, 123, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 93, 123, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(70, 93, 123, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 93, 123, 0.12) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px, 112px 112px, 112px 112px;
  border-top: var(--line-soft);
  border-bottom: var(--line-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}

.contact-details p {
  margin: 0 0 16px;
  color: #52657d;
  font-size: 16px;
  line-height: 1.45;
}

.contact-form {
  background: var(--surface-2);
  border: var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 14px;
  color: #3d5068;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(30, 41, 59, 0.16);
  border-radius: 10px;
  color: #1f3046;
  font-size: 15px;
  padding: 12px 14px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a9bb1;
}

.submit-btn {
  margin-top: 8px;
  justify-self: start;
  background: var(--gold);
  color: #352305;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.submit-btn:hover {
  filter: brightness(1.05);
}

.site-footer {
  background: #e6edf8;
  border-top: var(--line-soft);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #22344b;
  font-size: 18px;
}

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

.site-footer li,
.site-footer p {
  margin: 0 0 8px;
  color: #4c6078;
  font-size: 15px;
  line-height: 1.45;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 24px 0 0;
  text-align: center;
  color: #6a7c94;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: var(--gold);
  color: #2f2108;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(30, 41, 59, 0.22);
}

.subpage-hero {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  border-bottom: var(--line-soft);
}

.subpage-hero h1 {
  margin-bottom: 10px;
}

.subpage-content {
  padding: 52px 0 76px;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.text-card {
  background: #fff;
  border: var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}

.text-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.text-card p,
.text-card li {
  color: #4f6279;
  font-size: 16px;
  line-height: 1.5;
}

.text-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.cta-strip {
  margin-top: 28px;
  background: #fff;
  border: var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cta-strip p {
  margin: 0;
  color: #4f6279;
}

.cta-strip a {
  margin: 0;
}

@media (max-width: 880px) {
  .desktop-nav,
  .meeting-btn {
    display: none;
  }

  .header-row {
    min-height: 84px;
  }

  .brand img {
    width: 152px;
    max-width: 52vw;
    height: auto;
  }

  .brand {
    min-width: auto;
  }

  .theme-btn {
    width: 66px;
    height: 40px;
  }

  .theme-dot {
    width: 24px;
    height: 24px;
  }

  .menu-btn {
    font-size: 32px;
    display: inline-block;
  }

  .hero {
    padding: 52px 0 74px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-left {
    padding-right: 0;
  }

  .hero-right {
    min-height: 380px;
  }

  .hero-panel {
    height: 420px;
    width: 42%;
    top: -22px;
  }

  .hero-image-wrap {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .hero-trust {
    font-size: 19px;
    padding-right: 0;
  }

  .eyebrow {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(38px, 7vw, 58px);
  }

  .lead {
    font-size: clamp(18px, 3.2vw, 24px);
  }

  .btn {
    font-size: 15px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #leistungen.section {
    padding-bottom: 78px;
  }

  .section-dark {
    background: #e8eff8;
    padding-top: 0;
    padding-bottom: 64px;
  }

  .stat-grid {
    margin: -22px auto 0;
    gap: 10px;
  }

  .stat-grid div {
    border-radius: 10px;
    min-height: 120px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .logos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-row {
    min-height: 74px;
  }

  .brand img {
    width: 235px;
    max-width: 60vw;
  }

  .theme-btn {
    width: 58px;
    height: 34px;
  }

  .theme-dot {
    width: 20px;
    height: 20px;
  }

  .menu-btn {
    font-size: 28px;
  }

  .hero {
    padding: 34px 0 50px;
  }

  .eyebrow {
    font-size: 15px;
    margin-bottom: 14px;
    visibility: hidden;
  }

  h1 {
    font-size: 29px;
    line-height: 1.12;
    max-width: 100%;
  }

  .lead {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.35;
  }

  .btn {
    margin-top: 24px;
    font-size: 15px;
    width: auto;
    padding: 11px 16px;
  }

  .cards,
  .stat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  #leistungen.section {
    padding-bottom: 64px;
  }

  .section-dark {
    padding-bottom: 52px;
  }

  .stat-grid {
    margin: 0 auto;
    gap: 10px;
  }

  .section {
    padding: 56px 0;
  }

  h2 {
    font-size: 29px;
  }

  .section-intro {
    font-size: 17px;
  }

  .floating-contact {
    font-size: 13px;
    padding: 8px 12px;
    right: 12px;
    bottom: 12px;
  }

  .hero-right {
    min-height: 260px;
  }

  .hero-panel,
  .hex-pattern {
    display: none;
  }

  .hero-trust {
    margin-top: 26px;
    font-size: 16px;
    padding-right: 0;
  }

  .hero-badge {
    width: 40px;
  }

  .text-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: #0f1f3a;
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn-primary {
  background: #fcba00;
  color: #102036;
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cookie-banner-open .floating-contact {
  bottom: 120px;
}
