/* --- Allgemeine Stile --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: url(../assets/picture/werkzeug_h.jpg) no-repeat center center fixed;
    background-size: cover;
}

body {
    font-size: 100%;
}

h1 {
    /*font-size: 2em;
    color: #2B594C;
    margin-top: 12px;
    margin-left: 80px;*/
	
	position: fixed;
    top: 15px;
    left: 80px;
    width: auto;
    height: auto;
	color: #2B594C;
    z-index: 1001;
}

.logo {
    position: fixed;
    top: 10px;
    right: 20px;
    width: 95px;
    height: auto;
    z-index: 1001;
}

.hamburger-menu {
    position: fixed;
	z-index:1001;
}

/* Hintergrund-Balken für Navigation */
.nav-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Höhe des Balkens */
    background: rgba(255, 255, 255, 0.9); /* Weiß mit leichter Transparenz */
    z-index: 998; /* Muss unter h1, .logo und .hamburger-menu liegen */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Leichter Schatten für bessere Lesbarkeit */
}


/*--- Text Container mit Button---*/

.text-container {
  position: relative;
  background:rgba(255,255,255,0.7);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Dezenter Schatten */
  border-radius: 18px;
  margin-left: 80px;
  max-width: 850px;
  margin-right: 20px;
  margin-top: 100px;
  padding:20px;
  font-family:arial;
  font-size:1em;
  font-weight:normal;
  color:#777;
  z-index: 10;
}

/* Stil für den Mail-Link */
.text-container a {
    color: #4CA287;
    text-decoration: none;
}

.text-container a:hover {
    text-decoration: underline;
    color: #2B594C;
}
}

/* Textabsätze */

.text-container h2 {
    font-size: 1.5em;
    color: #2B594C;
    margin-top: 12px;
}

.text-container h3 {
    font-size: 1.2em;
    color: #2B594C;
    margin-top: 12px;
}

.text-container h4 {
    font-size: 1em;
    color: #2B594C;
	font-style: italic;
}

.text-container p {
    margin: 15px 0;
    color: #333; /* Dunkles Grau */
    font-size: 1.2em;
}

/* Listen */
.text-container ul {
    list-style: none; /* Deaktiviert die Standard-Bulletpoints */
	margin: 15px 0;
}

.text-container ul li {
    margin: 5px 0;
    position: relative;
    color: #333; /* Dunkles Grau */
    font-size: 1.2em;
}

.Rang2 {
	  margin-top: 20px;
}

/*--- Text Datenschutz ---*/
#datenschutz .text-container {
	font-size: 80%;
}

#datenschutz .text-container h2 {
	font-size: 1.2em;
}

#datenschutz .text-container h3 {
	font-size: 1em;
}

#datenschutz .text-container ul {
	list-style: none; /* Standard-Bulletpoints entfernen */
    counter-reset: section; /* Zähler für Listen-Elemente zurücksetzen */
}

#datenschutz .text-container ul li{
	font-size: 1em;
    counter-increment: list-counter; /* Zähler für jedes <li> erhöhen */
    position: relative;
    padding-left: 1.5em; /* Abstand für das Label */
}

#datenschutz .text-container ul li::before {
    content: counter(list-counter, lower-alpha) ")"; /* Setzt das Muster: a), b), c) */
    position: absolute;
    left: 0;
    font-weight: bold;
	color: #2B594C;
}


/* Stil für den Mail-Link */
#datenschutz .text-container a {
    color: #4CA287;
    text-decoration: none;
}

#datenschutz .text-container a:hover {
    text-decoration: underline;
    color: #2B594C;
}


.home-image {
    width: 450px; /* Feste Breite */
    max-width: 100%; /* Damit es sich an kleine Bildschirme anpasst */
    margin: 0 auto 20px; /* Zentriert es horizontal mit Abstand nach unten */
    position: relative; /* Setzt relative, damit es nicht aus dem Layout fliegt */
}

