:root {
  --navy: #223975;
  --navy-dark: #1a2d60;
  --red: #db3c30;
  --red-deep: #b83028;
  --paper: #fbfcfe;
  --muted: #667493;
  --line: rgb(34 57 117 / 18%);
  --display: "Archivo Black", sans-serif;
  --body: "Manrope", sans-serif;
  --shadow: 0 24px 60px rgb(22 39 83 / 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;
  justify-content: 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(320px, 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 - 158px);
  min-height: calc(100dvh - 158px);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 48px) 0 clamp(64px, 8vw, 96px);
  text-align: center;
}
h1 {
  max-width: 720px;
  margin: 0 0 clamp(28px, 3.5vw, 34px);
  color: var(--navy-dark);
  font-family: var(--display);
  font-size: clamp(46px, 5.4vw, 68px);
  letter-spacing: -0.07em;
  line-height: 0.94;
}
h1 span { display: block; white-space: nowrap; }
h1 em { color: var(--red); font-style: normal; }

.video-column { width: min(100%, 350px); }
.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: rgb(23 32 51 / 90%);
  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 picture { display: block; width: 100%; height: 100%; }
.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, rgb(23 32 51 / 3%) 30%, rgb(23 32 51 / 62%) 100%);
}
.youtube-play-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(72px, 22vw, 96px);
  filter: drop-shadow(0 8px 16px rgb(17 31 65 / 35%));
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, filter 180ms ease;
}
.youtube-play-mark svg { display: block; width: 100%; height: auto; }
.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: rgb(23 32 51 / 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); }
.video-poster:hover .youtube-play-mark { filter: drop-shadow(0 12px 22px rgb(17 31 65 / 42%)); transform: translate(-50%, -50%) scale(1.06); }

.action-list {
  display: grid;
  justify-items: center;
  width: min(100%, 390px);
  gap: 8px;
  margin-top: 28px;
}
.action-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 15px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  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 rgb(22 39 83 / 14%); }
.action-primary { background: linear-gradient(110deg, #e34236 0%, #db3c30 65%, #cc342a 100%); box-shadow: 0 12px 24px rgb(219 60 48 / 22%); color: #fff; }
.action-primary:hover { background: linear-gradient(110deg, #cc342a 0%, #b83028 100%); }
.action-hint { color: var(--muted); font-size: 12px; font-weight: 700; }
.qualification-note {
  width: min(100%, 600px);
  margin-top: 22px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, #f5f8fc 100%);
  box-shadow: 0 12px 30px rgb(22 39 83 / 7%);
  text-align: left;
}
.qualification-note__eyebrow { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.qualification-note h2 { max-width: 520px; margin: 8px 0 7px; color: var(--navy-dark); font-family: var(--display); font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.05em; line-height: 1.06; }
.qualification-note p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.55; }
.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 rgb(22 39 83 / 35%);
}
.contact-dialog::backdrop { background: rgb(17 31 65 / 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: 250px; }
  .focus-section { min-height: 0; padding: 36px 0 60px; }
  h1 { margin-bottom: 28px; font-size: clamp(30px, 10.5vw, 40px); }
  .video-column { width: min(100%, 340px); }
  .video-shell { border-width: 5px; border-radius: 15px; }
  .action-list { width: min(100%, 390px); margin-top: 24px; }
  .action-button { min-height: 58px; padding-inline: 19px; }
  .qualification-note { margin-top: 18px; padding: 22px 20px; border-radius: 24px; text-align: center; }
  .qualification-note h2 { font-size: 24px; }
  .qualification-note p { font-size: 13px; }
  .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; }
}
/* ProvenExpert-Verweis mit lokalem Empfehlungssiegel. */
.provenexpert-proof {
  width: min(100%, 600px);
  margin: 36px auto 0;
  font-family: "Manrope", sans-serif;
}

.provenexpert-proof__link {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 21px;
  padding: 17px 25px 17px 17px;
  border: 1px solid rgb(34 57 117 / 14%);
  border-radius: 34px;
  background: radial-gradient(circle at 12% 10%, rgb(255 255 255 / 100%) 0%, rgb(246 248 252 / 98%) 44%, rgb(235 240 248 / 94%) 100%);
  box-shadow: 0 14px 32px rgb(22 39 83 / 9%);
  color: #1a2d60;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.provenexpert-proof__link:hover {
  border-color: rgb(205 180 106 / 72%);
  box-shadow: 0 20px 40px rgb(22 39 83 / 15%);
  transform: translateY(-2px);
}
.provenexpert-proof__seal {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgb(205 180 106 / 48%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgb(22 39 83 / 10%);
}
.provenexpert-proof__seal img { display: block; width: 100%; height: auto; }
.provenexpert-proof__content { display: grid; justify-items: start; gap: 5px; }
.provenexpert-proof__badge {
  display: inline-flex;
  padding: 4px 9px;
  border: 1px solid rgb(34 57 117 / 15%);
  border-radius: 999px;
  color: #667493;
  font-size: 10px;
  font-weight: 800;
}
.provenexpert-proof__content > strong {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(25px, 3.5vw, 34px);
  letter-spacing: -0.055em;
  line-height: 1;
}
.provenexpert-proof__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667493;
  font-size: 13px;
  font-weight: 800;
}
.provenexpert-proof__stars { color: #d99a20; letter-spacing: 1px; }
.provenexpert-proof__cta { margin-top: 4px; color: #db3c30; font-size: 13px; font-weight: 800; }

@media (max-width: 560px) {
  .provenexpert-proof { margin-top: 28px; }
  .provenexpert-proof__link { grid-template-columns: 1fr; justify-items: center; gap: 12px; padding: 19px 18px 21px; border-radius: 30px; text-align: center; }
  .provenexpert-proof__seal { width: 96px; height: 96px; }
  .provenexpert-proof__content { justify-items: center; }
  .provenexpert-proof__content > strong { font-size: 27px; }
}
