/* CSS VARIABLES */
:root {
  --primary-color: #8B4513;
  --secondary-color: #D2691E;
  --accent-color: #FF6B35;
  --background-color: #FFFFFF;
  --text-color: #FFFFFF;
  --text-dark: #333333;
  --card-background: #D2691E;
  --card-background-light: #F5DEB3;
  --wood-dark: #5D4037;
  --wood-light: #8D6E63;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-color);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* HEADER */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 2px;
}

.header-nav {
  display: flex;
  gap: 30px;
}

.header-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.header-nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ZIG-LAYOUT BASE STYLES */
.zig-left,
.zig-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 40px;
  min-height: 600px;
  align-items: center;
  animation: fadeIn 1s ease-out;
}

.zig-left {
  background: linear-gradient(135deg, #8B4513, #D2691E);
  color: var(--text-color);
}

.zig-left h2,
.zig-left h3 {
  color: var(--text-color);
}

.zig-left p {
  color: var(--text-color);
}

.zig-right {
  background: var(--card-background-light);
  color: var(--text-dark);
  direction: rtl;
}

.zig-right > * {
  direction: ltr;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  padding: 100px 40px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: float 3s ease-in-out infinite;
}

.hero-text h1 {
  color: var(--text-color);
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.button {
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.button.primary {
  background-color: var(--accent-color);
  color: var(--text-color);
  border: 2px solid var(--accent-color);
}

.button.primary:hover {
  background-color: #E55A2B;
  border-color: #E55A2B;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.button.secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.button.secondary:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* MENU SECTION */
.menu-section {
  background: var(--card-background-light);
}

.menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.menu-text h2 {
  color: var(--primary-color);
}

.menu-text p {
  color: var(--text-dark);
  font-size: 1.1rem;
}

.menu-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.menu-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.menu-card h3 {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.menu-card p {
  color: var(--text-color);
  margin-bottom: 15px;
  opacity: 0.9;
}

.menu-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* SPEISEN SECTION */
.speisen-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
}

.speisen-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.speisen-text h2 {
  color: var(--text-color);
}

.speisen-text p {
  color: var(--text-color);
  font-size: 1.1rem;
}

.speisen-galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.speise-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.speise-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.speise-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.speise-item h3 {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.speise-item p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.speise-item .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* ATMOSPHERE SECTION */
.atmosphere-section {
  background: var(--card-background-light);
}

.atmosphere-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.atmosphere-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.atmosphere-text h2 {
  color: var(--primary-color);
}

.atmosphere-text p {
  color: var(--text-dark);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* TEAM SECTION */
.team-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
}

.team-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.team-text h2 {
  color: var(--text-color);
}

.team-text p {
  color: var(--text-color);
  font-size: 1.1rem;
}

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

.team-member {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.team-member img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 4px solid var(--accent-color);
}

.team-member h3 {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.team-member p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.team-member .years {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
}

/* LOCATION SECTION */
.location-section {
  background: var(--card-background-light);
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-map iframe {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.location-info h2 {
  color: var(--primary-color);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.booking-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.booking-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
}

.booking-button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.booking-button.secondary:hover {
  background: var(--primary-color);
  color: var(--text-color);
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, var(--wood-dark), var(--primary-color));
  color: var(--text-color);
  padding: 40px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-copyright p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 14px;
}

/* ADDITIONAL PAGES STYLES */
.impressum-section,
.agb-section,
.datenschutz-section {
  background: var(--card-background-light);
  padding: 80px 40px;
  min-height: 60vh;
}

.impressum-container,
.agb-container,
.datenschutz-container {
  max-width: 900px;
  margin: 0 auto;
}

.impressum-content,
.agb-content,
.datenschutz-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.impressum-content h2,
.agb-content h2,
.datenschutz-content h2 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.impressum-content h2:first-child,
.agb-content h2:first-child,
.datenschutz-content h2:first-child {
  margin-top: 0;
}

.impressum-content p,
.agb-content p,
.datenschutz-content p {
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.8;
}

.impressum-content a,
.agb-content a,
.datenschutz-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.impressum-content a:hover,
.agb-content a:hover,
.datenschutz-content a:hover {
  color: var(--accent-color);
}

.agb-date,
.datenschutz-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid var(--card-background-light);
  font-style: italic;
  color: var(--text-dark);
}

/* MENU PAGE STYLES */
.menu-page-section {
  background: var(--card-background-light);
  padding: 80px 40px;
  min-height: 80vh;
}

.menu-page-container {
  max-width: 1000px;
  margin: 0 auto;
}

.menu-page-container h1 {
  color: var(--primary-color);
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}

.menu-page-intro {
  text-align: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 60px;
  line-height: 1.8;
}

.menu-category {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.menu-category h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent-color);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--card-background-light);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateX(10px);
  background: #E8C8A8;
}

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

.menu-item-info h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.menu-item-info p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
}

.menu-item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-left: 20px;
  white-space: nowrap;
}

.menu-page-footer {
  text-align: center;
  margin-top: 40px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .zig-left,
  .zig-right,
  .hero-container,
  .menu-container,
  .speisen-container,
  .atmosphere-container,
  .team-container,
  .location-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zig-right {
    direction: ltr;
  }

  .hero-image img {
    height: 300px;
  }

  .menu-cards,
  .speisen-galerie,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .impressum-section,
  .agb-section,
  .datenschutz-section {
    padding: 60px 20px;
  }

  .impressum-content,
  .agb-content,
  .datenschutz-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 20px;
    padding: 15px 20px;
  }

  .header-nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-nav a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .zig-left,
  .zig-right {
    padding: 40px 20px;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .menu-cards,
  .speisen-galerie,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero-image img {
    height: 250px;
  }

  .button {
    padding: 12px 24px;
    font-size: 14px;
  }
}
