/* ==========================================================================
   Il Vino Frankfurt – Stylesheet
   1:1-Nachbau der Elementor-Seite (Hello Elementor + Elementor Pro).
   Design-Tokens entsprechen dem Elementor Site-Kit (post-28.css).
   Breakpoints wie Elementor: Mobile <= 767px, Tablet 768–1024px, Desktop >= 1025px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften (selbst gehostet, OFL-lizenziert)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/Jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/Jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Licorice";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Licorice-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Licorice";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Licorice-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Design-Tokens (Elementor Site-Kit)
   -------------------------------------------------------------------------- */
:root {
  --c-primary: #152D35;      /* Global: Primary / Accent  */
  --c-secondary: #BCB0A0;    /* Global: Secondary (Beige) */
  --c-text: #FFFFFF;         /* Global: Text              */
  --c-white: #FFFFFF;        /* Global: Weiß              */
  --c-grey: #D5D5D5;         /* Global: Hellgrau          */
  --c-primary-58: rgba(21, 45, 53, 0.58); /* #152D3594 – Mobile-Dropdown */

  --ff-script: "Licorice", cursive;
  --ff-sans: "Jost", sans-serif;

  /* Typografie-Sets (Desktop) */
  --t-primary-size: 70px;    /* Licorice-Überschriften     */
  --t-secondary-size: 25px;  /* Gericht-Titel (Carne …)    */
  --t-text-size: 18px;       /* Fließtext                  */
  --t-text-lh: 1.5em;
  --t-kicker-size: 20px;     /* Kleine Überschrift über H2 */
  --t-nav-size: 18px;        /* Navigation / Buttons       */
  --t-footer-size: 18px;     /* Footer-Zeilen (uppercase)  */
  --t-footer-h-size: 18px;   /* Footer-Spaltentitel        */

  --container-max: 1400px;
  --header-h: 210px;         /* 150px Header + 60px Navigation */
}
@media (max-width: 1024px) {
  :root {
    --t-primary-size: 60px;
    --t-secondary-size: 22px;
    --t-text-size: 18px;
    --t-kicker-size: 18px;
    --container-max: 1024px;
  }
}
@media (max-width: 767px) {
  :root {
    --t-primary-size: 55px;
    --t-secondary-size: 20px;
    --t-text-size: 16px;
    --t-text-lh: 1.6em;
    --t-kicker-size: 20px;
    --t-footer-size: 16px;
    --container-max: 767px;
    --header-h: 150px;
  }
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--c-primary);
  color: var(--c-text);
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: var(--t-text-size);
  line-height: var(--t-text-lh);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: none; transition: color .3s; }
a:hover { color: var(--c-white); }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
svg { display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--c-white); color: var(--c-primary); padding: 10px 20px;
}
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; }

/* Typografie-Klassen */
.kicker {                       /* Elementor Typo 6ed0199 */
  font-family: var(--ff-sans);
  font-size: var(--t-kicker-size);
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--c-secondary);
}
.script {                       /* Elementor Typo primary (Licorice) */
  font-family: var(--ff-script);
  font-size: var(--t-primary-size);
  font-weight: 400;
  line-height: 1em;
  text-transform: none;
  color: var(--c-white);
}
.text { font-size: var(--t-text-size); line-height: var(--t-text-lh); font-weight: 300; color: var(--c-white); }
.text p { margin-block-end: .9rem; }
.center { text-align: center; }

/* Buttons (Elementor Typo 1017133) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: var(--t-nav-size);
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--c-white);
  fill: var(--c-white);
  background-color: var(--c-primary);
  border: 1px solid var(--c-white);
  border-radius: 0;
  padding: 15px 30px;
  transition: color .3s, background-color .3s, border-color .3s;
}
.btn:hover, .btn:focus { background-color: transparent; color: var(--c-secondary); border-color: var(--c-secondary); fill: var(--c-secondary); }
.btn svg { width: 1em; height: 1em; }
.btn--ghost { background-color: transparent; padding: 15px 20px; }
.btn--icon-right { flex-direction: row-reverse; background-color: transparent; }
.btn--icon-right:hover, .btn--icon-right:focus { color: var(--c-primary); fill: var(--c-primary); border-color: var(--c-white); }

/* --------------------------------------------------------------------------
   Header (Elementor Header-Template 758)
   -------------------------------------------------------------------------- */
.site-header { position: relative; z-index: 99; }

.header-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 150px;
}
.header-col { display: flex; flex-direction: column; }
.header-col--left  { width: 30%; align-items: flex-start; padding-left: 20px; }
.header-col--center{ width: 40%; align-items: center; }
.header-col--right { width: 30%; align-items: flex-end; padding-right: 20px; }

