/* LIVINGROOM WEIN – Landingpage
   Design eng am Original livingroom-bochum.de (assets/css/base.css u. a.):
   fixes Hintergrundfoto, Header rgba(0,0,0,0.8) mit Raleway-800-Navigation
   und rundem Logo, violette Titelbalken #662682, farbige Aktions-Kacheln,
   weiße "Papier"-Karten mit gestrichelten Linien wie die Original-Speisekarte. */

html {
  overflow-y: scroll;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

a { color: #ff5103; }
a:hover, a:focus { text-decoration: none; }

/* ---------- Fixes Hintergrundfoto (wie #backgrounds im Original) ---------- */
#backgrounds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#backgrounds img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* ---------- Header / Hauptnavigation ---------- */
.header {
  background-color: rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 10;
}

.mainnav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 0.857em;
}

.mainnav ul li a, .mainnav ul li span.active {
  color: #6c6b6b;
  display: block;
  padding: 1em 1.5em;
  text-decoration: none;
  transition: color 400ms;
}

.mainnav ul li a:hover, .mainnav ul li a:focus {
  color: #ddd;
  outline: 0;
}

.mainnav ul li span.active {
  color: #fff;
  cursor: default;
}

.mainnav a.logo {
  display: block;
  width: 62px;
  padding: 1em 1.5em;
  line-height: 1;
}

.mainnav a.logo img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* ---------- Specialnav: farbige Aktions-Kacheln ---------- */
.specialnav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 900;
  padding: 1em 0 1em 1em;
}

.specialnav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 0.857em;
}

.specialnav ul li { margin-top: 1em; }

.specialnav ul li a {
  display: block;
  line-height: 3;
  padding: 0 1em;
  color: #fff;
  text-decoration: none;
  transition: background 50ms;
}

.specialnav ul li a:hover, .specialnav ul li a:focus {
  outline: 0;
  background: rgba(255, 255, 255, 0.1);
}

