
/* -- DESIGN SYSTEM ---------------------------------- */
:root {
  --c-bg:       #1c1f24;
  --c-dark:     #232830;
  --c-steel:    #2a2f38;
  --c-mid:      #343b47;
  --c-border:   #404855;
  --c-muted:    #8a93a3;
  --c-light:    #ccd0d9;
  --c-white:    #f2f4f7;
  --c-yellow:   #f5a800;
  --c-yellow2:  #ffc13a;
  --c-ylight:   #fff3d0;

  --ff-head: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  --ff-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --ff-mono: 'Courier New', Courier, monospace;

  --nav-h: 70px;
  --r: 3px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--c-bg);
  color: var(--c-light);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-yellow); border-radius: 3px; }

h1,h2,h3,h4,h5 {
  font-family: var(--ff-head);
  line-height: 1.15;
  letter-spacing: .01em;
}
a { color: var(--c-yellow); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-yellow2); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--dark  { background: var(--c-bg); }
.section--steel { background: var(--c-steel); }
.section--mid   { background: var(--c-mid); }

.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--c-white);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--c-muted);
  max-width: 600px;
  margin-bottom: 44px;
}
.yellow { color: var(--c-yellow); }

.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--r);
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.btn-primary {
  background: var(--c-yellow);
  color: #111;
}
.btn-primary:hover {
  background: var(--c-yellow2);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,168,0,.3);
}
.btn-block {
  width: 100%;
  margin-top: 6px;
}
.btn-spaced {
  margin-top: 28px;
  display: inline-block;
}
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
  transform: translateY(-2px);
}

/* -- COOKIE -------------------------------------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1a1d22;
  border-top: 2px solid var(--c-yellow);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.5);
}
.cookie-copy { display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.cookie-copy strong {
  font-size: .95rem;
  color: var(--c-white);
  letter-spacing: .02em;
}
#cookie-banner p { font-size: .85rem; color: var(--c-light); max-width: 700px; margin: 0; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--r);
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.cookie-btns .accept { background: var(--c-yellow); color: #111; }
.cookie-btns .accept:hover { background: var(--c-yellow2); }
.cookie-btns .decline { background: var(--c-mid); color: var(--c-light); }
.cookie-btns .decline:hover { background: var(--c-border); }

/* -- NAVBAR -------------------------------------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(28,31,36,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.5); }
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
}
.nav-logo-mark {
  width: 44px; height: 44px;
  background: var(--c-yellow);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  overflow: hidden;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: #111;
  font-weight: 900;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text span:first-child {
  font-family: var(--ff-head);
  font-size: .95rem;
  color: var(--c-white);
}
.nav-logo-text span:last-child {
  font-size: .65rem;
  color: var(--c-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 8px 12px;
  border-radius: var(--r);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--c-yellow);
  background: rgba(245,168,0,.08);
}
.nav-cta {
  color: #111 !important;
  background: var(--c-yellow) !important;
  padding: 9px 18px !important;
  border-radius: var(--r) !important;
}
.nav-cta:hover { background: var(--c-yellow2) !important; color: #111 !important; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
  align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  border-radius: 2px;
  position: relative;
  z-index: 1002;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--c-white); border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -- HERO ---------------------------------------- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: url("assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28,31,36,.92) 0%,
    rgba(28,31,36,.82) 50%,
    rgba(28,31,36,.45) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 660px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,168,0,.13);
  border: 1px solid rgba(245,168,0,.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 26px;
  margin-top: 16px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--c-yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.5); }
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--c-white);
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero-title .line2 { color: var(--c-yellow); display: block; }
.hero-tagline {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: var(--c-muted);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 26px;
  border-left: 3px solid var(--c-yellow);
  padding-left: 14px;
}
.hero-text {
  font-size: 1rem;
  color: var(--c-light);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 44px; margin-top: 64px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  color: var(--c-yellow);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  color: var(--c-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: 3px;
}
.hero-scrollhint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--c-muted); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
  animation: scrollhint 2.5s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--c-yellow), transparent);
}
@keyframes scrollhint {
  0%,100% { opacity:.4; transform: translateX(-50%) translateY(0); }
  50%      { opacity:.9; transform: translateX(-50%) translateY(5px); }
}

/* -- TRUST BAR ----------------------------------- */
#trust {
  background: #171a1f;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 22px 0;
}
.trust-bar {
  display: flex; align-items: center; justify-content: space-around;
  gap: 20px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.trust-icon { color: var(--c-yellow); flex-shrink: 0; font-size: 1rem; }

/* -- LEISTUNGEN ---------------------------------- */
.services-grid { margin-top: 44px; }
.services-grid {
  margin-top: 44px;
}
.services-row {
  display: grid;
  gap: 2px;
  margin-bottom: 2px;
}
.services-row-3 { grid-template-columns: repeat(3, 1fr); }
.services-row-2 { grid-template-columns: repeat(2, 1fr); max-width: 66.8%; margin: 0 auto; }
.service-card {
  background: var(--c-steel);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--c-yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--c-mid); }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(245,168,0,.1);
  border: 1px solid rgba(245,168,0,.25);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--c-white);
  margin-bottom: 10px;
}
.service-card p { font-size: .9rem; color: var(--c-muted); }
.service-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-yellow);
  border: 1px solid rgba(245,168,0,.35);
  padding: 5px 12px;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.service-tag:hover {
  background: var(--c-yellow);
  color: #111;
  text-decoration: none;
}

