/* ============================================================
   JUPP AM SEE – Unterseiten-Styles
   Speisen & Getränke | Brauerei | Feiern | Über uns | Kontakt
   ============================================================ */

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.page-hero-bg.loaded { transform: scale(1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,15,5,0.3) 0%,
    rgba(30,15,5,0.75) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero-content .section-label { color: var(--gold); }
.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 12px;
  margin-top: 4px;
}
.page-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 8px;
}

/* ============================================================
   SPEISEN & GETRÄNKE
   ============================================================ */
.menu-tabs {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-warm);
  width: fit-content;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 12px 28px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
}
.menu-tab.active {
  background: var(--brown-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,42,26,0.25);
}
.menu-tab:hover:not(.active) { color: var(--brown-dark); background: var(--sand); }

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-category { margin-bottom: 48px; }
.menu-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.menu-category-icon { font-size: 1.8rem; }
.menu-category-header h3 { font-size: 1.4rem; color: var(--brown-dark); }
.menu-category-header hr {
  flex: 1;
  border: none;
  height: 1px;
  background: var(--sand-dark);
}

.menu-items { display: flex; flex-direction: column; gap: 2px; }
.menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  gap: 20px;
  transition: background 0.2s;
}
.menu-item:hover { background: var(--sand); }
.menu-item-info { flex: 1; }
.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-badge {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 50px;
}
.badge-veg { background: #d4edda; color: #155724; }
.badge-vegan { background: #c3e6cb; color: #0f5132; }
.badge-gluten { background: #fff3cd; color: #664d03; }
.badge-highlight { background: var(--gold); color: var(--brown-dark); }

.menu-item-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
.menu-item-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-seasonal-box {
  background: linear-gradient(135deg, var(--green-dark) 0%, #3d7020 100%);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu-seasonal-icon { font-size: 3rem; flex-shrink: 0; }
.menu-seasonal-box h4 { color: var(--gold); margin-bottom: 6px; }
.menu-seasonal-box p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }

.allergen-note {
  background: var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 32px;
  border-left: 3px solid var(--gold-dark);
}

/* ============================================================
   BRAUEREI
   ============================================================ */
.brewery-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.brewery-story-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.brewery-story-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.brewery-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  z-index: -1;
}
.brewery-since {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.brewery-story-content h2 { margin-bottom: 20px; }
.brewery-story-content p { margin-bottom: 14px; line-height: 1.8; }

.brewery-beers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.brewery-beer-card {
  background: var(--brown-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.brewery-beer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.brewery-beer-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.brewery-beer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.brewery-beer-card:hover .brewery-beer-img img { transform: scale(1.06); }
.brewery-beer-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,42,26,0.9) 0%, transparent 50%);
}
.brewery-beer-body { padding: 24px; }
.brewery-beer-body .beer-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.beer-abv {
  display: inline-block;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.brewery-beer-body p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.6; }
.beer-season {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.beer-season.available { color: #7bc67e; }
.beer-available-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7bc67e;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.brewery-special-note {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(245,200,66,0.1), rgba(245,200,66,0.05));
  border: 2px dashed rgba(245,200,66,0.3);
  border-radius: var(--radius);
  margin-top: 40px;
}
.brewery-special-note h4 { color: var(--gold-dark); margin-bottom: 8px; }
.brewery-special-note p { font-size: 0.92rem; max-width: 500px; margin: 0 auto 20px; }

/* ============================================================
   FEIERN & EVENTS
   ============================================================ */
.occasion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.occasion-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-warm);
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.occasion-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}
.occasion-icon { font-size: 3rem; margin-bottom: 16px; }
.occasion-card h4 { color: var(--brown-dark); margin-bottom: 8px; }
.occasion-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }

.packages-section { margin-top: 80px; }
.packages-section h2 { text-align: center; margin-bottom: 12px; }
.packages-section > p { text-align: center; color: var(--text-light); margin-bottom: 48px; }
.packages-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-warm); }
.packages-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
}
.packages-table th {
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--sand-dark);
}
.packages-table th:nth-child(1) { background: var(--sand); color: var(--text-light); font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.packages-table th:nth-child(2) { background: var(--sand); }
.packages-table th:nth-child(3) { background: var(--brown-mid); color: var(--white); }
.packages-table th:nth-child(4) { background: var(--brown-dark); color: var(--gold); }
.packages-table td { padding: 14px 24px; border-bottom: 1px solid var(--sand-dark); color: var(--text-mid); }
.packages-table td:nth-child(3) { background: rgba(107,76,42,0.04); }
.packages-table td:nth-child(4) { background: rgba(59,42,26,0.04); }
.packages-table tr:last-child td { border-bottom: none; font-weight: 700; color: var(--brown-dark); }
.check { color: #2D5016; font-weight: 700; }
.cross { color: #ccc; }

.capacity-section {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.capacity-card {
  background: var(--brown-dark);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.capacity-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,200,66,0.08) 0%, transparent 70%);
}
.capacity-card h4 { color: var(--gold); margin-bottom: 8px; font-size: 1.2rem; }
.capacity-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.capacity-unit { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 16px; }
.capacity-card ul { display: flex; flex-direction: column; gap: 8px; }
.capacity-card li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.capacity-card li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* Inquiry Form */
.inquiry-section { margin-top: 80px; }
.inquiry-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-deep);
  max-width: 800px;
  margin: 0 auto;
}
.inquiry-form-wrap h3 { margin-bottom: 8px; }
.inquiry-form-wrap > p { color: var(--text-light); margin-bottom: 32px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--sand);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brown-mid);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-privacy {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 16px 0;
}
.form-privacy a { color: var(--brown-mid); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 8px; }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-section.reverse { direction: rtl; }
.story-section.reverse > * { direction: ltr; }
.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.story-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.story-image:hover img { transform: scale(1.04); }
.story-content h2 { margin-bottom: 16px; }
.story-content p { margin-bottom: 14px; line-height: 1.8; }

