/* FK Designstudio Stylesheet */

/* ROOT ------------------------------- */
:root {
  --primary-color: #FFC107;
  /* Gold */
  --accent-color: #ffe08a;
  /* Helleres Gold */
  --text-color: #222;
  /* Dunkleres Grau für besseren Kontrast */
  --light-text-color: #555;
  /* Helles Grau für sekundären Text */
  --background-light: rgba(255, 255, 255, 0.95);
  /* Weiß mit Transparenz */
  --background-dark: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.8));
  /* Dunkler Verlauf */
  --headline-color: #5e5ce6;
  /* Violett für Überschriften */
}

/* BASE ------------------------------- */
body {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  /* statt 400 */
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  /* Primäre Textfarbe */
  background: #ffffff; /* Fallback für ältere Browser */
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/uploads/hero_background.png') no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(5px);
  font-size: 1.05rem;
}

h1,
h2,
h3 {
  font-family: 'Livvic', sans-serif;
  /* Moderne Schriftart */
  font-weight: 700;
  /* Kräftige Schrift für bessere Sichtbarkeit */
  color: var(--headline-color);
  /* Violett aus deinem Design */
  line-height: 1.2;
  /* Angenehme Zeilenhöhe */
  margin-bottom: 1rem;
  /* Einheitlicher Abstand nach unten */
  text-align: center;
  /* Zentrierte Überschriften */
}

h1 {
  font-size: 2.8rem;
  /* Größere Schriftgröße für Hauptüberschriften */
  color: var(--primary-color);
  /* Gold für mehr Aufmerksamkeit */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Leichter Schatten für bessere Lesbarkeit */
}

h2 {
  font-size: 2rem;
  /* Mittlere Schriftgröße */
  color: var(--headline-color);
  /* Violett für Sekundärüberschriften */
}

h3 {
  font-size: 1.5rem;
  /* Kleinere Schriftgröße */
  color: var(--text-color);
  /* Dunkles Grau für Tertiärüberschriften */
}

