


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

body {
    background-image: url('/assets/img/Hintergrund.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

html {
    scroll-behavior: smooth;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}


a.data_links:link,
a.data_links:visited {
  color: white;
  text-decoration: none;
}

a.data_links:hover {
  color: white;
  text-decoration: underline;
}

a.data_links:active {
  color: white;
  text-decoration: none;
}


/* Hintergrundbild-Container */
.background-container {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}




/* Navbar Stile */
.navbar {
    background-color: #fff;
    color: #1d3565;
    transition: all 0.3s ease;
    padding: 1rem 2rem; /* Standard-Padding */
}

.navbar::after {
    content: '';
    display: block;
    height: 8px;
    background-color: #345e7d;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.navbar .logo img {
    width: 350px;
    height: 88px;
    transition: all 0.3s ease;
  }

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
}

/* Logo Stile */
.logo {
    text-decoration: none;
    color: #1d3565;
    margin-left: -50px;
}

/* Navigation MenÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼ Stile */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
    position: relative; /* FÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r die Positionierung des Hover-Effekts */
}

.nav-link {
    text-decoration: none;
    color: #1d3565;
    font-size: 23px;
    padding: 5px 10px; /* FÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼gt etwas Polsterung hinzu */
    transition: all 0.3s ease; /* FÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r einen sanften ÃƒÆ’Ã†â€™Ãƒâ€¦Ã¢â‚¬Å“bergang */
}

/* Hover-Effekt fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r Navigationslinks */
.nav-link:hover::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid #1d3565;
    z-index: -1;
}

.navbar.scrolled {
    padding: 0rem 2rem; 
    height: 95px; /* Neue HÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶he fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r die Navbar beim Scrollen */
}

.navbar.scrolled .logo img {
    width: 350px; /* oder ein anderer kleinerer Wert */
    height: 85px;
}

.navbar.scrolled .nav-link {
    font-size: 1.4em; /* Verkleinert die SchriftgrÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¶ÃƒÆ’Ã†â€™Ãƒâ€¦Ã‚Â¸e */
}


/* Sprachauswahl Stile */
.language-switcher {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5px;
}

.language-switcher .nav-link {
    padding: 0 5px;
    position: relative;
}

.language-switcher .separator {
    color: #1d3565;
    margin: 0 5px;
}

/* Gemeinsamer Kasten fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r DE und RU */
.language-switcher:hover::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid #1d3565;
    z-index: -1;
}

/* Unterstreichungs-Effekt fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r einzelne Sprachoptionen */
.language-switcher .nav-link::before {
    content: '';
    position: absolute;
    width: 5;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #1d3565;
}

.language-switcher .nav-link:hover::before {
    width: 100%;
    left: 0;
}

/* Entfernen des individuellen Kastens fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r DE und RU */
.language-switcher .nav-link:hover::after {
    content: none;
}




/* Hamburger MenÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼ Stile */
.hamburger {
    display: none;
    cursor: pointer;
    width: 70px;
    height: 57px;
    position: relative;
}

.bar {
    display: block;
    width: 40px;
    height: 5px;
    margin: 8px auto;
    background-color: #1d3565;
    transition: all 0.3s ease-in-out;
}



/* Inhalt Stile */
.content {
    position: relative;
    z-index: 1;
}

/* Anpassungen fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r die hero-content */
.hero-content {
    position: absolute;
    top: 57%;
    left: 5%;
    transform: translateY(-50%);
    max-width: 600px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;


}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    width: 100%;
}

.hero-content hr {
    width: 80%;
    margin: 30px auto;
    border: none;
    border-top: 3px solid white;
}

.hero-content h2 {
    font-size: 3.8em;
    margin-bottom: 40px;
    width: 100%;
}

.hero-content .button {
    display: inline-block;
    background-color: #345e7d;
    color: white;
    padding: 20px 140px;
    text-decoration: none;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #345e7d;
    transition: all 0.3s ease;
    margin: 0 auto;
    font-size: 36px;
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    text-align: center; /* Zentriert den Text */
    min-width: 400px; /* Minimale Breite, um genug Platz fÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¼r den Text zu gewÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¤hrleisten */
}

.hero-content .button:hover {
    background-color: white;
    color: #345e7d;
}

