/* Allgemeine Stile */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1c1c1e;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Cookie-Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #282a36; /* Dunkler Hintergrund, passt zum Design */
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none; /* Standardmäßig ausgeblendet */
}

#cookie-banner p {
    margin: 0 0 15px 0;
    color: #f0f0f0; /* Textfarbe angepasst */
    font-size: 0.9em;
}

#cookie-banner button {
    margin: 0 5px;
    padding: 8px 15px;
    border: none;
    background-color: #1f8ef1; /* Blau, passt zum Design */
    color: white;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.9em;
}

#cookie-banner button:hover {
    background-color: #0958a1; /* Dunkleres Blau für Hover-Effekt */
}

/* Links */
a {
    color: #1f8ef1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #282a36;
    padding: 10px 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #f0f0f0;
    font-weight: bold;
}

nav ul li a:hover {
    color: #1f8ef1;
}

/* Header */
header {
    margin-top: 60px;
    text-align: center;
    padding: 15px 0;
    background-color: #1f8ef1;
    color: white;
}

.header-content img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

header h1 {
    margin: 0;
    font-size: 2em;
}

.subtitle {
    font-size: 1em;
    margin-top: 5px;
    line-height: 1.3;
}

.subtitle .divider {
    margin: 0 10px;
    color: #f0f0f0;
}

/* Sektionen */
section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

section h2 {
    font-size: 2em;
    color: #1f8ef1;
    margin-bottom: 20px;
    text-align: center;
}

.section-content {
    margin-bottom: 40px;
    text-align: left;
}

/* Skills (Balkendiagramm) */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skill {
    width: 48%; /* Jede Fähigkeit belegt ca. die Hälfte der Breite */
    margin-bottom: 20px;
}

.skill p {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 5px; /* Abstand zwischen Text und Balken */
    white-space: nowrap; /* Verhindert, dass der Text umbricht */
}

/* Balkendiagramm */
.bar {
    background-color: #444;
    border-radius: 3px;
    overflow: hidden;
    height: 20px;
    width: 100%; /* Der Balken füllt die gesamte verfügbare Breite */
}

.bar div {
    height: 100%;
    background-color: #1f8ef1; /* Blau für die Balken */
    border-radius: 3px;
}

/* Spezifische Klassen für jede Fähigkeit */
.sql .bar div { width: 90% !important; }
.data-warehousing .bar div { width: 85% !important; }
.power-bi .bar div { width: 80% !important; }
.python .bar div { width: 75% !important; }
.azure .bar div { width: 70% !important; }
.ssas .bar div { width: 85% !important; }
.etl .bar div { width: 80% !important; }
.wherescape .bar div { width: 75% !important; }
.sql-server .bar div { width: 70% !important; }
.reporting-services-ssrs .bar div { width: 85% !important; }
.datenanalyse .bar div { width: 85% !important; }
.datenmodellierung .bar div { width: 85% !important; }

.teamfaehigkeit .bar div { width: 95% !important; }
.kommunikation .bar div { width: 85% !important; }
.problemloesung .bar div { width: 80% !important; }
.eigeninitiative .bar div { width: 90% !important; }
.projektmanagement .bar div { width: 85% !important; }
.zeitmanagement .bar div { width: 80% !important; }
.analytisch .bar div { width: 90% !important; }
.anpassung .bar div { width: 85% !important; }
.kreativität .bar div { width: 85% !important; }
.kundenorientierung .bar div { width: 95% !important; }
.selbstorganisation .bar div { width: 85% !important; }
.agilität .bar div { width: 85% !important; }

/* Überschriften für Skills-Sektion */
.skills-container h3 {
    width: 100%;
    font-size: 1.5em;
    text-align: left;
    margin-bottom: 20px;
    color: #1f8ef1; /* Blaue Farbe für die Überschriften */
    display: flex;
    align-items: center; /* Zentriert das Icon mit dem Text */
}

.skills-container h3 i {
    margin-right: 10px; /* Abstand zwischen Icon und Text */
}

/* Scripte */
#scripts .section-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

#scripts .section-content strong {
    font-weight: bold;
    color: #1f8ef1;
}

/* Zertifikate und Qualifikationen */
#certificates {
    text-align: left;
}

#certificates .section-content {
    font-size: 1em;
    line-height: 1.6;
}

#certificates ul {
    list-style-type: disc;
    margin-left: 20px;
}

#certificates h3 {
    color: #1f8ef1;
    margin-top: 20px;
    font-size: 1.2em;
}

#certificates li {
    margin-bottom: 10px;
}

#certificates strong {
    font-weight: bold;
    color: #f0f0f0;
}

/* Downloads, Externe Links und Impressum */
#downloads .section-content,
#externallinks .section-content,
#impressum .section-content {
    margin: 0 auto; /* Zentrieren des Containers */
    max-width: 600px; /* Maximalbreite für Textcontainer */
    text-align: left; /* Links ausgerichtet */
    display: block;
}

#downloads .section-content p,
#externallinks .section-content p,
#impressum .section-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

#downloads .section-content a,
#externallinks .section-content a,
#impressum .section-content a {
    color: #1f8ef1;
    font-weight: bold;
    text-decoration: none;
}

#downloads .section-content a:hover,
#externallinks .section-content a:hover,
#impressum .section-content a:hover {
    text-decoration: underline;
}

/* Kontakt-Formular */
form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

form input[type="submit"] {
    background-color: #1f8ef1;
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 1.2em;
}

form input[type="submit"]:hover {
    background-color: #0958a1;
}

/* Impressum - kleinere Schrift */
#impressum .section-content {
    font-size: 0.9em; /* Kleinere Schriftgröße für das Impressum */
    line-height: 1.5;
    margin: 0 auto; /* Zentrieren des Containers */
    max-width: 600px; /* Maximalbreite für Textcontainer */
    text-align: left; /* Links ausgerichtet */
}

/* Honeypot-Feld */
form div[style="display: none;"] {
    display: none;  /* Das Honeypot-Feld ist unsichtbar für echte Benutzer */
}

/* Footer */
footer {
    background-color: #282a36;
    color: white;
    padding: 20px;
    text-align: center;
}