@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
:root {
  /* Farben */
  --green: #00b050;
  --beige: #f7f9f7;
  --lightgrey: #e7e9e7;
  --middlegrey: #6B756F;
  --darkgrey: #2f3a33;
  --lightgreen: #a8d5ba;
  --darkgreen: #1b4332;

  /* Schrift */
  --font-title: "Manrope", sans-serif;
  --font-text: "Manrope", sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--darkgrey);
  line-height: 1.5;
  background: var(--lightgrey);
}

img{
  width: 100%;
  height: 100%;
} 

h6 {
  font-size: 14px;
font-style: italic;}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--beige);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s;

}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3em), 1500px);
  margin-inline: auto;
}

.logo {
  width: 250px;
  height: auto;
  background: transparent;
  transition: width 0.3s, height 0.3s;

}

/* Klasse für geschrumpften Header */
.site-header.scrolled {
  padding: 10px 0px; /* Padding verringern */
}

.site-header.scrolled .logo {
  width: 150px; /* Logo kleiner */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--darkgrey);
  font-size: 16px;
}

.nav-links a.active {
  color: var(--green);
}

.nav-links a:hover {
  color: var(--middlegrey);
}

/* HERO */
.hero {
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.content {
width: min(calc(100% - 3em), 1200px);
  margin-inline: auto;
  margin-block: 100px;
}

.abstand{
  padding-top: 40px;
  border-top: 1px solid var(--beige);
  margin-top: 40px;
}

.content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}


.subtitle {
  font-size: 16px;
  margin-bottom: 40px;
  color: var(--green);
}

.content h3 {
  font-size: 20px;
  font-weight: normal;
}

.content h3.index {
  max-width: 700px;
}

footer {
 background-color: var(--lightgreen);
  padding: 50px 0px;
  margin-top: 0px;
  width: 100%;
}


/* FOOTER */
.site-footer {
  text-align: center;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
    margin-inline: auto;


  width: min(calc(100% - 3em), 1500px);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.site-footer a {
  text-decoration: none;
  font-size: 14px;
  color: var(--darkgreen);
}

.site-footer p {
  font-size: 14px;
  color: var(--darkgreen);
}

/* 
UEBER SEITE  */
img.portrait {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}

.kontakthome {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-block: 150px;
}

.kontakt {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-block: 100px;
}

.lebenslauf {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-block: 50px;
}

.übermichinhalttitle{
  margin-inline: 30px;
}

h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--darkgrey);
  max-width: 1300px;
}

.list {
  border-top: 1px solid var(--beige);
}

.row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--beige);
  font-size: 1rem;
}

.norow {
  padding: 18px 0;
  border-bottom: 1px solid var(--beige);
  font-size: 1rem;
}

.label {
  color: var(--middlegrey);
}

.value {
  text-align: left;
}

.h3textunten {
  margin-top: 40px;
  margin-bottom: 20px;
  max-width: 1200px;
}

.h3abstand {
    margin-bottom: 60px;
}

.content ul {
  list-style: none; /* normale Bullets aus */
  padding-left: 0;
  padding-block-end: 20px;

}
 ul.uebermichlist {
    padding-block-end: 0px;

}

.content ul li {
  position: relative;
  padding-left: 20px; /* Platz für das Symbol */
  margin-bottom: 10px;
}

.content ul li::before {
  content: ">";       /* das gewünschte Symbol */
  position: absolute;
  left: 0;
  color: var(--darkgrey);       /* Farbe des Symbols */
  font-weight: bold;
}

.content a {
  color: var(--green);
  text-decoration: underline;
}

.content a:hover {
  color: var(--middlegrey);
  text-decoration: none;
}


.more-toggle {
    margin-left: 8px;
    background: none;
    border: none;
    padding: 0;
    color: var(--green);
  text-decoration: underline;
    text-decoration: underline;
    cursor: pointer;
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1;
}

.more-toggle:hover {
    text-decoration: none;
}

.more-content {
    display: none;
    margin-top: 10px;
    padding-left: 15px;
}


.move-banner {
  background-color: var(--lightgreen);       /* kräftige Farbe, auffällig */
  color: var(--darkgreen);                  /* Textfarbe passend zum Hintergrund */
  text-align: center;
  padding: 15px 20px;
  font-family: var(--font-title);
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-block-start: 50px;
  border-radius: 10px;
}

.move-banner p {
  margin: 0;
}

.svdlogo {
  width: 18%;
}

.übermich {
  display: flex;
  flex-direction: row;
}


.tab-buttons {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--beige);
  margin-bottom: 40px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 0;
  font-family: var(--font-title);
  font-size: 16px;
  cursor: pointer;
  color: var(--darkgrey);
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: var(--middlegrey);
}

.tab-btn.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.abstandfliesstext{
  margin-block: 20px;
}

/* ===== BURGER MENU ===== */

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--darkgrey);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background: var(--beige);
    flex-direction: column;
    gap: 30px;
    padding: 120px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  }

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

  .nav-links li {
    text-align: left;
  }

  /* ===== X ANIMATION ===== */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section, .kontakt, .kontakthome {
    grid-template-columns: 1fr;
    gap: 48px;
  }

.logo {
  width: 200px;
  height: auto;
  background: transparent;
  transition: width 0.3s, height 0.3s;

}

}

/* ===== MOBILE TYPO & SPACING ===== */
@media (max-width: 700px) {

  body {
    font-size: 15px;
    line-height: 1.6;
  }

  /* HEADER */
  .logo {
    width: 170px;
  }

  /* HERO */
  .hero {
    height: 320px;
  }

  /* CONTENT */
  .content {
    margin-block: 60px;
  }

  .content h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  .content h3 {
    font-size: 18px;
  }

  h6 {
    font-size: 13px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .abstand {
    padding-top: 30px;
    margin-top: 30px;
  }

  /* LISTEN */
  .content ul li {
    padding-left: 18px;
    margin-bottom: 8px;
  }

  /* TAB BUTTONS */
  .tab-buttons {
    flex-wrap: wrap;
    gap: 14px;
  }

  .tab-btn {
    font-size: 15px;
  }

  /* MOBILE NAV */
  .nav-links a {
    font-size: 18px;
  }

  footer{
    padding: 30px 0px;
  }
  /* FOOTER */
  .site-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .site-footer p,
  .site-footer a {
    font-size: 13px;
  }

  /* BANNER */
  .move-banner {
    font-size: 16px;
    padding: 12px 16px;
  }

}

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 460px) {

  body {
    font-size: 14px;
    line-height: 1.6;
  }

  /* HEADER */
  .logo {
    width: 150px;
  }

  /* HERO */
  .hero {
    height: 260px;
  }

  /* CONTENT */
  .content {
    margin-block: 40px;
  }

  .content h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .content h3 {
    font-size: 16px;
  }

  h6 {
    font-size: 12px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .abstand {
    padding-top: 24px;
    margin-top: 24px;
  }

  /* LISTEN */
  .content ul li {
    padding-left: 16px;
    margin-bottom: 6px;
  }

  .content ul li::before {
    font-size: 12px;
  }

  /* TAB BUTTONS */
  .tab-buttons {
    gap: 10px;
  }

  .tab-btn {
    font-size: 14px;
  }

  /* MOBILE NAV */
  .nav-links {
    width: 220px;
    padding: 100px 24px;
  }

  .nav-links a {
    font-size: 16px;
  }

  /* FOOTER */
  .site-footer {
    gap: 16px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 12px;
  }

  /* BANNER */
  .move-banner {
    font-size: 14px;
    padding: 10px 14px;
  }

}