.first-container {
    background-color: #345e7d;
    color: white;
    text-align: center;
    padding: 30px 0;
    width: 100%;
    min-height: 80px;
}

.first-container h2 {
    font-size: 2.5em;
    margin: 0;
}

/* ÃƒÆ’Ã…â€œber Kanzlei Container */
.ueber-kanzlei-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Gemeinsame Stile fÃƒÆ’Ã‚Â¼r Bild-Text-Abschnitte */
.image-text-section, .text-image-section {
    display: flex;
    align-items: flex-start; /* ÃƒÆ’Ã¢â‚¬Å¾ndere von center zu flex-start */
    justify-content: space-between;
    margin-bottom: 40px;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
}

/* Bild-Stile */
.image-text-section img, .text-image-section img {
    width: 17%; /* Bilder nehmen 30% des Containers ein */
    height: auto; /* Automatische HÃƒÆ’Ã‚Â¶henanpassung */
    border-radius: 8px; /* Optional: Abgerundete Ecken */
    margin-right: 20px; /* FÃƒÆ’Ã‚Â¼ge etwas Abstand rechts vom Bild hinzu */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* ÃƒÆ’Ã…â€œbergang fÃƒÆ’Ã‚Â¼r den Hover-Effekt */
}

.image-text-section img:hover, .text-image-section img:hover {
    transform: scale(1.05); /* VergrÃƒÆ’Ã‚Â¶ÃƒÆ’Ã…Â¸ert das Bild leicht */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* FÃƒÆ’Ã‚Â¼gt einen Schatten hinzu */
}

/* Text-Stile */
.image-text-section p, .text-image-section p {
    text-align: justify; /* Blocksatz */
    font-size: 1.3em;
    color: #fff; 
}

/* Korrektur: Reihenfolge im zweiten Abschnitt */
.text-image-section {
    flex-direction: row; /* Setzt die Richtung auf normal (links nach rechts) */
}

.ueber-kanzlei-text, .ueber-kanzlei-text-links {
    color: white;
    font-size: 1.2em;
}

.image-text-section div,
.text-image-section div {
    width: 75%;
}

.image-text-section h3,
.text-image-section h3 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 10px;
}


.bewertungen-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    text-align: center;
    color: #1d3565;
}

.puk {
    font-size: 2.5em;
}

.bewertungen-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}


.bewertungen-image {
    width: 20%;
    margin-right: 20px;
}

.bewertungen-image img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.bewertungen-slider {
    width: 75%;
    display: flex;
    align-items: center;
}

.bewertungen-text {
    display: flex;
    flex: 1;
    color: #1d3565;
}



.bewertung {
    flex: 0 0 45%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 10px;
    box-sizing: border-box;     /* Blocksatz */
    font-size: 1em;             /* Kleinere Schriftgröße, z.B. 1em oder 0.95em */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* weitere Styles wie gehabt */
}

.bewertung:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bewertung a {
    text-decoration: none;
    color: inherit;
}

.bewertung a:hover {
    text-decoration: none;
    color: inherit;
}

.sterne {
    color: gold;
    font-size: 20px;
    margin-top: 10px;
}

