/* style.css */

/* --- CSS-Variablen --- */
:root {
    --primary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --primary-color-start: #4facfe;
    --primary-color-end: #00f2fe;
    --accent-color: #ff9a8b;
    --text-color-dark: #2c3e50;
    --text-color-light: #ffffff;
    --background-color: #eef2f3;
    --card-background: rgba(255, 255, 255, 0.45);
    --card-border-color: rgba(255, 255, 255, 0.25);
    --footer-background: #232526;
    
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lato', sans-serif;
    
    --shadow-light: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
}

/* --- Globale Stile & Resets --- */
html {
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color-dark);
    line-height: 1.7;
    font-size: 1.1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-primary);
    font-weight: 700;
}

.title {
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 1.5rem !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.subtitle {
    font-family: var(--font-secondary);
    text-align: center;
    color: #555;
    font-weight: 400;
}

.section {
    padding: 5rem 1.5rem;
}

/* --- Header & Navigation --- */
.navbar.is-fixed-top {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid var(--card-border-color);
}

.navbar-item, .navbar-link {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--text-color-dark) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-item:hover, .navbar-item.is-active {
    background: transparent !important;
    color: var(--primary-color-start) !important;
}

.navbar-brand .navbar-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color-dark) !important;
}

.navbar-burger {
    color: var(--text-color-dark);
}

/* --- Hero Sektion --- */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax-Effekt */
}

.hero .title,
.hero .subtitle {
    color: var(--text-color-light); /* WICHTIG: Weißer Text für Lesbarkeit */
}

/* --- Globale Button-Stile --- */
.button.is-primary {
    background: var(--primary-gradient);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    box-shadow: var(--shadow-dark);
    color: var(--text-color-light);
    border-radius: 50px;
    padding-left: 2em;
    padding-right: 2em;
}

.button.is-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    filter: brightness(1.1);
    color: var(--text-color-light);
}

/* --- Kartenstile (Glassmorphism & Zentrierung) --- */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border: none;
    text-align: center;
}

.card.glass-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border-color);
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.card .card-content {
    flex-grow: 1;
    width: 100%;
}

.card .card-content .title,
.card .card-content .subtitle {
    color: var(--text-color-dark);
}

.card .card-image,
.card .image-container {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.card .card-image img,
.card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-image img,
.card:hover .image-container img {
    transform: scale(1.05);
}

/* --- Spezifische Sektionen --- */

#about .content {
    text-align: left;
}
#about img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
}

#customer-stories .card {
    background-color: var(--text-color-light);
    box-shadow: var(--shadow-light);
    border-radius: var(--border-radius);
}
#customer-stories .content {
    font-style: italic;
    color: #555;
}
#customer-stories .content strong {
    font-style: normal;
    display: block;
    margin-top: 1rem;
    color: var(--text-color-dark);
}

/* --- Akkordeon --- */
.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}
.accordion-header .title {
    margin-bottom: 0 !important;
    text-align: left;
}
.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    color: var(--primary-color-start);
}
.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1.5rem;
    color: #333;
}

/* --- Externe Ressourcen --- */
#external-resources .box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--border-radius);
}
#external-resources .box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}
#external-resources a {
    text-decoration: none;
    color: inherit;
}
#external-resources small {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-color-start);
    font-weight: bold;
}
#external-resources .title {
    text-align: left;
}

/* --- Kontaktseite & Formulare --- */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}
.input, .textarea {
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 1.2em 1em;
}
.input:focus, .textarea:focus {
    border-color: var(--primary-color-start);
    box-shadow: 0 0 0 0.125em rgba(79, 172, 254, 0.25);
}
#contact-form .label {
    font-weight: 700;
}

/* --- Erfolgsseite (success.html) --- */
body > main.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Datenschutz & AGB Seiten --- */
main.section > .content {
    padding-top: 100px; /* Header-Offset */
}

/* --- Footer --- */
.footer {
    background-color: var(--footer-background);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 1.5rem;
}
.footer .title {
    color: var(--text-color-light);
    text-align: left;
}
.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}
.footer a:hover {
    color: var(--accent-color);
}
.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer .content.has-text-centered {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem !important;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Scroll-Animationen --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries für Responsivität --- */
@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    .title.is-1 {
        font-size: 2.2rem;
    }
    .title.is-2 {
        font-size: 1.8rem;
    }
    .footer .title, .footer p, .footer ul {
        text-align: center;
    }
    .columns.is-vcentered {
        flex-direction: column-reverse;
    }
    #about .column:last-child {
        margin-bottom: 2rem;
    }
}