/* Globale Stile */
@font-face {
    font-family: "AvenirNextProMedium";
    src: url('webFonts/AvenirNextProMedium/font.woff2') format('woff2'), url('webFonts/AvenirNextProMedium/font.woff') format('woff');
  }
  @font-face {
    font-family: "AvenirNextProRegular";
    src: url('webFonts/AvenirNextProRegular/font.woff2') format('woff2'), url('webFonts/AvenirNextProRegular/font.woff') format('woff');
  }

body {
    
    font-family:  AvenirNextProRegular, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 1% 0% 120px 0%;
    color: #838687;
}

/* Header */
header {
    background-color: #fff;
    color: #838687;
    padding: 0;
}

header h1 {
    margin: 0;
}
/* Popup CSS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    z-index: 1000; /* Ensures the popup is on top of other elements */
}

.popup {
    width: 60%;
    height: 60%;
    background-color: white;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(100%);
    animation: slide-up 0.5s forwards;
}

@keyframes slide-up {
    to {
        transform: translateY(0);
    }
}

.popup-header {
    background-color: #FFB718;
    color: white;
    padding: 20px;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.popup-header span {
    cursor: pointer;
}

.popup-content {
    padding: 20px;
    color: #838687;
    font-size: 14pt;
}

.popup-content ul {
    padding-left:20px; 
}

.popup-content p {
    padding-left: 0px;
}

/* Überschriften */
h1 {
    color: #ffb718;
    font-weight: 200;
    font-size: 20pt;
    margin-top: 50px;
}

h2 {
    color: #FFB718;
    font-weight: normal;
}

h2.leistungen
{
    color: #00ABC7;
    font-weight: 200;
    font-size: 20pt;
    margin-top: 50px;
}

h2.team
{
    color: #FFB718;
    font-weight: 200;
    font-size: 20pt;
    margin-top: 50px;
}

h2.orange {
    color: #FFB718;
    font-weight: 200;
    font-size: 18pt;

}

h2.grey {
    color: #838687;
    font-weight: normal;
}

h3 {
    font-weight: 200;
    padding-bottom: 2px;
}

h4.petrol
{
    color: #00ABC7;
    font-weight: 200;
    font-size: 18pt;
    margin-bottom: 10px;
    
}
/* Absätze */
p {
    font-size: 14pt;
    padding: 0 5%;
}

p.box {
    font-size: 14pt;
}

p.box-schliesszeiten {
    font-size: 14pt;
}

p.box-headline {
    font-size: 16pt;
    font-weight: 600;
}


p.orange {
    color: #FFB718;
    text-decoration: underline;
    font-size: 14pt;
}

p.orangeonly {
    color:#FFB718;
    text-align: center;
}


a {
    color: #FFB718;
}

a.underline {
    color: #FFB718;
    text-decoration: none;
}

a.underline:hover {
    color: #838687;
}


footer {
    height: 100px;
    background-color: #fff;
    color: #838687;
    text-align: center;
    line-height: 30px;
}

/* Kreissektion */
.circle-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 50px;
}

.circle-section-end {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 50px;
}
.circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.round-photo {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 0 150px;
    object-fit: cover;
}

/* Eingerückte Listen */
.eingerueckt,
.eingeruecktOeffnungszeiten {
    list-style-type: none;
    font-size: 14pt;
}


/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    max-width: 100%;
    max-height: 170px;
}

/* Linie */
.line {
    border-top: 0.5px solid #838687;
    border-bottom: 0.5px solid #838687;
    margin: 0;
}

/* Box */
.box {
    background-color: #ebeef0;
    border: 2px solid #ebeef0;
    margin: 0 0 50px 0;
    padding: 3%;
    line-height: 1.2;
}


/* Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-right: 50px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    font-size: 15pt;
    color: #838687;
    padding: 20px 5px;
}

/* Zustand der Navigation beim Mouseover */
nav ul li a.orange:hover {
    background-color: #FFB718; /* Hintergrundfarbe der Navigationselemente beim Mouseover */
    color: #fff; /* Farbe des Textes beim Mouseover */
}