p,
li {
  color: var(--light-text-color);
  /* Helles Grau für Absätze und Listen */
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
/* Einheitliches Button-Styling */
.cta-btn {
  background-color: #5E5CE6;
  /* Violett */
  color: #fff;
  /* Weiße Schrift */
  border: 2px solid #FFC107;
  /* Gelbe Umrandung */
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  /* Abgerundete Ecken */
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  /* Einheitliche Schriftgröße */
  text-align: center;
  transition: all 0.3s ease;
  /* Sanfter Übergang */
  width: 100%;
  /* Button nimmt die gesamte Breite des Containers ein */
  max-width: 400px;
  /* Maximale Breite des Buttons */
  margin: 0 auto;
  /* Zentrierung */
}

.cta-btn:hover {
  background-color: #FFC107;
  /* Gelber Hintergrund beim Hover */
  color: #fff;
  /* Weiße Schrift beim Hover */
  transform: scale(1.05);
  /* Leichte Vergrößerung */
}

.cta-btn--outline {
  background-color: transparent;
  /* Transparenter Hintergrund */
  color: var(--primary-color);
  /* Goldene Schrift für Outline-Buttons */
  border: 2px solid #FFC107;
  /* Gelbe Umrandung */
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn--outline:hover {
  background-color: #FFC107;
  /* Gelber Hintergrund beim Hover */
  color: #fff;
  /* Weiße Schrift beim Hover */
  transform: scale(1.05);
}

/* Allgemeines Button-Styling */
.button {
  background-color: var(--primary-color);
  /* Goldener Hintergrund */
  color: #fff;
  /* Weiße Schrift */
  border: 2px solid var(--primary-color);
  /* Goldene Umrandung */
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  /* Abgerundete Ecken */
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  /* Einheitliche Schriftgröße */
  text-align: center;
  transition: all 0.3s ease;
  /* Sanfter Übergang */
}

.button:hover {
  background-color: var(--accent-color);
  /* Helleres Gold beim Hover */
  color: #fff;
  /* Weiße Schrift beim Hover */
  transform: scale(1.05);
  /* Leichte Vergrößerung */
}

/* Header */
.header-wrapper {
  position: sticky;
  top: 1rem;
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
}

.header {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  border-radius: 20rem;
  padding: 2rem;
  max-width: 1200px;
  width: 90%;
  pointer-events: all;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
  z-index: 1;
}

.header__logo img {
  width: 110px;
  transition: transform 0.3s ease;
}

.desktop-logo {
  display: block;
}

.mobile-logo {
  display: none;
}

@media (max-width: 768px) {
  .desktop-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }
}

/* Navigation */
.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__list a {
  text-decoration: none;
  color: var(--text-color);
  /* Dunkles Grau für Links */
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav__list a:hover {
  color: var(--primary-color);
  /* Gold beim Hover */
}


/* Kontakt-Dropdown */
.contact-dropdown {
  position: relative;
  display: inline-block;
}

.contact-button {
  background-color: #FFC107; /* statt #5E5CE6 */
  color: #fff;
  /* Dunkles Anthrazit für bessere Lesbarkeit */
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
  background-color: #FFC107;
  /* Gelber Hintergrund beim Hover */
  transform: scale(1.05);
}

.contact-button::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 0.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  z-index: 1000;
  list-style: none;
  min-width: 250px;
  /* Breite des Menüs */
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content li {
  margin: 0.5rem 0;
}

.dropdown-content a {
  text-decoration: none;
  color: var(--text-color);
  /* Dunkles Grau für Dropdown-Links */
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
  /* E-Mail-Adresse bleibt in einer Zeile */
}

.dropdown-content a:hover {
  color: var(--primary-color);
  /* Gold beim Hover */
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .contact-dropdown {
    width: 100%;
    /* Dropdown passt sich der Breite an */
  }

  .contact-button {
    width: auto;
    min-width: 150px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 20px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0.5rem;
    min-width: 100%;
    /* Dropdown passt sich der Breite des Buttons an */
  }

  .dropdown-content li {
    margin: 0;
  }

  .dropdown-content a {
    padding: 1rem;
    display: block;
    border-bottom: 1px solid #f1f1f1;
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .cta-btn, .button {
    width: 90%; /* Buttons nehmen 90% der Breite ein */
    max-width: none; /* Entfernt die maximale Breite */
    margin: 0 auto; /* Zentriert die Buttons */
    padding: 1rem; /* Größerer Innenabstand für bessere Lesbarkeit */
    font-size: 1rem; /* Einheitliche Schriftgröße */
    display: block; /* Block-Element für konsistente Breite */
  }

  .kontaktformular button {
    width: 100%; /* Button nimmt die gesamte Breite des Containers ein */
    max-width: 300px; /* Maximale Breite */
    margin: 0 auto; /* Zentrierung */
  }

  .nav__list {
    display: none;
    flex-direction: column;
    position: fixed; /* Fixiert das Menü in der Mitte */
    transform: translate(-50%, -50%); /* Zentriert das Menü */
    background: rgba(255, 255, 255, 0.95); /* Hintergrund mit Transparenz */
    width: 90%; /* Breite des Menüs */
    padding: 2rem; /* Innenabstand */
    border-radius: 1rem; /* Abgerundete Ecken */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Sanfter Schatten */
    animation: slideDown 0.4s ease forwards; /* Animation beim Öffnen */
    z-index: 1000; /* Überlagert andere Inhalte */
    text-align: center; /* Zentriert die Links */
  }

  .nav__list.active {
    display: flex;
  }

  .nav__list a {
    font-size: 1.2rem; /* Größere Schriftgröße für bessere Lesbarkeit */
    margin: 1rem 0; /* Abstand zwischen den Links */
    color: var(--text-color); /* Textfarbe */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .nav__list a:hover {
    color: var(--primary-color); /* Gold beim Hover */
  }

  .menu-toggle {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
  }
}

/* Hamburger Menü */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: all 0.4s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menü */
@media (max-width: 768px) {
  .nav__list {
    display: none;
    flex-direction: column;
    position: fixed;/* Fixiert das Menü in der Mitte */
    top: 50%; 
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    width: 95%;
    margin-top: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s ease forwards;
  }

  .nav__list.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* HERO ----------------------------- */
.hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('/uploads/hero_background.png') no-repeat center center / cover;
  color: #fff;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.hero__image {
  max-width: 250px;
  border-radius: 20px;
  margin-top: 2rem;
}

.hero__socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.hero__socials img {
  width: 30px;
  height: 30px;
}

.hero h1 {
  color: var(--primary-color);
  /* Gold für Hauptüberschrift */
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* Leichter Schatten für bessere Lesbarkeit */
}

.hero h2 {
  color: #fff;
  /* Weiße Schrift für Unterüberschrift */
  font-size: 1.8rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  /* Schatten für bessere Lesbarkeit */
}

.hero p {
  color: #f5f5f5;
  /* Helles Weiß für Text */
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  /* Schatten für bessere Lesbarkeit */
}

.hero__socials-inline {
  display: flex;
  justify-content: center;
  /* Zentriert die Buttons */
  gap: 1rem;
  /* Abstand zwischen den Buttons */
  margin-top: 1rem;
}

.hero__socials-inline img {
  width: 40px;
  /* Einheitliche Breite der Icons */
  height: 40px;
  /* Einheitliche Höhe der Icons */
  border-radius: 50%;
  /* Optional: Rundes Design */
  transition: transform 0.3s ease;
}

.hero__socials-inline img:hover {
  transform: scale(1.1);
  /* Vergrößert das Icon beim Hover */
}

.hero__socials-inline a img {
  background-color: var(--primary-color); /* Goldener Hintergrund */
  border-radius: 50%; /* Runde Form */
  padding: 0.5rem; /* Abstand innerhalb des Kreises */
  width: 40px; /* Einheitliche Größe */
  height: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__socials-inline a img:hover {
  background-color: var(--accent-color); /* Helleres Gold beim Hover */
  transform: scale(1.1); /* Leichte Vergrößerung beim Hover */
}

.hero__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  /* Abstand zwischen den Buttons */
  margin-top: 2rem;
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  /* Erhöht den Abstand nach oben */
}

.hero-socials a {
  display: inline-block;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.hero-socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-socials a:hover {
  transform: scale(1.1);
  /* Leichte Vergrößerung beim Hover */
}

/* LEISTUNGEN ----------------------------- */
.leistungen-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  /* Drei Spalten */
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
    /* Eine Spalte auf kleinen Bildschirmen */
  }
}

.leistungskarte {
  display: flex;
  flex-direction: column;
  /* Bild, Titel und Text untereinander */
  align-items: center;
  /* Zentriert den Inhalt */
  justify-content: space-between;
  /* Verteilt den Inhalt gleichmäßig */
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  /* Leicht transparent */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  height: 100%;
  /* Gleiche Höhe für alle Karten */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistungskarte:hover {
  transform: translateY(-10px);
  /* Karte hebt sich leicht an */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  /* Stärkerer Schatten */
}

.leistungskarte-img {
  max-width: 100%;
  height: 150px;
  /* Einheitliche Höhe für alle Bilder */
  object-fit: cover;
  /* Schneidet das Bild passend zu */
  border-radius: 8px;
  margin-bottom: 1rem;
}

.leistungskarte h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #333;
}

.leistungskarte p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  margin-top: auto;
  /* Text bleibt unten */
}

/* VORTEILE ----------------------------- */
.vorteile {
  display: flex;
  flex-direction: column;
  align-items: center; /* Zentriert den Inhalt horizontal */
  justify-content: center; /* Zentriert den Inhalt vertikal */
  padding: 4rem 2rem; /* Angenehmer Abstand oben und unten */
  margin: 0 auto; /* Zentriert den Abschnitt */
  max-width: 1200px; /* Begrenzte Breite für große Bildschirme */
  text-align: center; /* Zentriert den Text */
}

/* Grid für die Vorteile-Blöcke */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Flexible Spalten */
  gap: 2rem; /* Abstand zwischen den Blöcken */
  width: 100%; /* Nimmt die volle Breite des Containers ein */
  justify-items: center; /* Zentriert die Blöcke horizontal */
}

/* Vorteile-Blöcke */
.vorteilblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85); /* Leicht transparenter Hintergrund */
  backdrop-filter: blur(10px); /* Blur-Effekt für den Hintergrund */
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Sanfter Schatten */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

