:root {
    --bg: #050814;
    --bg-alt: #0b1020;
    --bg-card: #101528;
    --fg: #f4f7ff;
    --muted: #9aa3c5;
    --accent: #3fd0ff;
    --accent-soft: rgba(63, 208, 255, 0.15);
    --accent-2: #a855ff;
    --border: #1f2438;
    --danger: #ff4d6a;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #151a33 0, #050814 55%);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(5, 8, 20, 0.9), rgba(5, 8, 20, 0.7));
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  padding: 0;
  background: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-title {
    font-size: 15px;
    font-weight: 600;
}

.brand-sub {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--fg);
    border-bottom-color: var(--accent);
}

.nav-toggle {
    display: none;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.95);
    color: var(--muted);
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    align-items: center;
    gap: 6px;
}

.nav-toggle-icon {
    font-size: 14px;
    line-height: 1;
}

/* Mobile Nav */
@media (max-width: 640px) {
    .nav {
        padding: 10px 14px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin: 0;
        padding: 10px 18px 12px 18px;
        background: rgba(5, 8, 20, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        flex-direction: column;
        gap: 8px;
        display: none;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.2), transparent);
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(63, 208, 255, 0.2);
}

main {
    flex: 1;
}

/* HERO – Standard (Startseite) */
.hero {
    max-width: var(--max-width);
    margin: 30px auto 18px auto;
    padding: 0 18px 30px 18px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 28px;
}

@media (max-width: 820px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-title {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 700;
}

.hero-title span {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--muted);
    max-width: 560px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.chip {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.chip span {
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.btn {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #020617;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.7);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.9);
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--muted);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--fg);
    text-decoration: none;
    background: rgba(15, 23, 42, 0.7);
}

.btn-icon {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.8);
    background: rgba(15, 23, 42, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.hero-right {
    position: relative;
}

/* Profil-Card rechts */
.card-main {
    background: radial-gradient(circle at top left, rgba(63, 208, 255, 0.12), transparent 55%),
        linear-gradient(145deg, #020617, #020617);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 18px 18px 16px 18px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.card-main::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(63, 208, 255, 0.15), transparent 55%),
        radial-gradient(circle at 100% 0, rgba(168, 85, 255, 0.1), transparent 55%),
        radial-gradient(circle at 50% 100%, rgba(15, 23, 42, 0.9), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
}

.card-main-inner {
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.card-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #1f2937, #020617);
    border: 1px solid rgba(148, 163, 184, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.06em;
    color: var(--accent);
    position: relative;
    overflow: hidden;
}

.avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0, rgba(63, 208, 255, 0.3), transparent 50%);
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-size: 17px;
    font-weight: 600;
}

.profile-role {
    font-size: 12px;
    color: var(--muted);
}

.profile-line {
    font-size: 11px;
    color: var(--muted);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 10px 0 14px 0;
}

.metric {
    border-radius: 12px;
    padding: 8px 9px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.metric-tag {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
}

.timeline {
    margin-top: 6px;
    border-radius: 14px;
    padding: 9px 10px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.7);
    font-size: 11px;
    color: var(--muted);
}

.timeline strong {
    color: var(--fg);
}

/* Sektionen & Cards */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8px 18px 28px 18px;
}

.section+.section {
    margin-top: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 12px;
    color: var(--muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 14px 14px 13px 14px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(63, 208, 255, 0.13), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.card-inner {
    position: relative;
    z-index: 1;
}

.card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 4px;
}

.card-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-body {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-radius: 999px;
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--muted);
    background: rgba(15, 23, 42, 0.8);
}

.tag-accent {
    border-color: rgba(63, 208, 255, 0.7);
    color: var(--accent);
    background: var(--accent-soft);
}

.pill-small {
    font-size: 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--muted);
    background: rgba(15, 23, 42, 0.9);
}

.pill-small span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

/* Values */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.value-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 12px 13px 11px 13px;
    background: rgba(9, 11, 25, 0.9);
}

.value-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.value-text {
    font-size: 13px;
    color: var(--muted);
}

/* Kontakt */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 2fr);
    gap: 18px;
}

@media (max-width: 720px) {
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }
}

.contact-text {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.contact-lines {
    font-size: 13px;
}

.contact-lines div {
    margin-top: 3px;
}

.contact-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 13px 13px 11px 13px;
    background: rgba(9, 11, 25, 0.96);
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 4px 0;
}

.contact-key {
    color: var(--muted);
}

.contact-value {
    font-variant-numeric: tabular-nums;
}

.contact-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 7px;
}

/* Impressum-Text (wird auf beiden Seiten genutzt, wo nötig) */
.imprint-text {
    font-size: 12px;
    color: var(--muted);
    max-width: 780px;
}

.imprint-text p+p {
    margin-top: 6px;
}

/* Footer */
footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    margin-top: 10px;
    padding: 14px 18px 16px 18px;
    font-size: 11px;
    color: var(--muted);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--fg);
}

/* -----------------------------------
 *   Imprint-spezifische Anpassungen
 *   ----------------------------------- */

/* Kompakterer Hero auf der Impressum-Seite */
.page-imprint .hero {
    margin: 30px auto 12px auto;
    padding: 0 18px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-imprint .hero-title {
    font-size: clamp(28px, 3.4vw, 34px);
}

.page-imprint .hero-subtitle {
    font-size: 14px;
    max-width: 640px;
}

.page-imprint .section {
    padding: 4px 18px 26px 18px;
}