/* --- GRUNDEINSTELLUNGEN & VARIABLEN --- */
:root {
    --color-background: #111111;
    --color-background-light: #1a1a1a;
    --color-text: #e0e0e0;
    --color-text-dark: #a0a0a0;
    --color-primary: #0077ff;
    --font-family: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-family); background-color: var(--color-background); color: var(--color-text); line-height: 1.7; font-size: 18px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
main {
    position: relative;
    z-index: 1;
}
h1, h2, h3, h4 { color: #ffffff; line-height: 1.2; font-weight: 700; }
h1 { font-size: 4rem; margin-bottom: 0.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--color-primary); }
h4 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--color-text-dark); }
p { margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #ffffff; }

/* --- HEADER & NAVIGATION --- */
.header {
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transform: translateZ(0);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-weight: 700; font-size: 1.5rem; color: #ffffff; }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav ul li { margin-left: 2rem; }
.main-nav a { color: var(--color-text); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--color-primary); }

/* --- LANGUAGE SWITCHER --- */
.language-switcher { display: flex; align-items: center; gap: 0.5rem; background-color: var(--color-background-light); padding: 0.3rem; border-radius: 20px; }
.lang-option { padding: 0.2rem 0.6rem; color: var(--color-text-dark); font-weight: 600; font-size: 0.9rem; cursor: default; transition: color 0.3s ease; }
.lang-option.active { color: #ffffff; }
.toggle-switch { width: 40px; height: 22px; background-color: var(--color-background); border-radius: 11px; padding: 2px; cursor: pointer; transition: background-color 0.3s ease; }
.toggle-circle { width: 18px; height: 18px; background-color: #ffffff; border-radius: 50%; transition: transform 0.3s ease-in-out; }

/* --- SEKTIONEN & ANIMATIONEN --- */
.content-section, .contact-section { padding: 100px 0; }
.bg-light { background-color: var(--color-background-light); }
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- CARD FLIP ANIMATION --- */
.flippable-content {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-style: preserve-3d;
}
.is-flipping {
    transform: rotateY(-90deg);
    opacity: 0;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding-top: 200px;
    padding-bottom: 150px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('hero-background.png'); /* Ensure this file exists or change */
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.75);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
.hero-text { flex: 1; }
.hero-image { flex-basis: 350px; perspective: 1000px; }
.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-image img:hover {
    transform: scale(1.03) rotateY(3deg) rotateX(2deg);
    box-shadow: 0 25px 45px -15px rgba(0, 0, 0, 0.3);
}

/* --- BUTTONS & GRIDS --- */
.cta-button { display: inline-block; background-color: var(--color-primary); color: #ffffff; padding: 1rem 2.5rem; border-radius: 5px; font-weight: 700; margin-top: 1rem; transition: transform 0.3s ease, background-color 0.3s ease; }
.cta-button:hover { transform: translateY(-3px); background-color: #0056b3; color: #ffffff; }

.framework-grid, .role-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.framework-item { background-color: var(--color-background-light); padding: 2rem; border-radius: 4px; border-top: 4px solid var(--color-primary); }
.highlight-item { background-color: var(--color-background); padding: 2rem; border-radius: 4px; border-left: 4px solid var(--color-primary); }
.highlight-item h4 { margin-top: 0; color: #ffffff; font-size: 1.3rem; }

/* --- ACCORDION STYLES (NEW) --- */
.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #333;
}
.accordion-item { border-bottom: 1px solid #333; }
.accordion-header {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.accordion-header:hover h3 { color: var(--color-primary); }
.header-text h3 { font-size: 1.4rem; margin: 0 0 0.3rem 0; color: #fff; transition: color 0.3s ease; }
.target-badge {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-dark);
    display: inline-block;
}
.accordion-icon {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 300;
    line-height: 1;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.content-inner { padding-bottom: 2rem; padding-top: 0.5rem; }

/* Service List inside Accordion */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}
.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 1rem;
}
.service-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* --- CONTACT & FOOTER --- */
.contact-section { text-align: center; }
.social-links { margin-top: 2rem; }
.social-links a { margin: 0 1rem; color: var(--color-text-dark); }
.social-links a:hover { color: var(--color-primary); }
.social-links svg { width: 32px; height: 32px; }
.footer { padding: 2rem 0; text-align: center; font-size: 0.9rem; color: var(--color-text-dark); background-color: var(--color-background-light); }
.footer a { color: var(--color-text-dark); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .main-nav { display: none; }
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-image { margin-bottom: 2rem; flex-basis: 250px; }

    .accordion-header { align-items: flex-start; }
    .header-text { flex: 1; }
    .target-badge { display: block; margin-top: 5px; }
}

/* --- HERO SECONDARY CTA (TERMINAL STYLE) --- */
.terminal-link-wrapper {
    margin-top: 1.5rem;
}

.terminal-link {
    font-family: 'Courier New', Courier, monospace; /* Code-Look */
    font-size: 0.95rem;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

.terminal-link:hover {
    color: var(--color-primary); /* Zindel Blue on hover */
    text-decoration: underline; /* Unterstreichen für Clarity */
    text-underline-offset: 4px;
}

.blink {
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 5px;
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to { visibility: hidden; }
}