/* ══════════════════════════════════════════
   Gasthaus Stammbaum Andernach – Global CSS
   Farbschema: Weinrot + Creme + Dunkelgold
   v2 – modernisiert
   ══════════════════════════════════════════ */

:root {
  --red:     #8B1520;
  --red2:    #6D0F19;
  --red3:    #A01C28;
  --gold:    #C8A84B;
  --gold2:   #B8962E;
  --cream:   #F8F3EB;
  --cream2:  #EFE8D8;
  --white:   #FFFFFF;
  --dark:    #1C1008;
  --gray:    #5A4A3A;
  --lgray:   #8A7A6A;
  --border:  #D9C9B0;
  --shadow:  rgba(139,21,32,.15);

  /* Modernisierung */
  --radius:  6px;
  --radius-sm: 3px;
  --trans:   .22s cubic-bezier(.4,0,.2,1);
  --font-body: 'Georgia', 'Times New Roman', serif;
  --font-ui:   -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--trans); }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; color: var(--red); }
h3 { font-size: 1.15rem; color: var(--red2); }
p  { color: var(--gray); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--red);
  box-shadow: 0 3px 12px var(--shadow);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: .5px;
  padding: 10px 0;
  white-space: nowrap;
}

.nav-logo span { color: var(--white); font-weight: normal; font-size: .9rem; }

/* Logo-Bild in der Navigation */
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  /* Weißer Hintergrund entfernt → Logo auf rotem Nav optimal sichtbar */
  filter: brightness(0) invert(1);
  transition: opacity var(--trans);
}
.nav-logo:hover .nav-logo-img { opacity: .85; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a,
.nav-menu > li > button {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--white);
  padding: 18px 16px;
  font-size: .88rem;
  letter-spacing: .4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s, color .18s;
}

.nav-menu > li > a:hover,
.nav-menu > li > button:hover,
.nav-menu > li.active > a,
.nav-menu > li.active > button {
  background: var(--red2);
  color: var(--gold);
}

/* dropdown arrow */
.nav-menu > li > button::after { content: ' ▾'; font-size: .7rem; opacity: .8; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--red2);
  border-top: 2px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.nav-menu > li:hover .dropdown,
.nav-menu > li:focus-within .dropdown { display: block; }

.dropdown a {
  display: block;
  color: var(--white);
  padding: 11px 20px;
  font-size: .86rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .15s, color .15s;
}

.dropdown a:hover { background: var(--red); color: var(--gold); }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }

/* ── PAGE HERO (reused across subpages) ── */
.page-hero {
  background: var(--red);
  color: var(--white);
  padding: 56px 28px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red2) 0%, var(--red) 60%, var(--red3) 100%);
  opacity: .9;
}
.page-hero > * { position: relative; }
.page-hero .breadcrumb {
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: sans-serif;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 580px; margin: 12px auto 0; }

/* ── SECTION WRAPPER ── */
.section { scroll-margin-top: 60px; }
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 28px;
}
.container-sm { max-width: 820px; }

.section-label {
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 6px;
  font-family: sans-serif;
  font-weight: 600;
}

.divider {
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin: 14px 0 32px;
  border-radius: 2px;
}

.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream2); }
.bg-red    { background: var(--red); color: var(--white); }
.bg-dark   { background: var(--dark); color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  text-align: center;
}
.btn-red   { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red2); border-color: var(--red2); transform: translateY(-1px); }
.btn-gold  { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: bold; }
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--red); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--trans), transform var(--trans);
}
.card:hover { box-shadow: 0 10px 32px var(--shadow); transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; font-size: 1rem; }
.card p  { font-size: .9rem; margin: 0; }

/* ── PHOTO GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 32px;
}
.gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}
.gallery img:hover { transform: scale(1.04); box-shadow: 0 10px 28px rgba(0,0,0,.22); }

/* ── PRICE TABLE ── */
.price-box {
  background: var(--red);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow);
}
.price-box h3 { color: var(--gold); margin-bottom: 20px; font-size: 1.1rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.price-row:last-child { border-bottom: none; }
.price-row .price { font-size: 1.4rem; font-weight: bold; color: var(--gold); }

/* ── AMENITIES LIST ── */
.amenity-list { list-style: none; }
.amenity-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--gray);
}
.amenity-list li::before { content: '✓'; color: var(--red); font-weight: bold; flex-shrink: 0; }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: .82rem; color: var(--lgray); font-family: sans-serif; letter-spacing: .3px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,21,32,.08);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-full { grid-column: 1 / -1; }

/* ── INFO BLOCK ── */
.info-block {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.info-block .icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.info-block strong { display: block; color: var(--dark); margin-bottom: 3px; }
.info-block p { margin: 0; font-size: .92rem; }

/* ── OPENING TIMES ── */
.times-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.time-card {
  background: var(--red);
  color: var(--white);
  padding: 28px 24px;
  border-radius: 3px;
  text-align: center;
}
.time-card.gold-card { background: var(--gold); color: var(--dark); }
.time-card h3 { color: inherit; opacity: .75; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.time-card .big { font-size: 1.4rem; font-weight: bold; }
.time-card .sub { font-size: .9rem; margin-top: 6px; opacity: .8; }

/* ── QUOTE ── */
.blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 20px 28px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--dark);
  border-radius: 0 3px 3px 0;
}
.blockquote cite { display: block; margin-top: 10px; font-size: .85rem; font-style: normal; color: var(--lgray); }

/* ── MAP ── */
.map-wrap { border-radius: 3px; overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: none; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 28px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer-inner h4 { color: var(--gold); font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; font-family: sans-serif; }
.footer-inner p, .footer-inner a { font-size: .88rem; line-height: 1.9; color: rgba(255,255,255,.55); }
.footer-inner a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 18px 28px;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--red2);
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a,
  .nav-menu > li > button { padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .dropdown { position: static; display: none; background: rgba(0,0,0,.2); border: none; box-shadow: none; }
  .nav-menu > li.open .dropdown { display: block; }
  .dropdown a { padding-left: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .times-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 48px 20px; }
  .page-hero { padding: 44px 20px 36px; }
}
