/* Import Geist Sans Font */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: seagreen;
    --accent-color: indigo;
    --text-color: #2c3e50;
    --bg-light: #f8f9fa;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 18px;
    background: #ffffff;
}

/* Reset list styles globally */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Content lists with custom markers */
.content ul {
    margin: 1.5rem 0;
}

.content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 18px;
    line-height: 1.7;
}

.content ul li::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 14px;
    top: 0.35rem;
}

.content ol {
    counter-reset: item;
    margin: 1.5rem 0;
}

.content ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 18px;
    line-height: 1.7;
    counter-increment: item;
}

.content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 18px;
}

/* Navbar styles - explicitly no markers */
.navbar ul,
.navbar ol,
.navbar-menu ul,
.navbar-menu ol,
nav ul,
nav ol {
    list-style: none !important;
    padding-left: 0 !important;
}

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

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

/* Footer styles - explicitly no markers */
footer ul,
footer ol,
.footer ul,
.footer ol {
    list-style: none !important;
    padding-left: 0 !important;
}

footer li::before,
.footer li::before {
    display: none !important;
    content: none !important;
}

footer li::after,
.footer li::after {
    display: none !important;
    content: none !important;
}

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    display: block;
}

.navbar-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-menu {
    padding: 0 1rem;
}

.navbar-item {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 1rem 1.25rem !important;
    font-size: 17px;
}

.navbar-item:hover {
    color: var(--primary-color);
    background: transparent;
}

.navbar-burger {
    height: auto;
    width: auto;
    margin-left: auto;
}

.cta-button {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: var(--border-radius) !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
}

.cta-button:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95) 0%, rgba(75, 0, 130, 0.85) 100%), url('technischer-ablauf_6320910336.jpg') center/cover !important;
    color: white !important;
    padding: 6rem 1.5rem !important;
    text-align: center !important;
    position: relative !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-body {
    max-width: 900px !important;
    margin: 0 auto !important;
}

.hero .title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
    line-height: 1.2 !important;
}

.hero .subtitle {
    font-size: 1.3rem !important;
    margin-bottom: 2.5rem !important;
    color: white !important;
    line-height: 1.6 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3) !important;
}

.hero .cta-button {
    background: white !important;
    color: var(--primary-color) !important;
    border: 3px solid white !important;
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.hero .cta-button:hover {
    background: transparent !important;
    color: white !important;
    border-color: white !important;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: none;
    height: 100%;
    background: white;
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 1.5rem;
}

.card-header-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
}

.card-content {
    padding: 2rem;
    font-size: 18px;
}

.card-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Images */
.content-image {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 2rem auto;
    display: block;
    max-width: 100%;
    height: auto;
}

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

.table {
    width: 100%;
    background: white;
    font-size: 18px;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.table thead th {
    color: white !important;
    font-weight: 600;
    padding: 1.25rem;
    border: none;
    font-size: 18px;
}

.table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

.table tbody tr:hover {
    background: #f8f9fa;
}

.table tbody td {
    padding: 1.25rem;
    vertical-align: middle;
    font-size: 18px;
}

.table tbody td strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Box/Info Sections */
.box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2rem;
    margin: 2rem 0;
}

.box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.box p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    margin-top: 3rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 18px;
    line-height: 1.7;
}

/* Icons */
.icon {
    /* color: var(--primary-color); */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: #ecf0f1;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 17px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 16px;
}

/* Table of Contents */
.toc {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.toc h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.toc ul {
    margin: 0;
}

.toc ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.toc ul li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.toc a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 17px;
}

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero .title {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 17px;
    }

    .hero {
        padding: 4rem 1.5rem !important;
        min-height: 400px !important;
    }

    .hero .title {
        font-size: 2rem !important;
    }

    .hero .subtitle {
        font-size: 1.1rem !important;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p, .content ul li, .content ol li, .table {
        font-size: 17px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .navbar-item {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .hero .title {
        font-size: 1.75rem !important;
    }

    .hero .subtitle {
        font-size: 1rem !important;
    }

    .cta-button {
        padding: 0.75rem 1.25rem !important;
        font-size: 16px !important;
    }
}

/* Utility Classes */
.has-text-centered {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
