@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&display=swap");

:root {
  --red: #ed001b;
  --red-dark: #c90018;
  --ink: #070707;
  --muted: #5f646e;
  --line: #e9edf2;
  --soft: #f7f8fa;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
}

h1,
h2,
h3,
strong,
.primary-button,
.secondary-button,
.client-portal-button,
.cta-card a,
.section-heading h2 {
  font-weight: 800;
}

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

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero,
main {
  max-width: 1440px;
  margin: 0 auto;
}

.legal-hero {
  max-width: 1440px;
  min-height: 250px;
  margin: 0 auto;
  padding: 28px 48px;
  border: 1px solid var(--line);
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.legal-hero-copy {
  width: min(1320px, calc(100% - 56px));
  margin: 44px auto 0;
}

.legal-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.legal-page {
  width: min(1320px, calc(100% - 56px));
  padding: 34px 0 42px;
}

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

.legal-card h2 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
}

.legal-card h2:first-of-type {
  margin-top: 10px;
}

.legal-card p,
.legal-card li {
  max-width: 980px;
  color: #333842;
  line-height: 1.65;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #070707;
  background: #f6f8fb;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.hero {
  min-height: auto;
  padding: 42px 48px 78px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.76) 48%, rgba(255, 255, 255, 0.18) 100%),
    url("assets/hero-brand-background.png") center / cover no-repeat;
}

.topbar,
.hero-grid,
.intro-card,
.section,
.split-panel,
.two-column,
.partner-strip,
.bottom-grid,
.footer {
  width: min(1320px, calc(100% - 56px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
}

.footer-brand {
  font-size: 1.5rem;
}

.brand img {
  width: 226px;
  height: 48px;
  display: block;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.footer .brand img {
  width: 218px;
  height: 48px;
  object-fit: contain;
}

.footer .brand img {
  filter: none;
  mix-blend-mode: normal;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #262a31;
  font-size: 0.95rem;
}

.nav-button {
  border: 1px solid rgba(237, 0, 27, 0.35);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--red);
  font-weight: 700;
}

.hero-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr);
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.25rem, 4.25vw, 4.15rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy h1::after {
  content: ".";
  color: var(--red);
}

.red-dot {
  color: var(--red);
}

.text-red {
  color: var(--red);
}

.hero-copy p {
  max-width: 620px;
  margin: 28px 0 30px;
  color: #333842;
  font-size: 1.13rem;
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (min-width: 721px) {
  .button-row {
    width: max-content;
    max-width: none;
    flex-wrap: nowrap;
  }
}

.primary-button,
.secondary-button,
.cta-card a,
.client-portal-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 0 28px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.primary-button svg,
.secondary-button svg,
.cta-card a svg,
.client-portal-button svg {
  transition: transform 180ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.cta-card a:hover,
.client-portal-button:hover {
  transform: translateY(-3px);
}

.primary-button:hover svg,
.secondary-button:hover svg,
.cta-card a:hover svg,
.client-portal-button:hover svg {
  transform: translateX(4px);
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff1f35);
  box-shadow: 0 16px 26px rgba(237, 0, 27, 0.22);
}

.primary-button:hover {
  box-shadow: 0 20px 34px rgba(237, 0, 27, 0.32);
}

.secondary-button {
  color: #15181d;
  background: #fff;
  border: 1px solid rgba(237, 0, 27, 0.34);
}

.secondary-button:hover {
  color: var(--red);
  border-color: rgba(237, 0, 27, 0.62);
  box-shadow: 0 14px 26px rgba(16, 24, 40, 0.12);
}

.client-portal-button {
  color: #fff;
  background: #070707;
  border: 1px solid #070707;
  box-shadow: 0 16px 26px rgba(7, 7, 7, 0.18);
}

.client-portal-button:hover {
  box-shadow: 0 20px 34px rgba(7, 7, 7, 0.26);
}

.icon-pill,
.round-icon,
.feature-card span {
  display: inline-grid;
  place-items: center;
  color: var(--red);
  background: transparent;
  border-radius: 999px;
}

.icon-pill {
  width: 42px;
  height: 42px;
  grid-row: span 2;
  color: #fff;
  background: var(--red);
}

.card-travel {
  left: 20px;
  top: 150px;
}

.card-health {
  right: 0;
  top: 110px;
}

.card-protect {
  right: 36px;
  bottom: 68px;
}

.intro-card,
.feature-card,
.split-panel,
.large-card,
.partner-strip,
.profile-card,
.map-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.intro-card {
  margin-top: 70px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 36px 44px;
}

.round-icon {
  width: 72px;
  height: 72px;
  background: transparent;
}

.material-icon {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  stroke: none;
}

.intro-card h2,
.intro-card p,
.large-card h2,
.large-card p,
.partner-strip h2,
.partner-strip p,
.profile-card h2,
.map-card h2,
.cta-card h2,
.footer h2,
.footer p {
  margin-top: 0;
}

.intro-card h2 {
  padding-top: 15px;
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.intro-card p,
.large-card p,
.partner-strip p,
.profile-card p,
.map-card p {
  color: #333842;
  line-height: 1.55;
}

.intro-note {
  border-left: 1px solid #d7dce3;
  padding-left: 30px;
}

.intro-note strong {
  color: var(--red);
}

.section {
  padding: 92px 0 36px;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.1rem;
}

.section-heading span,
.copy-panel h2::after,
.profile-card h2::after,
.map-card h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 10px;
  background: var(--red);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  min-height: 246px;
  padding: 36px 24px;
  text-align: center;
}

.feature-card span {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  background: transparent;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.feature-card h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 18px auto 18px;
  background: #d7dce3;
}

.feature-card p {
  margin: 0;
  color: #3e434d;
  line-height: 1.45;
  font-size: 0.94rem;
}

.milestones-section {
  padding-top: 92px;
  padding-bottom: 0;
  background: transparent;
}

.milestone-carousel {
  position: relative;
  background: transparent;
}

.milestone-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 2px 12px;
  background: transparent;
}

.milestone-grid::-webkit-scrollbar {
  display: none;
}

.milestone-card {
  flex: 0 0 min(330px, calc(100vw - 86px));
  min-height: 360px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.07);
}

