/* ============================================
   Pension Jung - Stylesheet
   Farben und Schriften an das bisherige Erscheinungsbild angelehnt
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --maroon: #7a1414;
  --maroon-dark: #5c0f0f;
  --cream: #F3EFE4;
  --gold: #F1A852;
  --gold-dark: #d68f3f;
  --text-on-maroon: #ffffff;
  --text-on-cream: #816354;
  --heading-font: 'Great Vibes', cursive;
  --body-font: 'Lora', Georgia, serif;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; font-family: var(--body-font); background-color: var(--maroon); background-image: url('../images/tapete.png'); background-repeat: repeat; color: var(--text-on-maroon); line-height: 1.7; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 30px;
  color: var(--maroon);
  text-decoration: none;
}

.brand img { height: 42px; width: 42px; border-radius: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--maroon);
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .3px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 24px 18px;
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  }
  .main-nav.open { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 56px 20px 40px;
}

.hero img { max-width: 140px; width: 100%; margin: 0 auto; border-radius: 6px; }

.hero h1 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 40px;
  margin: 24px 0 0;
}

.hero .subtitle {
  font-style: italic;
  opacity: .9;
  margin-top: 6px;
}

/* ---------- Sections ---------- */

section {
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

section.cream {
  background: var(--cream);
  color: var(--text-on-cream);
}

section.cream a { color: var(--maroon); }

h2.section-title {
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 44px;
  margin: 0 0 34px;
}

section.cream h2.section-title,
section.cream h3 { color: var(--maroon); }

p a, .prose a {
  color: var(--gold);
  text-decoration: underline;
}

section.cream p a, section.cream .prose a {
  color: var(--maroon);
  font-weight: 600;
}

.prose p { margin: 0 0 16px; }

/* ---------- Galerie ---------- */

.gallery-group { margin-bottom: 40px; }

.gallery-group h3 {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-grid-wide {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 480px) {
  .gallery-grid-wide { grid-template-columns: 1fr; }
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- Preise ---------- */

table.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 30px;
}

table.price-table td {
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  font-size: 15px;
  vertical-align: top;
}

table.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: var(--maroon);
}

.note {
  font-size: 14px;
  opacity: .85;
  font-style: italic;
}

/* ---------- Formular ---------- */

form.contact-form {
  max-width: 520px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form.contact-form input,
form.contact-form textarea {
  padding: 13px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 15px;
}

form.contact-form textarea { min-height: 130px; resize: vertical; }

form.contact-form button {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
}

form.contact-form button:hover { background: var(--gold-dark); }

.contact-info {
  text-align: center;
  margin-bottom: 10px;
}

.contact-info a { color: var(--gold); text-decoration: none; font-weight: 600; }

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 6px;
  margin-top: 34px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  text-align: center;
  padding: 30px 20px 40px;
  font-size: 13px;
  opacity: .85;
}

footer.site-footer a { color: var(--gold); text-decoration: none; }

/* ---------- Cookie-Hinweis ---------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2b0b0b;
  color: #f3efe4;
  padding: 16px 20px;
  display: none;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0,0,0,.3);
}

.cookie-banner.visible { display: flex; }

.cookie-banner button {
  padding: 9px 20px;
  font-size: 13px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-banner .accept { background: var(--gold); color: #fff; }
.cookie-banner .reject { background: transparent; color: #f3efe4; border: 1px solid #f3efe4; }

/* ---------- Zimmer/Preise Utility ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: flex-start;
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  h2.section-title { font-size: 34px; }
  .hero h1 { font-size: 32px; }
}

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin-bottom: 8px; }

.success-box {
  max-width: 560px;
  margin: 30px auto;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  margin-top: 18px;
  background: var(--gold);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