.specialnav ul li.reservation { background-color: #e2221a; }
.specialnav ul li.lunch { background-color: #ff5103; }
.specialnav ul li.gift { background-color: #9b121e; }

/* ---------- Main ---------- */
.main {
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
  clear: both;
  margin-top: 34%;
  z-index: 1;
  position: relative;
}

.inside {
  padding: 0 7%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}

.main p { margin: 0 0 1em 0; }

/* Violetter Titelbalken – Signatur des Originals */
.main h1.title {
  font-size: 1em;
  font-weight: bold;
  line-height: 3;
  text-transform: uppercase;
  letter-spacing: 4px;
  display: block;
  text-align: center;
  background-color: rgba(102, 38, 130, 0.9);
  margin: 0 0 2em 0;
}

.main .inside + h1.title { margin-top: 3em; }

h2, h3 {
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}

h2 { font-weight: normal; font-size: 1.25em; text-transform: uppercase; letter-spacing: 2px; }
h3 { font-size: 1.125em; text-transform: uppercase; letter-spacing: 2px; }

/* ---------- Intro ---------- */
.intro { max-width: 720px; padding-bottom: 1em; }

.sec-mark {
  display: inline-block;
  border: 1px solid #fff;
  padding: 0 0.5em;
  font-weight: bold;
  letter-spacing: 2px;
}

/* ---------- Subnav-Filter (wie .main .subnav im Original) ---------- */
.subnav ul {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  display: block;
  overflow: hidden;
}

.subnav ul li {
  float: left;
  padding: 0 1em 0 0;
}

.subnav ul li a {
  line-height: 3;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: bold;
  color: #858585;
  text-decoration: none;
  cursor: pointer;
  display: block;
  transition: color 400ms;
}

.subnav ul li.active a { color: #fff; }
.subnav ul li a:hover, .subnav ul li a:focus { color: #ddd; outline: 0; }

/* ---------- Weinkarten: weiße Papier-Karten (wie .carte-box) ---------- */
.carte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.carte-box {
  background-color: #fff;
  color: #000;
  padding: 9% 10%;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.carte-box header {
  border-top: 2px dashed #000;
  border-bottom: 2px dashed #000;
  padding: 0.75em 0;
  margin-bottom: 1em;
}

.carte-box h3 {
  font-size: 1.125em;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.3;
  margin: 0;
}

.carte-box h3 .jahr { font-weight: normal; }

.carte-box .winzer {
  margin: 0.25em 0 0 0;
  font-size: 0.95em;
}

.carte-box .badges { margin-top: 0.5em; }

.badge {
  display: inline-block;
  font-size: 0.75em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid #000;
  padding: 0 0.6em;
  margin-right: 0.5em;
}

.badge.badge-haus { background: #ff5103; border-color: #ff5103; color: #fff; }
.badge.badge-sec { border-color: #000; }

.carte-box .kurz { flex-grow: 1; }

.carte-box .story {
  display: none;
  border-left: 2px dotted #858585;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
  font-size: 0.95em;
}

.carte-box.open .story { display: block; }

.story-toggle {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 1em 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  color: #ff5103;
  cursor: pointer;
  text-align: left;
}

.story-toggle:hover, .story-toggle:focus { text-decoration: underline; outline: 0; }

.carte-box table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.carte-box table td {
  padding: 0.75em 1em 0.75em 0;
  text-align: left;
  border-top: 1px solid #000;
}

.carte-box table td.col_last {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
  font-weight: bold;
}

.empty-hint { color: #858585; font-style: italic; padding: 2em 0; }

.karte-hinweis { margin: 3em 0 0 0; color: #858585; }

/* ---------- Prestige (ce_table auf Schwarz) ---------- */
.prestige { max-width: 720px; }

.ce_table { margin-top: 2em; }

.ce_table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.ce_table table td {
  padding: 1em 1em 1em 0;
  text-align: left;
  vertical-align: top;
}

.ce_table table td.col_last {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

.ce_table table tr { border-bottom: 1px solid #858585; }
.ce_table table tr.row_last { border: 0; }

.prestige-quote { margin-top: 2em; }

/* ---------- Besuch ---------- */
.sc2-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5%;
}

.besuch article { padding-bottom: 1em; }

/* ---------- Toplink (Original-Pfeil) ---------- */
.toplink {
  display: block;
  height: 50px;
  width: 50px;
  margin: 5% auto 0 auto;
}

.toplink img { width: 50px; height: 50px; }
.toplink:hover, .toplink:focus { opacity: 0.5; outline: none; }

/* ---------- Weinberater-Lightbox (nach .lightbox des Originals) ---------- */
.specialnav ul li.berater { background-color: #662682; }

.berater-teaser { font-weight: bold; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(255, 255, 255, 0.8);
  overflow-y: auto;
  padding: 2.5%;
  box-sizing: border-box;
}

body.lightbox-active { overflow: hidden; }

.lightbox-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.lightbox-inner h1.title {
  font-size: 1em;
  font-weight: bold;
  line-height: 3;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  color: #fff;
  background-color: rgba(102, 38, 130, 0.95);
  margin: 0;
}

.lightbox-content {
  background-color: #222;
  color: #fff;
}

.lightbox-content > article { padding: 6% 7%; }

.lightbox-close {
  position: absolute;
  top: -0.4em;
  right: 0;
  transform: translateY(-100%);
  font-size: 2em;
  line-height: 1.5;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover, .lightbox-close:focus { color: #000; }

.berater-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85em;
  margin-bottom: 0.5em;
}

/* Eingabefeld wie das Original-Kontaktformular (.ce_form input.text) */
.berater-input {
  display: block;
  width: 96%;
  max-width: 96%;
  padding: 2%;
  border: 0;
  background-color: #6c6b6b;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin-bottom: 1.5em;
}

.berater-input:hover, .berater-input:focus { outline: 0; background-color: #858585; }
.berater-input::placeholder { color: #ddd; }

.berater-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }

.berater-mode {
  background-color: #662682;
  border: 0;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  padding: 1.25em;
  cursor: pointer;
  transition: background 50ms;
}

.berater-mode:hover, .berater-mode:focus { background-color: #7a2f9c; outline: 0; }
.berater-mode strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  margin-bottom: 0.5em;
}
.berater-mode span { font-size: 0.9em; line-height: 1.5; display: block; }

.berater-progress {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8em;
  color: #858585;
}

.berater-frage {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.25em;
  margin: 0 0 0.75em 0;
}

.berater-hinweis { color: #bbb; font-style: italic; }

.berater-optionen { display: flex; flex-direction: column; gap: 0.6em; margin: 1.25em 0; }

.berater-option {
  background: none;
  border: 1px solid #6c6b6b;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  text-align: left;
  padding: 0.9em 1.2em;
  cursor: pointer;
  transition: all 50ms;
}

.berater-option:hover, .berater-option:focus {
  border-color: #ff5103;
  background: rgba(255, 81, 3, 0.15);
  outline: 0;
}

.berater-zurueck, .berater-neustart {
  background: none;
  border: 0;
  color: #858585;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 0;
}

.berater-zurueck:hover, .berater-neustart:hover { color: #fff; }

.berater-karte { margin: 1.5em 0; padding: 6% 7%; }

.berater-warum-titel {
  color: #ff5103;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 1.5em;
}

.berater-warum { line-height: 1.7; }

.berater-alternative { color: #bbb; }

.berater-abschluss { border-left: 2px dotted #858585; padding-left: 1.5em; color: #ddd; }

.berater-aktionen { display: flex; align-items: center; gap: 2em; margin-top: 1.5em; }

.berater-cta {
  display: inline-block;
  background-color: #e2221a;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 0.857em;
  line-height: 3;
  padding: 0 1.5em;
}

.berater-cta:hover { background-color: #f03028; }

.berater-select {
  display: block;
  width: 100%;
  padding: 0.9em;
  border: 0;
  background-color: #6c6b6b;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin: 1.25em 0 1.5em;
}

.berater-select:hover, .berater-select:focus { outline: 0; background-color: #858585; }

@media screen and (max-width: 600px) {
  .berater-modes { grid-template-columns: 1fr; }
  .lightbox-overlay { padding: 4% 2.5%; }
}

/* ---------- Footer ---------- */
#pagefooter {
  position: relative;
  z-index: 1;
  background: #000;
  text-align: center;
  color: #858585;
  padding: 2em 7% 6em;
}

#pagefooter p { margin: 0 0 0.5em 0; }
#pagefooter a { color: #858585; }
#pagefooter a:hover { color: #ff5103; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 1023px) {
  .specialnav {
    position: relative;
    padding: 0;
  }
  .specialnav ul li { margin-top: 0; }
  .specialnav ul { display: flex; }
  .specialnav ul li { flex: 1; }
  .main { margin-top: 55%; }
}

@media screen and (max-width: 700px) {
  .mainnav ul { letter-spacing: 2px; }
  .mainnav ul li a, .mainnav ul li span.active { padding: 1em 0.5em; }
  .mainnav a.logo { width: 42px; padding: 1em 0.5em; }
  .specialnav ul { flex-wrap: wrap; }
  .specialnav ul li { flex: 1 1 100%; }
  .main { margin-top: 80%; }
  .sc2-wrap { grid-template-columns: 1fr; }
  .carte-grid { grid-template-columns: 1fr; }
  .subnav ul li a { letter-spacing: 2px; }
}

/* Großer Desktop: Logo im schwarzen Kreis wie im Original */
@media screen and (min-width: 1400px) {
  .header { overflow: visible; height: 7em; }
  .mainnav ul { letter-spacing: 3px; }
  .mainnav ul li a, .mainnav ul li span.active { line-height: 5em; padding: 1em 2em; }
  .mainnav a.logo {
    background: #000;
    border-radius: 50%;
    width: 133px;
    height: 133px;
    padding: 0;
    box-sizing: border-box;
  }
  .mainnav a.logo img {
    width: 60%;
    height: 60%;
    padding: 17% 0 0 20%;
    display: block;
  }
  .main { margin-top: 28%; }
}
