/* ============================================================
   sieker.biz — Shared Stylesheet
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #111111;
    background: #ffffff;
}

img { max-width: 100%; height: auto; display: block; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* === LAYOUT === */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

/* === NAVIGATION === */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    padding: 1rem 0;
}

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

.nav-logo {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

nav.scrolled .nav-logo { color: #111111; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

nav.scrolled .nav-links a { color: #555555; }
nav.scrolled .nav-links a:hover { color: #111111; }
.nav-links a:hover { color: #ffffff; }

/* Sub-pages: nav always white background */
nav.light {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    padding: 1rem 0;
}
nav.light .nav-logo { color: #111111; }
nav.light .nav-links a { color: #555555; }
nav.light .nav-links a:hover { color: #111111; }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 7rem;
    background-color: #1a1a1a;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.1) 100%
    );
}

.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    max-width: 820px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 3rem;
    max-width: 480px;
    line-height: 1.6;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.9rem 2.2rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline-white {
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #ffffff;
    background: transparent;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.btn-dark {
    background: #ffffff;
    color: #111111;
    border: 1.5px solid #ffffff;
}

.btn-dark:hover {
    background: transparent;
    color: #ffffff;
}

/* === SECTION LABEL === */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #aaaaaa;
    margin-bottom: 1.25rem;
    display: block;
}

/* === ABOUT === */
.about { background: #ffffff; }

.about-grid {
    display: grid;
    grid-template-columns: 186px 1fr;
    gap: 5rem;
    align-items: start;
}

.about h2 { margin-bottom: 2rem; }

.about-text p { color: #444444; }

.about-divider {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #eeeeee;
}

.sub-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #aaaaaa;
    margin-bottom: 1.25rem;
    display: block;
}

/* Competency Tags */
.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list li {
    font-size: 0.85rem;
    font-weight: 500;
    background: #f3f3f3;
    color: #333333;
    padding: 0.3rem 0.85rem;
}

/* Experience Items */
.exp-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: baseline;
}

.exp-year {
    font-size: 0.78rem;
    color: #bbbbbb;
    white-space: nowrap;
    min-width: 76px;
    font-weight: 500;
}

.exp-content strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0.15rem;
}

.exp-content span {
    font-size: 0.85rem;
    color: #888888;
    line-height: 1.4;
}

/* Education Items */
.edu-item {
    margin-bottom: 1rem;
}

.edu-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.edu-item span {
    font-size: 0.85rem;
    color: #888888;
}

/* Portrait */
.portrait-wrap {
    position: sticky;
    top: 6rem;
}

.portrait-wrap img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 15%;
}

/* === SERVICES === */
.services { background: #f7f7f7; }
.services-header { margin-bottom: 3rem; }
.services-header h2 { margin-top: 0; }

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #e0e0e0;
}

.service-card {
    background: #ffffff;
    padding: 3.5rem;
    transition: background 0.25s ease;
}

.service-card:hover { background: #111111; }

.service-card:hover .service-num,
.service-card:hover h3,
.service-card:hover p { color: #ffffff; }

.service-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #cccccc;
    margin-bottom: 1.75rem;
    display: block;
    transition: color 0.25s;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    transition: color 0.25s;
}

.service-card p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.65;
    margin: 0;
    transition: color 0.25s;
}

/* === CONTACT === */
.contact {
    background: #111111;
    text-align: center;
    padding: 8rem 0;
}

.contact h2 { color: #ffffff; margin-bottom: 1rem; }
.contact .contact-sub {
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* === FOOTER === */
footer {
    background: #111111;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* === SUBPAGE (Impressum / Datenschutz) === */
.subpage-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
}

.subpage-wrap h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
}

.subpage-wrap h2 {
    font-size: 1.1rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    color: #111111;
}

.subpage-wrap p,
.subpage-wrap li {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.75;
}

.subpage-wrap ul {
    margin-left: 1.25rem;
    margin-bottom: 1em;
}

.subpage-wrap a {
    color: #111111;
    text-decoration: underline;
}

.subpage-back {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #888888;
    margin-bottom: 3rem;
    transition: color 0.2s;
}

.subpage-back:hover { color: #111111; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .portrait-wrap {
        position: static;
        max-width: 186px;
        margin-bottom: 2rem;
    }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    section { padding: 5rem 0; }
    .hero { padding-bottom: 5rem; }
    nav { padding: 1.25rem 0; }
    .nav-links { gap: 1.5rem; }
    .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
    .service-card { padding: 2.5rem 2rem; }
}
