/* Main CSS for fuchsienfreunde.de */
/* Colors: sunset orange (primary), midnight blue (accent) */

:root {
    --primary-color: #FF4500;
    --accent-color: #191970;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #191970;
}

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: var(--text-dark);
    background-color: #ffffff;
}

/* Navigation Styles - CRITICAL */
.nav-menu li {
    margin-bottom: 0 !important;
}

.nav-menu li::before,
.nav-menu li::after {
    display: none !important;
    content: none !important;
}

.nav-menu {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu li {
    list-style: none !important;
    list-style-type: none !important;
}

nav ul,
nav ol,
footer ul,
footer ol {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

nav ul li::before,
nav ul li::after,
nav ol li::before,
nav ol li::after,
footer ul li::before,
footer ul li::after,
footer ol li::before,
footer ol li::after {
    display: none !important;
    content: none !important;
}

/* Header */
header {
    background: var(--accent-color) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    box-shadow: none !important;
}

.logo span {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .mobile-toggle {
        display: none !important;
    }
}

.desktop-nav .nav-menu {
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
}

.desktop-nav .nav-menu a {
    color: var(--text-light) !important;
    text-decoration: none;
    font-weight: 500 !important;
    font-size: 1rem !important;
    transition: color 0.3s ease;
}

.desktop-nav .nav-menu a:hover {
    color: var(--primary-color) !important;
}

/* CTA Buttons in Nav */
.nav-cta {
    display: flex;
    gap: 0.75rem;
}

.btn-cta {
    display: inline-block;
    padding: 0.5rem 1.25rem !important;
    border-radius: 5px;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.btn-cta-primary:hover {
    background: #e03e00 !important;
}

.btn-cta-secondary {
    background: transparent !important;
    color: var(--text-light) !important;
    border: 2px solid var(--primary-color) !important;
}

.btn-cta-secondary:hover {
    background: var(--primary-color) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--accent-color);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.mobile-nav .nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light) !important;
    text-decoration: none;
    font-weight: 500 !important;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-nav .nav-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav .nav-cta {
    flex-direction: column;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-nav .btn-cta {
    text-align: center;
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.9) 0%, rgba(25, 25, 112, 0.7) 100%) !important;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--text-light) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem !important;
    }
}

.hero p {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
}

.hero .btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem !important;
    background: var(--primary-color) !important;
    color: var(--text-light) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.hero .btn-hero:hover {
    background: #e03e00 !important;
    transform: translateY(-2px);
}

/* Table of Contents */
.toc {
    padding: 2rem 1.5rem;
    background: var(--bg-light);
}

.toc-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.toc-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem !important;
    background: transparent !important;
    color: var(--accent-color) !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 25px;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.toc-btn:hover {
    background: var(--accent-color) !important;
    color: var(--text-light) !important;
}

/* Main Content */
main {
    padding-top: 0;
}

/* Sections */
.section {
    padding: 4rem 1.5rem;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
}

.section h3 {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

.section p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: var(--text-dark) !important;
    margin-bottom: 1.25rem !important;
}

/* Images in Sections */
.section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Content Lists - Styled with triangle markers */
.content-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
}

.content-list li {
    position: relative;
    padding-left: 1.75rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0;
    height: 0;
    border-left: 8px solid var(--accent-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.content-list li::marker {
    display: none !important;
}

/* Ordered Lists */
.content-list-ordered {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
    counter-reset: list-counter;
}

.content-list-ordered li {
    position: relative;
    padding-left: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    counter-increment: list-counter;
}

.content-list-ordered li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--accent-color);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-list-ordered li::marker {
    display: none !important;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem !important;
    min-width: 500px;
}

.styled-table thead {
    background: var(--accent-color);
}

.styled-table th {
    padding: 1rem 1.25rem !important;
    text-align: left;
    color: var(--text-light) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.styled-table td {
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem !important;
    color: var(--text-dark) !important;
}

.styled-table tbody tr {
    background: #ffffff;
    transition: background 0.2s ease;
}

.styled-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.styled-table tbody tr:hover {
    background: #e8f4f8;
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-top: 0 !important;
    color: var(--accent-color) !important;
}

/* Icons */
.bi {
    color: var(--primary-color);
    font-size: 1.25rem;
    vertical-align: middle;
}

.icon-accent {
    color: var(--accent-color);
}

/* Star Animation */
@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--accent-color) !important;
    color: var(--text-light) !important;
    padding: 3rem 1.5rem 1.5rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-col h4 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    margin-bottom: 1rem !important;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col ul li {
    margin-bottom: 0.5rem !important;
}

.footer-col ul li::before,
.footer-col ul li::after {
    display: none !important;
    content: none !important;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 1rem !important;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color) !important;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1.05rem !important;
    }

    .section h2 {
        font-size: 1.6rem !important;
    }

    .section h3 {
        font-size: 1.25rem !important;
    }
}

/* Smooth scrolling offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}
