/*
Theme Name: Sascha Theismann 2026
Theme URI: https://saschatheismann.de
Description: Custom Child-Theme von Hello Elementor mit "Ethereal Obsidian" Design-System (Dark + Glassmorphism + Electric Blue).
Author: Sascha Theismann
Author URI: https://saschatheismann.de
Template: hello-elementor
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: saschatheismann-2026
Tags: dark, glassmorphism, minimalist, blog, elementor
*/

/* ============================================================
   Ethereal Obsidian — Design Tokens
   ============================================================ */

:root {
    --st-bg-base:           #060713;
    --st-bg-surface:        #11121f;
    --st-bg-elevated:       #1d1f2c;
    --st-bg-elevated-high:  #282937;
    --st-bg-glass:          rgba(28, 28, 30, 0.7);

    --st-primary:           #007AFF;
    --st-primary-hover:     #4b8eff;
    --st-primary-soft:      rgba(0, 122, 255, 0.4);

    --st-text:              #e2e1f3;
    --st-text-muted:        #c1c6d7;
    --st-text-faint:        #8b90a0;

    --st-border:            #353643;
    --st-border-subtle:     rgba(255, 255, 255, 0.05);

    --st-gradient-dark:     linear-gradient(135deg, #060713 0%, #11121f 100%);
    --st-gradient-blue:     linear-gradient(135deg, #007AFF 0%, #4b8eff 100%);
    --st-glow-blue:         radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, transparent 70%);

    --st-font-headline:     'Space Grotesk', system-ui, sans-serif;
    --st-font-body:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --st-radius-sm:         0.5rem;
    --st-radius:            0.75rem;
    --st-radius-lg:         1rem;
    --st-radius-xl:         1.5rem;
    --st-radius-full:       9999px;

    --st-shadow-soft:       0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --st-shadow-lg:         0 10px 30px -5px rgba(0,0,0,0.5);
    --st-shadow-glow:       0 0 40px rgba(0, 122, 255, 0.3);

    --st-container-max:     1200px;
    --st-section-gap:       120px;
    --st-gutter:            24px;
}

/* ============================================================ Reset & Base ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
    background: var(--st-bg-base);
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--st-bg-base);
    color: var(--st-text);
    font-family: var(--st-font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Atmospheric global background — radial gradients fuer Tiefe */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%,    rgba(0, 122, 255, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%,  rgba(75, 142, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--st-font-headline);
    color: var(--st-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 16px;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.2em; color: var(--st-text-muted); }

a { color: var(--st-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--st-primary-hover); }

ul { list-style: none; padding: 0; margin: 0; }

/* Skip Link */
.skip-link {
    position: absolute; top: -40px; left: 8px;
    background: var(--st-primary); color: #fff;
    padding: 8px 16px; border-radius: 4px; z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ============================================================ Layout Helpers ============================================================ */

.st-container, .header-container, .footer-container {
    max-width: var(--st-container-max);
    margin: 0 auto;
    padding: 0 var(--st-gutter);
}

.site-main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
}

/* ============================================================ Header — Glassmorphic Sticky ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 7, 19, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--st-border-subtle);
    padding: 16px 0;
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}

.site-logo {
    justify-self: start;
}
.site-logo a { display: inline-flex; align-items: center; }
.site-logo__img {
    height: 38px;
    width: auto;
    /* Logo ist bereits weiss + bunte Akzente — kein filter noetig */
    transition: opacity 0.2s ease;
}
.site-logo a:hover .site-logo__img { opacity: 0.85; }
.site-logo__text {
    font-family: var(--st-font-headline);
    font-weight: 700;
    color: var(--st-text);
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.main-nav { display: flex; justify-content: center; }
.main-nav__list {
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
}
.main-nav__list li { list-style: none; }
.main-nav__list a {
    color: var(--st-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}
.main-nav__list a:hover, .main-nav__list .current-menu-item a {
    color: var(--st-primary);
}
.main-nav__list a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--st-primary);
    transition: width 0.2s ease;
}
.main-nav__list a:hover::after,
.main-nav__list .current-menu-item a::after { width: 100%; }

/* Sprach-Switcher (Text DE / EN) */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    font-family: var(--st-font-body);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.lang-link {
    color: var(--st-text-faint);
    text-decoration: none;
    padding: 4px 2px;
    transition: color 0.2s ease;
}
.lang-link:hover { color: var(--st-text); }
.lang-link.is-active {
    color: var(--st-primary);
}
.lang-sep {
    color: var(--st-border);
    font-weight: 400;
}

.nav-toggle { display: none; }

/* Mobile Header */
@media (max-width: 768px) {
    .header-container { grid-template-columns: auto auto auto; gap: 16px; }
    .main-nav__list { display: none; }
    .nav-toggle {
        display: flex; flex-direction: column; gap: 4px;
        background: transparent; border: 0; cursor: pointer;
        width: 32px; height: 32px; justify-content: center;
    }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--st-text); }
    .site-logo__img { height: 30px; }
}