/* Timeline */
.timeline {
  position: relative;
  margin: 64px 0;
  padding: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--brown-light), var(--gold));
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-dark);
  text-align: right;
}
.timeline-dot {
  width: 48px; height: 48px;
  background: var(--brown-dark);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 6px rgba(245,200,66,0.1);
  justify-self: center;
}
.timeline-content h4 { color: var(--brown-dark); margin-bottom: 4px; }
.timeline-content p { font-size: 0.88rem; color: var(--text-light); }
.timeline-item:nth-child(even) .timeline-year { text-align: left; grid-column: 3; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-dot { grid-column: 2; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-content { grid-column: 3; }
.timeline-item:nth-child(odd) .timeline-year { grid-column: 1; }
.timeline-item:nth-child(odd) .timeline-dot { grid-column: 2; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(245,200,66,0.25);
  background: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { color: var(--brown-dark); margin-bottom: 4px; }
.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.team-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-warm);
}
.value-icon { font-size: 2.5rem; margin-bottom: 14px; }
.value-card h4 { color: var(--brown-dark); margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 32px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-warm);
}
.contact-info-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  font-family: var(--font-sans);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail a { color: var(--text-mid); transition: color 0.2s; }
.contact-detail a:hover { color: var(--brown-dark); }
.hours-mini-table { width: 100%; border-collapse: collapse; }
.hours-mini-table tr { border-bottom: 1px solid var(--sand-dark); }
.hours-mini-table tr:last-child { border-bottom: none; }
.hours-mini-table td { padding: 8px 0; font-size: 0.88rem; }
.hours-mini-table td:first-child { color: var(--text-light); }
.hours-mini-table td:last-child { font-weight: 700; color: var(--brown-dark); text-align: right; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-deep);
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-light); margin-bottom: 28px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  margin-top: 24px;
  box-shadow: var(--shadow-warm);
  background: var(--sand-dark);
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e9, #dcedc8);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  gap: 8px;
}
.map-placeholder a {
  color: var(--green-dark);
  text-decoration: underline;
  font-size: 0.8rem;
}

/* ============================================================
   SUCCESS MESSAGE (Forms)
   ============================================================ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h4 { color: var(--green-dark); margin-bottom: 8px; }
.form-success p { color: var(--text-light); font-size: 0.92rem; }

/* ============================================================
   RESPONSIVE – Unterseiten
   ============================================================ */
@media (max-width: 1024px) {
  .brewery-story { grid-template-columns: 1fr; }
  .brewery-story-image::after { display: none; }
  .story-section { grid-template-columns: 1fr; }
  .story-section.reverse { direction: ltr; }
  .capacity-section { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .timeline::before { left: 24px; transform: none; }
  .timeline-item { grid-template-columns: 48px 1fr; }
  .timeline-item .timeline-year { display: none; }
  .timeline-item .timeline-dot { grid-column: 1; grid-row: 1; }
  .timeline-item .timeline-content { grid-column: 2; grid-row: 1; text-align: left !important; }
  .timeline-item:nth-child(even) .timeline-year { display: none; }
  .timeline-item:nth-child(even) .timeline-dot { grid-column: 1; }
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
}
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .inquiry-form-wrap { padding: 28px 20px; }
  .contact-form-wrap { padding: 28px 20px; }
  .menu-tabs { gap: 4px; }
  .menu-tab { padding: 10px 16px; font-size: 0.78rem; }
  .page-hero { min-height: 320px; }
}
