@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {

    /* LOGO COLORS */

    --primary: #00cfff;
    --primary-dark: #0090ff;

    --green: #6dff33;

    --accent: #1de9b6;

    /* DARKER PREMIUM BASE */

    --bg: #eef6f8;

    --bg-gradient:
        linear-gradient(
            135deg,
            #f6fbfc 0%,
            #edf7fa 45%,
            #eefaf4 100%
        );


    /* SURFACES */

    --white: #ffffff;

    --surface-light: #f8fcfd;

    --surface-hover: #edf5f8;

    /* TEXT */

    --text: #1b2c38;

    --muted: #647887;

    /* EFFECTS */

    --shadow:
        0 12px 35px rgba(30, 60, 90, 0.08);

    --radius: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

html {
    scroll-behavior: smooth;
}

body {

    padding-top: 95px;

    font-family:
        'Poppins',
        sans-serif;

    background: var(--bg-gradient);

    color: var(--text);

    line-height: 1.8;

    overflow-x: hidden;
}

/* CONTAINER */

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

/* NAVBAR */

.navbar {

    position: fixed;

    top: 0;

    left: 0;
    width: 100%;

    z-index: 1000;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 12px 2.5%;

    background:
        rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.05);

    box-sizing: border-box;
}

.logo-container {

    display: flex;

    align-items: left;

    gap: 16px;

    text-decoration: none;

    color: inherit;
}

.logo {

    width: 260px;

    height: auto;
}

.logo-container span {

    font-size: 1.3rem;

    font-weight: 700;

    letter-spacing: 0.4px;
}

.nav-links {

    display: flex;

    align-items: center;

    gap: 34px;

    list-style: none;
}

.nav-links a {

    text-decoration: none;

    color: var(--text);

    font-weight: 500;

    position: relative;

    transition: 0.3s ease;
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--green)
        );

    transition: 0.3s ease;
}

.nav-links a.active {

    color: var(--primary);

    font-weight: 700;
}

.nav-links a.active::after {

    width: 100%;

    height: 3px;

    border-radius: 10px;
}

.nav-links a:hover {

    color: var(--primary-dark);
}

.nav-links a:hover::after {

    width: 100%;
}

/* HERO */

.hero {

    min-height: 92vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    padding: 20px 5% 120px;

    overflow: hidden;
}

.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(0, 207, 255, 0.22),
            transparent 32%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(109, 255, 51, 0.16),
            transparent 28%
        );

    z-index: 0;
}

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 1400px;
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    background:
        rgba(0, 207, 255, 0.1);

    border:
        1px solid rgba(0, 207, 255, 0.18);

    color: var(--primary-dark);

    padding: 12px 20px;

    border-radius: 999px;

    font-size: 0.95rem;

    font-weight: 600;

    margin-bottom: 30px;
}

.hero h1 {

    font-size: 4rem;

    line-height: 1.05;

    font-weight: 800;

    margin-bottom: 30px;

    letter-spacing: -2px;
}

.gradient-text {

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--green)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero p {

    font-size: 1.25rem;

    color: var(--muted);

    max-width: 760px;

    margin:
        0 auto 100px auto;
}

/* BUTTONS */

.button-group {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {

    padding: 17px 34px;

    border-radius: 999px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.btn-primary-custom {

    background:
        linear-gradient(
            135deg,
            #00cfff,
            #6dff33
        );

    color: white;

    font-weight: 600;

    padding: 18px 36px;

    border-radius: 999px;

    text-decoration: none;

    box-shadow:
        0 12px 35px rgba(0, 207, 255, 0.28);

    transition: 0.3s ease;

    border: none;
}

.btn-primary-custom:hover {

    transform:
        translateY(-4px)
        scale(1.03);

    box-shadow:
        0 18px 45px rgba(0, 207, 255, 0.4);
}

.btn-secondary-custom {

    background: white;

    color: var(--text);

    border:
        1px solid rgba(0, 0, 0, 0.06);

    box-shadow: var(--shadow);
}

.btn-secondary-custom:hover {

    transform: translateY(-4px);
}

/* SECTION */

section {

    padding: 70px 5%;
}

.page-header {

    padding:
        90px 20px 30px;
}

.section-title {

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: left;

    margin-bottom: 60px;
}

.section-title h2 {

    text-align: left;

    margin-bottom: 20px;
}

.section-title p {

    text-align: left;

    margin: 0;

    max-width: 900px;

    color: var(--muted);

    line-height: 1.7;
}

/* PHILOSOPHIE */

.philosophie-box {

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255, 255, 255, 0.05);

    border-radius: 40px;

    padding: 80px;

    box-shadow: var(--shadow);

    position: relative;

    overflow: hidden;
}

.philosophie-box::before {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    background:
        radial-gradient(
            rgba(0, 207, 255, 0.16),
            transparent 70%
        );

    top: -120px;
    right: -100px;
}

/* CARDS */

.cards {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 35px;

    align-items: stretch;
}

.card-custom {

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(14px);

    border-radius: 34px;

    padding: 42px;

    box-shadow: var(--shadow);

    border:
        1px solid rgba(255, 255, 255, 0.05);

    transition: 0.35s ease;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.contact-boxes .card-custom {

    min-height: 340px;

    justify-content: flex-start;
}

.contact-hours {

    text-align: center;

    margin-top: 40px;

    color: var(--muted);

    font-size: 1rem;

    font-weight: 400;
}

.leistungen-boxes .card-custom {

    min-height: 430px;

    justify-content: flex-start;
}

.leistungen-link {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.card-custom::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(0, 207, 255, 0.05),
            rgba(109, 255, 51, 0.04)
        );

    opacity: 0;

    transition: 0.3s ease;
}

.card-custom:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 18px 50px rgba(0, 207, 255, 0.12);
}