.milestone-year {
  margin: 0 0 4px;
  color: var(--red);
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: 0.95;
  font-weight: 800;
}

.milestone-card:nth-child(even) .milestone-year {
  color: var(--ink);
}

.milestone-card h3 {
  margin: 0;
  color: #7a808a;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.milestone-card h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 20px auto;
  background: #d7dce3;
}

.milestone-card h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
}

.milestone-card p:last-child {
  margin: 0;
  color: #333842;
  font-size: 0.98rem;
  line-height: 1.5;
}

.milestone-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.milestone-nav:hover {
  color: var(--red);
  border-color: rgba(237, 0, 27, 0.34);
  transform: translateY(-50%) scale(1.04);
}

.milestone-prev {
  left: -23px;
}

.milestone-next {
  right: -23px;
}

.newsroom-section {
  padding-top: 10px;
  padding-bottom: 96px;
}

.newsroom-carousel {
  position: relative;
}

.newsroom-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 2px 12px;
}

.newsroom-grid::-webkit-scrollbar {
  display: none;
}

.newsroom-card {
  flex: 0 0 min(330px, calc(100vw - 86px));
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 36px 24px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.07);
}

.newsroom-card time {
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.newsroom-card time span {
  display: block;
  color: var(--red);
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: 0.95;
  font-weight: 800;
}

.newsroom-card:nth-child(even) time span {
  color: var(--ink);
}

.newsroom-card time strong {
  display: block;
  color: #7a808a;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.newsroom-card time strong::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 20px auto 0;
  background: #d7dce3;
}

.newsroom-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.35;
}

.newsroom-card p {
  margin: 16px 0 20px;
  color: #4d535d;
  font-size: 0.92rem;
  line-height: 1.52;
}

.newsroom-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsroom-card a:hover {
  color: var(--red-dark);
}

.newsroom-card a svg {
  transition: transform 180ms ease;
}

.newsroom-card a:hover svg {
  transform: translateX(3px);
}

