/*
Theme Name: Wulflamstuben
Theme URI: https://www.wulflamstuben.de
Description: Custom child theme for Wulflamstuben Stralsund – Restaurant im Wulflamhaus. Optimiert für Elementor.
Author: JTS Marketing
Author URI: https://www.jts-marketing.de
Template: hello-elementor
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: wulflamstuben
*/

/* ================================================================
   BRAND TOKENS (CMYK-Kundenwerte → RGB)
   ================================================================ */
:root {
  --brick:      #7d0000;  /* Primär / Weinrot  C27 M100 Y100 K33 */
  --brick-deep: #5e0000;  /* dunklere Variante */
  --gold:       #bba468;  /* Kontrast / Sandgold  C21 M31 Y56 K7 */
  --gold-soft:  #d8c9a3;
  --gold-pale:  #f3ecdd;
  --black:      #111111;
  --text:       #1a1a1a;
  --muted:      #5a5550;
  --white:      #ffffff;
  --paper:      #fbf9f5;
  --line:       #e7e0d3;
}

/* ================================================================
   GLOBAL BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Carlito', Calibri, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ================================================================
   ELEMENTOR GLOBAL OVERRIDES
   ================================================================ */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con-inner {
  max-width: 1180px;
}

/* Ensure Elementor page fills below fixed nav */
.elementor-page .site-content,
#wulflam-content {
  padding-top: 0;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Carlito', Calibri, 'Segoe UI', sans-serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.elementor-widget-text-editor p {
  font-family: 'Carlito', Calibri, 'Segoe UI', sans-serif;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 1.1rem;
}

/* ================================================================
   EYEBROW COMPONENT  (.wulflam-eyebrow)
   ================================================================ */