.bewertungen-slider button {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 40px;
    border-radius: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bewertungen-slider button:hover {
    background-color: #e0e0e0;
}





/*neu*/
.rechtstipps-container {
    color: white;
    text-align: center;
}
.rechtstipps-container-ueberschrift {
    background-color: #345e7d;
    color: white;
    text-align: center;
    padding: 30px 0;
    width: 100%;
    min-height: 0px;
}
.rechtstipps-container-ueberschrift h2 {
    font-size: 2.5em;
    margin: 0;
}



.rechtstipps-kaestchen-container {
    display: flex;
   	justify-content: center;    /* statt space-around */
    gap: 30px;                     /* Abstand zwischen Boxen */
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;               /* wichtig für Umbruch */
}


.rechtstipp-kaestchen {
    background-color: white;
    color: #345e7d;
    padding: 20px;
    width: 30%;

    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rechtstipp-kaestchen:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.rechtstipp-kaestchen h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.rechtstipp-kaestchen p {
    font-size: 1em;
}

.rechtstipps-button {
    display: inline-block;
    padding: 15px 248px;
    background-color: #345e7d;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 30px;
}

.rechtstipps-button:hover {
    background-color: white;
    color: #345e7d;
}




/* Kontaktieren Sie uns Container */
.blue-container {
    background-color: #345e7d;
    color: white;
    text-align: center;
    padding: 30px 0;
    width: 100%;
    min-height: 100px;
}

.blue-container h2 {
    font-size: 2.5em;
    margin: 0;
}

/* Formular-Container */
.form-container {
    width: 80%;
    margin: 50px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    /* Hintergrundfarbe entfernt fÃƒÆ’Ã‚Â¼r Transparenz */
}

/* Input-Stile von Uiverse.io */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input {
    width: 100%;
    border: solid 1.5px #fff;
    border-radius: 0; /* ÃƒÆ’Ã¢â‚¬Å¾ndert die Felder zu quadratisch */
    background: none;
    padding: 1rem;
    font-size: 1rem;
    color: #fff;
    transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.user-label {
    position: absolute;
    left: 15px;
    color: #fff;
    pointer-events: none;
    transform: translateY(1rem);
    transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
.input:valid {
    outline: none;
    border: 1.5px solid #fff;
}

.input:focus ~ .user-label,
.input:valid ~ .user-label {
    transform: translateY(-50%) scale(0.8);
    background-color: rgba(33, 33, 33, 0.7);
    padding: 0 .2em;
    color: #fff;
}

/* Anpassungen fÃƒÆ’Ã‚Â¼r Textarea */
textarea.input {
    min-height: 200px; /* ErhÃƒÆ’Ã‚Â¶ht die MindesthÃƒÆ’Ã‚Â¶he des Nachrichtenfelds */
    resize: vertical;
}

/* Name und E-Mail Container */
.name-email-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.name-email-container .input-group {
    width: 48%;
}

/* Datenschutz-Checkbox-Stile */
.datenschutz-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.datenschutz-container input[type="checkbox"] {
    margin-right: 10px;
}

.datenschutz-container label {
    font-size: 1.2em;
    color: #f5f5f5;
}

/* Submit-Button-Stile */
.submit-button {
    background-color: #345e7d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 0; /* Macht den Button quadratisch */
    font-size: 1.3em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submit-button:hover {
    background-color: #fff;
    color: #345e7d;
}

/*Kontakt*/
.contact-info-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #fff;
}

.contact-details {
    flex: 0.5; /* 40% Breite */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 130px;
    margin-top: 20px;
    margin-bottom: 3em;
}

.contact-info-container .contact-details p img {
    width: 4em; /* Icons so groÃƒÆ’Ã…Â¸ wie die Schrift */
    height: 2em;
    vertical-align: middle; /* Icons vertikal zentrieren */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Icons weiÃƒÆ’Ã…Â¸ fÃƒÆ’Ã‚Â¤rben */
    margin-right: 0.3em; /* Abstand zwischen Icon und Text */
}


.contact-details p {
    margin-bottom: 20px;
    font-size: 1.9em;
    display: flex;
    align-items: center;
}

.contact-details .address {
    margin-top: 40px;
}

.contact-details .hours {
    margin-top: 40px;
}

.contact-details i {
    margin-right: 25px;
    color: #fff;
    font-size: 1.7em;
    width: 50px;
    text-align: center;
}

.map-container {
    flex: 0.57; /* 60% Breite */
    margin-left: 20px; /* Optional: Abstand zwischen Text und Map */
    margin-right: 90px;
    margin-bottom: 70px;
}

.map-message {
    background: #f0f0f0;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    max-width: 600px;
    margin: 0 auto;
}

.map-message button {
    background-color: #345e7d;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.Datenschutz-link {
    color: white;
}

.Datenschutz-link:visited {
    color: white;
}

.Datenschutz-link:hover,
.Datenschutz-link:active {
    color: white;
}


.blue-containerKL {
    background-color: #345e7d;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 130px;
}

.blue-containerKL h2 {
    margin: 0;
    font-size: 1.8em;
}

.dt {
    color: #ddd;
    margin-left: 10px;
    margin-right: 10px;
} 


.blue-containerK {
  	color: white;
    padding: 10px 0;
    margin-top: 130px;
}

.blue-containerK h2 {
    margin: 0;
    font-size: 1.9em;
}












.abstand {
    margin: 100px;
}




.footer-container {
    background-color: #345e7d;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 70px;
    position: relative;
    z-index: 10000;
}

.teilen-box p {
    justify-content: center;
    text-align: center;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    flex-shrink: 0;
}

.footer-text {
    font-size: clamp(10px, 2vw, 12px);
    color: white;
    text-align: center;
}

.social-media-container {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a img {
    width: clamp(24px, 5vw, 40px);
    height: auto;
    transition: transform 0.3s ease;
    filter: invert(100%) brightness(200%);
}

.social-icons a:hover img {
    transform: scale(1.2);
}

.footer-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: clamp(0.8rem, 2vw, 1rem);
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}



/* Profilbereich – einheitlich, modern */
.profil-wrap{
    max-width: 1100px;
    margin: 0 auto 90px;
    margin-top: -100px;
    padding: 0 20px;
    gap: 40px;
    align-items: flex-start;
    box-shadow: none; /* weg, damit es cleaner wirkt */
  }
  
  .profil-bild-text{
    display: flex;
  }
  
  /* Bild */
  .profil-img{
    width: 45%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    flex-shrink: 0;
  }
  
  /* Textbereich */
  .profil-content{
    flex: 1;
    padding: 0;           /* keine wilden Einrückungen mehr */
    margin: 0;
  }
  
  .profil-title{
    color: #fff;
    font-size: 2.2em;     /* etwas ruhiger als 3.0em */
    margin: 0 0 18px;
    padding: 0;
  }
  
  /* Timeline / Steps */
  .profil-timeline{
    list-style: none;
    margin: 0;
    padding: 0 0 0 48px;  /* Platz für Linie + Punkte */
    position: relative;
  }
  
  .profil-timeline::before{
    content:"";
    position:absolute;
    left: 16px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: white;
  }
  
  .profil-timeline li{
    position: relative;
    padding: 10px 0 14px;
    color: #fff;
  }
  
  .profil-timeline li::before{
    content:"";
    position:absolute;
    left: -38px;
    top: 16px;
    width: 14px;
    height: 14px;
    background: #345e7d;
    box-shadow: 0 0 0 2px white;
  }
  
  .profil-timeline li span{
    display: inline-block;
    font-size: 1.15em;
    line-height: 2.5;
  }
  
/* Profil Button */
.profil-btn{
    display: inline-block;
    margin-top: 17px;
    padding: 6px 26px;
    min-width: 260px;
  
    background-color: #345e7d;
    color: #fff;
  
    border: 2px solid #fff;
  
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
  
  }
  
  /* Hover Effekt */
  .profil-btn:hover{
    background-color: #fff;
    color: #345e7d;
    border-color: #345e7d;

  }
  
  /* Responsive */
  @media (max-width: 900px){
    .profil-wrap{
      flex-direction: column;
      gap: 22px;
    }
    .profil-img{
      width: 100%;
      max-width: 520px;
    }
    .profil-title{
      font-size: 2.0em;
    }
  }




  .steps{
    max-width: 1000px;
    margin: 140px auto;
    padding: 0 20px;
    position: relative;
    color: #fff;
  }
  
  .step{
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 26px 0;
    position: relative;
  }
  
  .step:not(:last-child){
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  
  /* vertikale Akzentlinie */
  .steps::before{
    content:"";
    position:absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: white;
  }
  
  .step-badge{
    width: 44px;
    height: 44px;
    display:grid;
    place-items:center;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    background: #345e7d;
    border: 1px solid rgba(29,53,101,0.22);
    margin-left: -20px;
  }
  
  .step-content h3{
    margin: 0 0 10px;
    font-size: 20px;
  }
  
  .step-content p{
    margin: 0;
    line-height: 1.7;
  }
  
  @media (max-width: 650px){
    .step{ grid-template-columns: 56px 1fr; }
    .steps::before{ left: 40px; }
    .step-badge{ width: 40px; height: 40px;  margin-left: 1px; /* verschiebt die Box nach rechts */ }
  }

 
.impress {
    color: white; 
    margin-left: 5px; 
    margin-right: 5px;
    margin-top: 15px; 
    margin-bottom: 50px; 
    font-size: medium;
}



@media (max-width: 1310px) {
    /*Kontakt*/
.contact-info-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #fff;
}

.contact-details {
    flex: 0.5; /* 40% Breite */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 60px;
    margin-top: 20px;
    margin-bottom: 3em;
}

.contact-info-container .contact-details p img {
    width: 2em; /* Icons so groÃƒÆ’Ã…Â¸ wie die Schrift */
    height: 1,8em;
    vertical-align: middle; /* Icons vertikal zentrieren */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Icons weiÃƒÆ’Ã…Â¸ fÃƒÆ’Ã‚Â¤rben */
    margin-right: 0.7em; /* Abstand zwischen Icon und Text */
}

.contact-details p {
    margin-bottom: 20px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
}

.contact-details .address {
    margin-top: 40px;
}

.contact-details .hours {
    margin-top: 40px;
}

.contact-details i {
    margin-right: 25px;
    color: #fff;
    font-size: 1.7em;
    width: 50px;
    text-align: center;
}

.map-container {
    flex: 0.60; /* 60% Breite */
    margin-left: 20px; /* Optional: Abstand zwischen Text und Map */
    margin-right: 40px;
    margin-bottom: 70px;
}

}

@media (max-width: 1070px) {

    .hero-content {
        top: 50%;
        left: 50%;
        transform: none;
        width: 60%;
        max-width: none;
        text-align: center;
        align-items: center;
        position: static;
        width: 100%;
        margin-top: 290px; 
        margin-bottom: 170px;
        }
        
        
        .hero-content h1 {
        font-size: 2em;
        margin-bottom: 19px;
        }
        
        .hero-content hr {
        width: 60%;
        margin: 19px auto;
        }
        
        .hero-content h2 {
        font-size: 2.2em;
        margin-bottom: 25px;
        }
        
        .hero-content .button {
        padding: 15px 50px;
        font-size: 18px;
        width: 90%;
        width: auto; 
        min-width: 0; 
        max-width: 90%; 
        }
        
        .background-container {
        display: none; 
        }

    .background-container {
        display: none; 
        }


    
        
}


/* --- Mobile Anpassungen --- */
@media (max-width: 1058px) {
    .nav-menu {
        position: absolute;
        top: 130px; /* direkt unter der Navbar */
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none; /* ausgeblendet standardmäßig */
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        display: flex; /* eingeblendet bei Klick */
    }

    .nav-item {
        margin: 0; /* Abstand zwischen den Links in Mobile */
    }

    .nav-link {
        font-size: 20px;
    }

    /* Hamburger sichtbar auf Mobile */
    .hamburger {
        display: block;
    }

    /* Animation Hamburger -> Kreuz */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-13px) rotate(-45deg);
    }

    .navbar .logo img {
        width: 250px; /* vorher 350px */
        height: auto; /* sorgt dafür, dass das Seitenverhältnis bleibt */
        transition: all 0.3s ease;
    }

}


@media (max-width: 1055px) {


   
        .puk {
            font-size: 2.3em;
        }


        
        /*Kontakt*/
.contact-info-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #fff;
}

.contact-details {
    flex: 0.5; /* 40% Breite */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 60px;
    margin-top: 20px;
    margin-bottom: 3em;
}

.contact-info-container .contact-details p img {
    width: 2em; /* Icons so groÃƒÆ’Ã…Â¸ wie die Schrift */
    height: 1,8em;
    vertical-align: middle; /* Icons vertikal zentrieren */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Icons weiÃƒÆ’Ã…Â¸ fÃƒÆ’Ã‚Â¤rben */
    margin-right: 0.7em; /* Abstand zwischen Icon und Text */
}

.contact-details p {
    margin-bottom: 20px;
    font-size: 1.6em;
    display: flex;
    align-items: center;
}

.contact-details .address {
    margin-top: 40px;
}

.contact-details .hours {
    margin-top: 40px;
}

.contact-details i {
    margin-right: 25px;
    color: #fff;
    font-size: 1.7em;
    width: 50px;
    text-align: center;
}

.map-container {
    flex: 0.60; /* 60% Breite */
    margin-left: 20px; /* Optional: Abstand zwischen Text und Map */
    margin-right: 30px;
    margin-bottom: 70px;

}



.map-container iframe {
    height: 400px; /* Kleinere Höhe für Mobilgeräte */
  }
}

.image-text-section p {

    text-align: left;
}
.text-image-section p {

    text-align: left;
}

    

    @media screen and (max-width: 992px) {
     /*Rechtstipps*/
     .rechtstipps-kaestchen-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: -28px;
        }
        
        .rechtstipp-kaestchen {
        width: 95%;
        margin-bottom: 20px;
        }


        .rechtstipps-button {
        width: 95%; /* Breite angepasst */
        height: 50px; /* HÃƒÆ’Ã‚Â¶he bleibt gleich */
        font-size: 1em; /* SchriftgrÃƒÆ’Ã‚Â¶ÃƒÆ’Ã…Â¸e angepasst */
        padding: 15px 50px;
        margin-top: 30px;
        margin-bottom: 40px;
        }

        .abRechtstipps{
            height: 28px;
        }

        .rechtstipps-container h3 {
            font-size: 1.2em;
        }


        .rechtstipp-kaestchen p {
            font-size: 0.9em;
        }
}




