/* ============================================
   Pizzeria Azzurra am Ring — Redesign
   Klassisch, seriös, italienisch
   ============================================ */

/* --- Reset & Basis --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-dark: #1a1a1a;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-cream: #faf8f4;
  --color-warm: #f5f0e8;
  --color-accent: #8b2d1a;
  --color-accent-hover: #a63d28;
  --color-gold: #c9a84c;
  --color-gold-light: #dfc06e;
  --color-green: #3d6b4f;
  --color-white: #ffffff;
  --color-border: #e0dbd2;
  --color-footer-bg: #1a1a1a;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1140px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header / Navigation --- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--color-text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

.header-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.header-phone span {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.78rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 3.2rem;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-content .hero-tagline {
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
}

.hero-content .hero-cta {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 3px;
  transition: background var(--transition), transform var(--transition);
}

.hero-content .hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* --- Info Bar --- */
.info-bar {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1.8rem 0;
}

.info-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.info-item h4 {
  color: var(--color-gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

.info-item p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.info-item .highlight {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* --- Section Generics --- */
.section {
  padding: 4rem 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--color-gold);
  margin: 1rem auto 2rem;
}

/* --- Page Header (Unterseiten) --- */
.page-header {
  background: var(--color-dark);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

.page-header p {
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Menu Card Grid --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.2rem;
}

.menu-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.3rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.menu-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.4rem;
}

.menu-card-name {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-dark);
}

.menu-card-number {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.menu-card-price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.95rem;
  white-space: nowrap;
}

.menu-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --- Size Legend --- */
.size-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.size-legend-item {
  text-align: center;
}

.size-legend-item .size-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-dark);
}

.size-legend-item .size-value {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* --- Extras Box --- */
.extras-box {
  background: var(--color-warm);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 2.5rem;
}

.extras-box h3 {
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.extras-group h4 {
  font-size: 0.92rem;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.extras-group p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Big Pizza / Party Pizza --- */
.special-pizza {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.special-pizza-card {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
}

.special-pizza-card h3 {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.special-pizza-card p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.special-pizza-card .price-big {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 0.5rem;
}

/* --- Pasta Uniform Price --- */
.pasta-price-banner {
  text-align: center;
  background: var(--color-warm);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.2rem;
  margin-bottom: 2.5rem;
}

.pasta-price-banner .price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.pasta-price-banner p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Fleisch Layout --- */
.fleisch-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.fleisch-type {
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem;
}

.fleisch-type h3 {
  margin-bottom: 0.3rem;
}

.fleisch-type .price-tag {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
}

.fleisch-type p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.fleisch-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-style: italic;
}

.menu-list {
  max-width: 700px;
  margin: 0 auto;
}

.menu-list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.menu-list-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-dark);
}

.menu-list-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.15rem;
}

/* --- Getränke --- */
.drink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.drink-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drink-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-dark);
}

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

.drink-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Hinweise / Inhaltsstoffe --- */
.hinweise {
  background: var(--color-warm);
  padding: 2.5rem 0;
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.hinweise p {
  margin-bottom: 0.5rem;
}

.hinweise strong {
  color: var(--color-text);
}

/* --- Footer --- */
.site-footer {
  background: var(--color-footer-bg);
  color: #aaa;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--color-gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 0.2rem;
}

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

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-links a {
  margin-left: 1.5rem;
  color: #888;
  font-size: 0.78rem;
}

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

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.legal-content p {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.8;
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  font-size: 0.92rem;
  color: var(--color-text);
}

.legal-content ul li {
  margin-bottom: 0.3rem;
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.contact-icon {
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0.3rem;
}

/* --- Rating Overview --- */
.rating-overview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2.5rem;
}

.rating-big {
  text-align: center;
}

.rating-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.rating-stars {
  margin-bottom: 0.5rem;
}

.star {
  font-size: 1.5rem;
  color: #ddd;
}

.star.filled {
  color: #e8b730;
}

.star.half {
  background: linear-gradient(90deg, #e8b730 50%, #ddd 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-count {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rating-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 1rem;
}

.bar-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: right;
}

.bar-track {
  height: 10px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 5px;
  transition: width 1s ease;
}

.bar-fill-gold {
  background: var(--color-gold);
}

.bar-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

/* --- Reviews Grid --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.8rem;
  transition: box-shadow var(--transition);
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
}

.review-meta {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.review-stars {
  margin-left: auto;
}

.review-stars .star {
  font-size: 1rem;
}

.review-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.review-text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.review-ratings-mini {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.review-ratings-mini span {
  font-size: 0.75rem;
  background: var(--color-warm);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  color: var(--color-text);
  font-weight: 500;
}

/* --- Welcome Gallery --- */
   .welcome-gallery {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.5rem;
     margin-top: 2.5rem;
     max-width: 900px;
     margin-left: auto;
     margin-right: auto;
   }

   .gallery-item {
     position: relative;
     overflow: hidden;
     border-radius: 4px;
     border: 1px solid var(--color-border);
     background: var(--color-white);
   }

   .gallery-item img {
     width: 100%;
     height: 280px;
     object-fit: cover;
     display: block;
     transition: transform 0.6s ease;
   }

   .gallery-item:hover img {
     transform: scale(1.03);
   }

   .gallery-caption {
     padding: 0.9rem 1.2rem;
     text-align: center;
     font-family: var(--font-heading);
     font-size: 0.92rem;
     font-style: italic;
     color: var(--color-text-light);
     background: var(--color-white);
     border-top: 1px solid var(--color-border);
   }

   @media (max-width: 600px) {
     .welcome-gallery {
       grid-template-columns: 1fr;
     }
     .gallery-item img {
       height: 220px;
     }
   }

   /* --- Language Switcher --- */
   .lang-switch {
     position: fixed;
     top: 50%;
     right: 0;
     transform: translateY(-50%);
     z-index: 1100;
     display: flex;
     flex-direction: column;
     background: var(--color-white);
     border: 1px solid var(--color-border);
     border-right: none;
     border-radius: 4px 0 0 4px;
     box-shadow: -2px 2px 12px rgba(0,0,0,0.08);
     overflow: hidden;
   }

   .lang-switch a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 44px;
     height: 40px;
     font-size: 0.75rem;
     font-weight: 700;
     letter-spacing: 0.04em;
     color: var(--color-text-light);
     text-transform: uppercase;
     transition: background var(--transition), color var(--transition);
   }

   .lang-switch a:hover {
     background: var(--color-warm);
     color: var(--color-accent);
   }

   .lang-switch a.active {
     background: var(--color-dark);
     color: var(--color-gold);
     pointer-events: none;
   }

   .lang-switch a + a {
     border-top: 1px solid var(--color-border);
   }

   /* --- Responsive --- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 1rem 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.7rem 1.5rem;
    width: 100%;
  }

  .main-nav a::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .info-bar-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .special-pizza {
    grid-template-columns: 1fr;
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }

  .fleisch-header {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rating-overview {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rating-bar-row {
    grid-template-columns: 100px 1fr 60px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-links a {
    margin: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    min-height: 380px;
  }

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

  .section {
    padding: 2.5rem 0;
  }

  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}