:root {
  --navy: #223975;
  --navy-dark: #1a2d60;
  --red: #db3c30;
  --red-deep: #b83028;
  --paper: #fbfcfe;
  --muted: #667493;
  --line: rgba(34, 57, 117, 0.18);
  --display: "Archivo Black", sans-serif;
  --body: "Manrope", sans-serif;
  --shadow: 0 24px 60px rgba(22, 39, 83, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--navy-dark);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-200%);
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  width: min(760px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; width: min(282px, 100%); }
.brand img { width: 100%; height: auto; }

.focus-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(760px, calc(100% - 48px));
  min-height: calc(100vh - 146px);
  min-height: calc(100dvh - 146px);
  margin: 0 auto;
  padding: clamp(52px, 8vw, 86px) 0 clamp(64px, 8vw, 96px);
  text-align: center;
}
h1 {
  max-width: 680px;
  margin: 0 0 clamp(38px, 5vw, 54px);
  color: var(--navy-dark);
  font-family: var(--display);
  font-size: clamp(48px, 7.3vw, 88px);
  letter-spacing: -0.07em;
  line-height: 0.94;
}
h1 em { color: var(--red); font-style: normal; }

.video-column { width: min(100%, 386px); }
.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 15.85;
  border: 6px solid #fff;
  border-radius: 18px;
  background: var(--navy-dark);
  box-shadow: var(--shadow);
}
.video-shell::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.9);
  pointer-events: none;
}
.direct-video, .video-poster { width: 100%; height: 100%; border: 0; }
.direct-video { display: block; background: var(--navy-dark); object-fit: cover; }
.video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  background: var(--navy-dark);
  color: #fff;
  cursor: pointer;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 51, 0.03) 30%, rgba(23, 32, 51, 0.62) 100%);
}
.video-poster-content {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px 8px 8px;
  background: rgba(23, 32, 51, 0.88);
  font-size: 12px;
  font-weight: 800;
}
.video-play-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  text-indent: 1px;
}
.video-poster:hover img { transform: scale(1.03); }

.action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 600px);
  gap: 12px;
  margin-top: 28px;
}
.action-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 15px 18px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.action-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(22, 39, 83, 0.14); }
.action-call { background: var(--navy); color: #fff; }
.action-call:hover { background: var(--navy-dark); }
.action-booking { border-color: var(--red); background: var(--red); color: #fff; }
.action-booking:hover { border-color: var(--red-deep); background: var(--red-deep); }
.principle-quote {
  max-width: 720px;
  margin: 36px 0 0;
  color: var(--navy-dark);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.26;
}
.closing-line {
  max-width: 480px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.contact-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(870px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 28px 80px rgba(22, 39, 83, 0.35);
}
.contact-dialog::backdrop { background: rgba(17, 31, 65, 0.58); backdrop-filter: blur(3px); }
.dialog-panel { padding: clamp(18px, 3vw, 30px); }
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 { margin: 0; color: var(--navy-dark); font-family: var(--display); font-size: clamp(25px, 4vw, 37px); letter-spacing: -0.055em; line-height: 1; text-align: left; }
.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.dialog-close:hover { background: #eef3f9; }
#erstgespraech-formular { display: block; width: 100%; height: 680px; border: 0; }

.site-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.site-footer a { text-underline-offset: 4px; }
.site-footer a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

@media (max-width: 560px) {
  .site-header, .focus-section, .site-footer { width: min(100% - 32px, 520px); }
  .site-header { min-height: 68px; }
  .brand { width: 220px; }
  .focus-section { min-height: 0; padding: 42px 0 60px; }
  h1 { margin-bottom: 36px; font-size: clamp(44px, 13.5vw, 60px); }
  .video-column { width: min(100%, 365px); }
  .video-shell { border-width: 5px; border-radius: 15px; }
  .action-list { grid-template-columns: 1fr; width: 100%; margin-top: 24px; }
  .action-button { min-height: 58px; padding-inline: 16px; font-size: 15px; }
  .principle-quote { margin-top: 28px; font-size: 24px; }
  .closing-line { margin-top: 13px; font-size: 14px; }
  .dialog-panel { padding: 16px 12px; }
  #erstgespraech-formular { height: 750px; }
}

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