.logo img { width: 174px; height: 60px; }

.social-icon { display: inline-flex; width: 25px; height: 25px; fill: var(--c-white); }
.social-icon svg { width: 100%; height: 100%; }
.social-icon:hover { fill: var(--c-secondary); }

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  border-top: 1px solid rgba(188, 176, 160, .26);     /* #BCB0A042 wie Original, volle Breite */
  border-bottom: 1px solid rgba(188, 176, 160, .26);
}
.nav-menu { display: flex; }
.nav-menu a {
  display: block;
  padding: 13px 20px;
  font-size: var(--t-nav-size);
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--c-white);
}
.nav-menu a:hover, .nav-menu a:focus { color: var(--c-secondary); }

/* Mobile-Header (nur <= 767px) */
.header-mobile { display: none; position: relative; align-items: center; min-height: 150px; }
.header-mobile .logo { width: 75%; padding-left: 20px; }
.header-mobile .logo img { width: 174px; height: auto; }
.menu-toggle {
  width: 25%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  color: var(--c-white);
  fill: var(--c-white);
}
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-burger { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: calc(50% + 18px + 35px);   /* Toggle-Unterkante (36px hoch, mittig) + 35px Abstand wie Elementor */
  background-color: var(--c-primary-58);
  z-index: 100;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--c-white);
}
.mobile-menu a:hover, .mobile-menu a:focus { background-color: var(--c-secondary); color: var(--c-primary); }

@media (max-width: 767px) {
  .header-top, .header-nav { display: none; }
  .header-mobile { display: flex; }
}

/* --------------------------------------------------------------------------
   Hero  (#Il-Vino)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 9;
  display: flex;
  min-height: 100vh;
  margin-top: calc(-1 * var(--header-h));
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-top: 5%;
  border: 2px double var(--c-primary);
  background: url("../img/hero-pasta-frutti-di-mare.jpg") center center / cover no-repeat;
  overflow: hidden;
}
.hero-inner::before {              /* Hintergrund-Overlay, Deckkraft 0.5 */
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--c-primary);
  opacity: .5;
}
.hero-inner > * { position: relative; }
.hero-kicker { color: var(--c-white); text-align: center; }
.hero-title { text-align: center; }
.hero-text { width: 53%; max-width: 53%; text-align: center; }

@media (max-width: 1024px) {
  .hero { flex-direction: row-reverse; flex-wrap: wrap; }
  .hero-inner { min-height: 600px; margin-block: 5%; }
}
@media (max-width: 767px) {
  .hero { margin-top: 0; }
  .hero-inner { min-height: 200px; margin: -150px 0 0; }
  .hero-text { width: 90%; max-width: 90%; }
}

/* Einblend-Animationen (Elementor fadeIn) */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 1.25s both; }
.fade-in--d300  { animation-delay: .3s; }
.fade-in--d1200 { animation-delay: 1.2s; }
.fade-in--d1600 { animation-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Genießen im Il Vino  (#Genießen-im-Il-Vino)
   -------------------------------------------------------------------------- */
.geniessen {
  display: flex;
  flex-direction: column;
  background-color: var(--c-primary);
  padding: 9.6% 2% 4.8%;
}
.section-head { display: flex; flex-direction: column; gap: 20px; }
.spacer-50 { height: 50px; }

.dish-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-top: 40px;
}
.dish {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  padding: 0 5px;
}
.dish img {
  width: 100%;
  height: auto;
  aspect-ratio: 426 / 550;
  object-fit: cover;
  border: 2px double var(--c-primary);
}
.dish h4 {
  margin-top: 20px;
  font-size: var(--t-secondary-size);
  font-weight: 300;
  line-height: 1em;
  text-transform: uppercase;
  color: var(--c-white);
}
.dish p { margin-top: 20px; margin-block-end: .9rem; }

.geniessen .btn-row { display: flex; justify-content: center; padding: 20px 0; }

@media (max-width: 1024px) {
  .geniessen { padding: 8% 10%; }
  .dish { flex: 0 0 45%; width: 45%; }
}
@media (max-width: 767px) {
  .geniessen { padding: 18% 5%; }
  .spacer-50 { height: 5px; }
  .dish-grid { gap: 0; }
  .dish { flex: 0 0 100%; width: 100%; }
  .dish:nth-child(n+2) { margin-top: 40px; }
  .dish:nth-child(even) { padding: 0; }
}

/* --------------------------------------------------------------------------
   Mittagspause  (#Mittagstisch)
   -------------------------------------------------------------------------- */
.mittag {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--c-primary);
  padding: 8% 0 10%;
}
.mittag-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
}
.mittag-inner img { width: 112px; height: 120px; }
.mittag-inner .kicker { font-size: 20px; }
.mittag-inner .text { width: 50%; max-width: 50%; text-align: center; }

