/* ============================================================
   ТЕЗИС — teaser v3 / static HTML5 build for reg.ru
   1:1 копия preview.avtor-tezis.ru/teaser/v3
   ------------------------------------------------------------
   Палитра: warm-white #FAF8F6, accent #48121F, text #1A1A1A
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Pragmatica Extended";
  src: url("./fonts/PragmaticaExtended-Bold.woff2") format("woff2"),
       url("./fonts/PragmaticaExtended-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica Extended";
  src: url("./fonts/PragmaticaExtended-Medium.woff2") format("woff2"),
       url("./fonts/PragmaticaExtended-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica";
  src: url("./fonts/Pragmatica-Book.woff2") format("woff2"),
       url("./fonts/Pragmatica-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica";
  src: url("./fonts/Pragmatica-Medium.woff2") format("woff2"),
       url("./fonts/Pragmatica-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica";
  src: url("./fonts/Pragmatica-Light.woff2") format("woff2"),
       url("./fonts/Pragmatica-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --color-bg: #faf8f6;
  --color-accent: #48121f;
  --color-accent-light: #5c1829;
  --color-text: #1a1a1a;
  --color-text-light: #6b6b6b;
  --color-border: #d7cbc1;
  --color-placeholder: #8a817a;
  --font-heading: "Pragmatica Extended", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "Pragmatica", "Helvetica Neue", Arial, sans-serif;
  --ease-luxury: cubic-bezier(0.12, 1, 0.39, 1);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overscroll-behavior-y: none;
}
body {
  overflow-x: hidden;
}
html {
  background: var(--color-bg);
  -webkit-tap-highlight-color: transparent;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}
input {
  font-family: inherit;
}
::selection {
  background: var(--color-accent);
  color: #fff;
}

.font-heading {
  font-family: var(--font-heading);
}

/* ============================================================
   SEO-БЛОК — визуально скрыт, но доступен поисковикам
   clip + position:absolute безопасны для индексации,
   в отличие от display:none / visibility:hidden
   ============================================================ */
