:root {
  --ink: #101820;
  --muted: #5b6872;
  --line: #d9e0e4;
  --paper: #ffffff;
  --soft: #f6f8f8;
  --brand: #111827;
  --accent: #6d8f9d;
  --accent-strong: #365f6f;
  --signal: #c8a45d;
  --wash: #e7efef;
  --shadow: 0 20px 55px rgba(16, 24, 32, 0.10);
}

* {
  box-sizing: border-box;
}

img,
svg,
video {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-wrap: break-word;
}

body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

main,
section,
header,
footer {
  max-width: 100%;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 224, 228, 0.92);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 126px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  padding: 6px 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--ink);
}

.lang-toggle {
  min-width: 44px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.lang-toggle:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

[data-lang="de"] [data-en],
[data-lang="en"] [data-de] {
  display: none !important;
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: clamp(62px, 8vw, 104px) clamp(20px, 7vw, 96px) 58px;
  max-width: 100%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 248, 0.9)),
    linear-gradient(180deg, #ffffff, #eaf0f0);
}

.hero-copy,
.hero-panel,
.section-heading,
.visual-copy,
.text-block,
.contact-card {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.4vw, 68px);
}

h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #2f3f49;
  font-size: clamp(18px, 1.8vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--brand);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--brand);
}

.button.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary:hover {
  background: var(--brand);
  color: #fff;
}

.hero-panel {
  display: grid;
  gap: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.process-photo {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.process-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.panel-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}

.panel-label + strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
}

.section {
  padding: 76px clamp(20px, 7vw, 96px);
  max-width: 100%;
}

.section-alt {
  background: #fbfcfd;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #314553;
  font-size: 18px;
}

.service-grid article,
.value-card,
.model-list div,
.contact-card,
.password-box {
  overflow-wrap: anywhere;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  background: #101820;
  color: #fff;
}

.visual-section h2,
.visual-section .eyebrow {
  color: #fff;
}

.visual-copy p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.wide-photo {
  aspect-ratio: 16 / 11;
  border-radius: 6px;
}

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

.service-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #fafbfb);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.045);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.service-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.service-grid article:hover {
  border-color: #b8c8ce;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.09);
  transform: translateY(-3px);
}

.service-grid article:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--wash);
  color: var(--accent-strong);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-grid p,
.text-block,
.legal-content p,
.legal-content li {
  color: #314553;
}

.values-section {
  background:
    linear-gradient(180deg, #fbfcfd, #f1f5f4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.value-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.045);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(16, 24, 32, 0.1);
  border-color: #b8c8ce;
}

.value-card > span {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
}

.value-card strong {
  position: relative;
  font-size: 21px;
  line-height: 1.15;
  color: var(--accent-strong);
}

.value-card p {
  position: relative;
  margin: 0;
  color: #314553;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  background: #f2f5f5;
}

.text-block p {
  margin: 0 0 16px;
  font-size: 18px;
}

.model-list {
  display: grid;
  gap: 12px;
}

.model-list div {
  padding: 18px 0 18px 22px;
  border-left: 4px solid var(--signal);
  background: rgba(255, 255, 255, 0.46);
}

.model-list strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.model-list p {
  margin: 7px 0 0;
  font-size: 17px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: center;
  color: white;
  background: #101820;
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact-band h2,
.contact-band .eyebrow {
  color: white;
}

.contact-card {
  padding: 18px 20px;
  width: min(100%, 340px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.contact-card p {
  margin: 0 0 6px;
}

.contact-button {
  width: 100%;
  margin-top: 10px;
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-button:hover {
  background: #fff;
  color: var(--brand);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 7vw, 96px);
  max-width: 100%;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

.footer-brand img {
  display: block;
  width: 84px;
  height: auto;
}

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

.site-footer a:hover {
  color: var(--ink);
}

.legal-page {
  padding: 0 clamp(20px, 7vw, 96px) 80px;
}

.legal-hero {
  max-width: 780px;
  padding: 72px 0 36px;
}

.legal-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
}

.legal-hero p:last-child {
  color: var(--muted);
  font-size: 20px;
}

.legal-content {
  max-width: 860px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.legal-grid .legal-content {
  max-width: none;
}

.language-label {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 9px;
  color: var(--brand);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  font-size: 17px;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.94), rgba(54, 95, 111, 0.92)),
    #101820;
}

.password-box {
  width: min(100%, 390px);
  padding: 34px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.password-box img {
  width: 138px;
  height: auto;
  margin-bottom: 28px;
}

.password-box h1 {
  font-size: 28px;
}

.password-box p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.password-box .password-hint {
  margin-top: -8px;
  font-size: 14px;
}

.password-box input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
}

.password-box input:focus {
  outline: 2px solid rgba(54, 95, 111, 0.24);
  border-color: var(--accent-strong);
}

.password-box button {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.password-error {
  color: #9b2c2c !important;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
    width: 100%;
    row-gap: 8px;
  }

  .contact-card {
    width: 100%;
    max-width: 520px;
  }

  .hero,
  .split,
  .contact-band,
  .legal-grid,
  .visual-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .brand img {
    width: 116px;
  }

  .hero {
    padding-top: 48px;
  }

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

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

  .nav {
    gap: 10px;
    font-size: 12px;
  }

  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav a {
    white-space: normal;
  }

  .button,
  .lang-toggle {
    flex-shrink: 0;
  }

  .contact-band,
  .visual-section,
  .section,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 38px;
  }
}