.home-image img {
    width: 100%; /* Passt sich der .home-image Breite an */
    height: auto; /* Verhindert Verzerrung */
    display: block; /* Entfernt unerwünschte Abstände um das Bild */
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Schatten für das Bild */
}

.home-text {
	
}


/* Kontakt Button */

.text-container button{
  background:#2B594C;
  color:#fff;
  text-transform:uppercase;
  font-weight:bold;
  font-size:16px;
  border:none;
  padding:10px 30px;
}

.text-container button:hover{
  color:#fff;
  background:#4CA287;
  outline: 2px solid #4CA287;
  outline-offset: 2px;
}

.text-container button:focus {
  color:#fff;
  background:#4CA287;
  outline: 2px solid #4CA287;
  outline-offset: 2px;
}


.bewertung {
	color: red;
}


/* --- Flexboxen --- */

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.galerie {
	margin-top: 100px;
	gap: 10px; /* Abstand zwischen den Zeilen und Spalten */
	max-width: 90%;	
}

.projekte {
	margin-left: 80px;
	margin-right: 10px;
	margin-top: 100px;
    font-size: 1.2em;
    max-width: 80%;
    color: #333;
}

.leistungen {
	position: relative;
	justify-content: space between;
	margin-left: 80px;
	margin-right: 20px;
	margin-top: 100px;
    gap: 25px;
}

/* --- Box Design Galerie--- */
.flex-container.galerie { margin-left: 75px ; }

.box {
    width: 250px;
    height: 250px; 
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid transparent;
    transition: border 0.3s ease-in-out;
	box-sizing: border-box; /* Stellt sicher, dass der Rahmen die Box nicht vergrößert */
	position: relative; /* Damit die Beschreibung sch relativ zum Bild positioniert */
}

.box:hover {
    border: 3px solid #2B594C;
}

.box img {
    width: 235px;  /* Größe d. Galeriebilder (leicht kleiner als der Rahmen des hover) */
    height: 235px;
    object-fit: cover; /* Sorgt dafür, dass das Bild den Bereich füllt, ohne Verzerrung */
}


.img-caption {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.8);
    padding: 3px 3px;
    border-radius: 3px;
    font-size: 14px;
    color: black;
	max-width: 90%;
}

/* Stil für den Mail-Link */
.projekt_intro a {
    color: #4CA287;
    text-decoration: none;
}

.projekt_intro a:hover {
    text-decoration: underline;
    color: #2B594C;
}
.projekt_intro p {
    width: 100%;
	max-width: 1000px;
}

 
 /* --- Einzelne Leistungen --- */
.leistungspunkt {
    display: flex;
    flex-direction: column;
	background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding-top: 20px;
    width: 32.5%;
	max-width: 600px;
	min-width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	text-decoration: none;  /* Entfernt Unterstreichung von Links */
    color: inherit;  /* Verhindert Farbänderung von Texten */
}	


/* --- Box Design Galerie--- */
.box {
    display: flex;
	width: 250px;
    height: 250px; 
    justify-content: center;
    align-items: center;
    border: 3px solid transparent;
    transition: border 0.3s ease-in-out;
	box-sizing: border-box; /* Stellt sicher, dass der Rahmen die Box nicht vergrößert */
	position: relative; /* Damit die Beschreibung sch relativ zum Bild positioniert */
}

.leistungen-caption  {	
    position: absolute;
    top: -24px; /* Abstand vom oberen Rand */
    left: 0px; /* Abstand vom linken Rand */
}

/* Leistungen: Überschriften */
.leistungen-caption h2 {	
 	font-size: 2em;
    color: #2B594C;
	text-shadow: -5px 5px 10px rgba(255, 255, 255, 0.9);
	padding-left: 15px;
	margin: 0;
}


.leistungen-icon {
    position: absolute;
	top: -35px; /* Feinanpassung der Position */
	right: 20px;
	width: 60px; /* Größe des Icons */
    height: auto;
	z-index: 2;
}

