:root {
  color-scheme: light;
  --navy: #06264a;
  --navy-2: #0a3768;
  --green: #63ad16;
  --green-2: #8cc63f;
  --ink: #0d2543;
  --muted: #5e6f82;
  --line: rgba(6, 38, 74, 0.14);
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: rgba(6, 38, 74, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #eaf3f7 0%, #ffffff 38%, #edf6f1 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 38, 74, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 16rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.logo-mark img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  text-transform: uppercase;
}

.brand strong {
  color: var(--white);
  font-size: 1.25rem;
  letter-spacing: 0.16rem;
}

.brand small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13rem;
}

.nav {
  display: flex;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.25rem;
}

.nav a,
.header-cta,
.btn {
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a {
  padding: 0.72rem 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.header-cta,
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--white);
  box-shadow: 0 16px 38px rgba(99, 173, 22, 0.24);
}

.btn.ghost {
  background: var(--white);
  color: var(--navy);
}

main {
  overflow: hidden;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(6, 38, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 38, 74, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(28rem, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(1240px, calc(100% - 2rem));
  min-height: calc(100vh - 5.2rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0.9rem;
  color: var(--navy);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  color: var(--navy);
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 0.7rem 0.85rem;
  color: var(--navy);
  font-weight: 850;
}

.hero-brand-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 1.1rem;
  min-height: 35rem;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 14%, rgba(140, 198, 63, 0.28), transparent 16rem),
    linear-gradient(145deg, rgba(6, 38, 74, 0.98), rgba(10, 55, 104, 0.9));
  box-shadow:
    0 38px 100px rgba(6, 38, 74, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  padding: clamp(1.2rem, 4vw, 3rem);
  animation: floatRelief 7s ease-in-out infinite;
}

.hero-brand-card::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(44%, 11rem);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.hero-brand-text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  text-transform: uppercase;
}

.hero-brand-text strong {
  color: var(--white);
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  font-weight: 300;
  letter-spacing: 0.2rem;
  line-height: 0.9;
}

.hero-brand-text span {
  color: var(--green-2);
  font-size: clamp(1rem, 2vw, 1.7rem);
  font-weight: 950;
  letter-spacing: 0.22rem;
}

.hero-brand-card p {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.hero-service-list {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 30rem);
  gap: 0.55rem;
}

.hero-service-list span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.72rem;
  font-weight: 850;
}

.hero-badge {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  display: grid;
  gap: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(6, 38, 74, 0.88);
  color: var(--white);
  padding: 1rem;
  text-transform: uppercase;
  animation: badgePulse 5s ease-in-out infinite;
}

.hero-badge strong:last-child {
  color: var(--green-2);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

#leistungen {
  margin-top: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 70px rgba(6, 38, 74, 0.08);
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p,
.why-copy p,
.quote-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-grid article,
.process-grid article,
.quote-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow:
    0 20px 60px rgba(6, 38, 74, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.service-grid article {
  min-height: 18rem;
  padding: 1rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-grid article:hover,
.process-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 173, 22, 0.34);
  box-shadow: 0 28px 72px rgba(6, 38, 74, 0.15);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--white);
  font-weight: 950;
}

.service-grid p,
.process-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(24rem, 1fr);
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(6, 38, 74, 0.96), rgba(10, 55, 104, 0.9) 48%, rgba(99, 173, 22, 0.78));
  padding: clamp(3rem, 6vw, 6rem) max(1rem, calc((100vw - 1180px) / 2));
}

.why-section h2,
.why-section .eyebrow,
.why-section .check-list li {
  color: var(--white);
}

.why-section .eyebrow {
  color: #b7ef6d;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--navy);
  font-weight: 850;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 99px;
  background: var(--green);
}

.why-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
  transform: perspective(1200px) rotateY(-4deg);
}

.why-card img {
  width: 100%;
  max-height: 42rem;
  object-fit: cover;
  object-position: top;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-grid article {
  padding: 1rem;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 2rem;
  font-weight: 950;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1fr);
  gap: 2rem;
  align-items: start;
  padding: clamp(3rem, 6vw, 6rem) max(1rem, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: var(--white);
}

.quote-section h2,
.quote-section h3 {
  color: var(--white);
}

.quote-section .lead,
.quote-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-card a {
  color: var(--white);
  font-weight: 850;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
}

.quote-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  padding: 0.85rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: var(--white);
}

.premium-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(24rem, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.premium-copy {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 38, 74, 0.98), rgba(10, 55, 104, 0.94) 58%, rgba(99, 173, 22, 0.84));
  color: var(--white);
  box-shadow: 0 28px 80px var(--shadow);
  position: relative;
  overflow: hidden;
}

.premium-copy::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.premium-logo {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.38rem;
  margin-bottom: 1rem;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.premium-copy h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.premium-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.premium-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.2rem 0;
}

.premium-points span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.72rem;
  font-weight: 850;
}

.premium-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 243, 247, 0.8));
  box-shadow:
    0 28px 78px rgba(6, 38, 74, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  animation: slowLift 8s ease-in-out infinite;
}

.premium-poster img {
  width: 100%;
  max-height: 48rem;
  object-fit: contain;
  object-position: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--navy);
  color: var(--white);
}

@keyframes floatRelief {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slowLift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 16px 38px rgba(6, 38, 74, 0.28);
  }
  50% {
    box-shadow: 0 20px 48px rgba(99, 173, 22, 0.3);
  }
}

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

.site-footer span,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

@media (max-width: 1050px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .hero,
  .why-section,
  .quote-section,
  .premium-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.4rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 580px) {
  .site-header {
    padding: 0.75rem;
  }

  .brand {
    width: 100%;
  }

  .header-cta {
    width: 100%;
  }

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

  .nav a {
    padding: 0.68rem 0.5rem;
    font-size: 0.7rem;
  }

  .hero,
  .section-shell {
    width: min(100% - 1rem, 1180px);
  }

  .service-grid,
  .process-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .premium-points {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-brand-card {
    min-height: 30rem;
    gap: 0.85rem;
    padding: 1.1rem;
  }

  .hero-logo {
    width: 7.2rem;
    padding: 0.55rem;
  }

  .hero-brand-text strong {
    font-size: 3.15rem;
    letter-spacing: 0.12rem;
  }

  .hero-brand-text span {
    font-size: 0.9rem;
    letter-spacing: 0.14rem;
  }

  .hero-badge {
    position: relative;
    inset: auto;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.75rem;
    font-size: 0.78rem;
  }

  .hero-service-list span {
    padding: 0.62rem;
    font-size: 0.88rem;
  }
}