/* ============================================================ Hero — Atmospheric (Text-only mit animiertem SVG-Background) ============================================================ */

.hero {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    background: var(--st-gradient-dark);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
/* Hero Video-Background — laeuft hinter SVG-Overlay + Text */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    filter: saturate(1.25) brightness(0.95) contrast(1.05);
}
/* Soft Vignette — Video lebendig, Text-Bereich leicht abgedunkelt fuer Lesbarkeit */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at center, rgba(6, 7, 19, 0.15) 0%, rgba(6, 7, 19, 0.55) 90%, rgba(6, 7, 19, 0.85) 100%),
        linear-gradient(180deg, transparent 0%, transparent 60%, rgba(6, 7, 19, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .hero__video { display: none; }  /* poster bleibt als Fallback im SVG-Bereich */
}
@media (max-width: 768px) {
    /* Mobile: Battery- und Bandwidth-Schoner — Video aus, nur Poster */
    .hero__video { display: none; }
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;  /* ueber dem Video, unter dem Inhalt */
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: screen;
    opacity: 0.7;
}
.hero__bg svg { width: 100%; height: 100%; display: block; }

/* Orb-Animationen — leicht atmend ohne Scroll */
.hero__bg-orb {
    transform-origin: center;
    animation: hero-orb-pulse 14s ease-in-out infinite alternate;
    will-change: transform, opacity;
}
.hero__bg-orb--1 { animation-delay: 0s; }
.hero__bg-orb--2 { animation-delay: -7s; animation-duration: 18s; }
@keyframes hero-orb-pulse {
    0%   { transform: translate(0, 0)     scale(1);    opacity: 0.95; }
    50%  { transform: translate(-30px, 20px) scale(1.08); opacity: 1; }
    100% { transform: translate(20px, -10px) scale(0.95); opacity: 0.85; }
}

.hero__bg-stars circle {
    animation: hero-star-twinkle 4s ease-in-out infinite;
}
.hero__bg-stars circle:nth-child(2n) { animation-delay: 0.8s; }
.hero__bg-stars circle:nth-child(3n) { animation-delay: 1.6s; }
.hero__bg-stars circle:nth-child(5n) { animation-delay: 2.4s; }
@keyframes hero-star-twinkle {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 0.9; }
}

.hero__inner {
    position: relative;
    z-index: 2;  /* ueber Video, SVG-Orbs UND Vignette-Overlay */
    width: 100%;
    text-align: center;
    will-change: transform, opacity;
}
.hero__text {
    max-width: 880px;
    margin: 0 auto;
}
.hero__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--st-primary);
    margin-bottom: 28px;
    padding: 8px 20px;
    border: 1px solid var(--st-primary-soft);
    border-radius: var(--st-radius-full);
    background: rgba(0, 122, 255, 0.06);
    backdrop-filter: blur(8px);
}
.hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff 0%, #adc6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--st-text);
}
.hero__subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--st-text-muted);
    max-width: 720px;
    margin: 0 auto 44px;
    line-height: 1.7;
}
.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--st-text-faint);
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.hero__scroll-dot {
    animation: hero-scroll-cue 2s ease-in-out infinite;
    transform-origin: center;
}
@keyframes hero-scroll-cue {
    0%   { transform: translateY(0);    opacity: 1; }
    50%  { transform: translateY(8px);  opacity: 0.3; }
    100% { transform: translateY(0);    opacity: 1; }
}

@media (max-width: 900px) {
    .hero { padding: 100px 0 80px; min-height: 70vh; }
    .hero__title { font-size: clamp(2.25rem, 8vw, 3.5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg-orb, .hero__bg-stars circle, .hero__scroll-dot { animation: none; }
}

/* ============================================================ Buttons ============================================================ */

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--st-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--st-radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.st-btn--primary {
    background: var(--st-gradient-blue);
    color: #fff;
}
.st-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--st-shadow-glow);
    color: #fff;
}
.st-btn--ghost {
    background: transparent;
    color: var(--st-text);
    border-color: var(--st-border);
}
.st-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--st-primary-soft);
}

