/* =========================================
   Grundlegende Einstellungen & Variablen
   ========================================= */

/* CSS-Variablen für einfache Farbanpassungen */
:root {
    --bg-color: #121212; /* Sehr dunkles Grau, fast Schwarz */
    --primary-color: #00A8E8; /* Ein leuchtendes Himmelblau als Akzent */
    --secondary-color: #1E1E1E; /* Etwas helleres Dunkelgrau für Karten */
    --text-color: #E0E0E0; /* Helles Grau für Text, angenehmer als reines Weiß */
    --text-color-darker: #a0a0a0; /* Dunkleres Grau für Untertitel */
    --font-family: 'Poppins', sans-serif;
    --border-radius: 12px;
}

/* Globaler Reset und Basis-Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Header & Navigation
   ========================================= */

header {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #2a2a2a;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styling für den gesamten Logo-Bereich (Link) */
header .logo a {
    display: flex; /* Richtet Logo und Text nebeneinander aus */
    align-items: center; /* Zentriert beides vertikal */
    gap: 12px; /* Der Abstand zwischen Logo und Text */
    text-decoration: none; /* Entfernt den Link-Unterstrich */
}

/* Styling für das Logo-Bild */
header .logo img {
    height: 60px;
    width: auto;
}

/* Styling für den Namen (die alte Formatierung) */
header .logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--primary-color);
}

/* =========================================
   Startsektion
   ========================================= */

#start {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* Platz für den fixierten Header */
}

#start h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

#start .highlight {
    /* Spielerei: Ein animierter Farbverlauf für den Namen */
    background: linear-gradient(45deg, #00A8E8, #00F5D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 5s ease infinite;
}

#start .subtitle {
    font-size: 1.2rem;
    color: var(--text-color-darker);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 232, 0.2);
}

/* =========================================
   Über-Mich Sektion
   ========================================= */

#about {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Spielerei: Animierte Unterstreichung für die Überschrift */
#about h2::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
}

#about:hover h2::after {
    transform: scaleX(1);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* =========================================
   Footer
   ========================================= */

footer {
    text-align: center;
    padding: 4rem 0;
}

footer .social-links a {
    color: var(--text-color-darker);
    font-size: 2rem;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

footer .copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-color-darker);
}

/* =========================================
   Animationen & Responsive Design
   ========================================= */

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#start .highlight {
    background-size: 200% 200%;
}

/* Media Query für mobile Geräte */
@media (max-width: 768px) {
    #start h1 {
        font-size: 2.8rem;
    }

    header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    #about {
        padding: 4rem 0;
    }
}
/* =========================================
   Firmenlink Spezial-Styling
   ========================================= */

/* Grundzustand des Links */
.company-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--text-color-darker); /* Dezente Farbe für den Strich */
    transition: color 0.3s ease, text-decoration-color 0.3s ease; /* Auch die Strichfarbe animieren */
}

/* Zustand, wenn man mit der Maus darüber fährt */
.company-link:hover {
    color: #5FB22D; /* Das CI-Grün von Objektkultur */
    text-decoration-color: #5FB22D; /* Strich wird ebenfalls grün */
}

/* KORREKTUR: Stellt sicher, dass auch der fette Text im Link
  beim Hovern die richtige Farbe annimmt.
*/
.company-link:hover strong {
    color: inherit; /* Erbt die grüne Hover-Farbe vom Elternelement (dem Link) */
}