.newsroom-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.newsroom-nav:hover {
  color: var(--red);
  border-color: rgba(237, 0, 27, 0.34);
  transform: translateY(-50%) scale(1.04);
}

.newsroom-prev {
  left: -23px;
}

.newsroom-next {
  right: -23px;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  padding: 42px;
  margin-top: 68px;
}

.copy-panel {
  padding: 2px 0 0;
}

.copy-panel h2 {
  margin: 0 0 26px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.copy-panel h2::after,
.profile-card h2::after,
.map-card h2::after {
  margin-left: 0;
}

.copy-panel p {
  color: #333842;
  line-height: 1.62;
  max-width: 560px;
}

.dashboard-shot {
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.dashboard-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.two-column,
.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-top: 72px;
}

.large-card {
  padding: 42px;
}

.admin-card {
  background: #c8dce6;
}

.large-card h2,
.partner-strip h2,
.profile-card h2,
.map-card h2,
.cta-card h2 {
  margin-bottom: 10px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.check-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 26px;
}

.check-columns h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 10px 0;
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 10px;
  align-items: start;
  color: #1d232c;
}

li::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  margin-top: 2px;
  background: var(--red);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.accent-card {
  position: relative;
  display: block;
  overflow: hidden;
}

.accent-card > div {
  width: 100%;
  position: relative;
  z-index: 1;
}

.partner-strip {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
  margin-top: 72px;
  padding: 38px 42px;
}

.logos {
  min-width: 0;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: logo-scroll 42s linear infinite;
}

.logo-track img {
  width: 180px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 6px;
}

.logo-track img[alt="SIGAL Insurance Group"] {
  width: 220px;
}

.logo-track img[alt="Albsig Jete"],
.logo-track img[alt="Donaris Vienna Insurance Group"],
.logo-track img[alt="GRAWE"] {
  width: 200px;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 17px));
  }
}

.bottom-grid {
  grid-template-columns: 1fr 1fr 0.92fr;
  margin-bottom: 72px;
}

.profile-card,
.map-card,
.cta-card {
  min-height: 300px;
  padding: 36px;
}

.profile-card {
  overflow: hidden;
}