/* ============================================================ Sections — generisch ============================================================ */

.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
.section--alt { background: var(--st-bg-surface); }
.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}
.section__eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--st-primary);
    margin-bottom: 12px;
}
.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}
.section__intro {
    font-size: 1.125rem;
    color: var(--st-text-muted);
}

/* ============================================================ 4 Saeulen — Asymmetric 8/4/4/8 Grid (Stitch Atmospheric Pattern) ============================================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}
.pillar {
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-xl);
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: default;
}
.pillar:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 122, 255, 0.5);
    box-shadow: 0 20px 60px -10px rgba(0, 122, 255, 0.25), var(--st-shadow-lg);
}

/* Layout: large (8) + small (4), zweite Reihe spiegelverkehrt */
.pillar--large { grid-column: span 8; }
.pillar--small { grid-column: span 4; }

@media (max-width: 900px) {
    .pillar--large, .pillar--small { grid-column: span 12; }
}

/* Visual Block — aspect ratio dynamisch je Card-Size */
.pillar__visual {
    position: relative;
    overflow: hidden;
    background: var(--st-bg-base);
    border-bottom: 1px solid var(--st-border);
}
.pillar--large .pillar__visual { aspect-ratio: 16 / 9; }
.pillar--small .pillar__visual { aspect-ratio: 1 / 1; }

/* Foto fuellt die Card */
.pillar__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.5s ease;
    filter: saturate(0.9) brightness(0.85);
    z-index: 0;
}
.pillar:hover .pillar__img {
    transform: scale(1.06);
    filter: saturate(1) brightness(0.95);
}

/* SVG-Overlay (Tech-Pattern) ueber dem Foto, mit mix-blend-mode fuer "leuchten" */
.pillar__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: screen;
    transition: opacity 0.5s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.pillar:hover .pillar__overlay {
    opacity: 0.85;
    transform: scale(1.04);
}

/* Atmospheric overlay glow that activates on hover */
.pillar__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 7, 19, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}
.pillar__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(0, 122, 255, 0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}
.pillar:hover .pillar__visual::before { opacity: 1; }

/* Pillar-Visual: einheitlicher Dark-Background hinter dem Foto */
.pillar__visual { background: #060713; }

.pillar__body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pillar--small .pillar__body { padding: 24px; }
.pillar__eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--st-primary);
    margin-bottom: 4px;
}
.pillar__title {
    font-size: clamp(1.25rem, 1.6vw, 1.75rem);
    font-weight: 600;
    color: var(--st-text);
    line-height: 1.25;
    margin: 0 0 8px;
}
.pillar--small .pillar__title { font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
.pillar__desc {
    font-size: 0.95rem;
    color: var(--st-text-muted);
    line-height: 1.65;
    margin: 0;
    /* line-clamp 3 fuer kompakte Cards */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pillar--small .pillar__desc { -webkit-line-clamp: 3; }
.pillar--large .pillar__desc { -webkit-line-clamp: 4; }

/* Subtle continuous SVG animation — leise pulsing fuer SVG-Layer */
.pillar__visual svg circle:not([fill="#007AFF"]):not([fill="#4b8eff"]):not([fill="#adc6ff"]) {
    /* keine extra animation auf gradient-circles */
}
.pillar__visual svg > g circle {
    animation: pillar-node-pulse 3s ease-in-out infinite;
}
.pillar__visual svg > g circle:nth-child(2n) { animation-delay: 0.5s; }
.pillar__visual svg > g circle:nth-child(3n) { animation-delay: 1s; }
.pillar__visual svg > g circle:nth-child(5n) { animation-delay: 1.5s; }
@keyframes pillar-node-pulse {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .pillar__visual svg > g circle,
    .pillar:hover .pillar__visual svg,
    .pillar:hover { animation: none; transition: none; }
}

/* ============================================================ Featured Posts Strip ============================================================ */

.posts-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.post-card {
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--st-primary-soft);
}
.post-card__thumb {
    aspect-ratio: 16/9;
    background: var(--st-bg-base);
    overflow: hidden;
    position: relative;
}
.post-card__thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.post-card__meta {
    font-size: 0.8rem;
    color: var(--st-text-faint);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.post-card__lang-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--st-radius-full);
    background: rgba(0, 122, 255, 0.12);
    color: var(--st-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.post-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--st-text);
    line-height: 1.4;
    margin: 0;
}
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--st-primary); }
.post-card__excerpt {
    font-size: 0.9rem;
    color: var(--st-text-muted);
    margin: 0;
}

