/* Google Fonts: Poppins hinzufügen */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');


* {
    margin: 0rem;
    padding: 0rem;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.2;
    color: #2a2a2a;
    background: #fcfcfb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #ffc823;
    box-shadow: 0 2px 5px rgba(61,47,31,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  flex-wrap: nowrap; /* verhindert Umbruch */
  position: relative;
}

nav a:hover {
    opacity: 0.7;;
}



/* --- Globale Hamburger-Navigation (alle Bildschirmgrößen) --- */

/* Hamburger-Button */
.menu-toggle {
  display: block;                 /* immer sichtbar */
  color: #ffffff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}


/* Nav-Panel standardmäßig aus */
#main-nav {
  position: absolute;
  top: 70px;
  right: 0;
  width: 280px;
  background: #ffc823;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  display: none;
  z-index: 1000;
  text-decoration: none;
  color: #2a2a2a;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 1.0em);
  transition: opacity 0.2s ease, color 0.2s ease; /* smooth hover */
}

/* Hover-Verhalten im Hamburger-Panel auf allen Größen */
#main-nav a:hover {
  opacity: 0.7;
}

/* eingeblendet per JS */
#main-nav.active {
  display: flex;
}


/* optional für sehr breite Screens */
@media (min-width: 1200px) {
  #main-nav { width: 340px; }
}


/* Mobile Ansicht */
@media (min-width: 769px) {
  nav {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    position: static;
    width: auto;
    background: none;
    transform: none;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}


@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: #ffc823;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding-left: 1rem;
    display: none; /* Neu: komplett ausgeblendet */
    z-index: 999;
  }

  nav.active {
    display: flex; /* Neu: eingeblendet */
  }
}



/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('images/sunset-drone-photo-old-city-kopenick.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    letter-spacing: 2px;
}

/* Sections – einheitlicher Stil wie "Unsere Vision" */
/* Basis für Section */
.section {
    padding: 2rem 1rem; /* etwas mehr Flexibilität für kleine Screens */
    display: flex;
    flex-direction: column; /* besser für mobile Darstellung */
    align-items: center;
    background: #fff; /* Standard-Hintergrund */
}

/* Wechselnde Hintergrundfarbe für gerade Sektionen */
.section:nth-child(even) {
    background: #faf9f9;
}


/* ---------------------------------Schriftarten---------------------------------*/

/* Navigation Links */
nav a {
    text-decoration: none;
    color: #2a2a2a;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 1.33em);
    transition: color 0.3s;
}

/* Inhalt der Hero zentrieren und untereinander anordnen */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* zentriert Button und H1 */
  text-align: center;
  gap: 0.75rem;          /* Abstand zwischen H1 und Button */
  padding: 0 1rem;
}

/* Hero-Schrift */
.hero-content h1 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 6vw, 4rem);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Hauptüberschrift */
.section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: 'Poppins', sans-serif;
    margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(0.5rem, 2vw, 1rem);
    color: #ffc823;
    text-align: center;
    letter-spacing: 1px;
}

/* Unterüberschriften */
.section h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-family: 'Poppins', sans-serif;
    color: #ffc823;
    max-width: 800px;
    margin-bottom: 5rem;
    margin: clamp(1.5rem, 2vw, 2rem) auto clamp(0.4rem, 1.5vw, 0.8rem);
    text-align: left;
}

/* Fließtext */
.section p:not(.email-contact) {
    max-width: 800px;
    text-align: justify;
    line-height: clamp(1.4, 2vw, 1.6);
    margin: clamp(1rem, 2vw, 1.1rem) auto clamp(0.8rem, 1.5vw, 1.3rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.5;
}


/* Ausstattung Überschrift */
.advantage-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: #2a2a2a;
}



/* Kontakt-Überschriften wie h3 und linksbündig */
#kontakt h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: 'Poppins', sans-serif;
    margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(0.5rem, 2vw, 1rem);
    color: #ffc823;
    text-align: center;
    letter-spacing: 1px;
}

