:root {
  --teal: #54C8BA;
  --blue: rgb(0, 112, 172);
  --blue-dark: #05537c;
  --white: #ffffff;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-muted: #edf6fb;
  --text: #183548;
  --text-soft: #5c7383;
  --border: rgba(0, 112, 172, 0.12);
  --shadow: 0 20px 45px rgba(8, 43, 74, 0.12);
  --shadow-soft: 0 14px 30px rgba(8, 43, 74, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 88px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--teal);
  border-radius: 999px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 112, 172, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(8, 43, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo,
.footer-logo {
  height: 58px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0, 112, 172, 0.12);
  background: var(--white);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: stretch;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 30, 50, 0.82) 0%, rgba(4, 30, 50, 0.70) 34%, rgba(4, 30, 50, 0.18) 75%),
    linear-gradient(180deg, rgba(0, 112, 172, 0.16), rgba(0, 112, 172, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-text {
  max-width: 700px;
  color: var(--white);
}

.hero-text p,
.hero-text .eyebrow,
.hero-text .eyebrow::before {
  color: var(--white);
}

.hero-text .eyebrow::before {
  background: var(--teal);
}

.hero-text p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(84, 200, 186, 0.28);
}

.button-primary:hover {
  box-shadow: 0 16px 30px rgba(84, 200, 186, 0.35);
}

.button-secondary {
  background: transparent;
  color: var(--blue);
  border-color: rgba(0, 112, 172, 0.18);
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

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

.trust-strip span,
.contact-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.trust-strip span::before,
.contact-badges span::before {
  content: "•";
  color: var(--teal);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.section-copy {
  max-width: 62ch;
}

.section-copy p {
  font-size: 1.05rem;
}

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

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.light h2,
.section-heading.light p,
.section-heading.light .section-kicker {
  color: var(--white);
}

.section-heading.light .section-kicker::before {
  background: var(--teal);
}

.image-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card {
  min-height: 620px;
}

.label-card {
  min-height: 460px;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.feature-card,
.principle-card,
.product-card,
.contact-card,
.impressum-card,
.legal-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 1.35rem;
}

.feature-card p,
.principle-card p,
.product-card p,
.contact-card p,
.quality-points p,
.legal-note p {
  margin-bottom: 0;
}

.principles-section {
  background:
    radial-gradient(circle at top left, rgba(84, 200, 186, 0.16), transparent 35%),
    linear-gradient(180deg, var(--blue-dark), var(--blue));
}

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

.principle-card {
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.principle-card h3,
.principle-card p {
  color: var(--white);
}

.products-section {
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.4rem;
}

.quality-section {
  background:
    linear-gradient(180deg, rgba(0, 112, 172, 0.06), rgba(84, 200, 186, 0.08));
}

.dark-copy {
  max-width: 64ch;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.quality-points > div {
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 112, 172, 0.1);
}

.quality-points strong {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--blue-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.7fr;
  gap: 1rem;
  grid-auto-rows: 240px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.portrait {
  grid-row: span 2;
}

.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
}

.contact-card {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.info-card {
  background:
    linear-gradient(180deg, rgba(0, 112, 172, 0.96), rgba(5, 83, 124, 0.94)),
    radial-gradient(circle at top left, rgba(84, 200, 186, 0.26), transparent 40%);
  color: var(--white);
  border: none;
}

.info-card h2,
.info-card p,
.info-card .section-kicker,
.info-card .contact-label,
.info-card a {
  color: var(--white);
}

.info-card .section-kicker::before {
  background: var(--teal);
}

.contact-list {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0;
}

.contact-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.form-intro {
  margin-bottom: 1.3rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label > span {
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 112, 172, 0.16);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(0, 112, 172, 0.46);
  box-shadow: 0 0 0 4px rgba(84, 200, 186, 0.15);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

.full-width {
  grid-column: 1 / -1;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.8rem;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  accent-color: var(--blue);
}

.consent span {
  font-weight: 500 !important;
  color: var(--text-soft) !important;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-note {
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.5rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.legal-preview {
  padding-top: 0;
}

.legal-preview-inner {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(84, 200, 186, 0.14), rgba(0, 112, 172, 0.06));
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer {
  background: #06293f;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-copy {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 1rem;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

/* Impressum page */
.hero-page {
  background: linear-gradient(180deg, var(--bg), #ffffff 36%);
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
}

.page-hero-box {
  max-width: 860px;
}

.impressum-main {
  padding-top: 1rem;
}

.impressum-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.impressum-card,
.legal-note {
  padding: 2rem;
}

.impressum-card h2,
.legal-note h3 {
  margin-bottom: 1.2rem;
}

.impressum-list {
  display: grid;
  gap: 1rem;
}

.impressum-list div {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 112, 172, 0.08);
}

.impressum-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.impressum-list span,
.legal-note strong {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.note-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.note-list li + li {
  margin-top: 0.75rem;
}

.section[id],
.hero,
.page-hero,
main [id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

@media (max-width: 1080px) {
  .feature-grid.compact,
  .quality-points,
  .principles-grid,
  .footer-grid,
  .impressum-layout,
  .contact-grid,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

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

  .gallery-item.large,
  .gallery-item.portrait {
    grid-row: span 1;
  }

  .portrait-card,
  .label-card {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 1rem auto 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 112, 172, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    gap: 0.5rem;
    transform: translateY(-1rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 0.85rem 1rem;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: rgba(84, 200, 186, 0.12);
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 30, 50, 0.82), rgba(4, 30, 50, 0.78)),
      linear-gradient(180deg, rgba(0, 112, 172, 0.18), rgba(0, 112, 172, 0.08));
  }

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

  .hero-text {
    max-width: none;
  }

  .product-grid,
  .form-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .legal-preview-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1180px, calc(100% - 1.2rem));
    --header-h: 80px;
  }

  .brand-logo,
  .footer-logo {
    height: 48px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .contact-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip span,
  .contact-badges span {
    justify-content: center;
  }

  .contact-card,
  .impressum-card,
  .legal-note,
  .legal-preview-inner {
    padding: 1.35rem;
  }

  .principle-card,
  .feature-card,
  .card-body {
    padding: 1.2rem;
  }

  .portrait-card,
  .label-card {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
