/* Nordböhmen Gewinnspiel – Layout nach Liberec_Weblayout_Lexend_261103.pdf */

@font-face { font-family: "Lexend"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/lexend-regular.ttf") format("truetype"); }
@font-face { font-family: "Lexend"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/lexend-medium.ttf") format("truetype"); }
@font-face { font-family: "Lexend"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/lexend-semibold.ttf") format("truetype"); }
@font-face { font-family: "Lexend"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/lexend-bold.ttf") format("truetype"); }

:root {
  --navy: #0e1443;
  --teal: #81c7cc;
  --white: #fff;
  --font: "Lexend", system-ui, sans-serif;
  /* Skalierung des Desktop-Rasters (Layout = 1280 px) */
  --u: calc(min(100vw, 1280px) / 1280);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, p, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.entry :focus-visible { outline-color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border: 0; border-radius: 26px;
  font: 600 18px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: none; }
.btn img { width: 12px; height: 12px; }
.btn--teal { background: var(--teal); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--teal); }

/* ---------- Header ---------- */
.site-header { height: 57px; display: flex; justify-content: center; align-items: center; background: var(--white); }
.logo-link { display: block; line-height: 0; }
.site-header img { width: 140px; height: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 708px; overflow: hidden; background: #8aa3b5; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__slogan { position: absolute; top: 10px; left: 50%; width: 835px; margin-left: -418px; line-height: 0; }
.hero__slogan img { width: 100%; height: auto; }
.hero__cta { position: absolute; top: 310px; left: 50%; transform: translateX(-50%); width: 230px; padding: 0; }
.hero__cta:hover { transform: translateX(-50%) translateY(-1px); }

/* ---------- Intro / Gewinn ---------- */
.intro { background: var(--navy); color: var(--white); text-align: center; padding: 68px 20px 78px; }
.intro__inner { max-width: 640px; margin: 0 auto; }
.h-teal { color: var(--teal); font-weight: 400; }
.h-xl { font-size: 38px; line-height: 49px; }
.h-lg { font-size: 31px; line-height: 40px; }
.intro__sub { margin-top: 19px; font-size: 19px; line-height: 26px; font-weight: 700; }
.intro__text { max-width: 600px; margin: 28px auto 0; font-size: 17.5px; line-height: 25px; }
.intro__note { margin: 23px auto 0; max-width: 600px; font-size: 14.5px; line-height: 23px; }
.intro__badge { width: 145px; height: 145px; margin: 38px auto 0; }
.prizes__title { margin-top: 47px; }
.prizes { list-style: none; padding: 0; margin-top: 3px; }
.prizes li { max-width: 436px; margin: 0 auto; padding-top: 40px; position: relative; font-size: 19.5px; line-height: 29px; }
.prizes li::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 40px; margin-left: -20px;
  background: url("../assets/img/dot.svg") center / contain no-repeat;
}
.prizes li + li { margin-top: 15px; }
.prizes a { color: var(--teal); font-weight: 700; text-decoration: none; }
.prizes a:hover { text-decoration: underline; }

/* ---------- Partner ---------- */
.partner { min-height: 104px; padding: 14px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 56px; background: var(--white); }
.partner a { display: flex; align-items: center; }
.partner img { height: 48px; width: auto; max-width: 100%; display: block; }
.partner img[src*="Logo_5"] { height: 64px; }
.partner img[src*="HOTEL"] { height: 35px; }

/* ---------- Formular ---------- */
.entry { background: var(--teal); padding: 64px 20px 87px; }
.entry__inner { max-width: 460px; margin: 0 auto; }
.entry__title { font-size: 38px; line-height: 48px; font-weight: 400; }

.quiz { border: 0; margin: 20px 0 0; padding: 0; min-width: 0; }
.quiz legend { padding: 0; font-size: 21px; line-height: 24px; font-weight: 700; }
.radio, .check { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.radio { height: 44px; font-size: 18px; }
.quiz legend + .radio { margin-top: 11px; }
.radio input, .check input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.radio span::before, .check span::before { content: ""; flex: none; }
.radio span { display: flex; align-items: center; gap: 9px; }
.radio span::before { width: 16px; height: 16px; border: 1.5px solid var(--navy); border-radius: 50%; }
.radio input:checked + span::before { background: radial-gradient(circle, var(--navy) 0 4.5px, transparent 5.5px); }
.radio input:focus-visible + span::before,
.check input:focus-visible + span::before { outline: 3px solid var(--navy); outline-offset: 2px; }

.form { margin-top: 0; }
.field { margin-top: 0; padding-bottom: 11px; }
.quiz + .field { margin-top: 24px; }
.field input {
  display: block; width: 100%; height: 30px; padding: 0 14px;
  border: 1.5px solid var(--navy); border-radius: 15px; background: transparent;
  font: 500 17px/1 var(--font); color: var(--navy);
}
.field input:focus { outline: 0; background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 3px rgba(14, 20, 67, .25); }
.field label { display: block; margin-top: 5px; font-size: 15.5px; line-height: 21px; font-weight: 600; }
.field__row { display: flex; gap: 13px; }
.field__row input:first-child { flex: 0 0 137px; width: 137px; }
.field.invalid input { border-color: #b3123b; }

.check { align-items: flex-start; margin-top: 33px; font-size: 15.5px; line-height: 23px; font-weight: 500; position: relative; }
.check span { display: flex; align-items: flex-start; gap: 9px; }
.check span::before { width: 16px; height: 16px; margin-top: 3px; border: 1.5px solid var(--navy); }
.check input:checked + span::before {
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2381c7cc' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check span { display: block; padding-left: 25px; position: relative; }
.check span::before { position: absolute; left: 0; top: 3px; margin: 0; }
.strong { font-weight: 700; text-decoration: none; }
.strong:hover { text-decoration: underline; }
.form .btn--navy { margin: 55px 0 0 4px; width: 190px; padding: 0; font-size: 20px; }
.form .btn--navy:hover { transform: translateY(-1px); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { margin: 24px 0 0; padding: 14px 18px; border-radius: 16px; font-size: 15px; line-height: 22px; font-weight: 600; }
.alert--ok { background: var(--navy); color: var(--white); }
.alert--error { background: #fff; border: 2px solid #b3123b; color: #7d0c28; }
.alert p + p { margin-top: 4px; }
.entry .alert + .form { margin-top: 24px; }

/* ---------- Galerie (Bento) ---------- */
.gallery { --u: calc(100vw / 1280); width: 100%; }
.gallery__scroll { overflow: hidden; }
.gallery__grid { display: flex; gap: calc(10 * var(--u)); background: var(--white); }
.gcol { display: flex; flex-direction: column; gap: calc(10 * var(--u)); min-width: 0; }
.gcol--left  { flex: 325 1 0; }
.gcol--mid   { flex: 600 1 0; }
.gcol--right { flex: 334 1 0; }
.gallery img { width: 100%; object-fit: cover; }
.g-room  { height: calc(220 * var(--u)); }
.g-couple { height: calc(450 * var(--u)); object-position: 80% 50%; }
.g-lobby { height: calc(398 * var(--u)); }
.grow { display: flex; gap: calc(10 * var(--u)); }
.g-hike  { flex: 1 1 0; min-width: 0; height: calc(271 * var(--u)); }
.g-glass { flex: 1 1 0; min-width: 0; height: calc(271 * var(--u)); }
.g-tour  { height: calc(398 * var(--u)); object-position: 45% 50%; }
.g-ski   { height: calc(271 * var(--u)); }

/* ---------- Entdecken ---------- */
.discover { background: var(--navy); color: var(--white); text-align: center; padding: 97px 20px 109px; }
.discover__inner { max-width: 600px; margin: 0 auto; }
.discover h2 { max-width: 480px; margin: 0 auto; font-size: 29px; line-height: 36px; }
.discover p { margin-top: 34px; font-size: 17.5px; line-height: 25px; }
.discover .btn { margin-top: 44px; width: 180px; padding: 0; font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer__brand { height: 70px; display: flex; justify-content: center; align-items: center; background: var(--teal); }
.site-footer__brand img { width: 98px; height: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 35px; padding: 20px 20px 42px; background: var(--white); }
.site-footer__nav a { font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }

.site-footer__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Unterseiten ---------- */
.hero--slim { height: 300px; }
.hero--slim .hero__img { object-position: 50% 58%; }
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; font-size: 17.5px; line-height: 27px; }
.legal h1 { font-size: 38px; line-height: 48px; font-weight: 400; }
.legal h2 { margin-top: 34px; font-size: 21px; line-height: 28px; font-weight: 600; }
.legal p { margin-top: 10px; }
.legal h3 { margin-top: 22px; font-size: 18px; line-height: 26px; font-weight: 600; }
.legal ul, .legal ol { margin: 10px 0 0; padding-left: 1.5em; }
.legal li { margin-top: 6px; }
.legal dl { margin: 10px 0 0; }
.legal dt { margin-top: 16px; font-weight: 600; }
.legal dd { margin: 4px 0 0; }
.legal__stand { margin-top: 28px; font-weight: 600; }
.legal__hint { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--teal); font-size: 15px; line-height: 22px; font-weight: 600; }
.legal a { font-weight: 700; }
.legal__back { margin-top: 48px; }

/* ======================================================
   Mobil (Layout Seite 2, ca. 380 px)
   ====================================================== */
@media (max-width: 767px) {
  .btn { height: 43px; border-radius: 22px; font-size: 16.5px; gap: 6px; }
  .btn img { width: 10px; height: 10px; }

  .site-header { height: 65px; }
  .site-header img { width: 124px; }

  .hero { height: 427px; }
  .hero__img { object-position: 58% 60%; }
  .hero__slogan { top: 13px; left: 22px; right: 22px; width: auto; margin: 0; max-width: 334px; margin-inline: auto; }
  .hero__cta { top: 173px; width: 184px; }

  .intro { padding: 45px 28px 63px; }
  .intro__inner { max-width: 324px; }
  .h-xl { font-size: 30px; line-height: 35.5px; max-width: 280px; margin: 0 auto; }
  .h-lg { font-size: 25px; line-height: 31px; }
  .intro__sub { margin-top: 24px; font-size: 16px; line-height: 22px; }
  .intro__text { margin-top: 19px; font-size: 15px; line-height: 21px; }
  .intro__note { margin-top: 30px; font-size: 12.5px; line-height: 17px; max-width: 320px; }
  .intro__badge { width: 106px; height: 106px; margin-top: 26px; }
  .prizes__title { margin-top: 36px; }
  .prizes { margin: 0 -14px; }
  .prizes li { max-width: 352px; padding-top: 40px; margin-top: 0; font-size: 16.5px; line-height: 24px; }
  .prizes li + li { margin-top: 7px; }
  .prizes li::before { margin-top: -1px; }

  .partner { min-height: 80px; padding: 10px 14px; gap: 8px 22px; }
  .partner img { height: 30px; }
  .partner img[src*="Logo_5"] { height: 42px; }
  .partner img[src*="HOTEL"] { height: 30px; }

  .entry { padding: 39px 22px 38px; }
  .entry__inner { max-width: 420px; }
  .entry__title { font-size: 30px; line-height: 38px; }
  .quiz { margin-top: 12px; }
  .quiz legend { font-size: 17.5px; line-height: 21px; }
  .radio { height: 30px; font-size: 16px; gap: 8px; }
  .radio span { gap: 8px; }
  .radio span::before { width: 13px; height: 13px; }
  .quiz legend + .radio { margin-top: 14px; }
  .quiz + .field { margin-top: 20px; }
  .field { padding-bottom: 3px; }
  .field input { font-size: 16px; }
  .field label { margin-top: 4px; font-size: 14px; line-height: 18px; }
  .field__row { gap: 10px; }
  .field__row input:first-child { flex-basis: 100px; width: 100px; }
  .check { margin-top: 28px; font-size: 13px; line-height: 18px; }
  .check span { padding-left: 20px; }
  .check span::before { width: 13px; height: 13px; top: 2px; }
  .form .btn--navy { margin: 22px 0 0 3px; width: 160px; font-size: 16.5px; }

  .gallery__scroll { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .gallery__scroll::-webkit-scrollbar { display: none; }
  .gallery__grid { width: 612px; gap: 5px; --u: calc(287 / 600); }
  .gcol, .grow { gap: 5px; }
  .gcol--mid { scroll-snap-align: center; }
  .gcol--left  { flex: 155 0 0; }
  .gcol--mid   { flex: 287 0 0; }
  .gcol--right { flex: 160 0 0; }
  .g-room, .g-couple, .g-lobby, .g-hike, .g-glass, .g-tour, .g-ski { --k: .478; }
  .g-room   { height: 105px; }
  .g-couple { height: 215px; }
  .g-lobby  { height: 190px; }
  .g-hike, .g-glass { height: 130px; }
  .g-tour   { height: 190px; }
  .g-ski    { height: 130px; }

  .discover { padding: 54px 28px 46px; }
  .discover h2 { max-width: 240px; font-size: 24px; line-height: 29px; }
  .discover p { margin-top: 22px; font-size: 15px; line-height: 21px; }
  .discover .btn { margin-top: 43px; width: 152px; font-size: 16.5px; }

  .hero--slim { height: 180px; }
  .legal { padding: 36px 22px 48px; font-size: 15.5px; line-height: 24px; }
  .legal h1 { font-size: 30px; line-height: 38px; }
  .legal h2 { margin-top: 26px; font-size: 18px; line-height: 24px; }
  .legal h3 { font-size: 16.5px; line-height: 24px; }
  .legal__hint { font-size: 14px; line-height: 20px; }
  .site-footer__brand { height: 52px; }
  .site-footer__brand img { width: 72px; }
  .site-footer__nav { gap: 2px 22px; padding: 14px 16px 16px; }
  .site-footer__nav a { font-size: 14px; line-height: 22px; }
}