@media (max-width: 890px) {
        /*Kontakt*/
        .contact-info-container {
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            color: #fff;
        }
        
        .contact-details {
            flex: 0.5; /* 40% Breite */
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            margin-left: 20px;
            margin-top: 20px;
            margin-bottom: 3em;
        }
        
        .contact-info-container .contact-details p img {
            width: 2em; /* Icons so groÃƒÆ’Ã…Â¸ wie die Schrift */
            height: 1,8em;
            vertical-align: middle; /* Icons vertikal zentrieren */
            filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Icons weiÃƒÆ’Ã…Â¸ fÃƒÆ’Ã‚Â¤rben */
            margin-right: 0.7em; /* Abstand zwischen Icon und Text */
        }
        
        
        .contact-details p {
            margin-bottom: 20px;
            font-size: 1.6em;
            display: flex;
            align-items: center;
        }
        
        .contact-details .address {
            margin-top: 40px;
        }
        
        .contact-details .hours {
            margin-top: 40px;
        }
        
        .contact-details i {
            margin-right: 25px;
            color: #fff;
            font-size: 1.7em;
            width: 50px;
            text-align: center;
        }
        
        .map-container {
            flex: 0.60; /* 60% Breite */
            margin-left: 20px; /* Optional: Abstand zwischen Text und Map */
            margin-right: 30px;
            margin-bottom: 70px;
        
        }

        

        

        
}