@media (max-width: 1024px) {
  .mittag { padding: 5% 0 10%; }
  .mittag-inner { margin-top: 10%; padding: 0 10%; }
  .mittag-inner .kicker { font-size: 18px; }
}
@media (max-width: 767px) {
  .mittag { padding: 20% 0; }
  .mittag-inner { margin-top: 0; padding: 5%; }
  .mittag-inner .kicker { font-size: 20px; }
  .mittag-inner img { width: 0; height: 24px; }   /* wie Live-Seite: Icon mobil nicht sichtbar (Elementor-Quirk) */
}

/* --------------------------------------------------------------------------
   Wochenkarte  (#Wochenkarte)
   -------------------------------------------------------------------------- */
.wochenkarte {
  display: flex;
  min-height: 700px;
  background-color: var(--c-primary);
}
.wochenkarte-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 0 50% 0 13%;
  overflow: hidden;
}
.wochenkarte-bg {                   /* Hintergrund mit Scroll-Parallax (Motion FX) */
  position: absolute;
  inset: -15% 0;
  background: url("../img/wochenkarte-fleisch.jpg") center center / cover no-repeat;
  will-change: transform;
}
.wochenkarte-bg::after {            /* Overlay 0.5 */
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--c-primary);
  opacity: .5;
}
.wochenkarte-inner > *:not(.wochenkarte-bg) { position: relative; }
.wochenkarte-inner .text { padding-right: 20%; }
.wochenkarte-inner .btn-row { display: flex; justify-content: flex-start; }

@media (max-width: 1024px) {
  .wochenkarte { min-height: 575px; }
  .wochenkarte-inner { padding: 5% 15% 5% 10%; }
  .wochenkarte-inner .text { padding-right: 0; }
}
@media (max-width: 767px) {
  .wochenkarte-inner { padding: 50% 5%; }
}

/* --------------------------------------------------------------------------
   Reservierungen  (#Reservierungen)
   -------------------------------------------------------------------------- */
.reservierung {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  margin-top: -8%;
}
.res-left, .res-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  background-color: var(--c-secondary);
}
.res-left { padding: 125px 100px; gap: 0; }
.res-left .kicker { color: var(--c-text); }
.res-left .script { color: var(--c-primary); }
.res-right { padding: 0 100px; }

.testimonial { margin-top: 80px; padding-bottom: 40px; }   /* Elementor: Widget-Margin 80px, Swiper-Padding 40px */
.testimonial-text {
  color: var(--c-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4em;
}
.testimonial-text a { color: var(--c-primary); }
.testimonial-text a:hover { color: var(--c-white); }
.testimonial-footer { display: flex; align-items: center; min-height: 56px; margin-top: 25px; }
.testimonial-footer img { width: 50px; height: 50px; border-radius: 999px; object-fit: cover; margin-right: 20px; }
.testimonial-footer cite { font-style: normal; color: var(--c-primary); font-size: var(--t-text-size); font-weight: 300; }

@media (max-width: 1024px) {
  .reservierung { margin-top: -10%; padding: 0 5%; }
  .res-left, .res-right { width: 100%; }
  .res-left { min-height: 150px; padding: 5%; }
  .res-right { padding: 0 80px; }
  .testimonial { margin-top: 0; }
}
@media (max-width: 767px) {
  .reservierung { margin-top: -30%; }
  .res-left { min-height: 200px; padding: 5% 5% 0; }
  .res-right { padding: 0 5%; }
}

/* --------------------------------------------------------------------------
   Footer (Elementor Footer-Template 41)
   -------------------------------------------------------------------------- */
.site-footer { background-color: var(--c-primary); }
.footer-main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  min-height: 350px;
  padding: 5% 0;
}
.footer-col { display: flex; flex-direction: column; padding: 0 20px; }
.footer-col--logo { flex: 1 1 15%; padding: 0; }
.footer-col--logo img { width: 100%; height: 70px; object-fit: contain; object-position: center; }
.footer-col--logo a { display: block; }
.footer-col--text { width: 30%; }
.footer-col--hours { width: 25%; }
.footer-col--address { width: 25%; }

