/* ==========================================================================
   home.akaul.de – Styles
   Dunkel als Standard, helles Design per Umschalter.
   ========================================================================== */

/* ---------- Tokens -------------------------------------------------------- */

:root {
    color-scheme: dark;

    --bg: #08090d;
    --bg-elev: #0f1219;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.20);

    --text: #eef1f8;
    --text-muted: #a3acbe;

    --accent: #ff4d5e;
    --accent-2: #4d8bff;

    --grid-line: rgba(255, 255, 255, 0.05);
    --glow-red: rgba(255, 77, 94, 0.22);
    --glow-blue: rgba(77, 139, 255, 0.20);
    --header-bg: rgba(8, 9, 13, 0.78);

    --shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9);

    --max: 1120px;
    --radius: 20px;
    --header-height: 72px;

    --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
        "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "JetBrains Mono", "Cascadia Code", "SFMono-Regular",
        Consolas, "Liberation Mono", monospace;
}

[data-theme="light"] {
    color-scheme: light;

    --bg: #f5f6fa;
    --bg-elev: #ffffff;
    --surface: rgba(13, 18, 32, 0.035);
    --surface-strong: rgba(13, 18, 32, 0.07);
    --border: rgba(13, 18, 32, 0.10);
    --border-strong: rgba(13, 18, 32, 0.20);

    --text: #11141d;
    --text-muted: #59627a;

    --accent: #e2334a;
    --accent-2: #2f6bdc;

    --grid-line: rgba(13, 18, 32, 0.05);
    --glow-red: rgba(226, 51, 74, 0.16);
    --glow-blue: rgba(47, 107, 220, 0.14);
    --header-bg: rgba(245, 246, 250, 0.82);

    --shadow: 0 24px 60px -30px rgba(20, 26, 44, 0.35);
}

/* ---------- Reset & Basis ------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 600px at 85% -10%, var(--glow-blue), transparent 62%),
        radial-gradient(900px 520px at -10% 10%, var(--glow-red), transparent 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

p {
    margin: 0;
}

ul, ol, dl, dd {
    margin: 0;
}

ul, ol {
    padding: 0;
}

img, svg {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Utilities ----------------------------------------------------- */

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: var(--text);
    color: var(--bg);
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

.icon {
    width: 18px;
    height: 18px;
    flex: none;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.gradient-text {
    background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    flex: none;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---------- Header -------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    background: var(--header-bg);
    border-bottom-color: var(--border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 20px -10px var(--accent);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.04);
}

.site-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
    background: var(--surface);
}

.nav-link[aria-current] {
    color: var(--text);
    background: var(--surface);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.18rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: translate(-50%, 4px) scale(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link[aria-current]::after {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
    background: var(--surface-strong);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.theme-icon-sun,
.nav-icon-close {
    display: none;
}

[data-theme="dark"] .theme-icon-sun {
    display: block;
}

[data-theme="dark"] .theme-icon-moon {
    display: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-icon-open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-icon-close {
    display: block;
}

/* ---------- Hero ---------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4.5rem, 9vw, 7.5rem);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 15%, transparent 78%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: drift 20s ease-in-out infinite alternate;
}

.hero-glow span:first-child {
    top: -220px;
    right: 4%;
    width: 560px;
    height: 560px;
    background: var(--glow-red);
}

.hero-glow span:last-child {
    bottom: -260px;
    left: -80px;
    width: 520px;
    height: 520px;
    background: var(--glow-blue);
    animation-delay: -7s;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy {
    max-width: 620px;
}

.hero h1 {
    margin: 1rem 0 1.15rem;
    font-size: clamp(2.7rem, 6.2vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.lead {
    max-width: 54ch;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
        border-color 0.2s ease;
}

.btn .icon {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 16px 34px -18px var(--accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -16px var(--accent);
}

.btn-ghost {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    background: var(--surface-strong);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    margin-top: 2.75rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
    list-style: none;
}

.hero-stats strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-stats span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

/* Hero-Visual */

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: end;
    width: min(100%, 460px);
    padding: 3rem 1.5rem;
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 65%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-blue), transparent 68%);
    filter: blur(30px);
}

.orb {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(220px, 26vw, 320px);
    aspect-ratio: 1;
    border: 1px solid var(--border);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.10), transparent 55%),
        var(--bg-elev);
    box-shadow:
        inset 0 0 70px rgba(255, 255, 255, 0.04),
        0 40px 90px -45px rgba(0, 0, 0, 0.8);
}

