/* ============================================================
   SHARED STYLES — Gaststätte Rangau & FC Dechsendorf
   ============================================================ */

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

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Nunito', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
}

/* Rangau Theme */
.theme-rangau {
  --primary: #C8792A;
  --primary-dark: #9E3C1E;
  --primary-light: #F5E6D0;
  --accent: #6B7B3A;
  --bg: #FDF6EC;
  --bg2: #FFF8F0;
  --text: #3A2010;
  --text-muted: #8B6040;
  --gold: #D4A847;
  --nav-bg: #3A2010;
  --nav-text: #FDF6EC;
  --heart: #C8792A;
}

/* Dechsendorf Theme */
.theme-dechsendorf {
  --primary: #2D5A27;
  --primary-dark: #1A3A16;
  --primary-light: #E8F4E5;
  --accent: #C8792A;
  --bg: #F4FAF3;
  --bg2: #FFFFFF;
  --text: #1A2E18;
  --text-muted: #4A6B42;
  --gold: #D4A847;
  --nav-bg: #1A2E18;
  --nav-text: #F4FAF3;
  --heart: #2D5A27;
}

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--nav-bg);
  z-index: 1000;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--nav-text);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1010;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--nav-bg);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  z-index: 999;
}

.nav-menu.open {
  max-height: 500px;
  padding: 12px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-menu a {
  display: block;
  padding: 14px 28px;
  color: var(--nav-text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  transition: background var(--transition), padding-left var(--transition);
  border-left: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--primary);
  padding-left: 36px;
  color: var(--gold);
}

/* ─── PAGE WRAPPER ─────────────────────────────────────── */
.page-wrapper { padding-top: 64px; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100svh - 64px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--nav-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  color: var(--nav-text);
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.88;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  color: white;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  80% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; transform: translateY(16px); }
}

/* ─── SECTION COMMONS ──────────────────────────────────── */
.section {
  padding: 60px 20px;
}

.section-alt { background: var(--bg2); }

.container {
  max-width: 800px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 12px 0 24px;
}

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ─── INSTAGRAM CAROUSEL ────────────────────────────────── */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary-light);
  aspect-ratio: 1/1;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  font-size: 3rem;
  gap: 8px;
}

.carousel-placeholder p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 5;
  transition: background var(--transition);
}

.carousel-btn:hover { background: white; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* ─── ÜBER UNS / TEAM ───────────────────────────────────── */
.team-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.team-head-img-wrap {
  position: relative;
  display: inline-block;
}

.heart-frame {
  position: relative;
  display: inline-block;
}

.heart-frame img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.heart-frame::before,
.heart-frame::after {
  content: '♥';
  position: absolute;
  color: var(--heart);
  font-size: 1.2rem;
  animation: heartPulse 2.5s ease-in-out infinite;
}

.heart-frame::before {
  top: -8px;
  right: -8px;
  animation-delay: 0.3s;
}

.heart-frame::after {
  bottom: 10px;
  left: -14px;
  font-size: 0.9rem;
  animation-delay: 1s;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.team-member-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 8px;
  font-style: italic;
}

.team-member-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 2px;
}

.team-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 32px 0;
}

.team-banner::before {
  content: '♥';
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
  top: -10px;
  right: -10px;
  pointer-events: none;
}

.team-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  position: relative;
}

.team-banner p {
  opacity: 0.88;
  font-size: 0.95rem;
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  padding-bottom: 16px;
  position: relative;
}

.team-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  position: relative;
}

.team-card-img-wrap {
  position: relative;
}

.team-card-img-wrap::after {
  content: '♥';
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 28px;
  text-align: center;
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin: 10px 10px 2px;
  font-style: italic;
}

.team-card .role-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0 10px;
}

.floating-heart {
  position: absolute;
  pointer-events: none;
  color: var(--primary);
  opacity: 0.15;
  font-size: 1.5rem;
  animation: floatHeart 6s ease-in-out infinite;
}

@keyframes floatHeart {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* ─── SPEISEKARTE PAGE ──────────────────────────────────── */
.menu-promo {
  text-align: center;
  padding: 50px 24px 32px;
}

.menu-promo h2 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 14px;
}

.cuisine-flags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.cuisine-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.07);
}

.pdf-viewer {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #555;
  display: block;
}

.pdf-container {
  padding: 0 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.pdf-fallback {
  display: none;
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}

/* ─── PARTNER PAGE ──────────────────────────────────────── */
.partner-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.partner-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.partner-item:nth-child(even) { background: var(--bg2); }

.partner-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.partner-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.partner-content {
  padding: 24px 20px;
}

.partner-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 10px;
}

.partner-content p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.partner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.partner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  color: white;
}

/* ─── EVENTS PAGE ─────────────────────────────────────── */
.events-carousel {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  margin-bottom: 32px;
}

.event-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  display: flex;
  align-items: stretch;
  min-height: 100px;
}

.event-icon {
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 1.6rem;
  color: white;
}

.event-content {
  padding: 16px 18px;
}

.event-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}

.event-content p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── RESERVIERUNG PAGE ─────────────────────────────────── */
.floor-plan {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.floor-plan h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}

.floor-plan svg {
  width: 100%;
  height: auto;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,121,42,0.15);
}

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

