/* Hirschgasse Heidelberg — custom CSS rebuild */
@import url('https://fonts.googleapis.com/css2?family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400&family=Quattrocento:wght@400;700&family=Cinzel:wght@400;700&display=swap');

:root {
  --primary:   #6f1616;
  --accent:    #821e1e;
  --brown:     #322923;
  --bg:        #1a1a1a;
  --beige:     #e5d9c3;
  --text:      #ffffff;
  --text-dark: #322923;
  --border:    #e5d9c3;
  --blue:      #009fe3;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 10px; overflow-x: hidden; }
body {
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 1.6em;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--beige); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin-bottom: 1.4em; line-height: 1.5; font-size: 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0.75em 0 1em 1.5em; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 { font-size: 2.8em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 0.9em; font-family: 'Quattrocento Sans', sans-serif; font-weight: 700; }
.text-center { text-align: center; }

/* ─────────────── LAYOUT WRAPPER ─────────────── */
.hg-wrap { overflow: hidden; }
.hg-wrap-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; }

/* ─────────────── HEADER & NAV ─────────────── */
.hg-header {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  position: relative;
}
.hg-header__nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
}
.hg-header__nav-wrap {
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  height: 5.5rem;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
}
.hg-header__nav__logo { flex-shrink: 0; }
.hg-header__nav__logo img { width: 130px; display: block; }
.hg-nav-main {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  margin-left: 3rem;
  gap: 0;
}
.hg-nav-main > li {
  position: relative;
}
.hg-nav-main > li > a {
  display: block;
  padding: 0 1.2rem;
  height: 5.5rem;
  line-height: 5.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  white-space: nowrap;
}
.hg-nav-main > li > a:hover,
.hg-nav-main > li > a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  text-decoration: none;
}
/* Dropdown */
.hg-nav-main > li > .dropdown {
  display: none;
  position: absolute;
  top: 5.5rem;
  left: 0;
  background: rgba(111,22,22,0.96);
  min-width: 180px;
  z-index: 9999;
  padding: 0.8rem 0;
  list-style: none;
}
.hg-nav-main > li:hover > .dropdown { display: block; }
.hg-nav-main > li > .dropdown li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #fff;
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Cinzel', serif;
  white-space: nowrap;
}
.hg-nav-main > li > .dropdown li a:hover { text-decoration: underline; }
.hg-header__nav__add {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8em;
  color: #333;
}
.hg-header__nav__add a { color: #333; }
.hg-header__nav__add a:hover { color: var(--primary); text-decoration: none; }

/* Mobile burger */
.hg-burger { display: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; }
.hg-burger span { display: block; width: 22px; height: 2px; background: #333; }

/* ─────────────── HERO / SLIDER ─────────────── */
.hg-hero {
  position: relative;
  min-height: 60rem;
  background: var(--bg);
  overflow: hidden;
  margin-top: 5.5rem;
}
.hg-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hg-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.hg-hero__content {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  padding: 0 2rem;
}
.hg-hero__pre {
  display: block;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: var(--beige);
  font-family: 'Quattrocento Sans', sans-serif;
}
.hg-hero__title {
  font-size: 4.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hg-hero__text {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.hg-splitter {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--beige);
  margin: 1.5rem auto;
}

/* ─────────────── BUTTONS ─────────────── */
.hg-btn-filled {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 2rem;
  padding: 1rem 2.5rem;
  font-family: 'Quattrocento Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
}
.hg-btn-filled:hover { background: var(--primary); text-decoration: none; color: #fff; }

.hg-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 2rem;
  padding: 0.8rem 2rem;
  font-family: 'Quattrocento Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.hg-btn-outline:hover { background: #fff; color: var(--primary); text-decoration: none; }

/* ─────────────── SECTIONS ─────────────── */
.hg-main {
  float: left;
  width: 100%;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.hg-section {
  position: relative;
  float: left;
  width: 100%;
  border-top: 4px solid var(--beige);
}
.hg-section::after { display: table; content: ''; clear: both; }
.hg-section--red { background: var(--primary); }
.hg-section--brown { background: var(--brown); }
.hg-section--grey { background: #2a2a2a; }
.hg-section--white { background: #fff; color: var(--text-dark); }
.hg-section--white a { color: var(--primary); }
.hg-section--img-covered { position: relative; min-height: 40rem; background: #111; }
.hg-section--parallax { position: relative; background: var(--bg); }
.hg-section__content {
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
}
.hg-section__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
}
.hg-section__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* ─────────────── TEASER GRID ─────────────── */
.hg-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.hg-teaser--two { grid-template-columns: repeat(2, 1fr); }
.hg-teaser--four { grid-template-columns: repeat(4, 1fr); }
.hg-teaser__item {
  background: #fffaf4;
  color: var(--text-dark);
  overflow: hidden;
  border: 5px solid #fff;
}
.hg-teaser__item a { color: var(--text-dark); }
.hg-teaser__item__img {
  overflow: hidden;
  height: 22rem;
}
.hg-teaser__item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.hg-teaser__item:hover .hg-teaser__item__img img { transform: scale(1.05); }
.hg-teaser__item__foot {
  padding: 2rem;
  text-align: center;
}
.hg-teaser__item__foot h3 { font-size: 1.2em; margin-bottom: 0.8rem; color: var(--primary); }
.hg-teaser__item__foot p { font-size: 0.85em; color: #444; margin-bottom: 0.6em; }
.hg-teaser__item__foot hr { border: none; border-top: 1px solid var(--beige); margin: 1rem 0; }

/* Content teasers (parallax section) */
.hg-teaser__item--content {
  background: #fffaf4;
  color: var(--text-dark);
}
.hg-teaser__item--content--red {
  background: linear-gradient(to bottom, #971a1a, #5c0707);
  color: #fff;
}
.hg-teaser__item--content--red a { color: #fff; }
.hg-teaser__item-wrap { padding: 2.5rem; float: left; width: 100%; }
blockquote {
  color: var(--primary);
  margin: 1.5rem 0;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  padding: 1.5rem 0;
}
.hg-teaser__item--content--red blockquote { color: #fff; border-color: rgba(255,255,255,0.3); }

/* Parallax section bg */
.hg-section--parallax .hg-section__bg {
  background-attachment: fixed;
}
.hg-section--parallax .hg-section__bg-overlay {
  background: rgba(0,0,0,0.6);
}

/* ─────────────── MAP ─────────────── */
.hg-section--map .embed-container {
  position: relative;
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
}
.hg-section--map .embed-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ─────────────── FOOTER ─────────────── */
.hg-footer {
  float: left;
  width: 100%;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.hg-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 5rem 2rem;
  background: #222;
  max-width: 1200px;
  margin: 0 auto;
}
.hg-footer__col h5 {
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--beige);
}
.hg-footer__col ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.hg-footer__col ul li { margin-bottom: 0.8rem; }
.hg-footer__col ul li a { color: rgba(255,255,255,0.7); font-size: 0.85em; }
.hg-footer__col ul li a:hover { color: #fff; text-decoration: underline; }
.hg-footer__contact { text-align: center; font-size: 0.85em; color: rgba(255,255,255,0.7); }
.hg-footer__contact a { color: rgba(255,255,255,0.7); }
.hg-footer__contact a:hover { color: #fff; }
.hg-footer__contact p { margin-bottom: 0.6em; }
.hg-awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.hg-awards__item { text-align: center; }
.hg-awards__item img { max-height: 60px; margin: 0 auto; }
.hg-footer-bottom {
  background: #111;
  text-align: center;
  padding: 1.5rem 2rem;
  font-size: 0.78em;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid #333;
}
.hg-footer-bottom a { color: rgba(255,255,255,0.4); }
.hg-footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ─────────────── MOBILE NAV OVERLAY ─────────────── */
.hg-mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(111,22,22,0.97);
  z-index: 2000;
  overflow-y: auto;
  padding: 2rem;
}
.hg-mobile-nav-overlay.active { display: block; }
.hg-mobile-nav-overlay .mobile-logo { width: 120px; margin-bottom: 2rem; }
.hg-mobile-nav-overlay .mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
}
.hg-mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.hg-mobile-nav-list > li { border-bottom: 1px solid rgba(255,255,255,0.2); }
.hg-mobile-nav-list > li > a {
  display: block;
  padding: 1.4rem 0;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hg-mobile-nav-list > li > a:hover { text-decoration: underline; }
.hg-mobile-nav-list ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem 2rem; }
.hg-mobile-nav-list ul li a { display: block; padding: 0.6rem 0; color: rgba(255,255,255,0.8); font-size: 0.85em; }

/* ─────────────── INNER PAGE CONTENT ─────────────── */
.hg-page-header {
  position: relative;
  min-height: 25rem;
  background: var(--brown);
  margin-top: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hg-page-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hg-page-header__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hg-page-header__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 4rem 2rem;
}
.hg-page-header__content h1 { margin-bottom: 0; }
.hg-page-header__content p { font-size: 1.1em; color: var(--beige); margin-top: 1rem; }

.hg-content-section {
  background: #fff;
  color: var(--text-dark);
  padding: 5rem 2rem;
}
.hg-content-section h2 { color: var(--primary); margin-bottom: 1.5rem; }
.hg-content-section h3 { color: var(--brown); margin-top: 2rem; margin-bottom: 1rem; }
.hg-content-section p { font-size: 1em; color: #444; line-height: 1.7; }
.hg-content-section ul { margin: 0.5em 0 1.5em 1.5em; }
.hg-content-section ul li { color: #444; margin-bottom: 0.4em; }
.hg-content-section a { color: var(--primary); }

/* ─────────────── ARTICLE TABLE (DOCX) ─────────────── */
.article-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-table th { background: var(--primary); color: #fff; padding: 12px; text-align: left; font-family: 'Quattrocento Sans', sans-serif; }
.article-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: #444; }
.article-table tr:nth-child(even) td { background: #f8f9fa; }

.faq-section { margin: 2rem 0; }
.faq-section h3 { background: #f0f4f8; padding: 12px 16px; border-left: 4px solid var(--primary); margin: 0 0 2px; font-size: 1em; color: #222; }
.faq-section p { padding: 12px 16px; background: #fafafa; border-left: 4px solid #ddd; margin-bottom: 16px; font-size: 0.95em; color: #555; }

/* ─────────────── 404 ─────────────── */
.error-404 { text-align: center; padding: 10rem 20px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-404 .big-404 { font-size: 12rem; font-weight: 700; color: var(--primary); line-height: 1; font-family: 'Cinzel', serif; }
.error-404 h2 { font-size: 2rem; margin: 1.5rem 0 1rem; color: var(--beige); }
.error-404 p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.btn-back {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 1.2rem 3rem;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}
.btn-back:hover { background: var(--primary); text-decoration: none; color: #fff; }

/* ─────────────── BOOKING STRIP ─────────────── */
.hg-booking-strip {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 1.2rem 2rem;
  font-size: 0.85em;
}
.hg-booking-strip a {
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.4rem 1.2rem;
  border-radius: 1rem;
  margin-left: 1rem;
}
.hg-booking-strip a:hover { background: rgba(255,255,255,0.2); text-decoration: none; }

/* ─────────────── OPENING HOURS ─────────────── */
.hg-opening-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.hg-opening-hours__item { background: #f8f8f8; padding: 2rem; border-left: 4px solid var(--primary); }
.hg-opening-hours__item h4 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1em; }
.hg-opening-hours__item p { color: #555; font-size: 0.9em; margin-bottom: 0; }

/* ─────────────── ABOUT SECTION ─────────────── */
.hg-about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.hg-about__img img { width: 100%; object-fit: cover; }
.hg-about__text h2 { color: var(--primary); }
.hg-about__text p { color: #444; }
.hg-about--rev .hg-about__img { order: 2; }
.hg-about--rev .hg-about__text { order: 1; }

/* ─────────────── MEDIA QUERIES ─────────────── */
@media (max-width: 1100px) {
  .hg-nav-main > li > a { padding: 0 0.8rem; font-size: 0.72em; }
}
@media (max-width: 900px) {
  .hg-nav-main { display: none; }
  .hg-burger { display: flex; }
  .hg-header__nav__add { display: none; }
  .hg-teaser { grid-template-columns: repeat(2, 1fr); }
  .hg-teaser--four { grid-template-columns: repeat(2, 1fr); }
  .hg-footer-inner { grid-template-columns: 1fr 1fr; }
  .hg-about { grid-template-columns: 1fr; gap: 2rem; }
  .hg-about--rev .hg-about__img, .hg-about--rev .hg-about__text { order: unset; }
}
@media (max-width: 600px) {
  .hg-teaser { grid-template-columns: 1fr; }
  .hg-teaser--four { grid-template-columns: 1fr; }
  .hg-footer-inner { grid-template-columns: 1fr; }
  .hg-hero__title { font-size: 3rem; }
  .hg-section__content { padding: 4rem 1.5rem; }
  .hg-hero { min-height: 45rem; }
  .hg-opening-hours { grid-template-columns: 1fr; }
}