.profile-card img {
  width: 100%;
  height: 260px;
  display: block;
  margin-top: 20px;
  object-fit: contain;
  object-position: center bottom;
  background: linear-gradient(180deg, #ffffff, #f3f5f8);
  border-radius: 10px;
}

.profile-card a {
  color: var(--red);
  font-weight: 800;
}

.map-lines {
  position: relative;
  height: 210px;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f2f6;
}

.map-lines img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cta-card {
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(145deg, #ed001b, var(--red-dark));
}

.cta-card p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.cta-card a {
  margin-top: auto;
  align-self: flex-end;
  color: var(--red);
  background: #fff;
}

.cta-card a:hover {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.footer {
  width: min(1440px, 100%);
  max-width: 1440px;
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 48px;
  padding: 48px;
  color: #fff;
  background: linear-gradient(135deg, #050606, #111418);
  border-radius: 28px 28px 0 0;
}

.footer p {
  color: #c8cdd5;
  line-height: 1.6;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-contact {
  margin-top: 28px;
}

.footer-contact h2 {
  margin-bottom: 12px;
}

.footer-contact p {
  margin: 0;
  line-height: 1.6;
}

.footer-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 6px;
  margin-left: 0;
  align-self: flex-end;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.footer > div:has(.footer-text-link) {
  display: flex;
  flex-direction: column;
}

.footer-text-link::before {
  content: ">";
  color: #c8cdd5;
}

.footer-text-link:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
}

.footer-social,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.footer-legal {
  justify-content: flex-end;
}

.footer-social a,
.footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.footer-legal a::before {
  content: ">";
  color: #c8cdd5;
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

.contact-modal[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 6, 0.58);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(0) scale(1);
  transition: transform 180ms ease;
}

.contact-modal[aria-hidden="true"] .modal-panel {
  transform: translateY(12px) scale(0.98);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #161a22;
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.modal-close:hover {
  transform: translateY(-2px);
  color: var(--red);
  border-color: rgba(237, 0, 27, 0.38);
}

.modal-panel h2 {
  max-width: 560px;
  margin: 0 52px 12px 0;
  font-size: 2rem;
  line-height: 1.08;
}

.modal-panel h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 14px;
  border-radius: 10px;
  background: var(--red);
}

.modal-panel p {
  max-width: 590px;
  margin: 0 0 24px;
  color: #333842;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #15181d;
  font-weight: 800;
}

.form-wide,
.form-submit {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  padding: 14px 15px;
  color: #15181d;
  font: inherit;
  background: #fff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(237, 0, 27, 0.58);
  box-shadow: 0 0 0 4px rgba(237, 0, 27, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: #333842;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 42px;
}

.footer > .footer-bottom {
  border-left: 0;
  padding-left: 0;
}

@media (max-width: 1050px) {
  .hero {
    padding-inline: 28px;
  }

  .hero-grid,
  .intro-card,
  .split-panel,
  .two-column,
  .partner-strip,
  .bottom-grid,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .intro-note,
  .footer > div + div {
    border-left: 0;
    padding-left: 0;
  }

}

@media (max-width: 720px) {
  .topbar,
  .hero-grid,
  .intro-card,
  .section,
  .split-panel,
  .two-column,
  .partner-strip,
  .bottom-grid,
  .footer {
    width: min(100% - 28px, 1320px);
  }

  .legal-hero-copy,
  .legal-page {
    width: min(100% - 28px, 1320px);
  }

  .legal-hero {
    min-height: 190px;
    padding: 24px 0;
    border-radius: 0 0 18px 18px;
  }

  .legal-hero-copy {
    margin-top: 32px;
  }

  .legal-card {
    padding: 24px 20px;
  }

  .hero {
    min-height: auto;
    padding: 24px 0;
    border-radius: 0 0 18px 18px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 58%, rgba(255, 255, 255, 0.34) 100%),
      url("assets/hero-brand-background.png") 58% center / cover no-repeat;
  }

  .topbar {
    align-items: flex-start;
    gap: 14px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand img {
    width: min(235px, 72vw);
    height: 64px;
  }

  .nav-actions {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .intro-card,
  .split-panel,
  .large-card,
  .partner-strip,
  .profile-card,
  .map-card,
  .cta-card {
    padding: 22px;
  }

  .round-icon {
    display: none;
  }

  .intro-card {
    margin-top: 40px;
  }

  .feature-grid,
  .check-columns,
  .logos {
    grid-template-columns: 1fr;
  }

  .logos {
    display: grid;
    justify-items: start;
  }

  .logo-marquee {
    width: 100%;
  }

  .logo-track {
    gap: 24px;
  }

  .logo-track img,
  .logo-track img[alt="SIGAL Insurance Group"],
  .logo-track img[alt="Albsig Jete"],
  .logo-track img[alt="Donaris Vienna Insurance Group"],
  .logo-track img[alt="GRAWE"] {
    width: 150px;
    height: 58px;
  }

  .profile-card img {
    height: 230px;
  }

  .map-lines {
    height: 230px;
  }

  .footer {
    width: min(1440px, 100%);
    padding: 32px 22px;
    border-radius: 18px 18px 0 0;
  }

  .footer .brand img {
    width: 138px;
    height: 48px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .modal-panel {
    padding: 26px 20px;
  }

  .modal-panel h2 {
    margin-right: 46px;
    font-size: 1.55rem;
  }

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

  .primary-button,
  .secondary-button,
  .cta-card a,
  .client-portal-button {
    width: 100%;
    padding-inline: 18px;
  }

  .cta-card a {
    align-self: stretch;
  }

  .form-submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 2.05rem;
  }

  .large-card h2,
  .partner-strip h2,
  .profile-card h2,
  .map-card h2,
  .cta-card h2 {
    font-size: 1.55rem;
  }

  .milestone-nav {
    width: 40px;
    height: 40px;
  }

  .newsroom-nav {
    width: 40px;
    height: 40px;
  }

  .milestone-prev {
    left: -8px;
  }

  .milestone-next {
    right: -8px;
  }

  .newsroom-prev {
    left: -8px;
  }

  .newsroom-next {
    right: -8px;
  }

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