/* Allgemeine Stile */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #000;
}

a {
  text-decoration: none;
  color: #333;
}

.cta-button {
  background-color: #C0C0C0;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #999;
}

/* Media Queries für mobile Geräte */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  .cta-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  .cta-button {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* Header */
header {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 100px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

nav ul li a {
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #C0C0C0;
}

/* Responsive Header */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 10px;
  }
  header .logo img {
    height: 80px;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  header .logo img {
    height: 60px;
  }
  nav ul li a {
    font-size: 14px;
  }
}

/* Standard (mobile und responsive) – zeigt das komplette Bild */
.hero {
  background-image: url('hero.jpeg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Zentriert das Overlay */
.hero .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero h2,
.hero p {
  color: #fff;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
}

/* Responsive Anpassungen für Tablets und Smartphones bleiben unverändert */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 18px;
    margin-top: 60px;
  }
  .hero p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 18px;
    margin-top: 60px;
  }
  .hero p {
    font-size: 12px;
  }
}

/* Desktop-Stil: Überschreibt den mobilen Hero-Bereich */
@media (min-width: 769px) {
  .hero {
    background-size: cover;  /* oder kannst du "contain" wählen, wenn das komplette Bild sichtbar bleiben soll */
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 0;  /* Padding entfernen */
    height: 100vh;  /* Feste Höhe, z. B. 30% der Viewport-Höhe */
  }
  /* Container zentriert weiterhin den Text */
  .hero .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}


/* Über mich */
.about {
  padding: 80px 0;
  background-color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text {
  flex: 2;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.about-text .cta-button {
  background-color: #C0C0C0;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.about-text .cta-button:hover {
  background-color: #999;
}

/* Responsive Über mich */
@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }
  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  .about-image,
  .about-text {
    flex: 1 1 100%;
  }
  .about-text h2 {
    font-size: 28px;
  }
  .about-text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 40px 0;
  }
  .about-text h2 {
    font-size: 24px;
  }
  .about-text p {
    font-size: 14px;
  }
}

/* Leistungen */
.leistungen {
  padding: 80px 0;
  background-color: #F5F5F5;
}

.leistungen h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  color: #333;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.leistung {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.leistung:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.leistung-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.leistung h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.leistung p {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.leistung .beschreibung {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
}

/* .bb-remover: Entfernt in responsiven Ansichten erzwungene Spaltenplatzierung */
.bb-remover {
  grid-column: 2;
}

/* Responsive Leistungen */
@media (max-width: 768px) {
  .leistungen {
    padding: 60px 0;
  }
  .leistungen h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .leistung h3 {
    font-size: 20px;
  }
  .leistung p {
    font-size: 14px;
  }

  /* NEUE REGEL HINZUGEFÜGT */
  .leistung .beschreibung {
    font-size: 12px;
    text-align: left; /* Richtet den Beschreibungstext linksbündig aus */
  }
  
  .leistung-image img {
    height: 180px;
  }
  /* Erzwungene 1-Spalten-Anzeige */
  .leistungen-grid {
    grid-template-columns: 1fr !important;
  }
  .bb-remover {
    grid-column: auto !important;
  }
}

@media (max-width: 480px) {
  .leistungen {
    padding: 40px 0;
  }
  .leistungen h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .leistung h3 {
    font-size: 18px;
  }
  .leistung p {
    font-size: 13px;
  }

  /* ANPASSUNG AUCH HIER, FALLS NÖTIG */
  .leistung .beschreibung {
    font-size: 12px;
    text-align: left; /* Stellt sicher, dass es auch für sehr kleine Bildschirme gilt */
  }

  .leistung-image img {
    height: 150px;
  }
  .leistungen-grid {
    grid-template-columns: 1fr !important;
  }
  .bb-remover {
    grid-column: auto !important;
  }
}

/* Meine Arbeiten */
.arbeiten {
  padding: 80px 0;
}

.arbeiten h2 {
  text-align: center;
  margin-bottom: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
}

