:root {
  --color-accent: #800020;       /* Weinrot */
  --color-accent-light: #a02040;
  --color-bg: #ffffff;
  --color-text: #800020;         /* alles Weinrot */
  --font-title: 'Chewy', cursive;
  --font-text: 'Quicksand', sans-serif;
}

/* Burger Icon unsichtbar auf Desktop */
.burger {
  display: none; /* Desktop: unsichtbar */
}
.mobile-header {
  display: none;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-text);
  color: var(--color-text);
  background: var(--color-bg);

  /* Schriftglättung */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hauptcontainer */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* 5 Spalten */
  height: 100vh;
}

/* Sidebar */
.sidebar {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-right: 3px solid var(--color-accent);
  height: 100vh;
}

/* Name */
.sidebar .name {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  line-height: 1;
}

.sidebar .name .firstname {
  font-family: var(--font-title);
  font-size: 4rem;
  display: block;
  width: 100%;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.sidebar .name .lastname {
  font-family: var(--font-title);
  font-size: 3rem;
  display: block;
  width: 100%;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar nav ul li button {
  font-family: var(--font-text);
  font-size: 1.1rem;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.sidebar nav ul li button:hover {
  color: var(--color-accent-light);
}

/* Impressum */
.impressum-btn {
  font-size: 0.8rem;
  color: var(--color-accent);
  text-decoration: underline;
  margin-top: auto;
}

.impressum-btn:hover {
  color: var(--color-accent-light);
}

/* Content-Bereich */
.content {
  grid-column: 2 / 6;
  padding: 2rem;
  overflow-y: auto;
}

/* Animationen für Seitenübergänge */
@keyframes slideOutUp {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-20px); opacity: 0; }
}

@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.content-section.animate-out {
  animation: slideOutUp 0.4s forwards;
}

.content-section.animate-in {
  animation: slideInUp 0.4s forwards;
}

/* Galerie */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* linksbündig */
  gap: 1rem; /* Abstand zwischen Videos */
}

.gallery video {
  max-width: 500px; /* maximale Breite pro Video */
  width: 100%; /* passt sich dem verfügbaren Platz an */
  height: auto; /* behält das Seitenverhältnis */
  object-fit: contain; /* kein Zuschneiden oder Verzerren */
  border-radius: 8px; /* sanfte Ecken, optional */
  flex: 1 1 auto; /* erlaubt flexible Breiten */
}

/* Lautstärkeregler bleibt sichtbar, aber deaktiviert */
.locked-sound::-webkit-media-controls-mute-button,
.locked-sound::-webkit-media-controls-volume-slider {
  pointer-events: none; /* Klicks deaktivieren */
  opacity: 0.6; /* leicht ausgegraut, optional */
  cursor: not-allowed;
}

/* In Firefox (teilweise andere Namen) */
.locked-sound::-moz-media-controls-mute-button,
.locked-sound::-moz-media-controls-volume-control {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .gallery video {
    max-width: 100%;
  }
}


/* Kontaktbereich - Social Media Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons i {
  font-size: 30px;
  color: #800020;
  transition: transform 0.2s;
}

.social-icons i:hover {
  transform: scale(1.2);
}

/* Kontaktformular */
form input,
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-text);
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  padding: 0.8rem 2rem;
  font-family: var(--font-text);
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: var(--color-accent);
  color: white;
  cursor: pointer;
}

form button:hover {
  background-color: var(--color-accent-light);
}

/* Bilder in Über mich */
.content-section img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
}

/* Mehr Abstand unter den Überschriften im Content-Bereich */
.content-section h2 {
  margin-bottom: 1.5rem; /* du kannst hier 1.5rem oder mehr nehmen */
}


/* Responsive */
@media screen and (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr 2fr;
  }
  
 /* --- Über mich Layout --- */
/* --- Über mich Layout (Bild links, Text rechts) --- */
.about-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-image {
  flex: 0 0 300px;
  max-width: 300px;
}

.about-image img {
  width: 100%;
  max-width: 250px; /* <- hier kannst du die Größe anpassen */
  height: auto;     /* behält das Seitenverhältnis bei */
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.about-text {
  flex: 1;
  min-width: 250px;
}

.about-text h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

/* Für kleinere Bildschirme: Bild über dem Text */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    max-width: 80%;
  }

  .about-text {
    text-align: center;
  }
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    max-width: 80%;
  }
}
  
  .gallery video {
    width: 100%;
  }
}