.stern {
	width: 100px; /* Größe des Icons */
}


/* --- Trennlinie für in der Überschrift der Leistungen --- */
.leistungen-image {
    position: relative; /* Referenz für Positionierung Leistungsüberschriften und Icon*/
	display: flex; /* Ermöglicht Ausrichtung von Icon & Text */
    min-height: 15px; /* Feste Höhe setzen */
    border-radius: 5px;
	background-color: #4CA287;
	align-items: center; /* Zentriert den Text vertikal */
}


/* --- Leistungsübersicht --- */
.leistungen-description {
	padding-left: 15px;
	padding-top: 15px;
	font-size: 1.4em;
	}

.leistungen-description p {
    padding-top: 0.5em;
	font-size: 1em;
    color: #555;
}

.leistungsliste {
    list-style: none; /* Standardpunkte entfernen */
    padding-left: 0; /* Standard-Einrückung entfernen */
}

.leistungsliste li {
    position: relative;
    padding-left: 18px; /* Abstand für das Icon */
    margin-bottom: 10px; /* Abstand zwischen den Punkten */
    color: #333; /* Textfarbe */
}

.leistungsliste li::before {
    content: ""; /* Erzeugt den Kreis */
    position: absolute;
    left: 0;
    top: .6em;
    transform: translateY(-50%); /* Zentriert den Kreis vertikal */
    width: 10px; /* Größe des Kreises */
    height: 10px; /* Größe des Kreises */
    border-radius: 50%; /* Rund machen */
	background-color: #4CA287; 
}

/* --- Projekt-Container Layout --- */
.project-section {
    display: flex;
	flex-wrap: wrap;
	margin-left: 80px;
    gap: 20px;
    max-width: 80%;
 }

/* Einzelne Projekte */
.project-container {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
	height: 550px;
	max-width: 1000px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	text-decoration: none;  /* Entfernt Unterstreichung von Links */
    color: inherit;  /* Verhindert Farbänderung von Texten */
}

/* Bilder der Projekte */
.project-image {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
	padding: 10px;
}

.project-image img {
    width: 240px ;
    height: 350px;
    border-radius: 8px;
}

/* Beschreibung der Projekte */
.project-description {
    flex: 2;
	padding: 10px;
	}

.project-description h2 {
    margin: 0;
    font-size: 1.5em;
    color: #2B594C;
}

.project-description p {
    padding-top: 0.5em;
	font-size: 1.1em;
    color: #555;
}

.project-link {
    text-decoration: none; /* Entfernt Unterstreichung */
    color: inherit; /* Behält Standardfarben */
    display: block; /* Macht den gesamten Bereich klickbar */
}

.project-link .project-container {
    transition: transform 0.2s ease-in-out; /* Optional: leichte Animation beim Hover */
}

.project-link:hover .project-container {
    transform: scale(1.02); /* Optional: Vergrößert den Container leicht */
}




/* --- Logo-Größe --- */
.logoklasse {
    width: 35%;
    height: auto;
}



@media screen and (max-width: 480px) {
    .logoklasse { width: 55%; }
}

/* --- Hamburger Menü --- */
#menu__toggle {
    opacity: 0;
    position: absolute;
}

#menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
}

#menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}

#menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}

#menu__toggle:checked ~ .menu__box {
    left: 0 !important;
}

.menu__btn {
    position: fixed;
    top: 30px;
    left: 25px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 200;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
    transition-duration: .25s;
}

.menu__btn > span::before {
    content: '';
    top: -8px;
}

.menu__btn > span::after {
    content: '';
    top: 8px;
}

.menu__box {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background-color: #ECEFF1;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
    transition-duration: .25s;
	z-index: 150;
}

.menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
}

.menu__item:hover {
    background-color: #CFD8DC;
}

