:root {
  --navy: #0f2a3a;
  --navy-deep: #0a1c28;
  --teal: #2a9aaa;
  --teal-bright: #3db8c9;
  --steel: #4a6570;
  --mist: #e8eef1;
  --paper: #f4f7f8;
  --ink: #152028;
  --white: #ffffff;
  --accent: #c45c26;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --max: 1120px;
  --space: clamp(1.25rem, 3vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 40%, var(--paper) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
  word-break: break-word;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* Header */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1.1rem 0;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.brand span {
  color: var(--teal-bright);
}

.top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.top-contact a {
  color: inherit;
  text-decoration: none;
}

.top-contact a:hover {
  color: var(--teal-bright);
}

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.icon-external {
  flex-shrink: 0;
  opacity: 0.85;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero (Startseite) */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  padding: 7rem 0 4.5rem;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(10, 28, 40, 0.92) 0%, rgba(15, 42, 58, 0.78) 48%, rgba(42, 154, 170, 0.45) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(61, 184, 201, 0.25), transparent 55%),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 10px
    ),
    linear-gradient(160deg, #123447 0%, #0f2a3a 45%, #1a5560 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, var(--paper), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-claim {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-bright);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Sections */
section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
  animation: rise 0.7s ease both;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--steel);
  font-size: 1.08rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 3rem;
  }
}

.assortment {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.55rem 1rem;
}

.assortment li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.assortment li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--teal);
  border-radius: 1px;
}

.panel {
  padding: 1.5rem 1.35rem;
  background:
    linear-gradient(155deg, rgba(15, 42, 58, 0.96), rgba(26, 85, 96, 0.92));
  color: var(--white);
  border-radius: 2px;
  animation: rise 0.8s ease 0.1s both;
}

.panel h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.panel p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.panel li {
  padding-left: 1rem;
  position: relative;
  font-weight: 500;
}

.panel li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--teal-bright);
}

/* Vorteile */
.benefits {
  background:
    linear-gradient(180deg, transparent, rgba(42, 154, 170, 0.08), transparent);
}

.benefit-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .benefit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.benefit {
  padding-top: 1rem;
  border-top: 2px solid var(--teal);
  animation: rise 0.7s ease both;
}

.benefit:nth-child(2) { animation-delay: 0.08s; }
.benefit:nth-child(3) { animation-delay: 0.16s; }

.benefit h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.benefit ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.benefit li {
  padding-left: 1rem;
  position: relative;
  color: var(--steel);
}

.benefit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
}

.benefit p {
  margin: 0;
  color: var(--steel);
}

.quote-mark {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--teal);
}

/* Produktpalette */
.product-band {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(120deg, var(--navy-deep), #154454 55%, #1f6a76);
  overflow: hidden;
}

.product-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.03) 18px 19px
    );
  pointer-events: none;
}

.product-band .section-head h2,
.product-band .section-head p {
  color: var(--white);
  position: relative;
}

.product-band .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  padding: 0;
  animation: rise 0.7s ease both;
}

.testimonial:nth-child(2) { animation-delay: 0.06s; }
.testimonial:nth-child(3) { animation-delay: 0.12s; }
.testimonial:nth-child(4) { animation-delay: 0.18s; }

.testimonial blockquote {
  margin: 0;
  padding: 0 0 0.85rem;
  border: 0;
  color: var(--ink);
}

.testimonial p {
  margin: 0 0 0.65rem;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
  letter-spacing: 0.02em;
}

/* Contact CTA */
.contact-cta {
  text-align: center;
}

.contact-cta .section-head {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.contact-cta .contact-address {
  margin: 1rem 0 0;
  color: var(--steel);
  line-height: 1.55;
}

.contact-cta .cta-row {
  justify-content: center;
}

.contact-cta .btn-primary {
  background: var(--navy);
}

.contact-cta .btn-primary:hover {
  background: var(--teal);
  color: var(--white);
}

.contact-cta .btn-ghost {
  color: var(--navy);
  border-color: rgba(15, 42, 58, 0.35);
}

.contact-cta .btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* Unterseiten: Hero & Rechtstexte */
.page-hero {
  position: relative;
  padding: 7rem 0 3rem;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(10, 28, 40, 0.95) 0%, rgba(15, 42, 58, 0.88) 55%, rgba(42, 154, 170, 0.55) 100%),
    linear-gradient(160deg, #123447 0%, #0f2a3a 45%, #1a5560 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(to top, var(--paper), transparent);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.content {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.legal {
  max-width: 48rem;
}

.legal h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 1.5rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
}

.legal p {
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.legal .block {
  margin-bottom: 1.5rem;
}

.legal .block p {
  margin: 0 0 0.35rem;
}

.legal .address {
  margin: 0.75rem 0 1rem;
  padding-left: 0;
}

.legal .address p {
  margin: 0 0 0.2rem;
}

.legal .uppercase {
  text-transform: uppercase;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.45rem;
}

.source {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 42, 58, 0.15);
  color: var(--steel);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
}

.footer-meta {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--teal-bright);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal-bright);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
