
/* ========================================
   Grundlegendes Styling
======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
}

h2 {
    color: #ff7f32; /* Orange aus Logo */
}

/* ========================================
   Header / Hero
======================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #ff7f32, #7ec850);
    color: #fff;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-overlay {
    background: rgba(0,0,0,0.3);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

header.scrolled {
    background: linear-gradient(135deg, #ff7f32, #7ec850);
    opacity: 0.65;
}

header.scrolled .header-overlay {
    background: rgba(0,0,0,0.05);
    padding: 15px 20px;
}

header.scrolled .logo {
    height: 60px;
}

header.scrolled .hero h1,
header.scrolled .hero p {
    color: rgba(255,255,255,0.7);
}

.logo {
    height: 100px;
    width: auto;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* CTA Hero Button */
.cta-button {
    display: inline-block;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    transition: all 0.3s ease;
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

header.scrolled .cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
}

.hero-title {
    font-size: 35px;          /* übernimmt exakt h1-Größe */
    margin: 10px 0;
    color: rgba(255,255,255,1);
    font-weight: normal;
    transition: color 0.3s ease;
}

header.scrolled .hero-title {
    color: rgba(255,255,255,0.7);
}
/* ========================================
   Hero
======================================== */

.hero h1,
.hero p {
    margin: 10px 0;
    color: rgba(255,255,255,1);
    transition: color 0.3s ease;
}

/* Hero für Kontakt/Impressum */
.hero.hero-small {
    background-color: #f1f7fc;
    padding: 30px;
    text-align: left;
    color: #333;
    max-width: 800px;
    margin: 40px auto;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
}

.hero.hero-small h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ff7f32;
    text-align: center;
}

.hero.hero-small p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.hero h2 {
    text-align: center;
}

/* ========================================
   Navigation
======================================== */
nav ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.05);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

nav a.button {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

nav a.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.25);
}

.button.active {
    background-color: #007bff;
}

/* ========================================
   Sections / Content
======================================== */
section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

section:first-of-type {
    margin-top: 40px;
}

/* Icons / Leistungen */
.icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.icon-box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 220px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.parent-box {
    background: #fff;
    padding: 30px;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
    max-width: 800px;
    margin: 40px auto 40px auto;
}

/* ========================================
   Formulare
======================================== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea, button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

form button {
    font-weight: bold;
    cursor: pointer;
}

/* Kontaktformular Buttons */
#kontakt-form form button {
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

#kontakt-form form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

a.button,
a.cta-button,
form button:not(#kontakt-form button) {
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

a.button:hover,
a.cta-button:hover,
form button:not(#kontakt-form button):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.25);
}

#kontakt-form form textarea {
    min-height: 120px;
    resize: vertical;
}

#kontakt-form form input[type="checkbox"] {
    margin-right: 8px;
}

/* ========================================
   Erfolg / Fehler Meldungen
======================================== */
.errors {
    background-color: #ffe6e6;
    border: 1px solid #ff4d4d;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.errors ul {
    margin: 0;
    padding-left: 20px;
}

.success {
    background-color: #e6ffea;
    border: 1px solid #4dff88;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* ========================================
   Kontakt-Seite Styles
======================================== */
.kontakt-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.kontakt-box {
    background: #fff;
    padding: 30px;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
    max-width: 800px;
    margin: 40px auto;
}

.kontakt-box h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #4a4a4a;
    border-bottom: 2px solid #7ec850;
    display: inline-block;
    padding-bottom: 3px;
}

.kontakt-box h2 i {
    margin-right: 8px;
    color: #7ec850;
}

.kontakt-box p {
    margin: 5px 0 12px 0;
    font-size: 0.97rem;
    color: #333;
}

.kontakt-box a {
    color: #0073e6;
    text-decoration: none;
}

.kontakt-box a:hover {
    text-decoration: underline;
}

.kontakt-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kontakt-box form input,
.kontakt-box form textarea,
.kontakt-box form button {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.97rem;
}

.kontakt-box form button {
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    cursor: pointer;
}

.kontakt-box form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.kontakt-box .cta-button {
    color: #fff !important;
    text-decoration: none;
}

.kontakt-info {
    max-width: 400px;
    font-size: 0.95em;
    line-height: 1.4;
    padding-left: 10px;
}

.kontakt-info > div {
    margin-bottom: 0.8em;
}

.kontakt-info strong {
    display: block;
    margin-bottom: 0.2em;
}

