/* =========================================
   ThinkTEC e.U. - MODERN ENGINEERING LOOK (FINAL COMPILATION)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #111111;       /* Fast Schwarz */
    --bg-light: #f8f9fa;      /* Helles Grau für Hintergründe */
    --border-radius: 8px;     /* Eckenradius */
    --shadow: 0 4px 20px rgba(0,0,0,0.08); /* Schatten */
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}
a:hover { color: #555; }

/* --- Header & Logo --- */
header { background: #ffffff; padding: 20px 0; text-align: center; width: 100%; }
.logo-container { text-align: center; width: 100%; display: flex; justify-content: center; }
.site-logo { max-height: 75px; width: auto; max-width: 90%; }

/* --- Navigation --- */
nav {
    background: #ffffff; border-bottom: 1px solid #eaeaea; position: sticky; top: 0; z-index: 1000; padding: 10px 0; text-align: center;
}
nav ul { padding: 0; margin: 0; list-style: none; display: inline-block; }
nav ul li { display: inline-block; margin: 0 5px; }
nav ul li a {
    color: #555; display: block; padding: 10px 20px; font-weight: 500; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; border-radius: 4px;
}
nav ul li a:hover { background-color: #f0f0f0; color: #000; }

/* --- Container (Standard Wrapper) --- */
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

/* --- Hero Section (Startseite - Zentriert) --- */
.hero-wrapper {
    background-color: var(--bg-light); 
    width: 100%; 
    border-radius: 0 0 20px 20px; 
    margin-bottom: 40px; 
    padding: 80px 20px;
    text-align: center; /* Wichtig für Zentrierung */
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.hero-content {
    width: 100%; 
    max-width: 900px; 
    margin: 0 auto; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
}
.hero-content h2 {
    font-size: 2.5rem; 
    font-weight: 800; 
    margin-top: 0; 
    margin-bottom: 20px; 
    line-height: 1.2; 
    color: #000; 
    text-align: center; 
    width: 100%;
}
.hero-subtext {
    font-size: 1.2rem; 
    color: #555; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    margin-bottom: 30px; 
    text-align: center; 
    display: block;
}
.hero-content .btn-black { display: inline-block; margin-top: 10px; }

/* --- Typografie Allgemein --- */
h2 { color: #000; font-weight: 700; margin-top: 0; font-size: 2rem; margin-bottom: 30px; }
h3 { margin-top: 0; font-size: 1.3rem; font-weight: 700; }

/* --- Service Grid (Karten) --- */
.services-grid { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 30px; justify-content: center; }
.service-card {
    background: #fff; padding: 30px; border: 1px solid #eee; border-radius: var(--border-radius); flex: 1 1 300px; max-width: 400px; transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ddd; }
.service-card h3 { margin-bottom: 15px; }
ul { padding-left: 20px; }
.service-card ul { list-style: none; padding-left: 0; text-align: left; }
.service-card ul li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #444; }
.service-card ul li::before { content: "→"; color: #000; font-weight: bold; font-size: 14px; position: absolute; left: 0; top: 0; }

/* --- Buttons & Tech Badges --- */
.btn-black {
    background-color: var(--primary); color: #fff !important; padding: 14px 30px; text-decoration: none; border-radius: 50px; font-weight: 600; display: inline-block; transition: all 0.3s ease; text-transform: uppercase; font-size: 0.9rem; margin-top: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn-black:hover { background-color: #333; transform: scale(1.02); }
.tech-badge {
    background: #ffffff; color: #333; padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; border: 1px solid #e0e0e0; display: inline-block; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- Chat Buttons (WhatsApp & Teams) --- */
.chat-buttons-container {
    margin-top: 25px; display: flex; flex-direction: column; gap: 10px;
}
.btn-whatsapp {
    background-color: #25D366; color: #fff !important; padding: 12px 20px; text-decoration: none; border-radius: 50px; font-weight: 600; display: block; text-align: center; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.1); font-size: 0.9rem;
}
.btn-whatsapp:hover { background-color: #128C7E; transform: translateY(-2px); }
.btn-teams {
    background-color: #6264A7; color: #fff !important; padding: 12px 20px; text-decoration: none; border-radius: 50px; font-weight: 600; display: block; text-align: center; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.1); font-size: 0.9rem;
}
.btn-teams:hover { background-color: #464775; transform: translateY(-2px); }

/* --- Profil Bereich (Über mich Seite) --- */
.profile-section {
    display: flex; flex-wrap: wrap; gap: 50px; align-items: center; margin-bottom: 60px; background: var(--bg-light); padding: 40px; border-radius: 20px;
}
.profile-image {
    flex: 0 0 220px; width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow); background-color: #ddd;
}
.profile-text { flex: 1; }
.profile-subtitle { font-size: 1.1rem; color: #666; font-weight: 600; display: block; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* --- Home Profil Teaser (Startseite) --- */
.home-profile-teaser {
    display: flex; align-items: center; gap: 40px; margin: 80px auto; padding: 30px; max-width: 900px; background: #fff; border: 1px solid #eee; border-radius: var(--border-radius);
}
.home-profile-img {
    flex: 0 0 150px; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-light); box-shadow: var(--shadow); display: block;
}
.home-profile-content h3 { margin-bottom: 10px; font-size: 1.5rem; }
.home-profile-content p { color: #555; margin-bottom: 20px; }

/* --- Kontakt Seite Layout --- */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 40px; }
.contact-block { flex: 1; font-size: 1.1rem; background: var(--bg-light); padding: 30px; border-radius: var(--border-radius); }
.legal-section { margin-top: 60px; padding-top: 30px; border-top: 1px solid #eee; font-size: 0.85rem; color: #888; }

/* --- Footer --- */
footer {
    background-color: #111; color: #888; text-align: center; padding: 60px 20px; margin-top: 80px;
}
.social-links {
    display: flex; justify-content: center; align-items: center; gap: 30px; margin-bottom: 20px;
}
.social-links a {
    text-decoration: none; color: #fff; font-size: 0.9rem; font-weight: bold; display: flex; align-items: center; transition: all 0.3s ease;
}
.social-links a.text-link { border-bottom: 1px solid #555; }
.social-links a.text-link:hover { color: #fff; border-bottom-color: #fff; }

/* Fix für Footer Icon Größe */
.footer-icon {
    height: 24px; width: auto; margin-right: 8px; filter: invert(1); opacity: 0.8; transition: transform 0.3s ease;
}
.social-links a.icon-link:hover .footer-icon { transform: scale(1.1); opacity: 1; }

/* --- Mobile Anpassungen --- */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 1.8rem; }
    nav ul li { display: block; margin: 5px 0; }
    .profile-section { flex-direction: column; text-align: center; padding: 20px; }
    .home-profile-teaser { flex-direction: column; text-align: center; margin: 50px auto; gap: 20px; }
    .contact-wrapper { flex-direction: column; }
    .service-card { max-width: 100%; }
}