nav ul li a.petrol:hover {
    background-color: #00ABC7; /* Hintergrundfarbe der Navigationselemente beim Mouseover */
    color: #fff; /* Farbe des Textes beim Mouseover */
}
/* Fotocontainer */
.photo-container {
    position: relative;
    max-height: 550px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo {
    width: 100%;
    height: auto;
    display: block;
}

/* Fotocontainer Unterseiten */
.photo-container02{
    position: relative;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.photo02 {
    width: 800px;
    height: auto;
    display: block;
}

/* Overlay */
.overlay {
    position: absolute;
    width: 50%;
    height: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-rectangle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.overlay-text {
    font-size: 20px;
    text-align:center;
    padding: 2% 2% 3% 2%;
    z-index: 1;
}

.mobile-text {
    display: none;
    text-align: center;
    padding-bottom: 20px;
    background: rgba(255, 255, 255, 0.8);
}

/* Zwei-Spalten-Sektion */
.two-columns-section {
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 0;
    padding: 0;
}

.column {
    padding: 0 4vw;
    text-align: center;
}

.column h4 {
    font-weight: normal;
}

.column p {
    font-size: 14pt;
    line-height: 1.5;
}

/* Hauptsektionen */
.main-section,
.main-section02,
.main-section03,
.main-section04,
.main-section05,
.main-section06,
.main-sectionKreis,
.main-sectionBild {
    margin: 0 auto;
    max-width: 800px;
}

.main-section {
    padding: 1% 20% 2% 20%;
}

.main-section02 {
    padding: 1 20 0 20%;
}

.main-section03 {
    padding: 0 20%;
}

.main-section03 img {
    max-width: 100%;
    height: auto;
}
.main-section04 {
    max-width: 800px;
    text-align: left;
}

.main-section05 {
    padding: 0 25.3%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 100px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

.main-sectionKreis {
    padding: 5% 20;
}

.main-sectionBild {

}
/* Button */
.button-container {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: #FFB718;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 30px;
}

/*Tabelle*/

table {
    width: 100%; /* Die Tabelle nimmt die volle Breite der Box ein */
    margin: auto; /* Zentriert die Tabelle horizontal */
    font-size: 14pt;
    padding-left: 0%;
}

.table-Kontakt {
    width: 100%; /* Die Tabelle nimmt die volle Breite der Box ein */
    margin: auto; /* Zentriert die Tabelle horizontal */
    font-size: 14pt;
    padding-left: 0%;
}

/* Stil für die Zellen in der ersten Spalte */
td:first-child {
    vertical-align: top;
}

.circle-table {
    width: auto;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
}

.circle-table-end {
    width: 40%;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
}

.circle-table td {
    padding: 30px;
    text-align: center;
    vertical-align: top;
}

/* Burger-Menü */
.burger-toggle {
    display: none;
}

.burger-menu {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #838687;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .burger-toggle:checked + .burger-menu + nav .menu {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        padding: 10px;
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* Popup CSS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    z-index: 1000; /* Ensures the popup is on top of other elements */
}

.popup {
    width: 30%;
    height: auto;
    background-color: white;
    border-radius: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(100%);
    animation: slide-up 0.5s forwards;
}

@keyframes slide-up {
    to {
        transform: translateY(0);
    }
}

.popup-header {
    background-color: #FFB718;
    color: white;
    padding: 20px;
    font-size: 22pt;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.popup-header span {
    cursor: pointer;
}

.popup-content {
    padding: 20px;
    color: #838687;
    font-size: 14pt;
}

.popup-content ul {
    padding-left: 20px;
}


.video-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.video-wrapper video {
    width: 50%;
    max-width: 1200px;
    height: auto;
    max-height: 70vh; /* statt fixer 400px */
}
/* Sticky Burger / Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #fff;
}

/* optional: etwas Luft und klare Fläche */
@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
        position: relative;
        z-index: 10001;
        background-color: #fff;
        padding: 12px 0;
    }

    nav {
        position: relative;
        z-index: 10000;
        background-color: #fff;
    }

    .menu {
        background-color: #fff;
    }
}

/* Media Query für kleinere Bildschirme */
@media screen and (max-width: 768px) {

    h2,h4.petrol {
text-align: center;
}

    nav ul li {
        margin-right: 15px;
    }


    .overlay {
        display:none;
    }

    .overlay-text {
        display: none;
    }

    .photo-container {
        display: flex;
        flex-direction: column; /* Ensure items stack vertically */
        align-items: center; /* Center items horizontally */
    }
    .photo {
        width: 100%; /* Ensure photo takes full width */
        height: auto;

    }

    .mobile-text {
        display: block;
        width: 100%;
        background-color:#ebeef0;
    }

    .two-columns-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .column {
        padding: 20px 0;
        text-align: center;
    }

    .eingeruecktOeffnungszeiten {
        font-size: 13pt;
        
    }

    .box, p.box {
        width: 100%;
        padding: 3% 5 0 5;
        margin: 0 0 60px 0;
    }

    .circle-container {
        flex-direction: column;
    }


    .round-photo {
        margin: 0px 50px;
        width: 200px;
        height: 200px;
    }

    .main-section {
        padding: 1% 5% 2% 5%;
    }

    .main-section03 {
        padding: 0% 2%;

    }

    .main-section03 img {
        width: 100%;
    }

    .main-section05{
    padding: 0% 0%;
    }
    .main-section04{
        padding: 0 5% 0 5%;
        }
    
.main-sectionBild {
    width: 100%;
    height: auto;
}
    .btn {
        display: block;
        margin: 0 auto;
        text-align: center;
        
    }

    table {
    font-size: 12pt;

    }

    .circle-table {
        display: block;
        margin: -50px auto ;
        border-collapse: collapse;
        text-align: center;
    }

    .circle-table-end {
        width: auto;
        margin: 0 auto;
        border-collapse: collapse;
        text-align: center;
    }

    .circle-table td {
        display: block;
        
        
    }

    .open-btn {
        display: block;
    }
    .video-wrapper video {
        width: 100%;
        max-width: 1200px;
        height: auto;
        max-height: 70vh; /* statt fixer 400px */
    }
}


/* Media Queries for smaller screens */
@media (max-width: 600px) {
    .popup {
        width: 90%;
        height: auto;
        padding: 0px;
    }

    .popup-header {
        font-size: 18pt;
        padding: 8px;
    }

    .popup-content {
        padding: 15px;
        font-size: 12pt;
    }

    .popup-content ul {
        font-size: 12pt;
    }

    .popup p {
        font-size: 12pt;
    }

    .sticky-button {
        padding: 8px;
        font-size: 14px;
        bottom: 0;
        width: 40px;
        height: 100px;
    }
}

#sarah-hennings {
    scroll-margin-top: 250px;
}

/* Footer */
footer {
    height: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    color:#838687;
    text-align: center;
    line-height: 30px;    
}


