/* Globale Resets & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121214; /* Moderner Dark-Mode Hintergrund */
    color: #e1e1e6; /* Angenehmes Off-White für Text */
    line-height: 1.6;
}

a {
    color: #e53e3e; /* Signalrot als Akzentfarbe */
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #fc8181;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header & Navigation */
header {
    background-color: #1a1a1e;
    border-bottom: 2px solid #29292e;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: #fff;
}

.logo h1 span {
    color: #e53e3e;
}

.logo p {
    font-size: 0.8rem;
    color: #a0aec0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #c4c4cc;
    font-weight: 500;
}

nav ul li a:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1e 0%, #0d0d0f 100%);
    padding: 4rem 1rem;
    text-align: center;
    border-bottom: 1px solid #29292e;
}

.hero h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #a0aec0;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background-color: #e53e3e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
}

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

/* Kachel-Raster (Grid) & Cards */
.topic-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    border-left: 4px solid #e53e3e;
    padding-left: 0.75rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #1a1a1e;
    border: 1px solid #29292e;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card h3 {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.card p {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

code {
    background-color: #121214;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: #fc8181;
    font-family: monospace;
}

/* Tags */
.tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag.tech { background-color: #2b6cb0; color: #fff; }
.tag.hobby { background-color: #2f855a; color: #fff; }

.read-more {
    font-weight: 500;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background-color: #1a1a1e;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #29292e;
}

.about-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto;
    color: #a0aec0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    background-color: #0d0d0f;
    border-top: 1px solid #29292e;
    font-size: 0.85rem;
    color: #718096;
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 1rem;
    }
    nav ul li {
        margin: 0 0.75rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Formatierungen für Hinweise & Klarstellungen
   ========================================================================== */

/* Variante 1: Minimalistischer Text-Blickfang */
.hinweis-text-red {
    color: #e53e3e;             /* Ihr Signalrot */
    text-transform: uppercase;  /* Großbuchstaben */
    letter-spacing: 0.05em;     /* Leicht gesperrter Text für moderne Optik */
    font-size: 0.9rem;          /* Minimal kleiner als Standardtext */
    font-weight: bold;
    margin-right: 0.5rem;       /* Abstand zum nachfolgenden Text */
}

/* Variante 2: Dezente Info-Box mit linker Akzentlinie */
.hinweis-box {
    background-color: #1a1a1e;   /* Passt zu Ihrem Card-Hintergrund */
    border-left: 3px solid #e53e3e; /* Signalrote Linie links */
    padding: 0.75rem 1rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #e1e1e6;
    border-radius: 0 4px 4px 0;  /* Rundung nur rechts, wo keine Linie ist */
}
.hinweis-box .hinweis-title {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
}

/* Variante 3: Kompaktes rotes "Badge" (Label) */
.badge-hinweis {
    background-color: rgba(229, 62, 62, 0.15); /* Transparentes Signalrot */
    color: #fc8181;                             /* Hellrot für perfekten Kontrast */
    border: 1px solid rgba(229, 62, 62, 0.3);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 0.5rem;
    display: inline-block;                      /* Verhindert unschöne Umbrüche */
}

pre {
    background-color: #121214;
    border: 1px solid #29292e;
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
    color: #e1e1e6;
    white-space: pre;
    tab-size: 4;
    display: block;
}

css.menu-path {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: sans-serif;
    font-size: 0.9rem;
    color: #e1e1e6;
}

.menu-step {
    background-color: #1a1a1e; /* Ihr Card-Hintergrund */
    border: 1px solid #29292e;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.menu-step.active {
    border-color: #e53e3e; /* Ihr Signalrot für den Zielpunkt */
    color: #fff;
    font-weight: bold;
}

.menu-separator {
    color: #666;
    font-weight: bold;
}