/* --- Lightbox Galerie--- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    position: relative;
    max-width: 98%;
    max-height: 98vH;
    margin: auto;
    display: block;
}

.lightbox:target {
    display: flex;
}

/* --- Lightbox Projekte --- */
.lightbox_projekte {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;  /* Standardmäßig versteckt */
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

/* --- Lightbox sichtbar machen --- */
.lightbox_projekte:target {
    display: flex;
}

/* --- Lightbox-Bild --- */
.lightbox_projekte img {
    max-width: 90%;
    max-height: 90vh;
    border: 5px solid white;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

/* --- Schließen-Button --- */
.close_projekte {
    position: absolute;
    top: 80px;
    right: 30px;
    font-size: 30px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* --- Navigation für Lightbox Projekte --- */
.prev_projekte, .next_projekte {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.prev_projekte { left: 20px; }
.next_projekte { right: 20px; }

.prev_projekte:hover, .next_projekte:hover {
    color: #f1f1f1;
}



/*--- über mich ---*/

/* Portrait */
.about-image {
    right: 30px;
	top: 30px;
    margin: 20px 0;
}

.about-image img {
    max-width: 150px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Schatten für das Bild */
}

/* Kontaktbereich */
.about-contact {
    text-align: center;
}


/* --- Logo-Größe MWM (Impressum)--- */
.logo_MWM {
    width: 6em;
    height: auto;
}



@media screen and (max-width: 600px) and (orientation: portrait) {
    /* CSS für Smartphones im Hochformat */

body {font-size: 110%}
h1 {font-size: 1.2em; margin-top: 3px; margin-left:-15px;}

/* Hintergrund-Balken für Navigation */
.nav-background {
    height: 60px; /* Höhe des Balkens */
}

.text-container {
	  margin-left: 65px;
}


.logo {
    right: 30px;
	width: 75px;
	top: 3px;
}

.leistungen {
	margin-left: 65px;
	margin-right: 30px;
	margin-top: 25px;		
}

.leistungspunkt {
    padding-top: 17px;
    width: 90%;
	max-width: 300px;
	min-width: 40px;
}		
.leistungen-caption h2 {font-size: 1.5em;}

.leistungen-description {
	font-size: 1.1em;
}

.leistungsliste li::before {
    width: 6px; /* Größe des Kreises */
    height: 6px; /* Größe des Kreises */
}



.leistungen-caption  {	
    position: absolute;
    top: -18px; /* Abstand vom oberen Rand */
}

  
.leistungen-icon {
	top: -15px; /* Feinanpassung der Position */
	right: 10px;
	width: 45px; /* Größe des Icons */
}

.projekte {margin-left: 70px;}
.project-container {margin-left: -10px;}


.flex-container.galerie { margin-left: 56px ; }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
    /* CSS für Smartphones im Querformat */

body {font-size: 110%}
h1 {font-size: 1.7em; margin-top: -3px; margin-left:0px;}

/* Hintergrund-Balken für Navigation */
.nav-background {
    height: 55px; /* Höhe des Balkens */
}

.logo {
	width: 73px;
	top: 3px;
}

.leistungen-caption h2 {font-size: 1.5em;}  

.leistungen-description {font-size: 1.1em;}

.leistungen {margin-left: 65px;}

.leistungspunkt {
	padding-top: 17px;
    width: 90%;
	max-width: 300px;
	min-width: 40px;
}	

.leistungen-caption  {top: -18px;}

.leistungen-icon {
	top: -25px; /* Feinanpassung der Position */
	right: 10px;
	width: 50px; /* Größe des Icons */
}



.projekte {margin-left: 70px;}
.project-container {margin-left: -10px;}

.flex-container.galerie  {
	margin-left: 56px;	
}
}



@media screen and (max-width: 1024px) and (min-width: 601px) and (orientation: portrait) {
    /* CSS für Tablets im Hochformat */

}


@media screen and (max-width: 1024px) and (min-width: 601) and (orientation: landscape) {
    /* CSS für Tablets im Querformat */
}


@media screen and (min-width: 1025px) {
    /* CSS für große Bildschirme */

}


