/* Diese Datei liegt im gleichen Ordner wie index.html (Upload nach public_html).
   Frueher: <link href="../styles.css"> vom Unterordner rechtsanwaltspraxis aus. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d1b3d;    /* Dunkles Blau aus Produktbild */
    --secondary-color: #ffd700;  /* Gold/Gelb aus Produktbild */
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg: #f5f7fb;
    --border-color: #d6e0f0;
    --hover-color: #0a1529;      /* Dunkleres Blau für Hover */
    --accent-yellow: #ffd700;     /* Gold/Gelb Akzent */
    --dark-blue: #0d1b3d;         /* Dunkles Blau */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Banner */
.header-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2d5a 100%);
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
}

.banner-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.banner-icon {
    flex-shrink: 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--light-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fb 0%, #d6e4ff 100%);
    padding: 80px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

/* CTA Buttons - Hover effects kept */
.cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.cta-button i {
    font-size: 18px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: #ffed4e;
}

.cta-button.secondary {
    margin-top: 30px;
}

/* Badges Section - Banner Layout */
.badges {
    padding: 40px 20px;
    background-color: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.badge-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}

.badge-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 80px 20px;
    background-color: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.section-text {
    font-size: 18px;
    text-align: center;
    color: #666;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.main-content-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 50px auto;
}

.main-content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

.main-content-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    text-align: left;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.main-content-button {
    text-align: center;
    margin-top: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 15px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Ingredients Section */
.ingredients {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e8f0f8 0%, #d6e4ff 50%, #c5d8f5 100%);
    position: relative;
    overflow: hidden;
}

.ingredients::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(31, 79, 143, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ingredients-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ingredients-content {
    flex: 1;
}

.ingredients-title {
    font-size: 36px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 40px;
    color: var(--primary-color);
    line-height: 1.3;
}

.ingredients-accordions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ingredient-accordion-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ingredient-accordion-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.ingredient-accordion-question:hover {
    color: var(--primary-color);
}

.ingredient-accordion-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.ingredient-accordion-question.active::after {
    transform: rotate(45deg);
}

.ingredient-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ingredient-accordion-answer.active {
    max-height: 500px;
}

.ingredient-accordion-answer p {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.ingredients-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ingredients-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

/* Stats Section */
.stats {
    padding: 80px 20px;
    background-color: white;
}

.stats-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 50px auto;
}

.stats-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

.stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    text-align: left;
}

.stat-circle {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    position: absolute;
    top: 0;
    left: 0;
}

.stat-circle-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 8;
}

.stat-circle-progress {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 282.74;
    transition: stroke-dashoffset 0.8s ease;
}

.stat-circle-progress[data-percent="91"] {
    stroke-dashoffset: 25.45;
}

.stat-circle-progress[data-percent="94"] {
    stroke-dashoffset: 16.96;
}

.stat-circle-progress[data-percent="89"] {
    stroke-dashoffset: 31.10;
}

.stat-number {
    position: absolute;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    z-index: 1;
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    padding-top: 10px;
}

.stat-text {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.stats-button {
    text-align: center;
    margin-top: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

/* FAQ Section (nur Legacy-Seiten mit <section class="faq"> — nicht .kanzlei-faq, sonst Konflikt mit kanzlei.css) */
.faq {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fb 0%, #d6e4ff 100%);
}

.faq .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq .faq-item {
    margin-bottom: 15px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq .faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq .faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq .faq-question.active::after {
    transform: rotate(45deg);
}

.faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq .faq-answer.active {
    max-height: 500px;
}

.faq .faq-answer p {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 50px 20px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-height: 50px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    display: block !important;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

/* Footer links are buttons - Hover effects kept */
.footer-link {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: inherit;
}

.footer-link:visited {
    color: white;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #444;
    text-align: left;
}

.footer-copyright p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.disclaimer {
    font-size: 12px !important;
    color: #888 !important;
    max-width: 800px;
    margin: 15px 0 0 !important;
    text-align: left;
    line-height: 1.6;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: 20px;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close button - Hover effects kept */
.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

#popupContent {
    margin-top: 20px;
}

#popupContent h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

#popupContent p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

#popupContent ul {
    margin-left: 20px;
    margin-top: 15px;
    color: #666;
    line-height: 1.8;
}

#popupContent li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-text {
        font-size: 16px;
    }

    .badge-banner {
        gap: 25px;
    }
    
    .badge-item {
        font-size: 13px;
    }

    .main-content-layout {
        flex-direction: column;
        gap: 40px;
    }

    .main-content-image {
        order: -1;
    }

    .main-content-features {
        gap: 25px;
    }

    .feature-item h3 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-layout {
        flex-direction: column;
        gap: 40px;
    }

    .stats-image {
        order: -1;
    }

    .stat-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .stat-circle {
        width: 120px;
        height: 120px;
    }

    .stat-circle-svg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .stat-circle-bg,
    .stat-circle-progress {
        stroke-width: 8;
    }

    .stat-circle-progress {
        stroke-dasharray: 282.74;
    }

    .stat-circle-progress[data-percent="91"] {
        stroke-dashoffset: 25.45;
    }

    .stat-circle-progress[data-percent="94"] {
        stroke-dashoffset: 16.96;
    }

    .stat-circle-progress[data-percent="89"] {
        stroke-dashoffset: 31.10;
    }

    .stat-number {
        font-size: 28px;
        z-index: 2;
    }

    .stat-content {
        gap: 6px;
    }

    .stat-title {
        font-size: 18px;
        padding-top: 0;
        text-align: center;
    }

    .stat-text {
        padding-top: 0;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 10px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-content {
        gap: 30px;
    }

    .main-content,
    .ingredients,
    .stats,
    .faq {
        padding: 50px 20px;
    }

    .ingredients-layout {
        flex-direction: column;
        gap: 40px;
    }

    .ingredients-image {
        order: -1;
    }

    .ingredients-title {
        font-size: 28px;
        text-align: center;
    }

    .ingredient-accordion-question {
        font-size: 16px;
        padding: 18px 20px;
    }

    .ingredient-accordion-answer p {
        font-size: 15px;
        padding: 0 20px 18px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 30px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .ingredient-accordion-question {
        font-size: 15px;
        padding: 15px 18px;
    }

    .stat-circle {
        width: 110px;
        height: 110px;
    }

    .stat-circle-svg {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .stat-circle-bg,
    .stat-circle-progress {
        stroke-width: 7;
    }

    .stat-circle-progress {
        stroke-dasharray: 282.74;
    }

    .stat-circle-progress[data-percent="91"] {
        stroke-dashoffset: 25.45;
    }

    .stat-circle-progress[data-percent="94"] {
        stroke-dashoffset: 16.96;
    }

    .stat-circle-progress[data-percent="89"] {
        stroke-dashoffset: 31.10;
    }

    .stat-number {
        font-size: 24px;
        z-index: 2;
    }

    .stat-text {
        font-size: 15px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }

    .badge-banner {
        gap: 20px;
    }

    .badge-item {
        font-size: 12px;
    }
    
    .badge-icon {
        width: 18px;
        height: 18px;
    }

    .feature-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-title {
        font-size: 16px;
    }

    .stat-text {
        font-size: 14px;
    }
}

/* -------------------------------------------------------------------------- */
/* Kanzlei (Hostinger): Formulare/Buttons erben die Inhaltsschrift aus kanzlei.css */
/* -------------------------------------------------------------------------- */
button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