/* -- KRANARTEN ----------------------------------- */









/* -- ABLAUF -------------------------------------- */
.steps-wrapper { margin-top: 52px; }
.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  left: 37px; top: 52px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--c-yellow), transparent);
}
.step:last-child::before { display: none; }
.step-num-col {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 2px; flex-shrink: 0;
}
.step-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: .82rem;
  color: var(--c-yellow);
  position: relative; z-index: 1;
}
.step-body { padding: 0 0 44px 22px; }
.step-body h3 { font-size: 1.05rem; color: var(--c-white); margin-bottom: 7px; }
.step-body p { font-size: .9rem; color: var(--c-muted); }
.step-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  background: var(--c-mid); color: var(--c-light);
  border: 1px solid var(--c-border);
}

.crane-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 44px;
}
.crane-item {
  background: var(--c-steel);
  position: relative;
  overflow: hidden;
  transition: transform .3s;
  cursor: default;
  flex: 0 0 calc((100% - 2px) / 2);
  max-width: calc((100% - 2px) / 2);
}
.crane-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.crane-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(.85) saturate(.9);
  transition: filter .3s, transform .3s;
}
.crane-item:hover .crane-img { filter: brightness(.95) saturate(1.05); transform: scale(1.03); }
.crane-body { padding: 18px 20px 20px; text-align: center; }
.crane-num {
  font-size: .65rem; font-weight: 700;
  color: var(--c-yellow); opacity: .7;
  margin-bottom: 6px; letter-spacing: .12em;
}
.crane-item h4 { font-size: .95rem; color: var(--c-white); margin-bottom: 4px; }
.crane-item p  { font-size: .8rem; color: var(--c-muted); }
.crane-duration {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 10px; font-size: .75rem;
  color: var(--c-muted); font-weight: 700;
}
.crane-duration::before {
  content: ''; display: inline-block;
  width: 16px; height: 1px; background: var(--c-yellow);
}

/* -- VORAUSSETZUNGEN ----------------------------- */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px; margin-top: 44px;
}
.req-card {
  background: var(--c-dark);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 26px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .25s;
}
.req-card:hover { border-color: rgba(245,168,0,.4); }
.req-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(245,168,0,.1);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--c-yellow);
}
.req-card h4 { font-size: .9rem; color: var(--c-white); margin-bottom: 5px; }
.req-card p  { font-size: .84rem; color: var(--c-muted); }

/* -- ï¿½BER UNS / TRAINER -------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; margin-top: 52px;
}
.trainer-card {
  background: var(--c-dark);
  border: 1px solid var(--c-border);
  padding: 36px;
  position: relative;
}
.trainer-card::after {
  content: '';
  position: absolute; top: 10px; left: 10px; right: -10px; bottom: -10px;
  border: 1px solid rgba(245,168,0,.2); z-index: -1;
}
.trainer-name { font-size: 1.4rem; color: var(--c-white); margin-bottom: 3px; }
.trainer-role {
  font-size: .75rem; font-weight: 700;
  color: var(--c-yellow); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.trainer-bio { font-size: .93rem; color: var(--c-muted); margin-bottom: 24px; }
.cert-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(245,168,0,.07);
  border: 1px solid rgba(245,168,0,.22);
  padding: 14px 18px; border-radius: var(--r); margin-top: 14px;
}
.cert-badge-icon {
  width: 36px; height: 36px; background: var(--c-yellow); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem; color: #111;
}
.cert-badge-text span:first-child {
  display: block; font-family: var(--ff-head); font-size: .82rem; color: var(--c-white);
}
.cert-badge-text span:last-child { font-size: .75rem; color: var(--c-muted); }

/* -- ZERTIFIKAT SEKTION -------------------------- */
#zertifikat { }
.cert-flow {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: center; margin-top: 48px;
}
.cert-image-wrap {
  position: relative;
}
.cert-image-wrap img {
  width: 100%; display: block;
  border: 3px solid rgba(245,168,0,.4);
  border-radius: 3px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  filter: sepia(10%) brightness(1.05);
}
.cert-image-wrap::before {
  content: 'ZERTIFIKAT';
  position: absolute; top: -12px; left: 20px;
  background: var(--c-yellow);
  color: #111;
  font-family: var(--ff-head);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
  padding: 4px 12px;
  border-radius: 2px;
  z-index: 1;
}
.cert-text h3 { font-size: 1.5rem; color: var(--c-white); margin-bottom: 12px; }
.cert-text p  { font-size: .95rem; color: var(--c-muted); margin-bottom: 16px; }
.cert-details { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.cert-detail {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .9rem; color: var(--c-light);
}
.cert-note {
  margin-top: 20px;
  font-size: .82rem;
  color: var(--c-muted);
}
.cert-detail::before {
  content: 'ï¿½';
  color: var(--c-yellow);
  flex-shrink: 0;
  font-weight: 700;
}

/* -- RECHTSGRUNDLAGEN ---------------------------- */




.law-card h4  { font-size: .92rem; color: var(--c-white); margin-bottom: 7px; }
.law-card p   { font-size: .8rem; color: var(--c-muted); }

.law-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 44px;
}
.law-card {
  background: var(--c-dark);
  padding: 28px 26px 24px;
  border-left: 3px solid transparent;
  transition: border-color .25s, background .25s;
}
.law-card:hover { background: var(--c-steel); border-color: var(--c-yellow); }
.law-card-code { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--c-yellow); margin-bottom: 7px; }
.law-card h4  { font-size: .92rem; color: var(--c-white); margin-bottom: 7px; }
.law-card p   { font-size: .8rem; color: var(--c-muted); }

