/* =========================================================
   GLOBAL: Schrift + Grundlayout
   ========================================================= */

/* Schrift global für gesamte Seite */
html, body {
  font-family: "Montserrat", sans-serif;
  font-weight: 200; /* ExtraLight */
  padding: 0;
  margin: 0;
  background: white;
  color: black;
  overflow-x: hidden;
}

/* Optional: auch Buttons, Links, Überschriften, Textelemente */
button, a, h1, h2, h3, h4, h5, h6, p, div, span {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  color: inherit;
}

/* =========================================================
   NAVBAR / HEADER
   ========================================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  padding-right: 10px;
  z-index: 1000;
}

.home {
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: black;
}

.menu-button {
  color: black;
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
  padding: 10px;
  margin-right: 30px;
  position: relative;
}

/* =========================================================
   MENÜ-OVERLAY
   ========================================================= */

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: white;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  z-index: 999;
}

.menu.active {
  height: 100vh;
}

.menu a {
  text-decoration: none;
  color: black;
  font-size: 24px;
  padding: 15px;
  font-weight: 200;
}

/* =========================================================
   GRID CONTENT
   ========================================================= */

.content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  gap: 40px;
  margin-top: 50px; /* Abstand unter Navbar */
}

.text {
  font-size: 2rem;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.line {
  border-top: 2px solid rgb(255, 255, 255);
  margin: 20px 0;
  width: 100%;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  margin-top: auto;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.footer a {
  text-decoration: none;
  color: black;
}

.footer a:hover {
  text-decoration: underline;
}

/* =========================================================
   BILDER / GALERIE
   ========================================================= */

.big-image {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.thumbnails img {
  width: 100%;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnails img:hover {
  border: 2px solid black;
}

/* =========================================================
   PROJEKTDATEN
   ========================================================= */

.projekt-daten {
  padding: 30px 20px;
  margin: 0;
  padding-left: 20px;
}

.projekt-daten h2 {
  border-bottom: 2px solid rgb(255, 255, 255);
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-weight: 300; /* Etwas stärkerer Titel */
}

.projekt-daten ul {
  list-style: none;
  padding: 0;
}

.projekt-daten li {
  margin: 8px 0;
  font-size: 1rem;
  font-weight: 200;
}

/* =========================================================
   PROJEKTBESCHREIBUNG
   ========================================================= */

.projektbeschreibung {
  padding: 30px 20px;
  padding-left: 20px; 
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 ;
}

.preis-link {
  color: black;              /* bleibt schwarz */
  text-decoration: none;     /* nicht unterstrichen standardmäßig */
}

.preis-link:hover {
  text-decoration: underline; /* beim Hover unterstreichen */
  color: black;               /* keine Farbänderung */
}

.preise {
  padding: 30px 20px;  
  
  padding-left: 20px; 
  font-size: 1.1rem;       /* optional: gleiche Schriftgröße */
  line-height: 1.6;        /* optional: gleiche Zeilenhöhe */
  max-width: 1000px;       /* gleiche maximale Breite */
  margin: 0 ;          /* zentriert den Inhalt */
}



/* Impressum Link */
.impressum-link {
  position: static; /* statt fixed → normal im Dokumentfluss */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  z-index: auto; /* kein Layering nötig */
  margin-top: 40px; /* etwas Abstand nach oben */
}

.impressum-link:hover {
  text-decoration: underline;
}

.impressum-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 0.15em;
}






/* =========================================================
   MOBILE ANPASSUNG: Bilder vor Projektdaten (ohne Wechsel, kein Hover-Rahmen)
   ========================================================= */

@media (max-width: 768px) {
  .content {
    display: flex;
    flex-direction: column;
  }

  /* Bilder vor Projektdaten */
  .bilder-block {
    order: 1;
  }

  .projekt-daten {
    order: 2;
  }

  .projektbeschreibung {
    order: 3;
  }

  /* Thumbnails untereinander, ohne Hover- oder Active-Effekt */
  .thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .thumbnails img {
    width: 100%;
    border: none;
    cursor: default;
  }

  .thumbnails img:hover,
  .thumbnails img.active {
    border: none; /* kein Rahmen bei Hover oder aktivem Zustand */
  }

  /* Großes Bild ausblenden, da nur normale Bilder gezeigt werden */
  .big-image {
    display: none;
  }
}