#kontakt h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem); /* gleiche Größe wie h3 */
    font-family: 'Poppins', sans-serif;
    color: #ffc823; /* gleiche Farbe wie h3 */
    margin: clamp(1.5rem, 2vw, 2rem) 0 clamp(0.4rem, 1.5vw, 0.8rem);
    text-align: left; /* linksbündig */
}


/* Adresse */
.adress {
    display: block;
    max-width: 800px;
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.5;
    margin: 0;
    color: #2a2a2a;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.adress:hover {
    color: #ffc823; /* Gelb beim Hover */
}

/* E-Mail */
.email-contact {
    display: block;
    max-width: 800px;
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.5;
    margin: 0;
    color: #2a2a2a;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.email-contact:hover {
    color: #ffc823; /* Gelb beim Hover */
}

/* Nur die Links in der Unsere-Vision-Section gelb und fett */
#unsere-vision li a {
  color: #ffc823;       /* Gelb wie deine Akzentfarbe */
  font-weight: 700;     /* Fett */
  text-decoration: none; /* Keine Unterstreichung */
}

#unsere-vision li a:hover {
  color: #e6b91f;        /* Optional: etwas dunkler beim Hover */
  text-decoration: none; /* auch beim Hover keine Unterstreichung */
}

/* Hebt nur den Blog-Link hervor */
.highlight-link {
    color: #ffc823;
    font-weight: 700;
    text-decoration: none;
}
.highlight-link:hover {
    color: #e6b91f;
}

/* Nachricht dass Mailadresse kopiert wurde */
#toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffc823;
    color: #2a2a2a;
    padding: 12px 18px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 9999;
}


/* Scroll-to-Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 200, 35, 0.7); /* Gelb wie deine Akzentfarbe */
  color: #fff; /* Weißer Pfeil */
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold; /* macht ihn dicker */
  cursor: pointer;
  display: none; /* Anfangs versteckt */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: opacity 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #e6b91f; /* etwas dunkler beim Hover */
}


/* Slider Styles */
.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}


.slides img {
  width: 100%;              
  max-width: 100%;           /* nicht über den Container hinaus */
  height: auto;             /* Seitenverhältnis beibehalten */
  margin: 0 auto;           /* zentrieren */
  object-fit: contain;      /* Bild vollständig anzeigen, nicht beschneiden */
  flex-shrink: 0;      
}


/* Navigation Buttons */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

/* Slider Buttons im Stil des Scroll-to-Top-Buttons */


.slider-controls button {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 200, 35, 0.7);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.slider-controls button:hover {
  background-color: #e6b91f;
}

.prev svg {
  transform: rotate(-90deg); /* zeigt nach links */
}

.next svg {
  transform: rotate(90deg); /* zeigt nach rechts */
}



/* Responsive Anpassung */
@media (max-width: 768px) {
  .slider-controls button {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }
}


/* Button für Preisliste */
.btn {
    display: inline-block;
    background-color: #ffc823;
    color: #2a2a2a;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #e6b91f; /* etwas dunkleres Gelb beim Hover */
}

/* Zentrierte CTA-Zeile unter Überschriften */
.cta {
  text-align: center;
  margin-top: 0.8rem; /* etwas Luft unter der H1/H2 */
}

/* Feintuning für den Button im CTA-Block */
.cta .btn {
    display: inline-block;
    background-color: #ffc823;
    color: #2a2a2a;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.cta.btn:hover {
    background-color: #e6b91f; /* etwas dunkleres Gelb beim Hover */
}


/* Advantages Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Spalten für große Screens */
    gap: 2rem;
    margin-top: 2rem;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(61,47,31,0.15);
}

.icon-item img {
    width: 70px; /* Größe der Icons */
    height: 70px;
}

.icon-item p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #2a2a2a;
    text-align: end;
    margin: 0;
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(61,47,31,0.25);
}

/* Responsive Anpassung */
@media (max-width: 1024px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablets: 2 Spalten */
    }
}

@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: 1fr; /* Smartphones: 1 Spalte */
    }
}