/* -- FAQ ----------------------------------------- */
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--c-dark);
  border: 1px solid var(--c-border); overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: rgba(245,168,0,.35); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 20px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; text-align: left;
}
.faq-q span { font-family: var(--ff-head); font-size: .95rem; color: var(--c-white); }
.faq-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--c-border); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-yellow); font-size: 1rem;
  font-family: var(--ff-head); transition: all .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(245,168,0,.1); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem; color: var(--c-muted); padding: 0 26px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 26px 20px; }

/* -- KONTAKT ------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 56px; margin-top: 52px; align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 28px; }
.contact-location {
  background: var(--c-dark);
  border: 1px solid var(--c-border); padding: 26px; border-radius: var(--r);
}
.contact-location h4 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-yellow); margin-bottom: 10px;
}
.contact-location p { font-size: .88rem; color: var(--c-light); line-height: 1.7; }
.contact-location a { display: block; margin-top: 7px; font-size: .86rem; }
.contact-sep { width: 100%; height: 1px; background: var(--c-border); margin: 6px 0; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--c-dark);
  border: 1px solid var(--c-border); border-radius: var(--r);
  padding: 11px 14px;
  font-family: var(--ff-body); font-size: .9rem; color: var(--c-white);
  transition: border-color .25s; outline: none; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-yellow);
  background: rgba(245,168,0,.03);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select option { background: var(--c-steel); }
.form-note { font-size: .77rem; color: var(--c-muted); }
#form-error,
#form-success,
#form-success-panel {
  display: none;
  background: rgba(245,168,0,.08);
  border: 1px solid rgba(245,168,0,.3);
  padding: 18px 22px; border-radius: var(--r);
  font-size: .92rem; color: var(--c-yellow);
  text-align: center; font-weight: 700;
}
#form-error {
  background: rgba(224,92,92,.12);
  border-color: rgba(224,92,92,.35);
  color: #ffb5b5;
}
.btn-secondary-action {
  margin-top: 16px;
}
#form-success p,
#form-success-panel p {
  margin: 0;
}
#form-success,
#form-success-panel {
  margin-top: 14px;
}
.form-field input:invalid,
.form-field select:invalid,
.form-field textarea:invalid {
  box-shadow: none;
}
.form-field input:user-invalid,
.form-field select:user-invalid,
.form-field textarea:user-invalid {
  border-color: #e05c5c;
  background: rgba(224,92,92,.08);
}

/* -- FOOTER -------------------------------------- */
footer {
  background: #171a1f;
  border-top: 1px solid var(--c-border);
  padding: 44px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 44px; margin-bottom: 36px;
}
.footer-brand p {
  font-size: .85rem; color: var(--c-muted);
  margin-top: 14px; max-width: 300px;
}
.footer-col h5 {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: .85rem; color: var(--c-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--c-yellow); }
.footer-bottom {
  border-top: 1px solid var(--c-border); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .78rem; color: var(--c-muted); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: .78rem; color: var(--c-muted); }
.footer-legal-links a:hover { color: var(--c-yellow); }