.card-custom:hover::before {

    opacity: 1;
}

.card-icon {

    width: 78px;
    height: 78px;

    border-radius: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 28px;

    font-size: 1.9rem;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--green)
        );

    box-shadow:
        0 12px 28px rgba(0, 207, 255, 0.2);

     margin:
        0 auto 28px auto;
}

.card-custom h3 {

    font-size: 1.5rem;

    margin-bottom: 16px;

    text-align: center;
}

.card-custom p {

    margin-top: 18px;

    max-width: 260px;

    margin-left: auto;

    margin-right: auto;

    color: var(--muted);

    text-align: center;

    word-break: break-word;
}

/* TABLE */

.table-wrapper {

    width: 100%;
    overflow-x: auto;
}

table {

    width: 100%;

    min-width: 700px;

    border-collapse: collapse;

    background:
        rgba(255, 255, 255, 0.96);;

    backdrop-filter: blur(18px);

    border-radius: 30px;

    overflow: hidden;

    box-shadow: var(--shadow);
}

.table-note {

    display: block;

    margin-top: 4px;

    font-size: 0.75rem;

    font-weight: 400;

    opacity: 0.8;

    color: rgba(255,255,255,0.85);
}

th {

    padding: 24px;

    text-align: left;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--green)
        );
}

td {

    padding: 24px;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.05);
}

/* KONTAKT */

.contact-box {

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(18px);

    border-radius: 38px;

    padding: 70px;

    box-shadow: var(--shadow);

    border:
        1px solid rgba(255,255,255,0.05);
}

.contact-item {

    display: flex;

    align-items: center;

    gap: 22px;

    margin-bottom: 30px;

    font-size: 1.08rem;
}

.contact-item i {

    min-width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    color: white;

    font-size: 1.3rem;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--green)
        );
}

/* FOOTER */

footer {

    padding: 60px 5%;

    text-align: center;

    color: var(--muted);

    font-size: 0.95rem;
}

/* ANIMATIONS */