.btn-primary {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.lieferando-box {
  background: linear-gradient(135deg, #FF8000, #E65000);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  color: white;
  margin-top: 32px;
}

.lieferando-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.lieferando-box p {
  opacity: 0.9;
  margin-bottom: 20px;
  font-size: 0.93rem;
}

.btn-lieferando {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #FF8000;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-lieferando:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #FF8000;
}

/* ─── KONTAKT PAGE ──────────────────────────────────────── */
.kontakt-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.kontakt-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 14px;
}

.kontakt-card-header .icon {
  font-size: 1.5rem;
}

.kontakt-card-header h3 {
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.kontakt-card-body {
  padding: 20px;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.kontakt-item:last-child { border-bottom: none; }

.kontakt-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.kontakt-item .info {
  flex: 1;
}

.kontakt-item .info .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 2px;
}

.kontakt-item .info a,
.kontakt-item .info p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.kontakt-item .info a:hover { color: var(--primary); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hours-row {
  display: contents;
}

.hours-row .day,
.hours-row .time {
  padding: 8px 12px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hours-row .day { font-weight: 600; color: var(--text); }
.hours-row .time { color: var(--text-muted); text-align: right; }
.hours-row.closed .day,
.hours-row.closed .time { color: #aaa; }
.hours-row.today .day,
.hours-row.today .time { color: var(--primary); font-weight: 700; }

.map-embed {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: var(--radius);
  margin-top: 8px;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 40px 20px 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-sub {
  font-size: 0.83rem;
  opacity: 0.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  color: var(--nav-text);
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
  color: var(--gold);
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 28px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.83rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.78rem;
  opacity: 0.5;
  text-align: center;
}

/* ─── OPENING HOURS WIDGET ──────────────────────────────── */
.hours-widget {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ─── BACK BUTTON ─────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  color: var(--nav-text);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition);
}

.back-btn:hover {
  background: rgba(255,255,255,0.18);
  color: var(--nav-text);
}

/* ─── RESPONSIVE (tablet+) ─────────────────────────────── */
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-item {
    flex-direction: row;
    align-items: center;
  }
  .partner-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .partner-img, .partner-img-placeholder {
    width: 50%;
    flex-shrink: 0;
    aspect-ratio: 16/9;
  }
  .team-head {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 32px;
  }
  .team-head-img-wrap { flex-shrink: 0; }
}

/* ─── UTILITIES ─────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.fade-in { animation: fadeUp 0.7s ease both; }
.fade-in-delay { animation: fadeUp 0.7s ease 0.2s both; }



/* ─── NEW SOCIAL MEDIA ICONS (footer) ──────────────────────── */
.footer-social-new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.footer-social-new a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--nav-text);
  padding: 9px 16px 9px 9px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.footer-social-new a:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-2px);
  color: white;
  border-color: rgba(255,255,255,0.22);
}

.sm-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sm-label {
  font-weight: 700;
  font-size: 0.82rem;
}

.sm-handle {
  display: none;
}

@media (min-width: 420px) {
  .sm-handle {
    display: inline;
    opacity: 0.55;
    font-size: 0.75rem;
    font-weight: 400;
  }
  .sm-label::after {
    content: ' ·';
    margin-right: 3px;
  }
}

/* ─── KONTAKT SOCIAL GRID ───────────────────────────────────── */
.kontakt-social-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kontakt-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.07);
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.kontakt-social-link:hover {
  background: rgba(0,0,0,0.06);
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  color: var(--text);
}

.kontakt-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt-social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kontakt-social-platform {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.kontakt-social-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── COOKIE BANNER ─────────────────────────────────────────── */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--nav-bg, #2A1508);
  color: rgba(255,255,255,0.9);
  padding: 16px 20px 20px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  border-top: 2px solid var(--primary, #C8792A);
}

#cookieBanner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cookie-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.cookie-text a {
  color: var(--gold, #D4A847);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
  letter-spacing: 0.02em;
}

.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }

.cookie-btn-accept {
  background: var(--primary, #C8792A);
  color: white;
  flex: 1;
}

.cookie-btn-necessary {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18) !important;
}

.cookie-btn-settings {
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  padding: 10px 12px;
  font-weight: 600;
}

/* ─── GOOGLE MAPS CONSENT OVERLAY ───────────────────────────── */
.maps-consent-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.maps-consent-box {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  max-width: 280px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.maps-consent-box p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.5;
}

.maps-consent-btn {
  background: var(--primary, #C8792A);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.maps-consent-btn:hover { transform: translateY(-1px); }

/* ─── LEGAL PAGES ───────────────────────────────────────────── */
.legal-section {
  padding-top: 0 !important;
}

.legal-block {
  margin-bottom: 32px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.legal-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin: 12px 0 6px;
}

.legal-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-block a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-placeholder {
  background: #FFF3CD;
  color: #856404;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #FFECB5;
}



/* ─── LANGUAGE SWITCHER (dropdown) ─────────────────────────── */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  margin-right: 4px;
  z-index: 1100;
}

/* Trigger — single flag button always visible */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 9px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.lang-trigger:hover,
.lang-switcher.open .lang-trigger {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
}

.lang-chevron {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  transition: transform 0.25s ease;
  line-height: 1;
  margin-top: 1px;
}

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--nav-bg, #2A1508);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  min-width: 90px;
  /* Hidden state */
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: top left;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Individual options inside the dropdown */
.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  color: rgba(255,255,255,0.7);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}

.lang-opt:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ─── DECHSI-KARTE SECTION ─────────────────────────────────── */
.dechsi-karte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.dechsi-karte-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.dechsi-karte-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}

.dechsi-karte-body {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dechsi-karte-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.25;
}

.dechsi-karte-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