@media (max-width: 850px) {
 

    /*Bewertung*/
    .bewertungen-container {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        background-color: #fff;
        text-align: center;
        color: #1d3565;
    }
    
    .puk {
        font-size: 1.9em;
    }
    
    .bewertungen-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
    }
    
    .bewertungen-image {
        width: 20%;
        margin-right: 20px;
    }
    
    .bewertungen-image img {
        width: 100%;
        border-radius: 8px;
        cursor: pointer;
    }
    
    .bewertungen-slider {
        width: 75%;
        display: flex;
        align-items: center;
    }
    
    .bewertungen-text {
        display: flex;
        flex: 1;
        color: #1d3565;
    }
    
    .bewertung {
        flex: 0 0 45%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin: 0 10px;
        box-sizing: border-box;
        text-align: center;
        font-size: 0.9em;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .bewertung:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .bewertung a {
        text-decoration: none;
        color: inherit;
    }
    
    .bewertung a:hover {
        text-decoration: none;
        color: inherit;
    }
    
    .sterne {
        color: gold;
        font-size: 20px;
        margin-top: 10px;
    }
    }
    

    

@media (max-width: 820px) {
    

    /*Kontakt*/
    .contact-info-container {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        color: #fff;
    }
    
    .contact-details {
        flex: 0.5; /* 40% Breite */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-left: 20px;
        margin-top: 20px;
        margin-bottom: 3em;
    }
    
    .contact-info-container .contact-details p img {
        width: 2em; /* Icons so groÃƒÆ’Ã…Â¸ wie die Schrift */
        height: 1,8em;
        vertical-align: middle; /* Icons vertikal zentrieren */
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Icons weiÃƒÆ’Ã…Â¸ fÃƒÆ’Ã‚Â¤rben */
        margin-right: 0.7em; /* Abstand zwischen Icon und Text */
    }
    
    .contact-details p {
        margin-bottom: 20px;
        font-size: 1.3em;
        display: flex;
        align-items: center;
    }
    
    .contact-details .address {
        margin-top: 40px;
    }
    
    .contact-details .hours {
        margin-top: 40px;
    }
    
    .contact-details i {
        margin-right: 25px;
        color: #fff;
        font-size: 1.7em;
        width: 50px;
        text-align: center;
    }
    
    .map-container {
        flex: 0.60; /* 60% Breite */
        margin-left: 20px; /* Optional: Abstand zwischen Text und Map */
        margin-right: 30px;
        margin-bottom: 70px;
    
    }
    .map-container iframe {
        height: 350px; /* Kleinere Höhe für Mobilgeräte */
      }
    
     
  
    
    }



