/* ==========================================================================
   Tapla – Brand colors (edit here for site-wide changes)
   No @tailwind base/components/utilities – teaser page must stay framework-free.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Lato:wght@300;400;500;700&display=swap");

body {
  margin: 0;
}
:root {
  --tapla-cream: #fdfbf7;
  --tapla-deep-brown: #3f2a1d;
  --tapla-honey-gold: #d4a373;
  --font-display: "Playfair Display", serif;
  --font-body: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* ==========================================================================
   Language toggle (shared: index, shop, checkout, teaser)
   ========================================================================== */
.lang-btn {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.lang-btn:not(.active) {
  color: rgba(63, 42, 29, 0.5);
}

.lang-btn:not(.active):hover {
  color: var(--tapla-deep-brown);
}

.lang-btn.active {
  color: var(--tapla-deep-brown);
  font-weight: 600;
}

/* ==========================================================================
   Teaser page – Light Premium (semantic classes only)
   ========================================================================== */

/* Page & layout */
.teaser-page {
  font-family: var(--font-body);
  background-color: var(--tapla-cream);
  color: var(--tapla-deep-brown);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.teaser-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background */
.teaser-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transform: scale(1.05);
}

.teaser-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(253, 251, 247, 0.5);
}

/* Language toggle row */
.teaser-lang-row {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.teaser-lang-sep {
  color: rgba(63, 42, 29, 0.3);
  user-select: none;
}

/* Content wrapper */
.teaser-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

@media (min-width: 640px) {
  .teaser-content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Logo */
.teaser-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-logo {
  height: 4rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

@media (min-width: 768px) {
  .teaser-logo {
    height: 4rem;
  }
}

.teaser-logo-fallback {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(63, 42, 29, 0.8);
  border: 1px solid rgba(63, 42, 29, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
}

/* Central glass card */
.teaser-glass-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 32px;
}

@media (min-width: 768px) {
  .teaser-glass-card {
    padding: 2rem;
  }
}

/* Card typography */
.teaser-badge {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tapla-honey-gold);
  margin-bottom: 0.75rem;
}

.teaser-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.375;
  color: var(--tapla-deep-brown);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .teaser-headline {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .teaser-headline {
    font-size: 2.1rem;
  }
}

.teaser-subtitle {
  font-size: 14px;
  line-height: 1.625;
  color: rgba(63, 42, 29, 0.8);
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .teaser-subtitle {
    font-size: 15px;
  }
}

/* Form */
.teaser-form {
  margin-top: 1.5rem;
}

.teaser-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.teaser-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .teaser-form-row {
    flex-direction: row;
    gap: 0.75rem;
  }
}

.teaser-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border-radius: 9999px;
  border: 1px solid rgba(63, 42, 29, 0.2);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 16px;
  font-size: 14px;
  color: #3f2a1d;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.teaser-input::placeholder {
  color: rgba(63, 42, 29, 0.5);
}

.teaser-input:focus {
  outline: none;
  border-color: rgba(212, 163, 115, 0.7);
  box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.7);
}

/* Submit button */
.teaser-btn-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 9999px;
  background: var(--tapla-honey-gold);
  color: var(--tapla-deep-brown);
  padding: 0.625rem 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.teaser-btn-submit:hover {
  background: rgba(212, 163, 115, 0.9);
}

.teaser-btn-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--tapla-honey-gold);
}

.teaser-btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.teaser-btn-submit:hover::before {
  transform: translateX(100%);
}

/* Form feedback message */
.teaser-feedback {
  font-size: 0.7rem;
  color: var(--tapla-honey-gold);
  margin-top: 0.25rem;
}

.teaser-feedback-hidden {
  display: none;
}

/* Social block */
.teaser-social-block {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(63, 42, 29, 0.1);
}

.teaser-social-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(63, 42, 29, 0.6);
  margin-bottom: 8px;
}

.teaser-social-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.teaser-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(63, 42, 29, 0.2);
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  color: rgba(63, 42, 29, 0.7);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}

.teaser-social-btn:hover {
  color: #3f2a1d;
  border-color: rgba(63, 42, 29, 0.4);
}

a.teaser-social-btn {
  text-decoration: none;
}

/* Footer line (outside card) */
.teaser-footer-line {
  font-size: 10px;
  color: rgba(63, 42, 29, 0.6);
}

/* Error page specific */
.error-code-text {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tapla-deep-brown);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .error-code-text {
    font-size: 5rem;
  }
}