/* Hover-Effekt für Vorteile-Blöcke */
.vorteilblock:hover {
  transform: translateY(-5px); /* Leichtes Anheben beim Hover */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* Stärkerer Schatten */
}

/* Überschrift im Vorteile-Block */
.vorteilblock h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 700;
}

/* Text im Vorteile-Block */
.vorteilblock p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 300px; /* Begrenzte Breite für bessere Lesbarkeit */
  margin: 0 auto;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .vorteile {
    padding: 2rem 1rem; /* Weniger Padding für kleinere Bildschirme */
  }

  .vorteile-grid {
    grid-template-columns: 1fr; /* Blöcke untereinander anzeigen */
  }

  .vorteilblock {
    padding: 1.5rem; /* Weniger Innenabstand */
  }
}

/* REFERENZEN ----------------------------- */
.referenzen-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 2rem;
}

.referenzen-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referenzen-grid img:hover {
  transform: scale(1.05);
  /* Vergrößert das Bild leicht */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  /* Stärkerer Schatten */
}

.leistungskarte-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistungskarte-img:hover {
  transform: scale(1.05);
  /* Vergrößert das Bild leicht */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  /* Stärkerer Schatten */
}

/* ÜBER MICH ----------------------------- */
.uebermich {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.uebermich h2 {
  font-size: 2rem;
  color: #5e5ce6;
  margin-bottom: 2rem;
}

.uebermich-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.uebermich-img-box {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

.uebermich-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

/* KONTAKT ----------------------------- */
.kontakt-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1);
  /* 10% Weiß, nicht 85% */
  backdrop-filter: blur(6px);
  /* sanfter Blur */
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.kontaktformular {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontaktformular input,
.kontaktformular textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.kontaktformular button {
  composes: button;
  /* Verwendet das allgemeine Button-Styling */
}

.kontakt-map iframe {
  width: 100%;
  border-radius: 16px;
  height: 350px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.footer {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(30, 30, 30, 0.8));
  /* Tiefer Verlauf */
  color: #fff;
  /* Weiße Schrift für besseren Kontrast */
  padding: 4rem 2rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
  text-align: left;
}

.footer-column h4 {
  color: var(--primary-color);
  /* Gold für Überschriften */
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a {
  color: #fff;
  /* Weiße Schrift für Links und Text */
  font-size: 0.95rem;
  margin: 0.3rem 0;
  text-decoration: none;
  display: block;
}

.footer-column a:hover {
  color: var(--primary-color);
  /* Gold beim Hover */
}

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-socials img {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 8px;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.footer-socials img:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.5);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #ccc;
  /* Helles Grau für dezenteren Text */
}

.footer-legal {
  margin-bottom: 0.5rem;
}

.footer-legal a {
  color: #fff;
  /* Weiße Schrift für rechtliche Links */
}

.footer-legal a:hover {
  color: var(--primary-color);
  /* Gold beim Hover */
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 2rem;
  }

  .hero__cta-buttons {
    flex-direction: column;
  }

  .footer__row {
    flex-direction: column;
  }

  .uebermich-flex {
    flex-direction: column;
  }

  .uebermich-grid {
    flex-direction: column;
    /* Stapelt Bild und Text untereinander */
    text-align: center;
    /* Zentriert den Text */
  }

  .uebermich-img-box {
    max-width: 100%;
    /* Bild passt sich der Bildschirmbreite an */
  }

  .hero__socials-inline {
    flex-wrap: wrap;
    /* Buttons umbrechen, falls nötig */
  }

  .uebermich-wrapper {
    flex-direction: column;
    /* Bild und Text untereinander */
    align-items: center;
    /* Zentriert Bild und Text */
    text-align: center;
    /* Text zentrieren */
  }

  .uebermich-image img {
    width: 200px;
    /* Kleinere Breite des Bildes auf mobilen Geräten */
  }

  .uebermich-text h2 {
    font-size: 1.8rem;
    /* Etwas kleinere Überschrift auf mobilen Geräten */
  }

  .uebermich-text p {
    font-size: 1rem;
    /* Kleinere Schriftgröße für den Text */
  }

  .leistungen-grid {
    grid-template-columns: 1fr;
    /* Eine Spalte auf kleinen Bildschirmen */
  }

  .leistungskarte-img {
    height: 120px;
    /* Kleinere Höhe für Bilder */
  }

  .leistungskarte:hover,
  .vorteilblock:hover {
    transform: none;
    /* Keine Animation auf mobilen Geräten */
    box-shadow: none;
  }

  .legal-page {
    padding: 4rem 1.5rem 3rem;
    /* Weniger Padding für kleinere Bildschirme */
    margin: 4rem auto;
    /* Zentrierte Darstellung */
    font-size: 0.95rem;
    /* Kleinere Schriftgröße */
    line-height: 1.6;
    /* Angenehme Zeilenhöhe */
  }

  .legal-page h1 {
    font-size: 1.8rem;
    /* Kleinere Überschrift */
    text-align: center;
    /* Zentrierte Überschrift */
  }

  .legal-page p {
    font-size: 1rem;
    /* Einheitliche Schriftgröße */
    text-align: justify;
    /* Text ausrichten für bessere Lesbarkeit */
  }

  .footer-container {
    grid-template-columns: 1fr;
    /* Eine Spalte für den Footer */
    text-align: center;
    /* Zentrierter Text */
  }

  .footer-socials {
    justify-content: center;
    /* Zentrierte Social-Media-Icons */
    margin-top: 1.5rem;
  }

  .header__logo img {
    width: 90px;
    /* Kleinere Logo-Größe */
  }

  .nav__list {
    flex-direction: column;
    /* Navigation untereinander anzeigen */
    gap: 1rem;
    /* Abstand zwischen den Links */
  }

  .cookie-banner {
    flex-wrap: wrap;
    /* Inhalte umbrechen */
    text-align: center;
    /* Zentrierter Text */
    padding: 1rem;
    /* Weniger Padding */
  }

  .cookie-banner p {
    flex: 1 1 100%;
    /* Text über die gesamte Breite */
    margin-bottom: 1rem;
    /* Abstand nach unten */
  }

  .cookie-banner button {
    width: 100%;
    /* Button über die gesamte Breite */
    max-width: 200px;
    /* Maximale Breite */
    margin: 0 auto;
    /* Zentrierung */
  }
}

/* COOKIE-BANNER ----------------------------- */
.cookie-banner {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  /* Dunkler Hintergrund */
  color: #fff;
  /* Weiße Schrift */
  padding: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--primary-color);
  /* Gold für Links */
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--accent-color);
  /* Helleres Gold beim Hover */
}

