/* ============================= */
/* Grundlagen                     */
/* ============================= */
body {
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================= */
/* Header                          */
/* ============================= */
header {
    display: flex;
    justify-content: center; /* Logo + Menü zentrieren */
    align-items: center;
    padding: 30px 40px;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 50px; /* Abstand zwischen Logo und Menü */
}

.logo img {
    height: 90px;   /* Größe des Logos */
    width: auto;    /* Seitenverhältnis beibehalten */
    display: block;
}

/* ============================= */
/* Navigation                     */
/* ============================= */
nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #000;
    font-size: 1.4em;
    font-weight: 500;
    padding: 5px 10px;       /* optional etwas Abstand innen */
    border-radius: 5px;      /* optionale abgerundete Ecken */
    transition: color 0.3s, background-color 0.3s; /* sanfter Übergang */
}

nav a.active {
    color: #f7af5b;
}

nav a:hover {
    color: #fff;              /* Schriftfarbe beim Hover */
    background-color: #000;   /* Hintergrund beim Hover */
}

/* ============================= */
/* Burger & Mobile Menü           */
/* ============================= */
.burger {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 3;
}

.burger div {
    width: 30px;
    height: 4px;
    background-color: #000;
}

.close {
    display: none;
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2em;
    color: #000;
    cursor: pointer;
    z-index: 11;
}

/* Mobile Overlay Menü */
@media (max-width: 768px) {
    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 10;
    }

    nav.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .close {
        display: flex;
    }
}

/* ============================= */
/* Main Inhalt                     */
/* ============================= */
main {
    padding: 30px;
}

/* ============================= */
/* Footer                          */
/* ============================= */
footer {
    background-color: #f0f0f0;
    color: #000;
    text-align: center;
    padding: 20px 0;
    font-size: 1.1em;
}

footer a {
    color: #000;
}

footer p {
    margin: 5px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

.social-links img:hover {
    opacity: 1;
    transform: scale(1.1);
}
/* Hero Section Styles */
.hero {
  height: 100vh; /* volle Höhe des Bildschirms */
  background: url('bilder/thresen.jpg') center/cover no-repeat; /* Hintergrundbild */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dunkle Overlay für bessere Lesbarkeit */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background-color: #f7af5b; /* Farbe aus Logo */
  color: #fff;
  padding: 15px 30px;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.hero-btn:hover {
  background-color: #000;
  transform: scale(1.05);
}

/* Scroll-Arrow jetzt fixed unten */
.scroll-down {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3.5rem;
  color: #fff;
  animation: bounce 2s infinite;
  transition: opacity 0.5s;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  z-index: 100; /* über allem */
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* Responsiv */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-btn { padding: 12px 25px; font-size: 1rem; }
  .scroll-down { font-size: 1.5rem; }
}

/* Container Grid */
.tiles-container {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr; /* Desktop: mittlere Spalte breiter */
  grid-template-rows: 450px 450px;        /* Reihenhöhe */
  gap: 20px;
}

/* Grid-Bereiche für Desktop */
.tile-a { grid-column: 1; grid-row: 1; }           
.tile-b { grid-column: 1; grid-row: 2; }           
.tile-c { grid-column: 2; grid-row: 1 / span 2; }  
.tile-d { grid-column: 3; grid-row: 1; }           
.tile-e { grid-column: 3; grid-row: 2; }           

/* Text-Kacheln zentriert */
.tile-text {
  background: #fff;
  font-family:'Segoe UI', 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Bild-Kacheln */
.tile-img {
  background-size: cover;
  background-position: center;
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

/* Buttons */
.tile-btn {
  display:inline-block;
  padding:10px 20px;
  background-color:#f7af5b;
  color:#fff;
  border-radius:5px;
  text-decoration:none;
  transition: background-color 0.3s;
  margin-top: 15px;
}

.tile-btn:hover {
  background-color:#000;
}

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .tiles-container {
    display: grid;
    grid-template-columns: 1fr; /* 1 Spalte */
    grid-template-rows: auto;   /* Höhe passt sich Inhalt an */
    gap: 20px;
  }

  /* Alle Kacheln untereinander */
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e {
    grid-column: auto;
    grid-row: auto;
  }

  /* Text-Kacheln bleiben zentriert */
  .tile-text {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Bild-Kacheln: Höhe beibehalten, nicht auf auto setzen */
  .tile-img {
    min-height: 400px;  /* Mobile-freundliche Höhe */
  }
}

/* ============================= */
/* Öffnungszeiten & Adresse      */
/* ============================= */
.contact-info-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 100px 0;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  width: 100%;
  max-width: 1500px; /* kontrollierte Max-Breite */
  padding: 0 0px;
  box-sizing: border-box;
}


.contact-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 70px 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}


.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-card p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card li {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Button im gleichen Stil wie Hero & Tiles */
.contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #f7af5b;
  color: #fff;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.contact-btn:hover {
  background-color: #000;
  transform: scale(1.05);
}

/* Status-Text */
.open-now {
  margin-top: 15px;
  font-weight: 600;
  color: #f7af5b;
}

/* ============================= */
/* Mobile                        */
/* ============================= */
@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
    margin: 50px auto;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-card h2 {
    font-size: 1.6rem;
  }

  .contact-card p,
  .contact-card li {
    font-size: 1.05rem;
  }
}

.open-now {
  margin-top: 15px;
  font-weight: 600;
  color: #f7af5b;
}
