@charset "UTF-8";
/* CSS Document */

* {
  font-family: Montserrat, sans-serif;
}

.header{
	padding-top: 15px;
	padding-left: 15px;
}

h1{
	font-size: 11.5pt;
	font-weight: 600;
	font-stretch: semi-expanded;
	margin-bottom: 0;
}

h3{
	font-size: 10pt;
	font-weight: 400;
	margin-top: 5px;
	margin-bottom: 20px;
}

h4{
  font-size: 10.5pt;
	font-weight: 550;
	margin-top: 5px;
	margin-bottom: 20px;
}

a{
	text-decoration: none;
	color: black;
	line-height: 150%;
	}

a:hover {
color:#FF3235;
}

nav a:hover {
  color: #FF3235; /* rot beim Hover */
}

main{
	flex-basis: 65%;
	line-height: 120%;
	
}

aside{
	text-decoration: none;
	font-size: 8pt;
	line-height: 180%;
  	color: black;
	text-transform: uppercase;
	flex-basis: 35%;
	margin: 0 0 25px 0;
	
}

nav ul{
	list-style: none;
	padding-left: 20;
}

.container {
  
  height: auto;
  overflow: hidden;
}

img {
  max-width: 500px;
  height: auto;
}

.flex-container{
	max-width: 800px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}


/* ---------------- BURGERMENU ---------------- */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;   /* kleineres Quadrat */
  height: 20px;  /* kleineres Quadrat */
  background: none;
  border: none;
  cursor: pointer;
  margin: 10px 0 10px 20px;
  padding: 0;
}

.burger span {
  display: block;
  height: 3px;       /* wieder kräftiger */
  width: 100%;       
  background: black;
  border-radius: 0;  /* eckig */
}

/* Hover UND aktive Seite */
nav a {
  color: black;
  text-decoration: none;
}

nav a:hover {
  color: #FF3235; /* rot beim Hover */
}

nav a.active {
  color: #FF3235; /* rot wenn aktiv (geklickt/aktuelle Seite) */
}


/* ---------------- MOBILE ---------------- */
@media screen and (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }

  aside {
    width: 100%;
    flex-basis: auto;
  }

  .burger {
    display: flex;
  }

  nav {
    display: none;
    width: 100%;
  }

  body.menu-open nav {
    display: block;
    background: white;
    padding: 10px 20px;
  }
}





/* ---------------- HERO ILLUSTRATION (Startseite) ---------------- */
.hero-illustration {
  flex-basis: 65%;              /* rechte Spalte wie main bei den Unterseiten */
  display: flex;
  flex-direction: column;
  align-items: flex-start;      /* Illustration bündig mit Menü starten */
  padding: 0 40px 40px 120px;   /* oben 0, rechts 40px, unten 40px, links Abstand zum Menü */
  box-sizing: border-box;
}

.hero-illustration img {
  max-width: 100%;              
  height: auto;
  object-fit: contain;
}

/* Textblock unter Illustration */
.hero-text {
  max-width: 600px;  
  margin-left: -50px;          /* weiter nach links gerückt */
}

.hero-text h2 {
  font-size: 12pt;
  padding-top: 6px;
}

.hero-text p {
  font-size: 9.5pt;
  line-height: 150%;
}

/* ---------------- MOBILE: unter 768px ---------------- */
@media screen and (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }

  .hero-illustration {
    flex-basis: 100%;
    align-items: flex-start;
    padding: 40px;
  }

  .hero-illustration img {
    max-width: 90vw;           
    transform: scale(0.8) translateY(0); /* keine Verschiebung, normal groß */
  }

  .hero-text{
    margin-left: 20px;
    text-align: left;
    margin-right: 20px;
  }
}

/* ---------------- Label ---------------- */
.project-label {
  font-size: 8pt;        /* kleiner als H2 */
  color: #919191;           /* Grau */
  text-transform: uppercase;
  letter-spacing: 1px;
}