/* ==========================================================================
   LÜGER GROUP – One-page website
   ========================================================================== */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-red: #e30613;
  --color-red-hover: #c00510;
  --color-gray: #888888;
  --color-gray-dark: #1a1a1a;
  --color-gray-border: #333333;
  --font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
  --header-height: 80px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red);
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--color-black);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__brand {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.header__nav-wrap {
  position: relative;
}

.header__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background-color: var(--color-gray-dark);
  border: 1px solid var(--color-gray-border);
  padding: 8px 0;
  z-index: 110;
}

.header__dropdown[hidden] {
  display: none;
}

.header__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--color-white);
  transition: background-color var(--transition), color var(--transition);
}

.header__dropdown-link:hover {
  background-color: rgba(227, 6, 19, 0.15);
  color: var(--color-white);
}

.header__menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-white);
  transition: background-color var(--transition);
}

.header__menu:hover span {
  background-color: var(--color-red);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.98) 35%,
    rgba(0, 0, 0, 0.85) 55%,
    rgba(0, 0, 0, 0.35) 72%,
    rgba(0, 0, 0, 0) 88%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center center / cover no-repeat;
  z-index: 0;
}

.hero__overlay {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: calc(var(--header-height) + 28px);
  padding-bottom: 40px;
  transform: translateY(3%);
}

.hero__panel {
  max-width: 68%;
  width: 68%;
  text-align: left;
  padding: 0 48px 0 0;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.hero__title-line {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero__title-line--white {
  color: var(--color-white);
}

.hero__title-line--red {
  color: var(--color-red);
}

.hero__underline {
  width: 80px;
  height: 4px;
  background-color: var(--color-red);
  margin-bottom: 32px;
}

.hero__text {
  margin-bottom: 32px;
}

.hero__text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
  color: rgba(176, 176, 176, 1);
}

.hero__text p:last-child {
  margin-bottom: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.btn-cta:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-1px);
}

.btn-cta__arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Benefits
   -------------------------------------------------------------------------- */

.benefits {
  background-color: var(--color-black);
  padding: 60px 0;
  border-top: 1px solid var(--color-gray-border);
}

.benefits__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.benefits__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.benefits__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-gray-border);
}

.benefits__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
}

.benefits__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.benefits__line--bold {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  scroll-margin-top: var(--header-height);
}

.contact__inner {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 520px;
}

.contact__panel {
  background-color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px 32px 48px 24px;
}

.contact__content {
  max-width: 320px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
}

.contact__label {
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.2;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact__icon svg {
  width: 100%;
  height: 100%;
}

.contact__list a,
.contact__list address {
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact__image {
  background: url("../img/contact.jpg") center center / cover no-repeat;
  min-height: 320px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background-color: var(--color-black);
  border-top: 1px solid var(--color-gray-border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  font-size: 0.8rem;
  color: var(--color-gray);
}

.footer__nav a:hover {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background-color: var(--color-gray-dark);
  border: 1px solid var(--color-gray-border);
  padding: 40px 32px 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: color var(--transition);
}

.modal__close:hover {
  color: var(--color-red);
}

.modal__close svg {
  width: 20px;
  height: 20px;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-white);
}

.modal__subtitle {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.required {
  color: var(--color-red);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--color-black);
  border: 1px solid var(--color-gray-border);
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--color-red);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-red);
  min-height: 1.2em;
}

.form-group--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status--success {
  color: #4caf50;
}

.form-status--error {
  color: var(--color-red);
}

.btn-submit {
  padding: 14px 28px;
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color var(--transition);
}

.btn-submit:hover {
  background-color: var(--color-red-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
  .benefits__inner {
    grid-template-columns: 1fr;
  }

  .benefits__item:not(:last-child)::after {
    display: none;
  }

  .benefits__item:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-border);
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__panel {
    padding: 40px 24px;
    justify-content: flex-start;
  }

  .contact__content {
    margin-left: 0;
    max-width: 100%;
  }

  .contact__image {
    min-height: 360px;
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__logo-img {
    height: 40px;
  }

  .hero__panel {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  .hero__content {
    transform: none;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 32px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .header__logo-img {
    height: 34px;
  }

  .footer__logo-img {
    height: 34px;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.8rem;
  }

  .modal__dialog {
    padding: 32px 20px 24px;
  }
}
