/* =========================================================
   Rheiderländer Maschinenbau GmbH
   Clean industrial B2B styling (blue tones), responsive, fast
   BEM-ish naming, no frameworks
   ========================================================= */

/* ---------- CSS Reset (lightweight) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

:root {
  /* === Industrial Dark Theme === */
  --bg: #0b0e11;
  --bg-alt: #11161d;
  --card: #151b23;

  --ink: #f5f7fa;
  --muted: #9aa4b2;

  --blue-900: #0b2a4a;
  --blue-800: #123a66;
  --blue-700: #1a4f8a;
  --blue-600: #2a6fb6;

  --accent: #4da3ff;

  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
  --header-height: 72px;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.hero__title {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.card,
.product__img,
.image-card,
.contact__card,
.note,
.fact,
.person {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-700);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 17, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue-700), var(--blue-900));
  box-shadow: 0 8px 16px rgba(18, 58, 102, 0.25);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand__suffix {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border-radius: 12px;
  border: 1px solid var(--line);

  background-color: var(--bg-alt);
  cursor: pointer;
}

/* hamburger icon */
.nav-toggle::before {
  content: "";
  width: 20px;
  height: 20px;

  background-color: var(--ink);

  /* SVG mask */
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z'/%3E%3C/svg%3E")
    center / contain no-repeat;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* hover */
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* active */
.nav-toggle:active {
  transform: translateY(1px);
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-flex;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;

  font-weight: 700;
  font-size: 13px;

  color: var(--muted);
  cursor: pointer;

  transition:
    background 160ms ease,
    color 160ms ease;
}

.lang-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
  background: var(--bg);
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__header {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 28px;
}

.section__title {
  font-size: clamp(24px, 4.5vw, 32px);
  line-height: 1.2;
  max-width: 22ch;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;

  min-height: calc(100dvh - var(--header-height));
  min-height: calc(100vh - var(--header-height)); /* fallback */

  display: flex;
  align-items: center;

  padding: 0;

  background:
    linear-gradient(rgba(11, 14, 17, 0.85), rgba(11, 14, 17, 0.9)),
    url("img/hall.jpg");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  width: 100%;
  padding: 96px 0 72px;
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  max-width: 18ch;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 54ch;
}

.hero__subtitle--services {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--muted);

  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;

  max-width: 60ch;
}

@media (max-width: 576px) {
  .hero__subtitle--services {
    justify-content: center;
    text-align: center;
    font-size: 14px;
  }
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-900);
}

/* Visual / placeholder “machine image” */
.image-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f2f6fb);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 360px;
  overflow: hidden;
  transform: translateZ(0);
}

.image-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.image-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 58, 102, 0.1);
  color: var(--blue-800);
  border: 1px solid rgba(18, 58, 102, 0.18);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.image-card__lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 58, 102, 0.08) 1px, transparent 1px) 0 0 /
      46px 46px,
    linear-gradient(0deg, rgba(18, 58, 102, 0.06) 1px, transparent 1px) 0 0 /
      46px 46px;
  opacity: 0.7;
}

.image-card__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 120ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent), #3b82f6);
  color: #0b0e11;

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: none; /* makni glow */
}

.btn--primary:hover {
  background: linear-gradient(180deg, #5aaeff, var(--accent));
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--link {
  background: transparent;
  border: 0;
  padding: 10px 0;
  border-radius: 10px;
  color: var(--blue-800);
  font-weight: 800;
}

/* ---------- Products ---------- */
.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.product__img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #eef3fa);
  min-height: 360px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.product__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      800px 260px at 20% 20%,
      rgba(42, 111, 182, 0.16),
      transparent 60%
    ),
    radial-gradient(
      700px 260px at 80% 30%,
      rgba(26, 79, 138, 0.1),
      transparent 60%
    );
}

.product__imgLabel {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--muted);
}

.product__title {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.product__text {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 70ch;
}

.checklist {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist__item {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 600;
}

.checklist__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(26, 79, 138, 0.14);
  border: 1px solid rgba(26, 79, 138, 0.22);
}

.product__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.05);
}