/* ----------------------------
   Bullet-Points für "Ich biete"
---------------------------- */

/* Abstand zwischen H2 und H3 */
#services h2 {
  margin-bottom: 2rem; /* größerer Abstand zwischen "Ich biete" und den Kategorien */
}

/* Kategorie-Container */
.service-category {
  margin-bottom: 3rem; /* Abstand zwischen Privatpersonen und Unternehmen */
}

/* H3-Abstand oben (optional für mehr Luft) */
.service-category h3 {
  margin-bottom: 1rem; /* Abstand zwischen Überschrift und Liste */
}

/* Liste direkt nach Überschrift */
.service-category .bullet-points {
  list-style-type: disc;      /* gefüllte Punkte */
  padding-left: 2rem;         /* Abstand, damit Punkte nicht links kleben */
  margin: 0;                  /* Abstand oben/unten nur über H3 gesteuert */
}

/* Punkte selbst */
.service-category .bullet-points li {
  margin-bottom: 1.2rem;      /* Abstand zwischen den Punkten */
  line-height: 1.8;           /* Zeilenhöhe */
}


/* ------------------------------------
   About-Bild: klare Größe + Flex-Layout
   (Diesen Block ans Ende von style.css)
   ------------------------------------ */
#about .about-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: nowrap; /* verhindert, dass Bild sofort unter den Text rutscht */
  margin-top: 2rem;
}

/* Container für das Bild: feste Breite (ändert die Größe, ohne zu verzerren) */
#about .about-image {
  flex: 0 0 300px;   /* Breite des Bildbereichs auf Desktop: 300px */
  max-width: 300px;
}

/* Bild selbst: auf Containergröße skalieren, Seitenverhältnis beibehalten */
#about .about-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Textbereich nimmt den restlichen Platz ein */
#about .about-text {
  flex: 1 1 auto;
  min-width: 220px;
}

/* Mobile: Bild oben, Text darunter */
@media (max-width: 768px) {
  #about .about-container {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
  }

  #about .about-image {
    max-width: 80%;
    flex: 0 0 auto;
  }
}

/* Überschrift im About-Abschnitt bündig mit Bildoberkante */
#about .about-text h2 {
  margin-top: -0.8rem; /* entfernt Standardabstand nach oben */
  padding-top: 0;
  display: flex;
  align-items: flex-start;
}

/* Toast-Benachrichtigung */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #800020;              /* Hintergrundfarbe */
    color: #fff;                   /* Textfarbe */
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 9999;
    font-size: 16px;
}

/* Wenn sichtbar */
#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* ---------------------------------- */
/* MOBILE VERSION */
/* ---------------------------------- */

@media (max-width: 768px) {

@media (max-width: 768px) {
  .mobile-header {
    display: flex;
    align-items: center;
    height: 3rem;      /* Höhe der „Zeile“ */
    padding-left: 0.8rem;
    background: var(--color-bg, white); /* optional */
  }

  .burger {
    font-size: 1.8rem;
    cursor: pointer;
  }

  .container {
    display: block;
    width: 100%;
    margin-top: 0; /* Content rutscht automatisch unter Header */
  }
}
/* Burger anzeigen */
.burger {
  display: block;         /* Desktop: unsichtbar */
  font-size: 1.8rem;
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2000;
  cursor: pointer;
  line-height: 1;
}


  /* Container verliert die Sidebar-Spalte komplett */
  .container {
    display: block;      /* WICHTIG! */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Sidebar Off-Canvas */
  .sidebar {
    position: fixed;
    left: -220px;   /* versteckt links */
    top: 0;
    width: 200px;
    height: 100vh;
    background: var(--color-bg, white);
    border-right: 3px solid var(--color-accent);
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 1500;
  }

  /* Sidebar sichtbar */
  .sidebar.active {
    left: 0;
  }

  /* Burger-Icon kleiner */
  .burger {
    font-size: 1.8rem;
    top: 0.8rem;
    left: 0.8rem;
  }
}


.container, section, div {
  max-width: 100%;
  box-sizing: border-box;
}


                                                                                                                             