.wulflam-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-eyebrow::before {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Dark-background eyebrow variant */
.wulflam-dark .wulflam-eyebrow {
  color: var(--gold-soft);
}

/* ================================================================
   HERO SECTION  (.wulflam-hero)
   ================================================================ */
.wulflam-hero {
  position: relative;
}
/* Extra gradient layer on top of Elementor's background overlay */
.wulflam-hero > .elementor-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 45%, rgba(0,0,0,0.28), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.wulflam-hero .elementor-widget-wrap {
  position: relative;
  z-index: 2;
}
.wulflam-hero .elementor-widget-image img {
  filter: brightness(0) invert(1);
  max-width: min(560px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto;
}
.wulflam-hero-subtitle {
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  text-align: center;
  font-family: 'Carlito', Calibri, sans-serif;
}

/* ================================================================
   SECTION COLOUR VARIANTS
   ================================================================ */
.wulflam-alt {
  background: var(--paper) !important;
}
.wulflam-dark {
  background: var(--brick-deep) !important;
}
.wulflam-dark h1,
.wulflam-dark h2,
.wulflam-dark h3,
.wulflam-dark .elementor-heading-title {
  color: var(--white) !important;
}
.wulflam-dark .elementor-widget-text-editor p,
.wulflam-dark p {
  color: rgba(255,255,255,0.82) !important;
}

/* ================================================================
   SIGNATURE BLOCK  (.wulflam-signature)
   ================================================================ */
.wulflam-signature {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--brick);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  font-family: 'Carlito', Calibri, sans-serif;
  line-height: 1.4;
}
.wulflam-signature small {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ================================================================
   SPECIALS GRID  (3-Spalten in Essen-Sektion)
   ================================================================ */
.wulflam-special {
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
}
.wulflam-special h3 {
  font-size: 1.1rem;
  color: var(--brick);
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-special p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
  font-family: 'Carlito', Calibri, sans-serif;
}

/* ================================================================
   COUNTER / FACTS  (.wulflam-fact)
   ================================================================ */
.wulflam-fact .elementor-counter-number-wrapper {
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  line-height: 1 !important;
  font-family: 'Carlito', Calibri, sans-serif !important;
}
.wulflam-fact .elementor-counter-title {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  margin-top: 0.5rem !important;
  font-family: 'Carlito', Calibri, sans-serif !important;
}

/* ================================================================
   RESERVE BOX  (.wulflam-reserve-box)
   ================================================================ */
.wulflam-reserve-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brick);
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: clamp(2rem, 5vw, 3.4rem);
  text-align: center;
  box-shadow: 0 24px 60px rgba(94,0,0,0.07);
}
.wulflam-reserve-box .reserve-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-reserve-box .phone {
  display: block;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--brick);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin: 0.4rem 0;
  font-family: 'Carlito', Calibri, sans-serif;
  line-height: 1.2;
}
.wulflam-reserve-box .phone:hover { color: var(--brick-deep); }
.wulflam-reserve-box .reserve-hours {
  color: var(--muted);
  font-size: 0.95rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-reserve-box .reserve-call {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
  border: 1px solid var(--brick);
  color: var(--brick);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  transition: background 0.25s, color 0.25s;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-reserve-box .reserve-call:hover {
  background: var(--brick);
  color: #fff;
}
.wulflam-reserve-box .reserve-call svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ================================================================
   MENU / SPEISEKARTE CTA
   ================================================================ */
.wulflam-menu-btn .elementor-button,
a.wulflam-cta-btn {
  background: var(--brick) !important;
  color: var(--white) !important;
  border-radius: 3px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 1rem 1.8rem !important;
  transition: background 0.25s, transform 0.25s !important;
  border: none !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-menu-btn .elementor-button:hover,
a.wulflam-cta-btn:hover {
  background: var(--brick-deep) !important;
  transform: translateY(-2px);
  color: var(--white) !important;
}
.wulflam-menu-btn .elementor-button svg,
a.wulflam-cta-btn svg {
  width: 18px;
  height: 18px;
}

/* ================================================================
   TOUR PLACEHOLDER  (.wulflam-tour-ph)
   ================================================================ */
.wulflam-tour-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--gold-pale), #ece2cd);
  border: 1px solid var(--gold-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}
.wulflam-tour-ph .tour-play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid var(--brick);
  color: var(--brick);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  padding-left: 5px;
  background: rgba(255,255,255,0.55);
}
.wulflam-tour-ph .tour-label {
  font-weight: 700;
  color: var(--brick);
  letter-spacing: 0.04em;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-tour-ph .tour-hint {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Carlito', Calibri, sans-serif;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.wulflam-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.wulflam-reveal.in {
  opacity: 1;
  transform: none;
}

/* ================================================================
   LEGAL OVERLAY (Impressum / Datenschutz)
   ================================================================ */
.wulflam-legal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.wulflam-legal:target {
  opacity: 1;
  visibility: visible;
}
.wulflam-legal-bar {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.5rem, 6vw, 3rem);
  z-index: 2;
}
.wulflam-legal-bar .mark {
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brick);
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-legal-close {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-legal-close:hover {
  background: var(--brick);
  color: #fff;
  border-color: var(--brick);
}
.wulflam-legal-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 3rem) 5rem;
}
.wulflam-legal-inner h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--black);
  margin-bottom: 1.8rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-legal-inner h2 {
  font-size: 1.45rem;
  color: var(--black);
  margin: 2.6rem 0 0.5rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-legal-inner h3 {
  color: var(--brick);
  margin: 1.8rem 0 0.4rem;
  font-size: 1.05rem;
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-legal-inner p,
.wulflam-legal-inner ul,
.wulflam-legal-inner li {
  color: var(--text);
  font-family: 'Carlito', Calibri, sans-serif;
}
.wulflam-legal-inner ul { margin: 0 0 0.9rem 1.4rem; }
.wulflam-legal-inner li { margin-bottom: 0.25rem; }
.wulflam-legal-inner a { color: var(--brick); word-break: break-word; }

/* ================================================================
   NAV POSITIONING  (fixed → page content not pushed)
   ================================================================ */
body.admin-bar #wulflam-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #wulflam-nav { top: 46px; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
  .wulflam-special { margin-bottom: 0; padding-top: 0rem;}
  .wulflam-reserve-box { margin: 0; }
  .wulflam-special-container{
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

.wulflam-reveal.in iframe{
  height: 100%;
}

.eyebrow-middle{
  text-align: center;
}

nav .wulflam-brand-text{
  display: none;
}