.card__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--blue-900);
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.seo-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.seo-block__text {
  margin: 0;
  font-size: 13px;
  color: #6a7c93;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.about__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 72ch;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.mini__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--blue-900);
}

.mini__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.people {
  display: grid;
  gap: 12px;
}

.person {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.05);
}

.person__photo {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #eef3fa);
  position: relative;
  overflow: hidden;
}

.person__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      260px 120px at 30% 30%,
      rgba(42, 111, 182, 0.16),
      transparent 60%
    ),
    radial-gradient(
      220px 120px at 70% 40%,
      rgba(26, 79, 138, 0.1),
      transparent 60%
    );
}

.person__name {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 900;
}

.person__role {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-800);
}

.person__desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.facts {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 14px;
  box-shadow: none;
}

.fact__value {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}

.fact__label {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 54px 0;
  background: linear-gradient(180deg, var(--blue-900), var(--blue-800));
  color: #fff;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.cta__title {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.cta__text {
  margin: 0;
  opacity: 0.9;
  max-width: 70ch;
}

.cta__actions {
  display: flex;
  justify-content: flex-end;
}

.cta .btn--primary {
  background: #fff;
  color: var(--blue-900);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact__left {
  display: grid;
  gap: 16px;
}

.contact__right {
  display: flex;
}

.contact__right .contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact__cardTitle {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 950;
  color: var(--ink);
}

.contact__list {
  margin: 0 0 14px;
}

.contact__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.contact__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact__label {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact__value {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.contact__link {
  color: var(--accent);
}

.contact__link:hover {
  text-decoration: underline;
}

.contact__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact__aside {
  display: grid;
  gap: 12px;
}

.note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.note__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 950;
  color: var(--blue-900);
}

.note__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 600;
}

.note__item {
  margin: 6px 0;
}

.note__text {
  margin: 0;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  background: #0b0e11;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 32px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue-700), var(--blue-900));
}

.footer__tagline {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.footer__nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__link {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
}

.footer__link:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.footer__meta {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.footer__dot {
  color: var(--line);
}

/* ---------- Subtle section entrance animation ---------- */
[data-section] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

[data-section].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 38px;
  }

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

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

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

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

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

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

  .cta__actions {
    justify-content: flex-start;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer__meta {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 6px;
  }

  .nav__link {
    width: 100%;
    padding: 12px 12px;
    background: var(--bg-alt);
  }

  .nav__actions {
    display: inline-flex;
    align-items: center;
    gap: 2px;

    padding: 4px 6px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);

    backdrop-filter: blur(6px);
  }

  .section {
    padding: 48px 0;
  }

  .hero__title {
    font-size: 34px;
  }

  .image-card {
    min-height: 320px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  [data-section] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn {
    transition: none;
  }
}

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

@media (max-width: 760px) {
  .hero__inner {
    padding: 64px 0 48px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }
}

/* ---------- Machine Section ---------- */

.section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.machine__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}

/* Text side */
.machine__content {
  max-width: 48ch;
}

.machine__text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

.machine__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.machine__facts li {
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 18px;
}

.machine__facts li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- Slider ---------- */

.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.slider__track {
  display: flex;
  transition: transform 400ms ease;
}

.slider__track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.slider__btn--prev {
  left: 12px;
}

.slider__btn--next {
  right: 12px;
}

.slider__btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

@media (max-width: 980px) {
  .machine__layout {
    grid-template-columns: 1fr;
  }

  .machine__content {
    max-width: none;
  }
}

/* ===========================
   ABOUT – Clean & Authentic
   =========================== */

.about-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

.about-story__title {
  font-size: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.about-story__lead {
  font-size: 16px;
  color: var(--ink);
  max-width: 62ch;
  margin-bottom: 12px;
}

.about-story__muted {
  color: var(--muted);
  max-width: 62ch;
}

.about-story__image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-story__image figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Continuity block */

.about-continuity {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

.about-continuity__title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--blue-900);
}

.about-continuity__image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-continuity__image figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.about-continuity__text p {
  max-width: 60ch;
}

.about-continuity__text .muted {
  color: var(--muted);
}

/* Facts */

.facts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fact {
  text-align: center;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 980px) {
  .about-story,
  .about-continuity {
    grid-template-columns: 1fr;
  }

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

/* ===========================
   About – reuse card system
   =========================== */

.about-story__text,
.about-continuity__text {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px;
}

@media (max-width: 760px) {
  .about-story__text,
  .about-continuity__text {
    padding: 22px 20px;
  }
}

/* ===========================
   About – Company Today
   =========================== */

.about-today {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

.about-today__text {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px;
}

.about-today__title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--blue-900);
}

.about-today__text p {
  max-width: 60ch;
}

.about-today__text .muted {
  color: var(--muted);
}

.about-today__image img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-today__image figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
  .about-today {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Center section headers
   =========================== */

.section__header {
  text-align: center;
}

.section__header .section__title,
.section__header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Contact Form ---------- */

.contact-form {
  padding: 22px;
}

.contact-form__title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
}

/* Form fields */
.form {
  display: grid;
  gap: 14px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form__input,
.form__textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #0e1319;
}

.form__textarea {
  resize: vertical;
  min-height: 110px;
}

@media (max-width: 980px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .contact__right {
    position: static;
  }
}

.card-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.2px;
}