.fade-in {

    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.fade-in.show {

    opacity: 1;

    transform: translateY(0);
}

/* BURGER */

.burger {

    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    border: 0;
    background: transparent;
    padding: 8px;
    z-index: 2;
}

.burger span {

    width: 28px;
    height: 3px;

    border-radius: 999px;

    background: var(--text);

    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE */

@media (max-width: 992px) {

    .burger {
        display: flex;
    }

    .nav-links {

        position: absolute;

        top: calc(100% + 10px);
        right: 4%;
        width: min(280px, 92vw);

        flex-direction: column;

        align-items: flex-start;

        background:
            rgba(255, 255, 255, 0.95);

        backdrop-filter: blur(16px);

        padding: 24px;

        border-radius: 28px;

        box-shadow: var(--shadow);

        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li,
    .nav-links a {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }

    .philosophie-box,
    .contact-box {
        padding: 45px;
    }

    .contact-box[style] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 600px) {

    body {
        padding-top: 76px;
        line-height: 1.65;
    }

    .container {
        width: min(100% - 32px, 1320px);
    }

    .navbar {
        min-height: 76px;
        padding: 10px 16px;
    }

    .logo {
        width: min(190px, 68vw);
    }

    .nav-links {
        top: calc(100% + 6px);
        right: 12px;
        width: calc(100vw - 24px);
        padding: 18px 20px;
        border-radius: 18px;
        gap: 2px;
    }

    .nav-links a {
        padding: 11px 4px;
        font-size: 1rem;
    }

    section {
        padding: 42px 16px;
    }

    .page-header {
        padding: 42px 16px 12px;
    }

    .page-header h1 {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
        line-height: 1.1;
    }

    .hero {
        min-height: calc(100svh - 76px);
        padding: 32px 16px 56px;
    }

    .hero h1 {
        max-width: 340px;
        margin-inline: auto;
        font-size: clamp(2.35rem, 11vw, 3.5rem);
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1rem;
        max-width: 340px;
        margin: 0 auto 36px;
    }

    .hero-badge {
        justify-content: center;
        max-width: 100%;
        padding: 9px 14px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-custom,
    .leistungen-boxes .card-custom,
    .contact-boxes .card-custom {
        min-height: 0;
        padding: 26px 20px;
        border-radius: 22px;
    }

    .card-custom h3 {
        font-size: 1.25rem;
    }

    .card-custom p {
        margin-top: 8px;
        max-width: 300px;
    }

    .philosophie-box,
    .contact-box {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .philosophie-box p[style] {
        font-size: 1rem !important;
    }

    .contact-box h2[style] {
        font-size: 2rem !important;
    }

    .contact-item {
        align-items: flex-start;
        gap: 14px;
        font-size: 0.95rem;
    }

    .contact-item i {
        min-width: 48px;
        width: 48px;
        height: 48px;
    }

    .contact-box p,
    .contact-box a {
        overflow-wrap: anywhere;
    }

    .table-wrapper {
        margin: 0;
        width: 100%;
        padding: 0;
        overflow: visible;
    }

    table {
        min-width: 0;
        display: block;
        font-size: 0.86rem;
        background: transparent;
        box-shadow: none;
    }

    thead {
        display: none;
    }

    tbody {
        display: grid;
        gap: 14px;
    }

    tbody tr {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0 12px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    tbody td {
        padding: 10px 14px;
        border-bottom: 0;
    }

    tbody td:first-child {
        grid-column: 1 / -1;
        padding-bottom: 4px;
        font-weight: 600;
    }

    tbody td:nth-child(2),
    tbody td:nth-child(3) {
        color: var(--muted);
        font-size: 0.82rem;
    }

    tbody td:nth-child(2)::before,
    tbody td:nth-child(3)::before {
        display: block;
        margin-bottom: 2px;
        color: var(--text);
        font-size: 0.7rem;
        font-weight: 600;
    }

    tbody td:nth-child(2)::before {
        content: "Selbstzahler";
    }

    tbody td:nth-child(3)::before {
        content: "Private Kassen";
    }

    .price-note {
        font-size: 0.88rem;
    }

    .price-extra-box {
        margin-top: 48px;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .hours-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 12px;
        font-size: 0.88rem;
    }

    footer {
        padding: 40px 16px;
        font-size: 0.82rem;
    }

}

.philosophie-preview .container {

    text-align: center;

    max-width: 1000px;
}

.philosophie-preview p {

    max-width: 950px;

    margin: 20px auto;

    color: var(--muted);
}

.philosophie-preview a {

    display: inline-block;

    margin-top: 10px;
}

.price-note {

    margin-top: 20px;

    text-align: left;

    color: var(--muted);

    font-size: 1rem;

    max-width: 100%;
}

.price-extra-box {

    margin: 100px auto 0 auto;

    background:
        rgba(255, 255, 255, 0.92);

    border:
        1px solid rgba(255,255,255,0.05);

    border-radius: 24px;

    padding: 28px 32px;

    max-width: 900px;
}

.price-extra-box h3 {

    margin-bottom: 18px;

    font-size: 1.3rem;

    color: var(--text);
}

.price-extra-box ul {

    list-style: none;

    padding: 0;

    margin: 0;
}

.price-extra-box li {

    position: relative;

    padding-left: 24px;

    margin-bottom: 14px;

    color: var(--muted);
}

.price-extra-box li::before {

    content: "•";

    position: absolute;

    left: 0;

    color: var(--green);

    font-size: 1.2rem;

    font-weight: bold;
}

.scroll-indicator {

    display: block;

    margin-top: 60px;

    font-size: 2rem;

    color: var(--primary-dark);

    text-decoration: none;

    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}