/* ============================================================ CTA Section ============================================================ */

.cta-section {
    padding: 80px 0;
    text-align: center;
}
.cta-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-xl);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: var(--st-glow-blue);
    pointer-events: none;
    opacity: 0.5;
}
.cta-card > * { position: relative; z-index: 1; }

/* ============================================================ Single Post / Page Default Content ============================================================ */

.page-content, .entry-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px var(--st-gutter);
    font-size: 1.125rem;
    color: var(--st-text-muted);
    line-height: 1.7;
}
/* Single Blog Post: 90% Viewport, hart gedeckelt bei 1400px (4K-Schutz) */
.page-content--single,
.page-content--single .entry-content {
    max-width: min(90%, 1400px);
}
.page-content--single .entry-content {
    padding: 0;  /* parent .page-content--single hat schon padding */
}
.page-content h1, .entry-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-top: 1.5em; }
.page-content h2, .entry-content h2 { font-size: 2rem; margin-top: 1.5em; }
.page-content h3, .entry-content h3 { font-size: 1.5rem; margin-top: 1.5em; }
.page-content p, .entry-content p { margin-bottom: 1.5em; }
.page-content blockquote, .entry-content blockquote {
    border-left: 4px solid var(--st-primary);
    padding: 8px 24px;
    font-style: italic;
    color: var(--st-text);
    margin: 32px 0;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 0 var(--st-radius) var(--st-radius) 0;
}
.page-content code, .entry-content code {
    background: var(--st-bg-elevated);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    color: var(--st-text);
}
.page-content img, .entry-content img {
    border-radius: var(--st-radius);
    margin: 32px 0;
}

/* ============================================================ About Page Sections ============================================================ */