.cookie-banner button {
  background: var(--primary-color);
  /* Goldener Button */
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cookie-banner button:hover {
  background: var(--accent-color);
  /* Helleres Gold beim Hover */
  transform: scale(1.05);
  /* Leichte Vergrößerung */
}

/* Desktop-Navigation */
@media (min-width: 769px) {
  .nav {
    display: flex;
    /* Navigation sichtbar machen */
    justify-content: flex-end;
    /* Navigation rechts ausrichten */
    align-items: center;
    gap: 1.5rem;
    /* Abstand zwischen den Links */
  }

  .nav__list {
    display: flex;
    /* Links nebeneinander anzeigen */
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav__list li {
    margin: 0;
  }

  .nav__list a {
    text-decoration: none;
    color: #333;
    /* Textfarbe */
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    /* Sanfter Übergang */
  }

  .nav__list a:hover {
    color: #5E5CE6;
    /* Farbe beim Hover */
  }

  .nav-toggle {
    display: none;
    /* Hamburger-Menü-Button ausblenden */
  }
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
}

/* ---------------------------------
   LEGAL SEITEN (Impressum, Datenschutz)
----------------------------------- */

.legal-page {
  background: rgba(255, 255, 255, 0.95);
  /* Fast weiß, ganz leicht transparent */
  backdrop-filter: blur(8px);
  /* Sanfter Blur */
  padding: 6rem 2rem 4rem;
  margin: 5rem auto;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  color: var(--text-color);
  /* Dunkles Grau für Text */
  font-size: 1rem;
  line-height: 1.8;
}

.legal-page h1,
.legal-page h2 {
  color: var(--headline-color);
  /* Dein Design-Violett */
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--primary-color);
  /* Gold für Links */
}

.legal-page a:hover {
  color: var(--accent-color);
  /* Helleres Gold beim Hover */
}