@font-face {
  font-family: "Anton";
  src: url("/anton-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --orange: #ff6100;
  --orange-dark: #dc5300;
  --night: #020410;
  --night-soft: #090d1b;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --ink: #11131a;
  --muted: #667080;
  --line: #dfe2e7;
  --success: #16875d;
  --danger: #b42318;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body, button, input { font-family: "Montserrat", Arial, sans-serif; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ffb88c; outline-offset: 3px; }

h1, h2, h3 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.announcement {
  padding: 10px 20px;
  color: var(--white);
  background: var(--orange);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--night);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 120px; height: auto; }
.header-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #cfd2da;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #21a86f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(33, 168, 111, 0.15);
}

/* Readability revision: compact headline, larger booking controls and TÜV guidance. */
.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(430px, 0.78fr) minmax(650px, 1.22fr);
  gap: clamp(38px, 4vw, 62px);
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
  padding: 56px 0 78px;
}
.hero-copy { position: relative; z-index: 2; padding-top: 28px; }
.kicker {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.hero h1 { max-width: none; font-size: clamp(44px, 4.2vw, 62px); }
.hero h1 .headline-line { display: block; color: var(--white); white-space: nowrap; }
.hero h1 .headline-accent { color: var(--orange); }
.hero-lead { max-width: 560px; margin: 24px 0 28px; color: #d8dbe2; font-size: 17px; line-height: 1.65; }
.benefits { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #f3f4f7; font-size: 12px; font-weight: 600; }
.benefits li { display: flex; align-items: center; gap: 11px; }
.benefits li > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: var(--orange);
  border: 1px solid rgba(255, 97, 0, 0.55);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}
.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 32px;
  padding-top: 21px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-facts small { display: block; margin-bottom: 5px; color: #7e8797; font-size: 8px; font-weight: 800; letter-spacing: 0.13em; }
.hero-facts strong { display: block; font-size: 11px; }
.qualification {
  display: block;
  max-width: 520px;
  margin-top: 28px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border-top: 5px solid var(--orange);
}
.qualification img { display: block; width: 100%; height: auto; }
.qualification p { margin: 15px 0 0; font-family: "Anton", Impact, sans-serif; font-size: 18px; line-height: 1.35; }
.hero-warning {
  max-width: 520px;
  margin-top: 14px;
  padding: 18px 19px;
  color: var(--white);
  background: rgba(255,255,255,.075);
  border-left: 5px solid var(--orange);
}
.hero-warning strong { display: block; color: var(--orange); font-size: 15px; line-height: 1.35; letter-spacing: .035em; }
.hero-warning p { margin: 10px 0 0; color: #d2d5dd; font-size: 16px; line-height: 1.7; }

.booking-card {
  align-self: start;
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.booking-card::before {
  display: block;
  width: 72px;
  height: 5px;
  margin: -38px 0 30px;
  background: var(--orange);
  content: "";
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.card-topline > div { display: flex; align-items: center; gap: 9px; }
.card-topline > span { color: var(--success); letter-spacing: 0.03em; }
.booking-card h2 { font-size: clamp(40px, 4vw, 54px); line-height: 1.08; }
.booking-card > p { margin: 12px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.loading-state { padding: 21px; color: var(--muted); background: #f5f6f7; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.slot-groups { display: grid; gap: 25px; }
.day-group { margin: 0; padding: 0; border: 0; }
.day-group legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 13px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--line);
  font-family: "Anton", Impact, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.day-group legend b { color: var(--orange); font-weight: 400; }
.day-group legend small { color: var(--success); font-family: "Montserrat", Arial, sans-serif; font-size: 13px; font-weight: 800; text-transform: none; }
.slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.slot-button {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 11px 14px;
  color: #20242d;
  background: #f6f7f8;
  border: 1px solid #e1e3e7;
  border-radius: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: color 140ms, border-color 140ms, background 140ms, transform 140ms;
}
.slot-button:hover { border-color: var(--orange); transform: translateY(-1px); }
.slot-button > span:first-child { margin-right: 7px; color: var(--orange); }
.slot-button .slot-check { margin-left: auto; color: var(--success); opacity: 0; }
.slot-button.selected { color: #9a3900; background: #fff1e8; border-color: var(--orange); box-shadow: inset 3px 0 0 var(--orange); }
.slot-button.selected .slot-check { opacity: 1; }
.slot-button.booked {
  color: #777d87;
  background: #eceef1;
  border-color: #d8dbe0;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: .72;
}
.slot-button.booked:hover { border-color: #d8dbe0; transform: none; }
.slot-button.booked .slot-check { margin-left: auto; color: #777d87; opacity: 1; font-size: 10px; text-decoration: none; }
.day-empty { margin: 0; padding: 16px; color: var(--muted); background: #f6f7f8; font-size: 15px; line-height: 1.6; }

.booking-form { display: grid; gap: 12px; margin-top: 23px; padding-top: 21px; border-top: 1px solid var(--line); }
.selected-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 13px 15px;
  background: #f6f7f8;
  border: 1px dashed #c8cdd5;
  font-size: 15px;
  line-height: 1.5;
}
.selected-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; color: var(--orange); border: 1px solid currentColor; border-radius: 50%; font-size: 13px; font-weight: 800; }
.selected-slot small { display: block; margin-bottom: 4px; color: #7c8491; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.selected-slot strong { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.field label { display: block; margin-bottom: 7px; color: #333741; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.field input {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c8cdd5;
  border-radius: 0;
  font-size: 16px;
}
.field input::placeholder { color: #a1a6ae; }
.field input:focus { border-color: var(--orange); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 0; margin: 4px 0 0; color: var(--danger); font-size: 13px; line-height: 1.45; }
.field-error:empty { display: none; }
.privacy-consent { display: flex; gap: 11px; align-items: flex-start; color: #5f6673; font-size: 14px; line-height: 1.6; }
.privacy-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--orange); }
.privacy-consent a { font-weight: 800; }
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 12px 28px rgba(255, 97, 0, 0.22);
  transition: background 140ms, transform 140ms;
}
.primary-button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .68; transform: none; }
.trust-note { margin: -2px 0 0; color: #8b919c; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .03em; }
.form-message { padding: 13px 14px; color: #8c2118; background: #fff0ef; border-left: 3px solid var(--danger); font-size: 14px; line-height: 1.55; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; }

.steps-section { padding: 92px max(24px, calc((100vw - 1160px) / 2)) 98px; background: var(--white); }
.section-heading { max-width: 800px; margin: 0 auto; text-align: center; }
.dark-kicker { color: var(--orange); }
.section-heading h2 { max-width: 860px; margin-inline: auto; font-size: clamp(44px, 5.2vw, 70px); line-height: 1.1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 62px; }
.steps article { position: relative; min-height: 220px; padding: 0 38px; border-left: 1px solid var(--line); }
.steps article:first-child { padding-left: 0; border-left: 0; }
.steps article > span { display: block; margin-bottom: 16px; color: var(--orange); font-family: "Anton", Impact, sans-serif; font-size: 42px; line-height: 1.1; }
.steps h3 { font-size: 28px; line-height: 1.15; }
.steps p { margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

footer {
  display: grid;
  grid-template-columns: 205px 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 112px;
  padding: 15px max(24px, calc((100vw - 1160px) / 2));
  color: #aeb4c0;
  background: var(--night);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
footer > img { width: 150px; height: auto; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--orange); }

/* Confirmation pages */
.status-page { min-height: 100vh; color: var(--ink); background: var(--night); }
.status-page .site-header { min-height: 72px; }
.status-shell { width: min(100% - 32px, 780px); margin: 0 auto; padding: 58px 0 76px; }
.status-card { padding: clamp(30px, 5vw, 58px); color: var(--ink); background: var(--white); border-top: 6px solid var(--orange); box-shadow: var(--shadow); font-size: 16px; }
.success-seal { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 24px; color: var(--white); background: var(--success); border-radius: 50%; font-size: 27px; font-weight: 800; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; }
.status-card h1 { font-size: clamp(50px, 8vw, 75px); line-height: 1.08; }
.status-card h1 span { color: var(--orange); }
.status-lead { margin: 20px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.booking-summary { display: grid; gap: 1px; background: var(--line); border-left: 4px solid var(--orange); }
.booking-summary div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px 17px; background: #f6f7f8; }
.booking-summary span { color: #747b87; font-size: 14px; font-weight: 800; letter-spacing: .05em; }
.booking-summary strong { font-size: 18px; line-height: 1.45; }
.action-box { margin-top: 27px; padding: 30px; color: var(--white); background: var(--night); }
.action-box .eyebrow { margin-bottom: 7px; }
.action-box h2 { font-size: 38px; line-height: 1.12; }
.action-box p { margin: 16px 0 23px; color: #e0e2e7; font-size: 17px; line-height: 1.75; }
.action-box .primary-button { width: 100%; text-decoration: none; }
.tuev-registration-button { min-height: 86px; padding: 20px 22px; font-size: 17px; line-height: 1.35; box-shadow: 0 16px 34px rgba(255, 97, 0, 0.3); }
.tuev-registration-button.is-disabled { cursor: not-allowed; opacity: .58; box-shadow: none; }
.tuev-registration-button.is-disabled:hover { background: var(--orange); transform: none; }
.mandatory-note { margin-top: 24px; padding: 20px; color: #652900; background: #fff0e6; border-left: 4px solid var(--orange); font-size: 17px; line-height: 1.75; }
.next-steps { margin: 30px 0 0; padding-left: 26px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.next-steps li + li { margin-top: 7px; }
.status-error { color: #ffb48a !important; }
.back-link { display: inline-block; margin-top: 28px; color: var(--muted); font-size: 15px; font-weight: 800; }

/* Admin */
.admin-page { min-height: 100vh; padding: 36px 20px; background: #f1f2f4; }
.admin-shell { width: min(100%, 1180px); margin: 0 auto; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.admin-header h1 { font-size: 45px; }
.admin-header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.admin-actions { display: flex; gap: 8px; }
.secondary-button { min-height: 41px; padding: 9px 13px; color: var(--ink); background: var(--white); border: 1px solid #c9cdd5; border-radius: 0; cursor: pointer; font-size: 9px; font-weight: 800; }
.admin-login { max-width: 460px; margin: 65px auto; padding: 30px; background: var(--white); border-top: 5px solid var(--orange); box-shadow: 0 14px 40px rgba(22,35,48,.12); }
.admin-login h1 { font-size: 40px; }
.admin-login p { color: var(--muted); font-size: 11px; }
.admin-login .primary-button { width: 100%; margin-top: 12px; }
.table-wrap { overflow-x: auto; background: var(--white); box-shadow: 0 10px 30px rgba(22,35,48,.08); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.admin-table th { padding: 12px; color: #5f6672; background: #f6f7f8; text-align: left; white-space: nowrap; }
.admin-table td { padding: 12px; border-top: 1px solid #e3e5e9; vertical-align: top; }
.admin-table strong { white-space: nowrap; }
.status-badge { display: inline-block; margin: 1px 2px 1px 0; padding: 3px 6px; border-radius: 999px; background: #eceff2; font-size: 8px; font-weight: 800; }
.status-badge.sent { color: #0b6a48; background: #dcf4e8; }
.status-badge.failed { color: #98261e; background: #fee4e2; }
.status-badge.not_configured { color: #765a00; background: #fff2c7; }
.mini-button { padding: 6px 8px; color: var(--orange-dark); background: #fff3eb; border: 1px solid #ffc7a4; border-radius: 0; cursor: pointer; font-size: 8px; font-weight: 800; }
.admin-message { margin: 0 0 14px; padding: 10px 12px; background: var(--white); border-left: 3px solid var(--orange); font-size: 10px; }

@media (max-width: 1180px) {
  .hero-layout { grid-template-columns: 1fr; width: min(100% - 48px, 860px); }
  .hero-copy { padding-top: 5px; }
  .hero h1 { max-width: 680px; }
  .hero-lead { max-width: 680px; }
  .qualification, .hero-warning { max-width: 680px; }
  .booking-card { width: 100%; }
}

@media (max-width: 720px) {
  .announcement { padding: 9px 12px; font-size: 10px; }
  .site-header { min-height: 64px; padding: 9px 17px; }
  .brand img { width: 98px; }
  .header-meta { display: none; }
  .hero-layout { width: min(100% - 30px, 620px); padding: 45px 0 55px; }
  .hero h1 { font-size: clamp(31px, 9.2vw, 46px); }
  .hero-lead { font-size: 16px; }
  .benefits { font-size: 10px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .qualification { padding: 14px; }
  .qualification p { font-size: 16px; }
  .hero-warning { padding: 16px; }
  .hero-warning strong { font-size: 14px; }
  .hero-warning p { font-size: 15px; }
  .booking-card { padding: 24px 18px; }
  .booking-card::before { margin: -24px 0 22px; }
  .card-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .booking-card h2 { font-size: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .steps-section { padding: 65px 24px 70px; }
  .section-heading { text-align: left; }
  .section-heading h2 { font-size: 45px; line-height: 1.1; }
  .steps { grid-template-columns: 1fr; gap: 42px; margin-top: 42px; }
  .steps article, .steps article:first-child { min-height: auto; padding: 0 0 0 18px; border-left: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; gap: 11px; padding: 24px; }
  footer > img { width: 130px; }
  footer nav { gap: 14px; }
  .booking-summary div { grid-template-columns: 1fr; gap: 3px; }
  .status-shell { padding-top: 30px; }
  .status-card { padding: 28px 22px 32px; }
  .status-card h1 { font-size: 48px; }
  .status-lead { font-size: 16px; line-height: 1.7; }
  .action-box { padding: 24px 20px; }
  .action-box h2 { font-size: 31px; }
  .action-box p { font-size: 16px; }
  .tuev-registration-button { min-height: 82px; font-size: 16px; }
  .mandatory-note, .next-steps { font-size: 16px; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-actions { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .slot-grid { grid-template-columns: 1fr; }
  .slot-button { padding: 11px 13px; font-size: 14px; }
  .booking-card { padding-inline: 15px; }
  .primary-button { padding-inline: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