.about-hero {
    padding: 100px 0 60px;
    text-align: center;
}
.about-hero__role {
    color: var(--st-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.about-hero__name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 16px;
}
.about-hero__lead {
    font-size: 1.25rem;
    color: var(--st-text-muted);
    max-width: 720px;
    margin: 0 auto 32px;
}
.about-hero__stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}
.about-stat {
    text-align: center;
}
.about-stat__num {
    display: block;
    font-family: var(--st-font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--st-primary);
    line-height: 1;
}
.about-stat__lbl {
    display: block;
    font-size: 0.85rem;
    color: var(--st-text-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 8px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.about-skill, .about-industry {
    padding: 24px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.about-skill:hover, .about-industry:hover {
    border-color: var(--st-primary-soft);
    transform: translateY(-2px);
}
.about-skill__title, .about-industry__title {
    font-weight: 600;
    color: var(--st-text);
    margin: 0 0 8px;
}
.about-skill__desc {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--st-primary) 0%, var(--st-border) 100%);
}
.timeline__item {
    position: relative;
    padding-bottom: 40px;
}
.timeline__item::before {
    content: '';
    position: absolute;
    left: -36px; top: 8px;
    width: 14px; height: 14px;
    background: var(--st-bg-base);
    border: 2px solid var(--st-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}
.timeline__period {
    color: var(--st-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.timeline__title {
    font-weight: 600;
    color: var(--st-text);
    font-size: 1.15rem;
    margin: 0 0 4px;
}
.timeline__company {
    color: var(--st-text-muted);
    font-size: 0.95rem;
    margin: 0 0 8px;
}
.timeline__desc {
    color: var(--st-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.industries-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.industry-tag {
    padding: 8px 20px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-full);
    color: var(--st-text);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================================ About-Me (kurze Personal-Page mit Foto) ============================================================ */

.aboutme-hero {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.aboutme-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 700px; height: 700px;
    background: var(--st-glow-blue);
    pointer-events: none;
}
.aboutme-hero__inner {
    max-width: var(--st-container-max);
    margin: 0 auto;
    padding: 0 var(--st-gutter);
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.aboutme-hero__photo {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--st-primary-soft);
    box-shadow: 0 0 0 8px rgba(0, 122, 255, 0.08), var(--st-shadow-lg);
    justify-self: start;
}
.aboutme-hero__photo img {
    width: 100%; height: 100%; object-fit: cover;
}
.aboutme-hero__role {
    color: var(--st-primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0 0 12px;
}
.aboutme-hero__name {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin: 0 0 20px;
    background: linear-gradient(135deg, #fff 0%, #adc6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.aboutme-hero__lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--st-text-muted);
    margin: 0 0 32px;
}
.aboutme-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .aboutme-hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; justify-items: center; }
    .aboutme-hero__photo { width: 200px; height: 200px; justify-self: center; }
    .aboutme-hero__actions { justify-content: center; }
}

.aboutme-section {
    padding: 80px 0;
}
.aboutme-section--alt { background: var(--st-bg-surface); }
.aboutme-section__inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--st-gutter);
}
.aboutme-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 24px;
}
.aboutme-section p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--st-text-muted);
}

.aboutme-topics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.aboutme-topics li {
    padding: 16px 20px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    color: var(--st-text);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.aboutme-topics li:hover {
    border-color: var(--st-primary-soft);
    transform: translateX(4px);
}
.aboutme-topics li::before {
    content: '→';
    color: var(--st-primary);
    margin-right: 12px;
    font-weight: 600;
}

.aboutme-stats {
    padding: 60px 0;
}
.aboutme-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}
.aboutme-stat {
    padding: 24px 16px;
    background: var(--st-bg-elevated);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.aboutme-stat:hover {
    border-color: var(--st-primary-soft);
    transform: translateY(-2px);
}
.aboutme-stat__num {
    display: block;
    font-family: var(--st-font-headline);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--st-primary);
    line-height: 1;
}
.aboutme-stat__lbl {
    display: block;
    font-size: 0.8rem;
    color: var(--st-text-faint);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 8px;
}

.aboutme-cta {
    padding: 80px 0 100px;
    text-align: center;
}
.aboutme-cta .aboutme-section__inner > p {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.aboutme-cta .aboutme-hero__actions {
    justify-content: center;
    margin-top: 32px;
}

/* ============================================================ Contact-Page ============================================================ */

.contact-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px var(--st-gutter) 100px;
}
.contact-content > h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 24px;
    background: linear-gradient(135deg, #fff 0%, #adc6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact-content > p {
    color: var(--st-text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}
.contact-content .wpcf7-form {
    margin-top: 48px;
}
.contact-content .wpcf7-form label {
    display: block;
    margin-bottom: 20px;
    color: var(--st-text);
    font-weight: 500;
    font-size: 0.95rem;
}
.contact-content .wpcf7-form input[type="text"],
.contact-content .wpcf7-form input[type="email"],
.contact-content .wpcf7-form textarea {
    width: 100%;
    margin-top: 8px;
}
.contact-content .wpcf7-form-control-wrap {
    display: block;
}
.contact-content .wpcf7-submit {
    margin-top: 16px;
}

/* ============================================================ Forms ============================================================ */

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="number"], input[type="tel"], input[type="password"],
textarea, select {
    width: 100%;
    background: var(--st-bg-base);
    border: 1px solid var(--st-border);
    color: var(--st-text);
    border-radius: var(--st-radius-sm);
    padding: 12px 16px;
    font-family: var(--st-font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--st-primary);
    box-shadow: 0 0 0 2px var(--st-primary-soft);
}

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

.site-footer {
    background: var(--st-bg-surface);
    border-top: 1px solid var(--st-border);
    padding: 64px 0 32px;
    color: var(--st-text-muted);
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .footer-name {
    font-family: var(--st-font-headline);
    font-weight: 700;
    color: var(--st-text);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 8px;
}
.footer-tagline {
    color: var(--st-text-faint);
    font-size: 0.95rem;
    margin: 0;
}
.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--st-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 16px;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links a {
    color: var(--st-text-muted);
    transition: color 0.2s ease;
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--st-primary); }
.footer-link--placeholder {
    color: var(--st-text-faint);
    font-size: 0.95rem;
    font-style: italic;
}
.footer-copy {
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--st-text-faint);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-copy { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================ Posts Archive (Blog Page) ============================================================ */

.archive-header {
    padding: 80px 0 40px;
    text-align: center;
}
.archive-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}
.archive-grid {
    padding: 0 var(--st-gutter) 100px;
}

/* ============================================================ Reduced Motion ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
