/* ===================================================
   1. Google Fonts & Reset
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&family=Roboto:wght@400;500&display=swap'); /* Roboto & IBM Plex Sans :contentReference[oaicite:5]{index=5} */

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

/* ===================================================
   2. CSS Custom Properties
   =================================================== */
:root {
  --font-base: 'Roboto', sans-serif;
  --font-heading: 'IBM Plex Sans', sans-serif;

  /*--color-bg: #f7f7f7;*/
  --color-bg: white;
  --color-primary: #1f2937;       /* dunkles Anthrazit */
  --color-secondary: #4f46e5;     /* lebhaftes Indigo */
  --color-accent: #ef4444;        /* kräftiges Rot */
  --color-card-bg: #ffffff;       /* Kartenhintergrund */
  --color-fullwidth-bg: #4f46e5;  /* Sektionen Vollbreite */

  --radius: 0.5rem;
  --gap: 2rem;
  --transition: 0.3s ease-in-out;
}

/* ===================================================
   3. Base Styles
   =================================================== */
body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.6;
}

/* ===================================================
   4. Vollbreite-Sektionen
   =================================================== */
.full-width {
  width: 100%;
  background-color: var(--color-fullwidth-bg);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

/* ===================================================
   5. Haupt-Layout mit Flexbox
   =================================================== */
main {
  display: flex;                   /* Flex für eindimensionalen Flow :contentReference[oaicite:6]{index=6} */
  flex-direction: column;
  gap: var(--gap);
  padding: 2rem 0;
}

/* ===================================================
   6. Zentrales Content-Wrapper
   =================================================== */
.content-wrapper {
  /* max-width: 1200px; */
  max-width: 1000px;
  width: 90%;                      /* kleine Ränder auch am Desktop */
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ===================================================
   7. Karten-Styling für Sektionen
   =================================================== */
.section {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); */
  /* transition: transform var(--transition), box-shadow var(--transition); */
}

.section:hover {
  /* transform: translateX(-5px); */
  /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); */
}

/* ===================================================
   8. Typografie-Feinschliff
   =================================================== */
h1, h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

p, li {
  margin-bottom: 1rem;
}

a:link { text-decoration: underline; color: black; }
a:visited { text-decoration: underline; color: black; }
a:hover { text-decoration: underline; color: red; }

/* ===================================================
   9. Responsive Breakpoints (Desktop-First)
   =================================================== */
@media (max-width: 1024px) {
  .content-wrapper { width: 95%; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) { /* Tablet-Größe :contentReference[oaicite:7]{index=7} */
  main {
    padding: 1rem 0;
  }
  .content-wrapper {
    width: 98%;
    padding: 0 1rem;
  }
  .section { padding: 1.25rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  p { font-size: 0.95rem; }
}

@media (max-width: 480px) { /* Smartphone-Größe */
  .section { padding: 1rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  p { font-size: 0.9rem; }
}


.image-basic {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: none;
  border: none;
  }

.image-with-text .img-text-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.side-image {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: none;
  border: 1px solid rgba(200, 200, 200, 0.8);
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  flex-shrink: 0;
}

.image-description {
  flex: 1;
  min-width: 200px;
}




/* Animierte Section (beim Scrollen sichtbar) */
.slide-in {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in.in-view {
  opacity: 1;
  transform: translateX(0);
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nav-buttons button {
  background-color: black;
  color: white;
  border: 1px solid black;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.6rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-buttons button:hover {
  background-color: #444;
}




.button {
  border: none;
  border-radius: 12px;
  color: black;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: regular;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  /*background-color: rgba(60,60,60, 1);*/
  background-color: rgba(60, 60, 60, 1);
  color: white;
  border: 1px solid white;
}

.button1:hover {
  background-color: red;
  color: white;
}

/*
.section-button {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  background-color: black;
  color: white;
  border: 1px solid black;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.6rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
*/





.footerr {
	background-color: rgb(49, 49, 49);
	margin-left: 0em;
	margin-right: 0em;
	margin-top: -2em;
	padding-bottom: 4em;
	padding-top: 2em;
	padding-left: 1em;
	color: var(--grau1);
	font-size: 0.8em;
}
@media screen and (min-width: 1001px) {
	.footerr {
		padding-left: 17%;
	}
}

.ul_footer {
	list-style-type: none;
	margin-left: 0em;
	padding-left: 0em;
	line-height: 1.75em;
	color: rgb(164, 164, 164);
}
@media screen and (max-width: 601px) {
	.ul_footer {
		padding-left: 1em;
	}
}
a.ul_footer:link, a.ul_footer:visited {
	color: rgb(164, 164, 164);
	text-decoration: none;
	padding-left: 0;
}
a.ul_footer:hover, a.ul_footer:active {
	color: rgb(255, 0, 0);
	text-decoration: underline;
	padding-left: 0;
}


.menu-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.projects-toggle {
  cursor: pointer;
  color: inherit;
  transition: color 0.3s ease;
}

.projects-toggle:hover {
  color: red; /* oder deine definierte Link-Farbe */
}


.submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
}

.submenu a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
}

.submenu a:hover {
  color: red;
  text-decoration: none;
}

.menu-group.open .submenu {
  max-height: 2000px; /* genug Platz für Inhalte */
  opacity: 1;
}



/* Banner: Volle Breite, unterschiedliche Bilder je nach Viewport */
.banner-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}

.header-banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}

.banner-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.banner-button:hover {
  background-color: red;
}



/* VIDEO */

.myvid2 {
	display:block; 
	width: 100%;
	max-width: 30em;
	height: auto;
	margin-left:auto; 
	margin-right: auto;
}
@media screen and (max-width: 601px) {
	.myvid {
		display:block;
		width: 100%;
		max-width: 30em;		
		height: auto;
		margin-left:auto; 
		margin-right: auto;
	}
}