@media (max-width: 750px) {
    /*Startseite*/
    .hero-content {
        top: 50%;
        left: 50%;
        transform: none;
        width: 60%;
        max-width: none;
        text-align: center;
        align-items: center;
        position: static;
        width: 100%;
        margin-top: 200px; 
        margin-bottom: 90px;
        }
        
        
        .hero-content h1 {
        font-size: 1.96em;
        margin-bottom: 19px;

        }
        
        .hero-content hr {
        width: 60%;
        margin: 19px auto;
        }
        
        .hero-content h2 {
        font-size: 2.2em;
        margin-bottom: 25px;
        }
        
        .hero-content .button {
        padding: 15px 50px;
        font-size: 18px;
        width: 90%;
        width: auto; 
        min-width: 0; 
        max-width: 90%; 
        }
        
        .background-container {
        display: none; 
        }

    .background-container {
        display: none; 
        }
    

    
    







/*Bewertungen*/
                .puk {
                    font-size: 25px;
                }

                    .bewertungen-slider {
                        width: 100%;
                        max-width: 350px;
                        margin: 0 auto;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        position: relative;
                      }
                    
                      .next {
                        position: static;         /* Standard-Flow, nicht absolut */
                        margin: 14px auto 0 auto; /* Abstand oben, zentriert */
                        display: block;
                        font-size: 2em;
                        background: transparent;
                        border: none;
                        color: #345e7d;
                        cursor: pointer;
                      }
                  
                      .bewertungen-container {
                        padding: 10px;
                        font-size: 0.98em;
                    }
                
                    .bewertungen-content {
                        flex-direction: column;
                        align-items: stretch;
                        padding: 10px 0;
                    }
                
                    .bewertungen-image {
                        width: 60%;
                        margin: 0 auto 15px auto;
                        display: flex;
                        justify-content: center;
                    }
                
                    .bewertungen-image img {
                        width: 100%;
                        max-width: 180px;
                        margin: 0 auto;
                    }
            
                
                    .bewertungen-text {
                        flex-direction: column;
                        align-items: stretch;
                    }
                
                    .bewertung {
                        flex: 1 1 100%;
                        margin: 10px 0;
                        padding: 15px;
                        font-size: 0.97em;
                    }
                
                    .sterne {
                        font-size: 1.3em;
                        margin-top: 8px;
                    }
                
                    .bewertungen-slider button {
                        width: 100%;
                        font-size: 2em;
                        padding: 12px 0;
                        margin: 8px 0;
                    }


                /*Rechtstipps*/
                  .rechtstipps-kaestchen-container {
                    flex-direction: column;
                    align-items: center;
                    }
                    
                    .rechtstipp-kaestchen {
                    width: 90%;
                    margin-bottom: 20px;
                    }


                    .rechtstipps-button {
                    width: 90%; /* Breite angepasst */
                    height: 50px; /* HÃƒÆ’Ã‚Â¶he bleibt gleich */
                    font-size: 1em; /* SchriftgrÃƒÆ’Ã‚Â¶ÃƒÆ’Ã…Â¸e angepasst */
                    padding: 15px 50px;
                    margin-top: 30px;
                    margin-bottom: 40px;
                    }


                    .rechtstipps-container h2 {
                        font-size: 25px;
                    }

                    .rechtstipps-container h3 {
                        font-size: 0.9em;
                    }


                    .rechtstipp-kaestchen p {
                        font-size: 0.7em;
                    }


                    /*Meine Leistungen*/
                    .first-container {
                        background-color: #345e7d;
                        color: white;
                        text-align: center;
                        padding: 40px 0;
                        width: 100%;

                    }
                    
                    .first-container h2 {
                        font-size: 25px;
                    }

/*text über Leistungen*/
.image-text-section, .text-image-section {
    display: block; /* Kein Flex, damit float funktioniert */
    margin: 0;
    margin-bottom: 20px;
    overflow: auto; /* Damit der Container das gefloatete Bild umschließt */
}

.image-text-section img {
display: none;
}

.text-image-section img {
display: none;
}

                    .image-text-section div,
                    .text-image-section div {
                      width: 100%;
                      text-align: left;
                      margin: 0;
                      padding: 0;
                    }
                    
                    .image-text-section h3 {

                        font-size: 24px;
                        text-align: left;
                    }
                    .text-image-section h3 {
                        font-size: 24px;
                        text-align: left;
                    }
                    
                    .image-text-section p {
                        font-size: 0.9em;
                        text-align: left;
                    }
                    .text-image-section p {
                        font-size: 0.9em;
                        text-align: left;
                    }
                    


                  /*Kontaktieren Sie mich*/
                .blue-container h2 {
                    font-size: 25px;
                }

                .form-container {
                    width: 95%; /* Nimmt mehr Breite ein auf kleineren Bildschirmen */
                    padding: 20px;
                    margin: 20px auto;
                    }
                    
                    .name-email-container {
                    flex-direction: column; /* Stapelt Name und E-Mail untereinander */
                    }
                    
                    .name-email-container .input-group {
                    width: 100%; /* Nimmt die volle Breite ein auf kleineren Bildschirmen */
                    }
                    
                    .input, .submit-button {
                    font-size: 0.9rem;
                    }
                    
                    .datenschutz-container label {
                    font-size: 1em;
                    }
                    
                    .submit-button {
                    width: 100%;
                    padding: 12px 20px;
                    }

               

                /*Rechtstipps Abteil*/
                .rechtstipps-container-ueberschrift{
                    height: 100px;
                }
                .rechtstipps-kaestchen-container {
                    margin-bottom: -30px;
                }

                .abRechtstipps {
                    margin-bottom: 30px;
                }
            }