/* Kontakt Section */
.kontakt-section {
  position: relative; /* wichtig für Overlay */
  color: #ffc823;
  background: url('images/Innenhof.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh; /* etwas kleiner für mobile */
  display: flex;
  align-items: center; /* zentriert vertikal */
  justify-content: center;
  padding: 2rem 1rem;
  text-align: left;
}

/* Halbtransparentes Overlay */
.kontakt-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dunkler Overlay für bessere Lesbarkeit */
  z-index: 1;
}

/* Textcontainer */
.kontakt-box {
  position: relative;
  z-index: 2; /* über dem Overlay */
  background: none; /* Box entfernt */
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #fff; /* weiße Schrift für Kontrast */
}

/* Textschatten für bessere Lesbarkeit */
.kontakt-box h2,
.kontakt-box p,
.kontakt-box a {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* dunkler Schatten */
}

/* Spam-Schutz */
.hidden-text {
    display: none;
}

/* Zwei-Spalten-Layout für Text */
/* Standard: einspaltig */
.two-columns {
  display: block;
  flex-direction: column;
  gap: 1rem;
}

.two-columns > div {
    flex: 1 1 300px; /* jede Spalte mindestens 300px breit */
}

/* Ab Tabletgröße: zwei Spalten */
@media (min-width: 769px) {
  .two-columns {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

  .two-columns > div {
    flex: 1;
  }
}

/* Für Smartphones: einspaltig */
@media (max-width: 768px) {
  .two-columns {
    display: block; /* statt flex */
  }

  .two-columns > div {
    display: inline; /* oder inline-block, je nach Bedarf */
    padding: 0;
    margin: 0;
  }

  .two-columns > div p {
    display: inline;
  }
}

.section ul {
    max-width: 800px;
    margin: 1rem auto;
    padding-left: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.5;
}

.section ul li {
    margin-bottom: 0.8rem;
    list-style-type: disc; /* Standard-Punkte */
}

/* Optional: eigene Bullet-Farbe */
.section ul li::marker {
    color: #ffc823; /* deine Akzentfarbe */
    font-size: 1.2rem;
}

/* Impressum Page */
.impressum-page {
    min-height: calc(100vh - 80px);
}

.impressum-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0098ff;
    text-align: center;
}

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

.impressum-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #2a2a2a;
}

.impressum-content a {
    color: #2a2a2a;
    text-decoration: none;
    transition: opacity 0.3s;
}

.impressum-content a:hover {
    opacity: 0.7;
}

/* Footer */
footer {
    background: #ffc823;
    box-shadow: 0 2px 5px rgba(61,47,31,0.2);
    color: #2a2a2a;
    padding: 2rem 0;
}

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

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.33em);
  font-style: italic;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #2a2a2a;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 1.33em);
  transition: color 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .footer-links a {
    display: block;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
  }
}

/* Responsive Design */

/* Tablets bis 1024px */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section h2,
  .section h3,
  .section p:not(.email-contact) {
    margin-bottom: clamp(0.5rem, 1.2vw, 0.8rem);
  }
}

/* Smartphones bis 768px */
@media (max-width: 768px) {
  /* Header kompakter */
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
  }

  .logo {
    font-size: 2rem;
  }

  .menu-toggle {
    font-size: 1.8rem;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
  }

  nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    background: #ffc823;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  nav.active {
    transform: translateX(0);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .section {
    padding: clamp(1rem, 3vw, 1.5rem) 1rem;
  }

  .section h2{
    margin-bottom: clamp(1rem, 1vw, 1.2rem)
  }
  
  .section h3 {
    margin-top: 1.5rem;
    margin-bottom: clamp(1rem, 1vw, 1.2rem)
  }
  .section p:not(.email-contact) {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* Extra kleine Screens bis 480px */
@media (max-width: 480px) {
  .section h2 {
    font-size: clamp(1.8rem, 5vw, 2rem);
    margin-bottom: clamp(1.5rem, 1vw, 2rem)
  }
  .hero-content h1 {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .section h3 {
    font-size: clamp(1.5rem, 4vw, 1.7rem);
    margin-top: 2rem;
    margin-bottom: clamp(1rem, 1vw, 1.2rem)
  }
  .section p:not(.email-contact) {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

