:root {
  --blue: #12304a;
  --blue-soft: #1e4668;
  --green: #2e8b57;
  --green-dark: #236b44;
  --amber: #c47935;
  --light: #f2f4f5;
  --paper: #fbfaf7;
  --white: #ffffff;
  --dark: #1b1f24;
  --muted: #5d6872;
  --line: #d9e0e4;
  --shadow: 0 18px 50px rgba(18, 48, 74, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(18, 48, 74, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: clamp(112px, 12vw, 152px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.brand-name {
  color: var(--blue);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a,
.footer-links a {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(46, 139, 87, 0.2);
}

.header-cta:hover,
.button-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.section-band {
  background:
    linear-gradient(135deg, rgba(18, 48, 74, 0.96), rgba(30, 70, 104, 0.9)),
    radial-gradient(circle at 78% 18%, rgba(46, 139, 87, 0.32), transparent 30%);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 84px 0 72px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 48, 74, 0.94), rgba(18, 48, 74, 0.72) 48%, rgba(18, 48, 74, 0.26)),
    url("public/graz.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(180deg, rgba(18, 48, 74, 0), rgba(18, 48, 74, 0.5));
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.hero-copy,
.quick-check {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-band .eyebrow,
.section-blue .eyebrow {
  color: #8ed0a8;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

h3 {
  color: var(--blue);
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 650;
}

.proof-list {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 2px;
  background: var(--amber);
}

.quick-check {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.quick-check h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.14;
}

.quick-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.section {
  padding: 96px 0;
}

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

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

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-blue p {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-blue .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.cards,
.benefit-grid,
.stats,
.team-grid,
.compare,
.fit-columns,
.contact-grid {
  display: grid;
  gap: 20px;
}

.cards.three,
.stats,
.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cards.services {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four,
.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.benefit,
.stat,
.fit-box,
.compare-box,
.team-card,
.contact-form {
  border: 1px solid rgba(18, 48, 74, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  min-height: 220px;
  padding: 26px;
}

.card p,
.benefit p,
.fit-box li,
.compare-box li,
.team-card p,
.stat span {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.12);
  color: var(--green);
  font-weight: 850;
}

.benefit {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.benefit p {
  color: rgba(255, 255, 255, 0.75);
}

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

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 850;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

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

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

.fit-box {
  padding: 26px;
}

.fit-box.muted {
  background: #fafbfb;
}

.fit-box ul,
.compare-box ul {
  margin: 0;
  padding-left: 20px;
}

.fit-box li,
.compare-box li {
  margin: 10px 0;
}

.stat {
  min-height: 168px;
  padding: 28px;
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.notice {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}

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

.compare-box {
  padding: 28px;
}

.compare-box.before {
  border-top: 5px solid #b8c0c6;
}

.compare-box.after {
  border-top: 5px solid var(--green);
}

.team-card {
  min-height: 160px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.team-card p {
  color: rgba(255, 255, 255, 0.78);
}

.accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-item button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 68px;
  border: 0;
  padding: 20px 58px 20px 22px;
  color: var(--blue);
  background: var(--white);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 1.45rem;
}

.faq-item.active button::after {
  content: "-";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 22px;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--white), var(--light));
}

.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.05fr);
  align-items: start;
}

.contact-form,
.quick-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form {
  padding: 26px;
}

.contact-form label,
.quick-form label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-weight: 750;
}

.contact-form .full,
.quick-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.faq-item button:focus-visible,
.button:focus-visible,
.header-cta:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(46, 139, 87, 0.28);
  outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.12);
}

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

.choice-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.choice-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--blue);
  font-weight: 750;
}

.choice-group label {
  position: relative;
  display: block;
}

.choice-group input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice-group span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  color: var(--blue);
  background: var(--white);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.choice-group input:checked + span {
  border-color: var(--green);
  color: var(--green-dark);
  background: rgba(46, 139, 87, 0.1);
}

.choice-group input:focus-visible + span {
  outline: 3px solid rgba(46, 139, 87, 0.28);
  outline-offset: 2px;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 26px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 750;
}

.site-footer {
  padding: 44px 0;
  background: var(--blue);
  color: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}

.footer-logo {
  width: 104px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

html.js .reveal.visible,
.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-cta {
    display: flex;
  }

  .site-header.nav-open {
    grid-template-columns: auto auto;
    align-items: start;
  }

  .site-header.nav-open .site-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 12px 0 4px;
  }

  .site-header.nav-open .site-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .header-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .cards.services,
  .cards.four,
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 70px;
    padding: 10px 14px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 118px;
    max-height: 46px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .hero {
    min-height: auto;
    padding: 58px 0;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .cards.three,
  .cards.services,
  .cards.four,
  .benefit-grid,
  .stats,
  .team-grid,
  .fit-columns,
  .compare,
  .contact-form,
  .quick-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .card,
  .benefit,
  .stat,
  .fit-box,
  .compare-box,
  .team-card,
  .contact-form,
    .quick-check {
    padding: 20px;
  }

  .card {
    min-height: 0;
  }

  .step {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .contact-form .full,
  .quick-form .full {
    grid-column: auto;
  }

  .footer-grid {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 104px;
  }

  .brand-name {
    display: none;
  }

  .choice-group {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
