* {
  box-sizing: border-box;
}

:root {
  --orange: #f28c18;
  --orange-dark: #d97305;
  --ink: #172033;
  --muted: #667085;
  --line: #d8e0ec;
  --light: #f5f8fc;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 350px 1fr 180px;
  align-items: center;
  gap: 24px;
  min-height: 126px;
  padding: 20px 48px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 224, 236, 0.8);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.navbar__logo img {
  display: block;
  max-width: 330px;
  max-height: 88px;
  object-fit: contain;
}

.navbar__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.navbar__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.navbar__menu a:hover,
.navbar__menu a.is-active {
  color: var(--orange);
  background: #fff7ed;
  border-color: var(--orange);
}

.navbar__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar__cta {
  justify-self: end;
  min-width: 150px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(242, 140, 24, 0.28);
}

.navbar__cta:hover,
.button--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.button--primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(242, 140, 24, 0.24);
}

.button--secondary {
  color: var(--orange-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.button--secondary:hover {
  background: var(--light);
}

.navbar__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: stretch;
  gap: 28px;
  min-height: calc(100vh - 126px);
  padding: 28px 48px;
  background: #fff8ef;
}

.hero__content,
.section__inner,
.footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 660px;
  padding: 54px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 24, 40, 0.72) 0%, rgba(15, 24, 40, 0.54) 60%, rgba(15, 24, 40, 0.22) 100%),
    url("images/IMG_1770.jpeg") center 58% / cover no-repeat;
  border-radius: 8px;
  overflow: hidden;
}

.hero__content .eyebrow {
  color: #ff9d2e;
}

.hero__content h1 {
  max-width: 760px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero__content .hero__text {
  color: rgba(255, 255, 255, 0.9);
}

.hero__content .button--secondary {
  color: var(--white);
  background: rgba(15, 24, 40, 0.32);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero__content .button--secondary:hover {
  background: rgba(15, 24, 40, 0.62);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero__text {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 224, 236, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.hero__panel div {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero__panel strong,
.hero__panel span {
  display: block;
}

.hero__panel strong {
  margin-bottom: 6px;
  font-size: 22px;
}

.hero__panel span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 84px 48px;
}

.section--light,
.section--form {
  background: var(--light);
}

.split,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.split p,
.form-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.services article {
  min-height: 190px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.services p {
  color: var(--muted);
  line-height: 1.6;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.request-form label {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.request-form label input,
.request-form label select,
.request-form label textarea {
  display: block;
  margin-top: 8px;
}

.required-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.required-note span,
.required-mark {
  color: var(--orange-dark);
  font-weight: 800;
}

.required-mark {
  display: inline;
  margin-left: 2px;
}

.location-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.location-group {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #fffaf4;
  border: 1px solid rgba(242, 140, 24, 0.28);
  border-radius: 8px;
}

.location-group h3 {
  margin-bottom: 0;
  color: var(--orange-dark);
  font-size: 18px;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid #c9d3e2;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}

.request-form textarea {
  min-height: 128px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 24, 0.16);
  outline: none;
}

.request-form__wide {
  grid-column: 1 / -1;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status--success,
.form-status--error {
  display: block;
}

.form-status--success {
  color: #17633a;
  background: #edf9f2;
  border-color: #9bd7b5;
}

.form-status--error {
  color: #9a2e24;
  background: #fff1ef;
  border-color: #e9aaa3;
}

.request-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.contact-layout p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.imprint-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.imprint-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.imprint-section .eyebrow {
  margin-bottom: 8px;
}

.imprint-section h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.imprint-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.imprint-details p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.imprint-details strong {
  color: var(--ink);
}

.imprint-details a,
.footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
  color: var(--white);
  background: var(--ink);
}

.footer span {
  color: rgba(255, 255, 255, 0.74);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(6px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .navbar {
    grid-template-columns: 1fr auto;
    min-height: 92px;
    padding: 12px 18px;
  }

  .navbar__logo img {
    max-width: 220px;
    max-height: 72px;
  }

  .navbar__toggle {
    display: block;
    justify-self: end;
  }

  .navbar__menu,
  .navbar__cta {
    display: none;
  }

  .navbar.is-open .navbar__menu,
  .navbar.is-open .navbar__cta {
    display: flex;
    grid-column: 1 / -1;
  }

  .navbar.is-open .navbar__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
  }

  .navbar.is-open .navbar__menu a {
    justify-content: center;
    padding: 12px;
    border-bottom: 1px solid #e5eaf1;
  }

  .navbar.is-open .navbar__cta {
    justify-self: stretch;
    width: 100%;
    margin-top: 4px;
  }

  .hero,
  .split,
  .form-layout,
  .services,
  .location-fields,
  .contact-layout,
  .imprint-layout,
  .imprint-details {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 20px;
    background: #fff8ef;
  }

  .hero__content {
    min-height: 620px;
    padding: 38px 28px;
    background:
      linear-gradient(90deg, rgba(15, 24, 40, 0.72) 0%, rgba(15, 24, 40, 0.42) 100%),
      url("images/IMG_1770.jpeg") center 58% / cover no-repeat;
  }

  .section {
    padding: 56px 20px;
  }

  .footer {
    flex-direction: column;
    padding: 28px 20px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero__actions,
  .button,
  .navbar__cta {
    width: 100%;
  }

  .request-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .hero__content {
    min-height: 570px;
    padding: 32px 22px;
    background-position: center 55%;
  }

  .hero__content h1 {
    font-size: 39px;
  }

  .location-group {
    padding: 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}