/* -- MODALS -------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.8); backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--c-steel); border: 1px solid var(--c-border);
  border-radius: var(--r); max-width: 740px; width: 100%;
  padding: 44px; position: relative; box-shadow: var(--shadow);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--c-mid); border: none;
  width: 34px; height: 34px; border-radius: 2px;
  color: var(--c-white); font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--c-border); }
.modal h2 { font-size: 1.4rem; color: var(--c-yellow); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.modal h3 { font-size: .95rem; color: var(--c-white); margin: 20px 0 7px; }
.modal p  { font-size: .87rem; color: var(--c-muted); margin-bottom: 9px; }
.modal ul { list-style: disc; margin: 7px 0 10px 18px; }
.modal ul li { font-size: .87rem; color: var(--c-muted); }
.modal-consent { max-width: 820px; }
.consent-group {
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,.02);
  padding: 18px 20px;
  border-radius: 3px;
  margin-top: 18px;
}
.consent-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.consent-group-head h3 { margin: 0 0 6px; }
.consent-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(245,168,0,.14);
  border: 1px solid rgba(245,168,0,.28);
  color: var(--c-yellow2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.consent-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.consent-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consent-slider {
  position: relative;
  width: 52px;
  height: 30px;
  background: var(--c-mid);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease;
}
.consent-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-white);
  transition: transform .2s ease;
}
.consent-switch input:checked + .consent-slider {
  background: rgba(245,168,0,.25);
  border-color: var(--c-yellow);
}
.consent-switch input:checked + .consent-slider::after {
  transform: translateX(22px);
}
.consent-switch-label {
  font-size: .82rem;
  color: var(--c-light);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 28px;
}
.text-button {
  background: none;
  border: none;
  color: var(--c-yellow);
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.text-button:hover { color: var(--c-yellow2); }


/* Honeypot ï¿½ visually hidden, screen-reader accessible */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1 !important;
}

/* Turnstile wrapper */
.turnstile-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.turnstile-wrap label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.turnstile-error {
  display: none;
  font-size: .8rem;
  color: #e05c5c;
  margin-top: 4px;
}
.turnstile-consent-state {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(245,168,0,.24);
  background: rgba(245,168,0,.08);
  color: var(--c-light);
  font-size: .85rem;
  line-height: 1.55;
  border-radius: 3px;
}
.turnstile-widget-host {
  min-height: 70px;
}

.partner-copy {
  font-size: .95rem;
  color: var(--c-muted);
}
.partner-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.partner-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .93rem;
  color: var(--c-light);
}
.partner-list-marker {
  color: var(--c-yellow);
  font-weight: 700;
  flex-shrink: 0;
}
.partner-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.partner-link {
  background: var(--c-steel);
  border: 1px solid var(--c-border);
  padding: 9px 16px;
  border-radius: 2px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: border-color .25s, color .25s;
}
.partner-link:hover {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}

/* -- RESPONSIVE ---------------------------------- */
@media (max-width: 900px) {
  .consent-group-head {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-actions {
    justify-content: stretch;
  }
  .consent-actions .btn {
    width: 100%;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    height: calc(100dvh - var(--nav-h));
    min-height: calc(100vh - var(--nav-h));
    background: #1c1f24;
    background-image: linear-gradient(180deg, rgba(42,47,56,.98) 0%, rgba(28,31,36,.995) 100%);
    backdrop-filter: none;
    align-items: stretch; justify-content: center; gap: 0;
    padding: 12px 24px 20px;
    overflow: hidden;
    z-index: 1001;
    border-top: 1px solid var(--c-border);
  }
  .nav-links.open li { width: 100%; list-style: none; }
  .nav-links.open a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
    color: var(--c-white);
    background: transparent;
  }
  .nav-links.open a:hover,
  .nav-links.open a.active {
    background: rgba(245,168,0,.12);
    color: var(--c-yellow2);
  }
  .nav-links.open .nav-cta {
    justify-content: center;
    margin-top: 18px;
    border-radius: var(--r) !important;
    border-bottom: none;
    min-height: 54px;
  }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .cert-flow  { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .law-grid { grid-template-columns: repeat(2,1fr); }
  .crane-item,
  .crane-item:nth-child(-n + 2) {
    flex-basis: calc((100% - 2px) / 2);
    max-width: calc((100% - 2px) / 2);
  }
  .services-row-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  #cookie-banner {
    padding: 16px;
  }
  .cookie-btns {
    width: 100%;
    flex-direction: column;
  }
  .cookie-btns button {
    width: 100%;
  }
  .modal {
    padding: 30px 18px 22px;
  }
  .law-grid { grid-template-columns: 1fr; }
  .crane-item,
  .crane-item:nth-child(-n + 2) {
    flex-basis: 100%;
    max-width: 100%;
  }
  .services-row-3 { grid-template-columns: 1fr; }
  .services-row-2 { max-width: 100%; grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 24px; }
  .services-row-2 { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