.seo-block {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

/* ============================================================
   TEASER v3 — main layout
   ============================================================ */
.teaser {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ---------- VERTICAL DECOR LINES ---------- */
.teaser__vlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.teaser__vlines-inner {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
@media (min-width: 768px) {
  .teaser__vlines-inner {
    padding: 0 40px;
  }
}
.teaser__vline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(72, 18, 31, 0.04);
  transform: scaleY(0);
  transform-origin: top;
  animation: vline-grow 1.5s var(--ease-luxury) forwards;
}
.teaser__vline:nth-child(1) {
  left: 16.6667%;
  animation-delay: 4.1s;
}
.teaser__vline:nth-child(2) {
  left: 33.3333%;
  animation-delay: 4.2s;
}
.teaser__vline:nth-child(3) {
  left: 50%;
  animation-delay: 4.3s;
}
.teaser__vline:nth-child(4) {
  left: 66.6666%;
  animation-delay: 4.4s;
}
.teaser__vline:nth-child(5) {
  left: 83.3333%;
  animation-delay: 4.5s;
}
@keyframes vline-grow {
  to {
    transform: scaleY(1);
  }
}

/* ---------- MARQUEE (top + bottom) ---------- */
.marquee {
  position: relative;
  z-index: 10;
  padding: 6px 0;
  border-color: rgba(72, 18, 31, 0.1);
  border-style: solid;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  color: rgba(72, 18, 31, 0.25);
  opacity: 0;
  animation: marquee-fade 0.8s var(--ease-luxury) forwards;
  animation-delay: 3.5s;
}
.marquee--top {
  border-bottom-width: 1px;
  border-top-width: 0;
}
.marquee--bottom {
  border-top-width: 1px;
  border-bottom-width: 0;
}
@media (min-width: 640px) {
  .marquee {
    padding: 8px 0;
  }
}
@media (min-width: 768px) {
  .marquee {
    padding: 12px 0;
  }
}
@keyframes marquee-fade {
  to {
    opacity: 1;
  }
}

.marquee__track {
  display: inline-block;
  white-space: nowrap;
  animation-duration: 78s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  will-change: transform;
}
.marquee--left .marquee__track {
  animation-name: marquee-left;
}
.marquee--right .marquee__track {
  animation-name: marquee-right;
}
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.marquee__text {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .marquee__text {
    font-size: 22px;
    letter-spacing: 0.32em;
  }
}
@media (min-width: 768px) {
  .marquee__text {
    font-size: 26px;
  }
}

/* ---------- HEADER ---------- */
.teaser__header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(-10px);
  animation: header-in 0.8s var(--ease-luxury) forwards;
  animation-delay: 3.8s;
}
@media (min-width: 768px) {
  .teaser__header {
    padding: 20px 48px;
  }
}
@keyframes header-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.teaser__logo-avtor {
  height: 23px;
  width: auto;
  color: var(--color-accent);
}
@media (min-width: 768px) {
  .teaser__logo-avtor {
    height: 32px;
  }
}
.teaser__phone {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(72, 18, 31, 0.4);
  transition: color 0.25s ease;
  white-space: nowrap;
}
.teaser__phone:hover {
  color: rgba(72, 18, 31, 0.7);
}
@media (min-width: 768px) {
  .teaser__phone {
    font-size: 12px;
  }
}

/* ---------- HERO BLOCK (centered logo + subtitle) ---------- */
.teaser__hero {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  transition: transform 1.2s var(--ease-luxury);
}
.teaser__hero[data-shifted="true"] {
  transform: translateY(clamp(-120px, -15vh, -60px));
}
@media (min-width: 768px) {
  .teaser__hero[data-shifted="true"] {
    transform: none;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .teaser__hero[data-shifted="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.teaser__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 80vw;
}
@media (min-width: 768px) {
  .teaser__hero-inner {
    max-width: none;
  }
}

.teaser__logo-tezis-wrap {
  width: 100%;
  overflow: hidden;
  transform: scale(1.35);
  animation: tezis-scale 1.8s var(--ease-luxury) forwards;
  animation-delay: 1.2s;
}
@media (min-width: 768px) {
  .teaser__logo-tezis-wrap {
    transform: scale(1.6);
  }
}
@keyframes tezis-scale {
  to {
    transform: scale(1);
  }
}
.teaser__logo-tezis {
  display: block;
  height: clamp(3rem, 12vw, 10rem);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  color: var(--color-accent);
}

.teaser__logo-tezis path {
  transform: translateY(100px);
  opacity: 0;
  animation: letter-rise 0.9s var(--ease-luxury) forwards;
}
.teaser__logo-tezis path:nth-child(1) { animation-delay: 0.30s; }
.teaser__logo-tezis path:nth-child(2) { animation-delay: 0.45s; }
.teaser__logo-tezis path:nth-child(3) { animation-delay: 0.60s; }
.teaser__logo-tezis path:nth-child(4) { animation-delay: 0.75s; }
.teaser__logo-tezis path:nth-child(5) { animation-delay: 0.90s; }
@keyframes letter-rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.teaser__subtitle {
  margin: 16px 0 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(72, 18, 31, 0.35);
  padding: 0 16px;
  opacity: 0;
  transform: translateY(-14px);
  animation: subtitle-in 0.8s var(--ease-luxury) forwards;
  animation-delay: 2.5s;
}
@media (min-width: 768px) {
  .teaser__subtitle {
    margin-top: 32px;
    font-size: 13px;
    letter-spacing: 0.28em;
  }
}
@keyframes subtitle-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- MAIN CONTENT (CTA + form) ---------- */
.teaser__main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 20px 80px;
}
@media (min-width: 768px) {
  .teaser__main {
    padding: 48px 48px 48px;
  }
}

.teaser__cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.teaser__pitch {
  margin: 20px 0 0;
  text-align: center;
  max-width: 28rem;
  padding: 0 8px;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.55);
  opacity: 0;
  transform: translateY(16px);
  animation: pitch-in 0.9s var(--ease-luxury) forwards;
  animation-delay: 4.6s;
}
@media (min-width: 768px) {
  .teaser__pitch {
    margin-top: 32px;
  }
}
@keyframes pitch-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.teaser__cta-wrap {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: cta-in 0.9s var(--ease-luxury) forwards;
  animation-delay: 5.1s;
}
@media (min-width: 768px) {
  .teaser__cta-wrap {
    margin-top: 32px;
  }
}
@keyframes cta-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 14rem;
  padding: 16px 40px;
  border: 1px solid rgba(72, 18, 31, 0.15);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  animation: btn-shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btn-shimmer {
  0%   { left: -75%; }
  35%  { left: 125%; }
  100% { left: 125%; }
}
.btn-cta:hover {
  background: var(--color-accent-light);
  box-shadow: 0 12px 36px rgba(72, 18, 31, 0.2);
}
.btn-cta:active {
  transform: scale(0.98);
}

/* ---------- FORM ---------- */
.teaser__form-wrap {
  margin-top: 20px;
  width: 100%;
  max-width: 24rem;
  padding: 0 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-luxury), transform 0.6s var(--ease-luxury);
}
.teaser__form-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 768px) {
  .teaser__form-wrap {
    margin-top: 32px;
  }
}
.teaser__form-wrap[hidden] {
  display: none;
}
.teaser__form-wrap[data-raised="true"] {
  /* Подъём формы убран — cta-block уже поднимает всё вместе,
     двойной сдвиг вызывал наезд на логотип */
  transform: translateY(0);
}