.orb::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1.5px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0 30%,
        var(--accent) 42%,
        transparent 52% 78%,
        var(--accent-2) 88%,
        transparent
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: spin 16s linear infinite;
    pointer-events: none;
}

.orb::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, var(--glow-red), transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

.orb-core {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-family: var(--font-mono);
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 26px rgba(255, 77, 94, 0.25));
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-ring--inner {
    inset: -26px;
    border: 1px dashed var(--border-strong);
    animation: spin 38s linear infinite;
}

.orb-ring--inner::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent);
}

.orb-ring--outer {
    inset: -54px;
    border: 1px solid var(--border);
    animation: spin 64s linear infinite reverse;
}

.float-chip {
    position: absolute;
    padding: 0.42rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    animation: bob 7s ease-in-out infinite;
}

.float-chip--top {
    top: 8%;
    right: 0;
}

.float-chip--bottom {
    bottom: 9%;
    left: 0;
    animation-delay: -3.5s;
}

/* ---------- Abschnitte ---------------------------------------------------- */

.section {
    position: relative;
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-title {
    margin: 0.8rem 0 1rem;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.08;
}

.section-lead {
    max-width: 60ch;
    font-size: 1.01rem;
    color: var(--text-muted);
}

/* ---------- Über mich ----------------------------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
}

.profile-card {
    position: sticky;
    top: calc(var(--header-height) + 28px);
    padding: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
    background:
        linear-gradient(160deg, var(--surface), transparent 55%),
        var(--bg-elev);
    box-shadow: var(--shadow);
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.avatar {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 16px 36px -18px var(--accent-2);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.profile-name {
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.profile-role {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.profile-meta {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.profile-meta li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.profile-meta .icon {
    width: 16px;
    height: 16px;
    color: var(--accent-2);
}

.profile-colors {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.profile-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.65rem;
    list-style: none;
}

.swatches li {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.swatches li > span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.about-copy p {
    margin-bottom: 1.1rem;
    font-size: 1.02rem;
    color: var(--text-muted);
}

.about-copy p strong {
    color: var(--text);
    font-weight: 600;
}

.pullquote {
    margin: 1.75rem 0 0;
    padding: 1.15rem 1.4rem;
    border-left: 2px solid var(--accent);
    border-radius: 0 14px 14px 0;
    background: var(--surface);
    font-size: 1.03rem;
    color: var(--text);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.6rem;
    list-style: none;
}

.chip {
    padding: 0.38rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chip:hover {
    color: var(--text);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--border);
}

.fact {
    padding: 0.95rem 1.1rem;
    background: var(--bg-elev);
}

.fact dt {
    margin-bottom: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.fact dd {
    font-size: 0.92rem;
    color: var(--text);
}

/* ---------- Rechner & Notebooks ------------------------------------------- */

.machines {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, var(--surface) 8%, var(--surface) 92%, transparent);
}

.machines-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-bottom: 2.25rem;
}