.kontakt-info p.indent {
    margin: 0.1em 0;
    padding-left: 1.2em;
}

.kontakt-info strong i {
    margin-right: 6px;
    color: #7ec850;
}

.kontakt-adresse p {
    margin: 0.2em 0;
    line-height: 1.4;
}



/* ========================================
   Impressum
======================================== */
.impressum-box {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
}

.impressum-box h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
    color: #333;
}

.impressum-box h2 {
    margin-top: 25px;
    margin-bottom: 8px;
    font-size: 1.25em;
    color: #4a4a4a;
    border-bottom: 2px solid #7ec850;
    display: inline-block;
    padding-bottom: 3px;
}

.impressum-box p {
    margin: 5px 0 15px 0;
    font-size: 0.97rem;
    color: #333;
}

.impressum-box a {
    color: #0073e6;
    text-decoration: none;
}

.impressum-box a:hover {
    text-decoration: underline;
}

.impressum-box i {
    margin-right: 6px;
    color: #7ec850;
}

/* ========================================
   Accordion
======================================== */
.accordion {
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    border: none;
    padding: 0;
}

.accordion-header {
    width: 100%;
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    color: #fff;
    font-size: 1.1rem;
    text-align: left;
    padding: 15px 20px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: filter 0.3s ease;
    margin: 0;
    border-radius: 0;
}

