
/* =========================
   GRUNDSTILE
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    background-color: #f4f6f8;
}

/* =========================
   SIDEBAR
========================== */
.sidebar {
    width: 250px;
    background-color: #e3f2fd;
    color: black;
    transition: width 0.3s;
    overflow: hidden;
    position: fixed;
    height: 100vh;
}

.sidebar.closed {
    width: 40px;
}

.toggle-btn {
    background-color: #e3f2fd;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
}

.menu {
    list-style: none;
}

.menu li {
    padding: 15px;
    cursor: pointer;
    white-space: nowrap;
}

.menu li a {
    text-decoration: none;
    color: black;
    display: block;
}

.menu li:hover {
    background-color: #7bb0b4b0;
}

.sidebar.closed .menu li a {
    display: none;
}

/* =========================
   MAIN-BEREICH
========================== */
.main {
    margin-left: 250px;
    flex: 1;
    transition: margin-left 0.3s;
}

.sidebar.closed + .main {
    margin-left: 40px;
}

/* =========================
   HEADER
========================== */
header {
    height: 70px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    width: 250px;                /* Breite des Logos */
    height: 70px;                /* Höhe des Logos */
    background-image: url('assets/images/Logo.png'); /* Pfad zum Bild */
    background-size: contain;    /* Logo proportional skalieren */
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}


/* =========================
   CONTENT-BEREICH
========================== */
section {
    padding: 60px 40px;
}

section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

section p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}
.section-wrapper {
    max-width: 800px;   /* Breite der unsichtbaren Box */
    margin: 0 auto;     /* Horizontale Zentrierung */
    padding: 0 20px;    /* Optional: Abstand links/rechts */
}

.section-wrapper p {
    text-align: left;   /* Absätze linksbündig */
    margin: 10px 0;     /* Abstand zwischen Absätzen */
    line-height: 1.5;   /* angenehmer Zeilenabstand */
}

.spacer {
  height: 40px; /* Abstand nach Bedarf */
  margin: 0;     /* Standardmargin überschreiben */
}

/* -------------------
   Feature-Karussell
------------------- */
.carousel-wrapper {
    max-width: 700px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.features-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 500px;
    height: 250px;
    
}

.feature-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    padding: 60px 20px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.feature-card.center {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 2;
}

.feature-card.left {
    transform: translate(-150%, -50%) scale(0.85);
    opacity: 0.5;
    z-index: 1;
}

.feature-card.right {
    transform: translate(50%, -50%) scale(0.85);
    opacity: 0.5;
    z-index: 1;
}

.feature-card img {
    height: 70px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Pfeile */
.arrow {
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    color: #555;
    transition: color 0.2s;
}

.arrow:hover {
    color: #9ee5eb;
}

.icon-wrapper {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.icon-wrapper.yellow {
    background-color: #ffd966;
    color: #333;
}

/* =========================
   KONTAKT
========================== */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    align-items: center; /* vertikal zentriert */
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 12px;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikale Zentrierung */
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left; /* Text linksbündig */
}

.contact-info h3 {
    border-bottom: 2px solid #9ee5eb;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.contact-info p {
    width: 100%;            /* optional, falls der Container volle Breite haben soll */
    text-align: left;       /* linksbündig */
    margin: 10px 0;         /* größerer Abstand zwischen Absätzen für bessere Lesbarkeit */
    display: flex;               /* Flexbox für Zeilen */
    justify-content: space-between; /* Wochentag links, Uhrzeit rechts */
    
}




/* =========================
   BUTTON
========================== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #9ee5eb;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.btn:hover {
    background-color: #7bb0b4b0;
}

/* =========================
   FOOTER
========================== */
footer {
    background-color: #b4b4b4bd;
    color: white;
    padding: 20px 60px 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    color: #e3f2fd;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom a {
    color: #e3f2fd;
    text-decoration: none;
    margin-right: 20px;
}

/* =========================
   FAQ
========================== */
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background-color: #e3f2fd;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    text-align: left;
}

.faq-question:after {
    content: '+';
    float: right;
    font-weight: bold;
}

.faq-item.active .faq-question:after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 20px;
}

.faq-answer p {
    padding: 10px 0;
    margin: 0;
    
}

/* FAQ Absatz – p2 */
.faq-answer .p2 {
    text-align: left;
}


.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 20px;
}