/* Responsive Meine Arbeiten */
@media (max-width: 768px) {
  .arbeiten {
    padding: 60px 0;
  }
  .arbeiten h2 {
    margin-bottom: 30px;
    font-size: 28px;
  }
  .gallery {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .arbeiten {
    padding: 40px 0;
  }
  .arbeiten h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .gallery {
    gap: 10px;
  }
}

/* Preisliste */
.preise {
  padding: 80px 0;
  background-color: #F5F5F5;
}

.preise h2 {
  text-align: center;
  margin-bottom: 40px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background-color: #C0C0C0;
  color: #fff;
}

.group-heading td {
  text-align: center;
  font-weight: bold;
  background-color: #e0e0e0;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

/* Responsive Preisliste */
@media (max-width: 768px) {
  .preise {
    padding: 60px 0;
  }
  .preise h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  table th, table td {
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .preise {
    padding: 40px 0;
  }
  .preise h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  table th, table td {
    padding: 8px;
    font-size: 12px;
  }
}

/* Kontakt */
.kontakt {
  padding: 80px 0;
}

.kontakt h2 {
  text-align: center;
  margin-bottom: 40px;
}

.kontakt-info {
  text-align: center;
  margin-bottom: 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form button {
  align-self: flex-start;
}

/* Responsive Kontakt */
@media (max-width: 768px) {
  .kontakt {
    padding: 60px 0;
  }
  .kontakt h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .kontakt-info {
    font-size: 16px;
    margin-bottom: 30px;
  }
  form {
    gap: 15px;
  }
  form input,
  form textarea {
    padding: 8px;
    font-size: 14px;
  }
  form button {
    align-self: center;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .kontakt {
    padding: 40px 0;
  }
  .kontakt h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .kontakt-info {
    font-size: 14px;
    margin-bottom: 20px;
  }
  form {
    gap: 10px;
  }
  form input,
  form textarea {
    padding: 8px;
    font-size: 13px;
  }
  form button {
    align-self: center;
    padding: 8px 16px;
  }
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer ul li a {
  color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 15px 0;
    font-size: 14px;
  }
  footer ul {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px 0;
    font-size: 12px;
  }
}

/* Gutscheine-Section */
.gutscheine {
  background: #fff5e6;
  padding: 60px 0;
  text-align: center;
}

.gutscheine h2 {
  font-size: 2.2rem;
  color: #c85c8e;
  margin-bottom: 20px;
}

.gutscheine p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 40px;
}

.gutschein-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gutschein-box {
  background: #ffffff;
  border: 2px solid #c85c8e;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}

.gutschein-box:hover {
  transform: scale(1.05);
}

.gutschein-box h3 {
  font-size: 1.5rem;
  color: #c85c8e;
  margin-bottom: 10px;
}

.gutschein-box p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #444;
}

.gutschein-button {
  background: #c85c8e;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s ease;
}

.gutschein-button:hover {
  background: #b34b7b;
}

.gutschein-hinweis {
  font-size: 0.9rem;
  color: #777;
  margin-top: 20px;
}

/* Responsive Gutscheine-Section */
@media (max-width: 768px) {
  .gutscheine {
    padding: 40px 0;
  }
  .gutscheine h2 {
    font-size: 2rem;
  }
  .gutscheine p {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .gutschein-box {
    width: 200px;
    padding: 15px;
  }
  .gutschein-box h3 {
    font-size: 1.3rem;
  }
  .gutschein-box p {
    font-size: 1rem;
  }
  .gutschein-button {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .gutschein-hinweis {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .gutscheine {
    padding: 30px 0;
  }
  .gutscheine h2 {
    font-size: 1.8rem;
  }
  .gutscheine p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .gutschein-box {
    width: 180px;
    padding: 10px;
  }
  .gutschein-box h3 {
    font-size: 1.2rem;
  }
  .gutschein-box p {
    font-size: 0.9rem;
  }
  .gutschein-button {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .gutschein-hinweis {
    font-size: 0.75rem;
  }
}

/* Öffnungszeiten */
.oeffnungszeiten {
  background: #f8f8f8;
  padding: 50px 0;
  text-align: center;
}

.oeffnungszeiten h2 {
  font-size: 2rem;
  color: #c85c8e;
  margin-bottom: 15px;
}

.oeffnungszeiten p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

.oeffnungszeiten ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.oeffnungszeiten ul li {
  font-size: 1.2rem;
  background: #fff;
  margin: 5px auto;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
  max-width: 500px;
}

.oeffnungszeiten h3 {
  font-size: 1.5rem;
  color: #b34b7b;
  margin-top: 30px;
}

.oeffnungszeiten ul li strong {
  color: #c85c8e;
}

/* Responsive Öffnungszeiten */
@media (max-width: 768px) {
  .oeffnungszeiten {
    padding: 40px 0;
  }
  .oeffnungszeiten h2 {
    font-size: 1.8rem;
  }
  .oeffnungszeiten p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  .oeffnungszeiten ul li {
    font-size: 1rem;
    padding: 8px;
    max-width: 90%;
  }
  .oeffnungszeiten h3 {
    font-size: 1.3rem;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .oeffnungszeiten {
    padding: 30px 0;
  }
  .oeffnungszeiten h2 {
    font-size: 1.6rem;
  }
  .oeffnungszeiten p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .oeffnungszeiten ul li {
    font-size: 0.9rem;
    padding: 6px;
    max-width: 95%;
  }
  .oeffnungszeiten h3 {
    font-size: 1.2rem;
    margin-top: 15px;
  }
}
/* Standard-Styles: Desktop-Version – Navigation sichtbar, Burger-Menü ausgeblendet */
.burger-menu {
  display: none;
}

#menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Mobile Responsive: Burger-Menü und Dropdown-Navigation */
@media (max-width: 768px) {
  /* Burger-Menü anzeigen */
  .burger-menu {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }
  .burger-menu span {
    display: block;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
  }

  /* Navigation (ul) standardmäßig ausblenden */
  nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;
  }
  nav ul li {
    padding: 10px;
    text-align: center;
  }
  /* Wenn Checkbox aktiviert ist, Navigation einblenden */
  #menu-toggle:checked + .burger-menu + nav ul {
    display: flex;
  }
}