/* --- Mobile Anpassungen --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width:661px) {
                /*Kontakt*/
.contact-info-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    color: #fff;
}

.contact-details {
    flex: 0.5; /* 40% Breite */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 3em;
}

.contact-info-container .contact-details p img {
    width: 2em; /* Icons so groÃƒÆ’Ã…Â¸ wie die Schrift */
    height: 1,8em;
    vertical-align: middle; /* Icons vertikal zentrieren */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(200%) contrast(100%); /* Icons weiÃƒÆ’Ã…Â¸ fÃƒÆ’Ã‚Â¤rben */
    margin-right: 0.7em; /* Abstand zwischen Icon und Text */
}

.contact-details p {
    margin-bottom: 20px;
    font-size: 1.0em;
    display: flex;
    align-items: center;
}

.contact-details .address {
    margin-top: 40px;
}

.contact-details .hours {
    margin-top: 40px;
}

.contact-details i {
    margin-right: 25px;
    color: #fff;
    font-size: 1.7em;
    width: 50px;
    text-align: center;
}

.map-container {
    flex: 0.60; /* 60% Breite */
    margin-left: 20px; /* Optional: Abstand zwischen Text und Map */
    margin-right: 0px;
    margin-bottom: 70px;

}
.map-container iframe {
    height: 300px; /* Kleinere Höhe für Mobilgeräte */
  }
   
}

@media (max-width: 700px) {
/*Kontake und Map*/
.contact-info-container {
    flex-direction: column;
    padding: 0 10px;
    align-items: stretch;
    
    }
    .contact-details  {
        flex: 1 1 100%;
        margin-bottom: 2em;
        width: 100%;
        }

        .contact-details p {
            margin-left: 25%;
            margin-right: 10%;

        }





    

.map-container {
flex: 1 1 100%;
margin-left: 3px;
margin-right: 3px;
margin-bottom: 30px;
width: 100%;
max-width: 100%;
}

.map-message {
max-width: 100%;
padding: 12px;
font-size: 1em;
}

.map-message button {
width: 100%;
font-size: 1em;
padding: 10px 0;
}

}








/* Spamschutz: Honeypot-Feld für Menschen unsichtbar */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