.accordion-item:first-child .accordion-header {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.accordion-item:last-child .accordion-header {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.accordion-header:hover {
    filter: brightness(1.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.35s ease, padding 0.3s ease, border-color 0.3s ease;
    padding: 0 20px;
    margin: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}

.accordion-header.active + .accordion-content {
    border-left-color: #ff7f32;
    border-right-color: #ff7f32;
    padding: 15px 20px;
    max-height: 600px;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.accordion-content li::before {
    content: "✔";
    color: #7ec850;
    margin-right: 10px;
}

/* ========================================
   Animation Keyframes
======================================== */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   Media Queries
======================================== */
@media(max-width: 768px) {
    .hero h1 { font-size: 2.2em; }
    .hero p { font-size: 1em; }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }

    nav a.button {
        padding: 8px 12px;
        font-size: 0.9em;
        flex: 1 1 45%;
        text-align: center;
    }

    .icons { flex-direction: column; }

    .kontakt-box,
    .bild-box,
    .parent-box {
        margin: 20px 15px;
        padding: 20px;
    }

    .hero.hero-small,
    .impressum-box,
    .team-hero {
        margin: 20px 15px;
        padding: 20px;
    }

    #kontakt-form form { padding: 20px; }
    #kontakt-info { padding: 20px 15px; }
}

@media(max-width: 480px) {
    #kontakt-form form button {
        width: 100%;
    }
}

@media(max-width: 400px) {
    nav a.button {
        flex: 1 1 100%;
    }
}

/* ========================================
   Kundenrezensionen Slider
======================================== */
.rezension-slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.rezension-slider {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollRez 40s linear infinite;
}

.rezension-box {
    flex: 0 0 auto;
    width: 250px;
    background: #fff;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rezension-box p {
    margin: 0 0 10px;
    min-height: 60px;
}

.rezension-box strong {
    display: block;
    text-align: left;
    color: #333;
    font-size: 0.95rem;
}

@keyframes scrollRez {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media(max-width: 768px) {
    .rezension-box { min-width: 200px; }
}

@media(max-width: 480px) {
    .rezension-box { min-width: 150px; }
}

/* ========================================
   Bild-Box
======================================== */
.bild-box {
    background: #fff;
    padding: 30px;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
    max-width: 800px;
    margin: 40px auto;
}

.bild-box h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    border-bottom: 2px solid #7ec850;
    display: inline-block;
    padding-bottom: 3px;
	color: #ff7f32;
}

.bild-box .bild-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

/* ========================================
   Block (Startseite)
======================================== */
.block {
    background-color: #ffffff;
    margin: 60px auto;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    max-width: 1200px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* ========================================
   Team
======================================== */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    width: 200px;
    background: #fff;
    padding: 15px;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}

.team-member img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.team-hero {
    background-color: #f1f7fc;
    padding: 30px;
    text-align: center;
    color: #333;
    max-width: 800px;
    margin: 40px auto;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.team-hero p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.team-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* ========================================
   Cookie Banner
======================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 20px 25px;
    width: 90%;
    max-width: 700px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease, bottom 0.5s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    bottom: -200px;
    pointer-events: none;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95em;
}

.cookie-content a {
    color: #ff7f32;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cookie-buttons button {
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-buttons button:hover {
    transform: translateY(-3px);
}

.cookie-buttons .decline {
    background: #ccc;
    color: #333;
    animation: none;
}

/* ========================================
   Blog
======================================== */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
    max-width: 1000px;
}

.blog-box {
    background: #fff;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.blog-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

.blog-date {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.blog-detail {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.blog-preview {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-mini {
    background: #fff;
    border-left: 5px solid #ff7f32;
    border-right: 5px solid #7ec850;
    padding: 20px;
    width: 280px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: left;
}

.blog-mini h3 {
    margin-top: 0;
    font-size: 1.1em;
    color: #333;
}

/* ========================================
   Jobs / Karriere
======================================== */
.jobs-grid,
.blog-preview {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.job-entry .button {
    display: inline-block;
    padding: 10px 28px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(270deg, #7ec850, #ff7f32, #7ec850);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.job-entry .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.25);
}

/* ========================================
   FAQ
======================================== */
.faq-inner-border {
    border: 0px solid #ff7f32;
    border-radius: 8px;
    background: #fff;
}

.faq-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.faq-outer.left .faq-image  { order: 1; }
.faq-outer.left .faq-text   { order: 2; }
.faq-outer.right .faq-image { order: 2; }
.faq-outer.right .faq-text  { order: 1; }

.faq-image {
    flex: 1 1 45%;
    overflow: hidden;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faq-text {
    flex: 1 1 55%;
    background: #7ec850;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 40px;
    box-sizing: border-box;
}

.faq-text h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: #ff7f32;
}

.faq-text p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-inner {
        flex-direction: column;
    }
    .faq-image,
    .faq-text {
        flex: 1 1 100%;
    }
    .faq-text {
        padding: 25px;
    }
}
/* ========================================
   Footer – Final
======================================== */
footer {
    background: #f4f4f4;
    border-top: 5px solid #7ec850;
    border-bottom: 5px solid #ff7f32;
    text-align: center;
    padding: 25px 15px;
    color: #333;
    font-size: 0.95rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

footer .footer-content {
    max-width: 800px;
    margin: 0 auto;
}

footer address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 10px;
	text-align: center;
}

footer a {
    color: #ff7f32;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

.funding-inline {
    margin: 20px 0;
    text-align: center;
}

.funding-title {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.funding-inline img {
    max-height: 60px;
    object-fit: contain;
}

.social-links {
    width: 100%;              /* 👉 wichtig */
    margin-top: 20px;
    display: flex;
    justify-content: center;  /* 👉 zentriert die Icons */
    gap: 20px;
}

.social-links i {
    font-size: 50px;
    color: #ff7f32;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-links i:hover {
    transform: scale(1.4);
    color: #7ec850; /* passt zu deinem Theme */
}

@media (max-width: 480px) {
    footer {
        font-size: 0.9rem;
        padding: 20px 10px;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 18px 20px;
    flex: 1;
}

.blog-card-content h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 15px;
}

.blog-meta {
    font-size: .9rem;
    color: #888;
    margin-bottom: 12px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-card .cta-button {
    margin-top: auto;
    display: inline-block;
}

.blog-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cat-btn {
    padding: 6px 14px;
    background: #ff7f32;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.cat-btn:hover {
    background: #e66f29;
}

.pagination-blog {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-btn {
    padding: 6px 12px;
    border-radius: 5px;
    background: #eee;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.page-btn.active {
    background: #7ec850;
    color: #fff;
}

.page-btn:hover {
    background: #ff7f32;
    color: #fff;
}

.blog-detail .blog-image-wrapper {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-detail .blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
}

/* -----------------------------
   BLOG DETAIL HERO
------------------------------*/
.blog-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 40px;
    background: #f7f7f7;
}

.blog-hero-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
}

.blog-hero-content {
    padding: 25px 30px;
    text-align: left;
}

.blog-badge {
    background: #ff7f32;
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-title {
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 15px 0;
    color: #222;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 15px;
    color: #666;
}

.blog-meta-item {
    background: #efefef;
    padding: 5px 10px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero-image {
        height: 200px;
    }

    .blog-title {
        font-size: 24px;
    }

    .blog-hero-content {
        padding: 20px;
    }
}

.blog-back-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 15px;
}

.blog-back-btn {
    display: inline-block;
    background: #ff7f32; /* LiSi Orange */
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.blog-back-btn:hover {
    background: #e86f26;
}

.breadcrumb::before {
    content: "\f015"; /* home icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #7ec850;
    margin-right: 8px;
}

/* Breadcrumb Wrapper: gleiche Breite wie Hero */
.breadcrumb-container {
    max-width: 1000px;   /* gleiche hero Breite */
    margin: 10px auto 0 auto;
    padding: 0 20px;     /* identisch zu hero padding */
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #666;
	margin: 20px auto;
    max-width: 1000px;
	padding-left: 10px;
}

/* Links */
.breadcrumb a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

.breadcrumb a:hover {
    color: #ff7f32;
}

/* Separator Icon */
.breadcrumb-sep {
    font-size: 0.75rem;
    color: #aaa;
}

/* Aktive Seite */
.breadcrumb-current {
    font-weight: bold;
    color: #7ec850;
}

.blog-like-box {
    margin: 20px 0;
}

.like-btn {
    background: #ff7f32;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.like-btn:hover {
    background: #e87128;
}

.like-btn.liked {
    background: #d83737 !important;
}

.like-btn i {
    transition: transform 0.3s ease;
}

.like-btn.liked i {
    color: #ffdddd;
    transform: scale(1.3);
}

.language-switcher {
    position: absolute;
    right: 20px;
    top: 10px;
    display: flex;
    gap: 10px;
}

.language-switcher a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    opacity: 0.8;
}

.language-switcher a:hover,
.language-switcher .active-lang {
    opacity: 1;
    text-decoration: underline;
}

.team-image img {
    width: 100%;
    max-width: 160px;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: cover;
}

/* Grid bleibt wie es ist */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Karte */
.team-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
	transition:
        box-shadow 0.35s ease,
		opacity 0.6s ease,
        transform 0.6s ease;
    will-change: transform, box-shadow;
	opacity: 0;
    transform: translateY(24px);
}

/* Inhalt zentrieren */
.team-card-inner {
    text-align: center;
}

/* Bildrahmen */
.team-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px auto;
    border-radius: 50%;
    padding: 6px;
    box-sizing: border-box;
}

/* Bild selbst */
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Farben aus DB */
.team-card.color-orange .team-image {
    border: 4px solid #f28c28;
}

.team-card.color-gruen .team-image {
    border: 4px solid #3a9d5d;
}

/* Name */
.team-card h3 {
    margin: 10px 0 6px;
    font-size: 1.15rem;
}

/* Beschreibung */
.team-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

/* Kontakt */
.team-contact {
    font-size: 0.9rem;
    line-height: 1.5;
}

.team-contact a {
    color: inherit;
    text-decoration: none;
}

.team-contact a:hover {
    text-decoration: underline;
}



/* Hover – leicht anheben */
.team-card:hover {
    transform: translateY(-8px);
}

/* Glow je Farbe */
.team-card.color-orange:hover {
    box-shadow:
        0 14px 30px rgba(242, 140, 40, 0.35),
        0 0 0 2px rgba(242, 140, 40, 0.15);
}

.team-card.color-gruen:hover {
    box-shadow:
        0 14px 30px rgba(58, 157, 93, 0.35),
        0 0 0 2px rgba(58, 157, 93, 0.15);
}


/* Wenn sichtbar */
.team-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .team-card {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ========================================
   TEAM – MOBILE OPTIMIERUNG
======================================== */
@media (max-width: 768px) {

    /* Grid enger */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Karte kompakter */
    .team-card {
        padding: 14px;
        border-radius: 12px;
        transform: none !important;
    }

    /* Hover auf Mobile deaktivieren */
    .team-card:hover {
        transform: none;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    /* Bild deutlich kleiner */
    .team-image {
        width: 100px;
        height: 100px;
        padding: 4px;
        margin-bottom: 10px;
    }

    /* Name kleiner */
    .team-card h3 {
        font-size: 1.05rem;
        margin: 6px 0 4px;
    }

    /* Beschreibung kompakt */
    .team-desc {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    /* Kontakt kleiner */
    .team-contact {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Animation sanfter */
    .team-card {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   EXTRA: Touch-Feeling verbessern
======================================== */
@media (hover: none) {
    .team-card {
        box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    }
}