/* ---------- CTA BLOCK MOBILE RAISE ---------- */
.teaser__cta-block[data-raised="true"] {
  transform: translateY(clamp(-60px, -7vh, -30px));
  transition: transform 0.6s var(--ease-luxury);
}
@media (min-width: 768px) {
  .teaser__cta-block[data-raised="true"] {
    transform: none;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .teaser__cta-block[data-raised="true"] {
    transform: translateY(-10px);
  }
}

.teaser__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.teaser__form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.teaser__input {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.teaser__input::placeholder {
  color: var(--color-placeholder);
}
.teaser__input:focus {
  border-color: rgba(72, 18, 31, 0.4);
}
.teaser__form-error {
  font-size: 12px;
  color: #b91c1c;
  margin: 0;
}
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 0.3s ease;
}
.btn-submit:hover {
  background: var(--color-accent-light);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- MATERIAL DESIGN CHECKBOX ---------- */
.teaser__form-disclaimer {
  font-size: 10px;
  text-align: center;
  line-height: 1.3;
  color: #6b6b6b;
  margin: 0;
}
.teaser__form-disclaimer a {
  text-decoration: underline;
}

/* Material Design Checkbox */
.md-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text);
  user-select: none;
}
.md-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.md-checkbox__box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 2px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.md-checkbox__box::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.md-checkbox input[type="checkbox"]:checked + .md-checkbox__box {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.md-checkbox input[type="checkbox"]:checked + .md-checkbox__box::before {
  animation: checkbox-ripple 0.4s ease-out;
}
@keyframes checkbox-ripple {
  0% { transform: scale(0); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}
.md-checkbox__check {
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}
.md-checkbox input[type="checkbox"]:checked + .md-checkbox__box .md-checkbox__check {
  opacity: 1;
}
.md-checkbox input[type="checkbox"]:focus + .md-checkbox__box {
  box-shadow: 0 0 0 3px rgba(72, 18, 31, 0.15);
}
.md-checkbox__text {
  flex: 1;
  font-family: var(--font-body);
}
.md-checkbox__text a {
  text-decoration: underline;
  color: var(--color-accent);
  transition: opacity 0.2s ease;
}
.md-checkbox__text a:hover {
  opacity: 0.7;
}

.teaser__success {
  text-align: center;
  padding: 24px 0;
}
.teaser__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid rgba(72, 18, 31, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(72, 18, 31, 0.6);
}
.teaser__success-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--color-text);
}
.teaser__success-text {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.45);
  margin: 0;
}