.footer-col h4 {                    /* Elementor Typo e0d3795 */
  font-size: var(--t-footer-h-size);
  font-weight: 500;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 10px;
}
.footer-line {                      /* Elementor Typo 076386f */
  font-size: var(--t-footer-size);
  font-weight: 300;
  line-height: 1.5em;
  text-transform: uppercase;
  color: var(--c-white);
}
.footer-row { display: flex; justify-content: space-between; }
.footer-row .footer-line:last-child { text-align: end; }
.footer-col--address .footer-line a { color: var(--c-white); }
.footer-col--address .footer-line a:hover { color: var(--c-secondary); }

.spacer-40 { height: 40px; }

.social-list { display: flex; align-items: center; height: 30px; line-height: 0; }
.social-list a { display: inline-flex; align-items: center; padding-right: 5px; fill: var(--c-white); }
.social-list a:hover { fill: var(--c-secondary); }
.social-list svg { width: 30px; height: 30px; }

.footer-bottom { display: flex; }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 30px 0;
  border-top: 1px solid var(--c-grey);
  text-align: center;
}
.footer-bottom-inner .powered a { color: var(--c-white); font-size: var(--t-footer-size); font-weight: 300; line-height: 1.5em; text-transform: uppercase; }
.footer-bottom-inner .powered a:hover { color: var(--c-grey); }

@media (max-width: 1024px) {
  .footer-main { gap: 50px; padding: 4.5% 5%; }
  .footer-col { padding: 0; }
  .footer-col--logo { flex: 0 0 40%; width: 40%; }
  .footer-col--text, .footer-col--hours { width: 50%; }
  .footer-col--address { width: 40%; }
  .footer-bottom { margin-top: 50px; }
}
@media (max-width: 767px) {
  .footer-main { justify-content: center; gap: 0; padding: 8% 10%; }
  .footer-bottom-inner { padding: 20px 0; }
  .footer-col { width: 100%; padding: 0 0 40px; }
  .footer-col--logo { flex: 0 0 158px; width: 158px; min-height: 100px; padding: 0; }
  .footer-col--address { width: 100%; }
  .footer-bottom { margin-top: 0; padding: 5%; }
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutzerklärung)
   Überschriften wie Hello-Elementor-Theme im Text-Editor-Widget
   -------------------------------------------------------------------------- */
.legal { display: flex; }
.legal-main { border-bottom: 1px solid rgba(188, 176, 160, .26); }   /* Trennlinie Content/Footer, Farbe wie Nav-Linien */
.legal:not(.legal--padded) { padding-bottom: 6%; }                /* Impressum: Abstand zur Trennlinie */
.legal--padded { padding: 6% 7%; }         /* Datenschutzerklärung: 7 % (bezogen auf innere Breite) */
.legal-content { width: 100%; }
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4 {
  font-family: var(--ff-sans);
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
  color: var(--c-white);
  margin: 8px 0 16px;
}
.legal-content h1 { font-size: 40px; }
.legal-content h2 { font-size: 32px; }
.legal-content h3 { font-size: 28px; }
.legal-content h4 { font-size: 24px; }
.legal-content p { margin: 0 0 .9rem; }
.legal-content ul { list-style: disc; padding-left: 1.5em; margin: 0 0 .9rem; }
.legal-content a { word-break: break-word; }
@media (max-width: 767px) {
  .legal--padded { padding: 7%; }
  .legal:not(.legal--padded) { padding: 25px; }   /* Impressum mobil: 25px Innenabstand */
  .legal-content h1 { font-size: 32px; }
  .legal-content h2 { font-size: 26px; }
  .legal-content h3 { font-size: 22px; }
  .legal-content h4 { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   Cookie-Hinweis (Ersatz für Borlabs Cookie – Opt-in für Google Analytics)
   -------------------------------------------------------------------------- */
.cookie-box {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  padding: 16px;
}
.cookie-box.is-visible { display: flex; }
.cookie-dialog {
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  padding: 24px;
}
.cookie-dialog h2 { font-size: 20px; font-weight: 400; text-transform: none; margin-bottom: 12px; color: #333; }
.cookie-dialog p { margin-bottom: 10px; }
.cookie-dialog a { color: var(--c-primary); text-decoration: underline; }
.cookie-groups { display: flex; gap: 24px; margin: 16px 0; flex-wrap: wrap; }
.cookie-groups label { display: inline-flex; align-items: center; gap: 8px; }
.cookie-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cookie-actions button { padding: 12px 16px; font-size: 16px; text-align: center; }
.cookie-btn--all { background: var(--c-primary); color: #fff; }
.cookie-btn--save { background: #f2f2f2; color: #333; }
.cookie-links { margin-top: 12px; font-size: 11px; text-align: center; color: #888; }
.cookie-links a { color: #888; text-decoration: none; }
