        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            background-color: #f0f8ff;
        }
        a {
            text-decoration: none;
            color: #00397A;
            transition: color 0.3s;
            font-weight: bold;
        }
        a:hover {
            color: #005100;
        }

        header {
            background: linear-gradient(rgba(115, 206, 245, 0.5), rgba(10, 163, 252, 0.5)) no-repeat right center;
            width: 100%;
            flex-wrap: wrap;
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
            border-radius: 0px 0px 5px 5px;
        }

        .logo-link {
            padding: 0;
            margin: 0;
            text-decoration: none !important;
            color: inherit !important;
            font-weight: normal !important;
        }

        .logo-link img {
            display: block;
        }

        .logo-link:hover {
            color: inherit !important;
            background-color: transparent !important;
        }
        h1 {
            font-size: 2.1em;
            line-height: 1.3;
        }

        h2 {
            font-size: 1.2em;
            line-height: 1.3;
        }

        .zweitemenu {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0px 10px;
            display: flex;
            justify-content:
            align-items: center;
        }

        header h1 {
            font-size: 1.8em;
            line-height: 1.3;
        }
        nav {
            background-color: #016AD3;
            padding: 0;
            position: relative;
        }
        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        nav .logo {
            padding: 10px 0px;
            height: 70px;
        }
        nav a {
            color: white;
            padding: 24px 20px;
            text-decoration: none;
            text-align: center;
            font-size: 18px;
            transition: background-color 0.3s, color 0.3s;
        }
        nav a:hover {
            background-color: #ffffff;
            color: #016AD3;
        }
        .nav-links {
            display: flex;
            justify-content: flex-end;
            flex-grow: 1;
        }
        .nav-links.hide {
            display: none;
        }
        .nav-toggle {
            display: none;
            cursor: pointer;
            background-color: #016AD3;
            padding: 10px;
            width: 100%;
            text-align: right;
            box-sizing: border-box;
        }
        .nav-toggle img {
            width: 40px;
            height: auto;
        }
        footer {
            background-color: #016AD3;
            color: white;
            text-align: center;
            padding: 10px;
        }

        .container-footer {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 10px;
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            justify-content: flex-start;
            gap: 20px;
        }

        .box-footer {
            flex: 1;
            padding: 0 30px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            box-sizing: border-box;
        }

        .box-footer a {
            color: white;
            text-decoration: none;
            margin-bottom: 20px;
        }

            .box-footer a:hover {
            text-decoration: underline;
        }
        #scrollToTopBtnCustom {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 99;
            border: none;
            outline: none;
            background-color: #555;
            color: white;
            cursor: pointer;
            padding: 10px;
            border-radius: 3px;
            font-size: 18px;
            text-align: center;
            line-height: 1;
        }
        #scrollToTopBtnCustom:hover {
            background-color: #000;
        }
        li {
            text-align: left;
            padding: 5px;
        }

        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
            display: flex;
            justify-content: space-around;
        }

        .container-1 {
            max-width: 1150px;
            margin: -130px auto 0;
            display: flex;
            justify-content: space-around;
            }
        .container, .container-weis {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
            display: flex;
            justify-content: space-around;
        }

        .container-weis {
            background-color: #fff;
        }

        .box {
            max-width: 1200px;
            margin: 20px 0;
            padding: 15px;
            background-color: rgba(255, 255, 255, 1);
            border-radius: 5px;
            display: flex;
            flex-direction: row;
            align-items: center;
        }
        .box-1 {
            width: 1200px;
            max-width: 1200px;
            margin: 20px 0;
            padding: 15px;
            background-color: rgba(255, 255, 255, 1);
            border-radius: 5px;
            display: flex;
            flex-direction: row;
            align-items: center;
        }
        header .box {
        width: 100%;
        background: 
            linear-gradient(rgba(0, 118, 236, 0.9), rgba(39, 95, 150, 0.9)),
            url('https://www.zagi.ch/krankenkasse/images/statt.svg') no-repeat right center;
            background-size: auto auto;
        }
        header .box-text {
            color: white;
            padding: 0px 0px 130px 30px;
        }
        .box-text {
            flex: 1;
            font-size: 18px;
            color: #333;
            line-height: 1.5;
            align-self: flex-start;
            margin: 20px;
            padding: 0px;
        }
        .box img {
            max-width: 50%;
            height: auto;
            margin: 0px;
            border-radius: 5px;
            padding: 0px;
        }

        .price-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            border: 1px solid #000;
            padding: 10px;
            border-radius: 10px;
            background-color: #f8f8f8;
            overflow: hidden;
        }

        .row {
            background: white;
            border-radius: 10px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .row div {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        .row:last-child {
            border-bottom: none;
        }

        .priceleft {
            width: auto;
            text-align: left;
        }

        .priceright {
            width: 130px;
            text-align: left;
        }

        .altersgruppel {
            width: 70%;
            text-align: left;
        }

        .altersgrupper {
            width: 130px;
            text-align: center;
        }

        .info-icon {
            cursor: pointer;
            font-size: 14px;
            color: blue;
        }

        .button-container {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .button-vergleich, .button-angebot {
            width: 300px;
            height: 56px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;
            font-size: 18px;
            font-weight: bold;
            color: #000;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            text-align: center;
            transition: background-color 0.3s ease;
            margin-top: 20px;
        }

        .button-vergleich {
            background-color: #FF0066;
        }

        .button-vergleich:hover {
            background-color: #FFFF00;
            color: #007BFF;
        }

        .button-angebot {
            background-color: #00FF99;
        }

        .button-angebot:hover {
            background-color: #FFFF00;
            color: #007BFF;
        }

        .button-link, .button-link-pl {
            width: 120px;
            display: inline-block;
            margin: 2px 2px;
            padding: 10px 10px;
            font-size: 16px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-decoration: none;
            color: white;
            background-color: #006699;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .button-link:hover {
            background-color: #0056b3;
            transition: background-color 0.3s, color 0.3s;
            color: white;
        }

        .button-link-pl {
            background-color: #FF6600;
        }

        .sentence {
            display: inline-block;
            color: #333;
            position: relative;
        }

        .texti {
            color: black;
            cursor: pointer;
        }

        .info-icon {
            font-size: 18px;
            font-weight: bold;
            color: blue;
            margin-left: 5px;
            cursor: pointer;
            text-decoration: none;
        }

        .tooltip {
            display: none;
            position: absolute;
            bottom: -60px;
            left: -120px;
            transform: translateX(0px);
            background-color: #333;
            color: #fff;
            padding: 10px 15px;
            border-radius: 5px;
            font-size: 14px;
            width: 200px;
            white-space: normal;
            z-index: 10;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
        }

        .tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 10px;
            transform: translateX(20px);
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

        .close-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: none;
            border: none;
            color: #000;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
        }

        .tooltip.visible {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .fade-in {
            animation: fadeIn 1.5s ease-in-out;
        }

        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }

        .fade-out {
            animation: fadeOut 0.8s ease-in-out;
        }

         .pagination-container {
            width: 100%;
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            margin-bottom: 30px;
        }

        .buttonblu, .buttonblu-pl, .buttonblug, .buttonblugr {
            margin-top: 20px;
            padding: 5px 15px;
            font-size: 18px;
            color: #fff;
            background: linear-gradient(45deg, #007BFF, #0056b3);
            border: none;
            border-radius: 25px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            white-space: nowrap;
            width: auto;
        }

        .buttonblu {
            margin-top: 0px;
        }

       .buttonblu-pl {
            background: linear-gradient(45deg, #FF6600, #E65B00);
            cursor: default;
        }

       .buttonblug {
            padding: 10px 25px;
        }

        .buttonblu:hover, .buttonblug:hover {
            background: linear-gradient(45deg, #0056b3, #003f7f);
            color: #FFD700;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
            transform: translateY(-3px);
        }
        .buttonblu:active, .buttonblug:active {
            transform: translateY(0);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .buttonblugr {  
            background: linear-gradient(45deg, #28a745, #218838);
        }
        .buttonblugr:hover {
            background: linear-gradient(45deg, #218838, #1e7e34);
            color: #FFD700;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
            transform: translateY(-3px);
        }
        .buttonblugr:active {
            transform: translateY(0);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .faq, .tabelle {
            flex: 1;
            font-size: 18px;
            background-color: #fff;
            padding: 15px;
            border-radius: 5px;
            color: #333;
            line-height: 1.5;
            align-self: flex-start;
            margin: 20px;
        }

#overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}
        .stars { cursor: pointer; font-size: 2em; color: gray; }
        .stars:hover, .stars.selected, .stars.highlight { color: gold; }
        .popup { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 20px; border: 1px solid #ccc; height: 70%; overflow-y: auto; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); border-radius: 8px; z-index: 1000; }
        .close-btn { cursor: pointer; float: right; font-size: 1.5em; }
        .rating-display {
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .image {
            flex-direction: column;
        }
        .star {
            font-size: 30px;
            color: #FFD700; /* Gold */
            display: inline-block;
            position: relative;
            margin-right: 2px;
        }
        .star.empty {
            color: #ccc;
        }
        .star.half {
            color: #ccc;
        }
        .star.half::before {
            content: '★';
            color: #FFD700;
            position: absolute;
            left: 0;
            width: 50%;
            overflow: hidden;
        }
        .starsok {
            font-size: 22px;
            color: #ccc;
            display: inline-block;
            margin-right: 2px;
        }
        .starsok.active {
            color: #FFD700;
        }
        .blue-button {
            background-color: blue;
            color: #fff;
            padding: 7px 10px;
            border: none;
            font-size: 14px;
            cursor: pointer;
            border-radius: 5px;
        }

        #faq {
            max-width: 800px;
            margin: auto;
            padding: 20px;
        }
        .faq-item {
        border-bottom: 1px solid #ddd;
        padding: 15px 0;
        }
        .faq-item h3 {
        color: #0074d9;
        }

        .franchise-content {
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-top: 5px;
            background: #f9f9f9;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out;
        }

        .franchise-content.active {
            max-height: 2000px;
        }

        .franchise-title {
            cursor: pointer;
            padding: 10px;
            background: #106FA7;
            color: white;
            border-radius: 5px;
            text-align: left;
            font-weight: bold;
        }

        .franchise-title:hover {
            background: #0056b3;
        }
        #modelPopup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.2);
            z-index: 1002;
            max-width: 500px;
            max-height: 700px;
            overflow-y: auto;
            line-height: 1.5;
        }

        @media (max-width: 1080px) {
        .container-footer {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        @media (max-width: 1080px) {
        .box-1 {
            max-width: 90%;
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .price-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        @media (max-width: 768px) {
            body {
                font-size: 16px;
                word-break: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
            }

            .nav-links {
                flex-direction: column;
                width: 100%;
                background-color: #016AD3;
                position: absolute;
                top: 70px;
                right: 0;
                border-top: 1px solid #444;
                z-index: 1;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.9s ease;
            }
            .nav-links.show {
                max-height: 300px;
            }
            .nav-links a {
                padding: 10px;
                text-align: left;
                border-top: 1px solid #444;
                border-bottom: 1px solid #444;
                margin-left: 50px;
            }
            .nav-toggle {
                display: block;
                position: relative;
                background-color: #016AD3;
                z-index: 2;
            }
            nav {
                padding-right: 40px;
            }
            nav .logo {
                padding: 10px 10px;
                height: 50px;
            }
            .responsive-image {
                max-width: 100%;
                height: auto;
            }

.image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
            header h1 {
                font-size: 1.6em;
            }
            h1 {
                font-size: 1.4em;
            }
            h2 {
                font-size: 1.2em;
            }
            h3 {
                font-size: 1em;
            }
            .container-footer {
                display: grid;
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .price-list {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            .row {
                width: 100%;
                display: flex;
                flex-direction: column;
                border-bottom: 2px solid #000;
                padding-bottom: 10px;
                box-sizing: border-box;
            }

            .box-footer {
                max-width: 100%;
                padding: 0 10px;
            }
            header .box-text {
                padding: 0px;
            }
            .content {
                padding: 0px;
            }
            .container, .container-weis {
                margin: 0px auto;
                padding: 0px;
            }
            .container-1 {
            max-width: 90%;
            margin: 0px auto 0;
            }
            .nav-links {
                flex-direction: column;
                width: 100%;
                background-color: #016AD3;
                position: absolute;
                top: 70px;
                right: 0;
                border-top: 1px solid #444;
                z-index: 1;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.9s ease;
            }
            .box {
                flex-direction: column;
                max-width: 100%;
                margin: 0px;
                padding: 20px 0px 20px 0px;
                border-radius: 0px;
            }
            .box-1 {
                flex-direction: column;
                max-width: 100%;
            }
            .box img {
                max-width: 100%;
                padding: 0px;
            }
            .box-text {
                max-width: 100%;
                margin: 10px;
                padding: 0px;
            }
            header .box {
                padding: 0px;
                margin: 10px;
                border: none;
                border-radius: 10px;
            }
            th, td {
                padding: 4px;
                font-size: 14px;
            }
            .button-container {
                flex-direction: column;
                align-items: center;
            }

            .button-vergleich, .button-angebot {
                width: 90%;
                margin-top: 10px;
            }
            .rating-display {
                flex-direction: column;
                align-items: center;
            }
            .popup {
                height: 90%;
                overflow-y: auto;
                display: none;
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: white;
                padding: 20px;
                border: 1px solid #ccc;
                width: calc(90% - 20px);
                max-width: 400px;
                box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
                border-radius: 8px;
            }
            #modelPopup {
                width: 90%;
                max-width: none;
                max-height: 90vh;
                border-radius: 6px;
                padding: 15px;
            }
        }