.machines-head .section-head {
    margin-bottom: 0;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.3rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.filter {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    font-size: 0.83rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.filter:hover {
    color: var(--text);
}

.filter[aria-pressed="true"] {
    border-color: var(--border);
    background: var(--bg-elev);
    color: var(--text);
    box-shadow: 0 4px 14px -8px rgba(0, 0, 0, 0.5);
}

.filter-count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    opacity: 0.65;
}

.filter[aria-pressed="true"] .filter-count {
    color: var(--accent);
    opacity: 1;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}

.machine {
    --card-accent: var(--accent);

    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 1.4rem 1.4rem 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(165deg, var(--surface), transparent 58%),
        var(--bg-elev);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.machine--blue {
    --card-accent: var(--accent-2);
}

.machine:hover {
    transform: translateY(-4px);
    border-color: var(--card-accent);
    box-shadow: 0 24px 48px -32px var(--card-accent);
}

.machine[hidden] {
    display: none;
}

.machine-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.machine-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.machine-kind {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.26rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.machine-kind .icon {
    color: var(--card-accent);
}

.machine-name {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: clamp(1.55rem, 2.4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.machine:hover .machine-name {
    color: var(--card-accent);
}

.machine-role {
    position: relative;
    z-index: 1;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--card-accent);
}

.machine-desc {
    position: relative;
    z-index: 1;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.machine-specs {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.35rem;
    margin: 0 0 1.15rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.machine-specs > div {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0.55rem;
    align-items: baseline;
}

.machine-specs dt {
    font-family: var(--font-mono);
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.machine-specs dd {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text);
}

.machine-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    list-style: none;
}

.machine-tags li {
    padding: 0.2rem 0.58rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.machine-watermark {
    position: absolute;
    right: -10px;
    bottom: -18px;
    color: var(--card-accent);
    opacity: 0.08;
    transform: rotate(-8deg);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.machine-watermark .icon {
    width: 120px;
    height: 120px;
    stroke-width: 1.1;
}

.machine:hover .machine-watermark {
    opacity: 0.16;
    transform: rotate(-4deg) scale(1.03);
}

.machine-note {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px dashed var(--border-strong);
    border-radius: 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.machine-note .icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* ---------- Impressum ----------------------------------------------------- */

.legal-wrap {
    max-width: 820px;
}

.legal-copy {
    margin-top: 2rem;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    background: var(--bg-elev);
    box-shadow: var(--shadow);
}

.legal-copy h2 {
    margin: 2rem 0 0.8rem;
    font-size: 1.25rem;
    letter-spacing: -0.015em;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

.legal-copy h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1rem;
    letter-spacing: -0.005em;
}

.legal-copy p {
    margin-bottom: 0.85rem;
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.legal-copy p:last-child {
    margin-bottom: 0;
}

.legal-copy strong {
    color: var(--text);
}

.legal-meta {
    margin-top: 2rem !important;
    font-family: var(--font-mono);
    font-size: 0.7rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

.legal-back {
    margin-top: 2rem;
}

/* ---------- Footer -------------------------------------------------------- */

.site-footer {
    padding: 2.5rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.footer-copy {
    font-weight: 500;
}

.footer-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-sep {
    opacity: 0.4;
}

.footer-meta a {
    transition: color 0.2s ease;
}

.footer-meta a:hover {
    color: var(--text);
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-top .icon {
    width: 13px;
    height: 13px;
}

/* ---------- Bewegung ------------------------------------------------------ */

.js [data-reveal] {
    opacity: 0;
}

.js [data-reveal].is-visible {
    animation: reveal 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms) both;
}

@keyframes reveal {
    from {
        opacity: 0;
        translate: 0 20px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bob {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(40px, 30px, 0) scale(1.12);
    }
}

/* ---------- Responsive ---------------------------------------------------- */

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-self: center;
        margin-top: 0.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
        max-width: 520px;
    }
}

@media (max-width: 780px) {
    body {
        background-attachment: scroll;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        display: none;
        padding: 0.5rem;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: var(--bg-elev);
        box-shadow: var(--shadow);
    }

    .site-header.nav-open .site-nav {
        display: block;
        animation: reveal 0.25s ease both;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
    }

    .nav-link {
        display: block;
        padding: 0.7rem 0.85rem;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .machines-head {
        align-items: flex-start;
    }

    .filters {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 2.25rem, var(--max));
    }

    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.4rem);
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .facts {
        grid-template-columns: 1fr;
    }

    .machine-grid {
        grid-template-columns: 1fr;
    }

    .machine {
        min-height: 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .float-chip {
        display: none;
    }

    .hero-visual {
        padding: 2.5rem 1rem;
    }

    .orb-ring--outer {
        inset: -42px;
    }

    .orb-ring--inner {
        inset: -20px;
    }

    .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .brand-name {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 1.15rem;
    }

    .orb {
        width: 200px;
    }

    .orb-ring--inner {
        inset: -18px;
    }

    .orb-ring--outer {
        inset: -36px;
    }

    .filter {
        padding: 0.4rem 0.7rem;
        font-size: 0.78rem;
    }
}

/* ---------- Reduzierte Bewegung ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
    }

    .js [data-reveal].is-visible {
        animation: none;
    }

    .hero-glow span,
    .float-chip {
        animation: none;
    }
}
