/* style.css */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background: #00447C;
    color: #fff;
    /* KORREKTUR: Padding reduziert für einen kompakteren Header */
    padding: 15px 0 10px 0; 
    border-bottom: #4CAF50 3px solid;
    text-align: center;
}

header #logo {
    width: 250px;
    max-width: 90%;
    margin-bottom: 10px;
}

header h1 {
    margin: 0;
    font-size: 28px;
    padding-bottom: 10px;
}

nav {
    background: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4CAF50;
}

main section {
    padding: 40px 20px;
    background: #fff;
    margin: 20px auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

main section[id] {
  scroll-margin-top: 80px; /* Höhe der Navigationsleiste als Puffer */
}

h2 {
    color: #00447C;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    margin-top: 0;
}

h3 {
    color: #0056b3;
    margin-top: 30px;
}

h4 {
    color: #00447C;
    margin-bottom: 10px;
}

a {
    color: #00447C;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 40px;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #00447C;
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.review-box {
    border: 1px solid #eee;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    background-color: #fafafa;
}

ul.benefits li, .section-neutral ul li, .faq-item ul li {
    list-style-type: none;
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

ul.benefits li::before {
    content: '✔';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.section-neutral ul li::before {
    content: '⚠️'; /* Warn-Symbol */
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.step-by-step .step {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #4CAF50;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.faq-item ul {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-item ul li::before {
    content: '▶';
    color: #00447C;
    position: absolute;
    left: 0;
    font-size: 1em;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: #4CAF50;
}

/* Responsive Design */
@media(max-width: 768px){
    header h1 {
        font-size: 22px;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
   .container {
        width: 95%;
        padding: 0 10px;
    }
}