/* ============================================================
   FLOATING PHRASES — desktop only
   ============================================================ */
.floating-phrases {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  display: none;
}
@media (min-width: 768px) {
  .floating-phrases {
    display: block;
  }
}
.floating-phrase {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-accent);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.floating-phrase.is-visible {
  opacity: 0.15;
  transform: translateY(0);
}
.floating-phrase.is-leaving {
  opacity: 0;
  transform: translateY(-20px);
}

/* ============================================================
   PRIVACY / COOKIE PAGES
   ============================================================ */
.docpage {
  background: #ffffff;
  min-height: 100vh;
  color: var(--color-text);
}
.docpage__header {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.docpage__header-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .docpage__header-inner {
    padding: 0 40px;
  }
}
.docpage__home-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}
.docpage__home-link:hover {
  opacity: 0.7;
}

.docpage__main {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 20px;
}
@media (min-width: 768px) {
  .docpage__main {
    padding: 96px 40px;
  }
}
.docpage__overline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(72, 18, 31, 0.6);
  margin: 0 0 16px;
}
@media (min-width: 768px) {
  .docpage__overline {
    font-size: 12px;
  }
}
.docpage__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .docpage__title {
    font-size: 38px;
  }
}
.docpage__body {
  color: var(--color-text-light);
}
.docpage__body > * + * {
  margin-top: 16px;
}
.docpage__body p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.docpage__body strong {
  color: var(--color-text);
}
.docpage__body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 48px 0 20px;
}
@media (min-width: 768px) {
  .docpage__body h2 {
    font-size: 20px;
  }
}
.docpage__body ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}
.docpage__body ul li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 6px;
}
.docpage__body ul li::marker {
  color: rgba(72, 18, 31, 0.6);
}
.docpage__body a {
  text-decoration: underline;
  transition: color 0.25s ease;
}
.docpage__body a:hover {
  color: var(--color-accent);
}
.docpage__contact-card {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: 24px 28px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.7;
}
.docpage__contact-card p {
  margin: 0;
}
.docpage__contact-card .docpage__contact-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
}

.docpage__footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}
.docpage__footer-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-light);
}
@media (min-width: 768px) {
  .docpage__footer-inner {
    padding: 0 40px;
  }
}
.docpage__footer-logo {
  height: 0.9em;
  width: auto;
  color: var(--color-accent);
}

/* ============================================================
   LANDSCAPE MOBILE ADJUSTMENTS
   ============================================================ */
@media (orientation: landscape) and (max-height: 500px) {
  .marquee {
    padding: 4px 0;
  }
  .marquee__text {
    font-size: 12px;
  }
  .teaser__header {
    padding: 8px 16px;
  }
  .teaser__main {
    padding: 12px 20px 40px;
  }
  .teaser__logo-tezis {
    height: clamp(2rem, 8vh, 4rem);
  }
  .teaser__subtitle {
    margin-top: 8px;
    font-size: 9px;
  }
  .teaser__pitch {
    margin-top: 10px;
  }
  .teaser__cta-wrap,
  .teaser__form-wrap {
    margin-top: 12px;
  }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 100;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-light);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s var(--ease-luxury), opacity 0.4s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
}
.cookie-banner__text a {
  text-decoration: underline;
  color: var(--color-accent);
}
.cookie-banner__btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: background 0.25s ease;
}
.cookie-banner__btn:hover {
  background: var(--color-accent-light);
}
