:root {
  --aras-red: #e30613;
  --aras-red-dark: #c10510;
  --ink: #111111;
  --muted: #b8b8b8;
  --soft: #f3f3f3;
  --line: #e5e5e5;
  --shell: min(1180px, calc(100% - 48px));
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--aras-red);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 14px 26px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.btn-red:hover {
  background: var(--aras-red-dark);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: .95rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .08);
}

.btn-ghost {
  background: transparent;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 10px 14px;
  cursor: pointer;
}

.more-link {
  color: var(--aras-red);
  font-weight: 700;
  white-space: nowrap;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 84px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-solid {
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-logo-native {
  filter: none;
  height: 48px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

.site-nav a:hover {
  color: #ffd7d9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.icon-btn,
.lang-btn,
.nav-toggle {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  font-size: 1.7rem;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-nav {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)),
    var(--hero-image, none),
    radial-gradient(120% 80% at 50% 0%, #2a2a2a 0%, #0a0a0a 55%, #000 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 120px 0 100px;
}

.hero-waves {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    radial-gradient(60% 80% at 20% 100%, rgba(227, 6, 19, .35), transparent 70%),
    radial-gradient(50% 70% at 80% 110%, rgba(180, 180, 180, .18), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, .03) 18px 19px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 640px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* Partners */
.partners {
  background: #fff;
  padding: 34px 0;
  border-bottom: 1px solid #f0f0f0;
  overflow: hidden;
}

.partners-viewport {
  width: 100%;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  width: max-content;
  animation: partners-marquee 28s linear infinite;
  padding-inline: 24px;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: .85;
  filter: grayscale(1);
}

.partner-logo-accent {
  filter: none;
  opacity: 1;
  height: 40px;
}

@keyframes partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Services */
.services {
  padding: 72px 0 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12) 30%, rgba(0, 0, 0, .82) 72%, rgba(0, 0, 0, .92) 100%);
}

.service-icon,
.service-copy {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: #fff;
  color: var(--aras-red);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.service-copy h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
}

.service-copy p {
  margin: 0;
  font-size: .92rem;
  color: rgba(255, 255, 255, .9);
  max-width: 36ch;
}

/* Mission */
.mission {
  padding: 72px 0 40px;
  text-align: center;
}

.mission-text {
  margin: 0 auto 48px;
  max-width: 920px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.mission-text strong {
  color: #111;
  font-weight: 800;
}

.mission-text span {
  color: #cfcfcf;
  font-weight: 500;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stat-num {
  color: var(--aras-red);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  margin-top: 10px;
  font-weight: 600;
  font-size: .95rem;
}

/* Projects */
.projects {
  padding: 40px 0 72px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  color: #fff;
}

.project-media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.project-body {
  padding: 24px 24px 28px;
}

.project-body h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

.project-body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
}

/* Career */
.career {
  background:
    linear-gradient(180deg, #050505 0%, #0d0d0d 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.career::before {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 40px);
  opacity: .55;
  pointer-events: none;
}

.career-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.career-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.career-copy p {
  margin: 0 0 24px;
  max-width: 34ch;
  color: rgba(255, 255, 255, .88);
}

.career-nav {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.ghost-square {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: transparent;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.career-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
}

/* News */
.news {
  padding: 72px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 14px;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

.news-card p {
  margin: 0;
  color: #444;
  font-size: .92rem;
}

/* Contact */
.contact {
  background: var(--soft);
  padding: 72px 0 80px;
}

.contact-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact-intro > p {
  margin: 0 0 24px;
  max-width: 34ch;
}

.contact-meta {
  color: #444;
  font-size: .95rem;
}

.contact-meta p {
  margin: 0 0 10px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #aaa;
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.phone-code {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  padding: 12px 10px;
  white-space: nowrap;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: #000;
  color: #fff;
}

.footer-main {
  padding: 42px 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-weight: 600;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials {
  display: flex;
  gap: 18px;
  font-size: 1.15rem;
}

.to-top {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 4px;
  display: grid;
  place-items: center;
}

.footer-legal {
  background: #fff;
  color: #555;
  padding: 16px 0;
}

.legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.austrian-logo {
  height: 28px;
  width: auto;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .82rem;
  color: #8a8a8a;
}

.legal-links a:hover {
  color: var(--aras-red);
}

.legal-links .sep {
  opacity: .5;
}

.copyright {
  margin: 0;
  font-size: .82rem;
  color: #333;
  white-space: nowrap;
}

/* Cookie */
.cookie-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
  border-radius: 8px;
  padding: 20px;
  z-index: 1200;
  display: none;
}

.cookie-popup.active {
  display: block;
}

.cookie-content h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cookie-content p {
  margin: 0 0 12px;
  color: #555;
  font-size: .9rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-buttons .btn-red {
  padding: 10px 14px;
}

/* Mobile */
@media (max-width: 980px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 84px 0 0;
    background: rgba(8, 8, 8, .96);
    padding: 28px 24px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 18px;
  }

  .site-nav a {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .lang-btn {
    display: none;
  }

  .services-grid,
  .projects-grid,
  .news-grid,
  .contact-inner,
  .career-inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .career-media img {
    height: 280px;
  }

  .footer-top,
  .footer-bottom-row,
  .legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 14px 20px;
  }

  .legal-links {
    justify-content: flex-start;
  }

  .copyright {
    white-space: normal;
  }

  .hero {
    min-height: 92vh;
    padding: 110px 0 80px;
  }
}

@media (max-width: 560px) {
  .service-card {
    min-height: 280px;
  }

  .partner-logo {
    height: 28px;
  }

  .partner-logo-accent {
    height: 32px;
  }

  .partners-track {
    gap: 40px;
    animation-duration: 18s;
  }

  .cookie-popup {
    right: 12px;
    left: 12px;
    width: auto;
  }
}