/* ===========================
   About reveal animations
   =========================== */

/* Initial hidden state */
[data-animate] > * {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Left / right logic */
[data-animate] > *:nth-child(odd) {
  transform: translateX(-32px);
}

[data-animate] > *:nth-child(even) {
  transform: translateX(32px);
}

/* When visible */
[data-animate].is-visible > * {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Stagger */
[data-animate].is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}
[data-animate].is-visible > *:nth-child(2) {
  transition-delay: 120ms;
}
[data-animate].is-visible > *:nth-child(3) {
  transition-delay: 240ms;
}

/* Special case: fade-up (facts) */
[data-animate-type="fade-up"] > * {
  transform: translateY(24px);
}

[data-animate-type="fade-up"].is-visible > * {
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  [data-animate] > * {
    transform: translateY(12px) !important;
  }
}

/* ===========================
   About images – subtle hover zoom
   =========================== */

.about-story__image,
.about-continuity__image,
.about-today__image,
.image-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.about-story__image img,
.about-continuity__image img,
.about-today__image img,
.image-card:hover img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Hover zoom */
.about-story__image:hover img,
.about-continuity__image:hover img,
.about-today__image:hover img,
.image-card:hover img {
  transform: scale(1.035);
}

.footer__inner--simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

@media (max-width: 760px) {
  .footer__inner--simple {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero__content,
  .hero__visual {
    padding: 0 10px;
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  figure {
    margin: 0;
  }

  h3 {
    margin: 0;
  }

  .about-story,
  .about-continuity,
  .about-today {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Text always first */
  .about-story__text,
  .about-continuity__text,
  .about-today__text {
    order: 1;
  }

  /* Image always second */
  .about-story__image,
  .about-continuity__image,
  .about-today__image {
    order: 2;
  }
}

@media (max-width: 576px) {
  .contact__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.contact__value,
.contact__link {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact__right,
.contact__right .contact-form {
  min-width: 0;
}

@media (max-width: 760px) {
  .nav {
    background: rgba(11, 14, 17, 0.92); /* TAMNI, ne bijeli */
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);

    border-bottom: 1px solid var(--line);

    padding: 20px 16px 22px;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .nav__list {
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .nav__link {
    width: auto;
    min-width: 200px;

    justify-content: center;

    padding: 12px 18px;
    border-radius: 999px;

    font-weight: 700;
    font-size: 14px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
  }

  .nav__link:hover {
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 760px) {
  .nav__link--primary {
    background: linear-gradient(180deg, var(--accent), #3b82f6);
    color: #0b0e11;
    border-color: transparent;
  }
}

@media (max-width: 760px) {
  .nav__actions {
    margin-top: 8px;
    align-self: center;

    padding: 6px 8px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
  }

  .lang-btn {
    padding: 6px 12px;
  }
}

@media (max-width: 760px) {
  .nav {
    animation: navFade 180ms ease-out;
  }

  @keyframes navFade {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
