:root {
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --max-width: 1140px;
    --container-pad: 20px;
    --section-gap: 72px;
    --content-narrow: 760px;
}

:root,
:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f5f7fa;
    --bg-accent: #e5edf5;
    --bg-gradient-top: #fafbfd;
    --surface: #ffffff;
    --surface-highlight: #fbfcfe;
    --surface-soft: #f1f5f9;
    --surface-overlay: rgba(255, 255, 255, 0.9);
    --text: #233142;
    --text-muted: #647487;
    --text-soft: #7a8999;
    --heading-main: #182334;
    --heading-sub: #243447;
    --label-text: #6a7c92;
    --accent-label: #0d4f86;
    --line: #d8e1eb;
    --line-strong: #c7d3df;
    --brand: #0c4f88;
    --brand-deep: #083963;
    --brand-soft: #d7e3ef;
    --accent-glow: rgba(215, 227, 239, 0.72);
    --accent-chip-bg: rgba(215, 227, 239, 0.78);
    --success: #0f6b4a;
    --shadow: 0 18px 48px rgba(12, 34, 59, 0.1);
    --shadow-soft: 0 10px 28px rgba(12, 34, 59, 0.08);
    --shadow-strong: 0 24px 64px rgba(12, 34, 59, 0.16);
    --header-bg: rgba(245, 247, 250, 0.84);
    --header-shadow: 0 10px 32px rgba(12, 34, 59, 0.1);
    --nav-hover-bg: #f5f8fc;
    --hero-grad-start: rgba(12, 79, 136, 0.06);
    --hero-grad-end: rgba(255, 255, 255, 0.94);
    --hero-outline: rgba(62, 120, 183, 0.28);
    --page-intro-start: rgba(255, 255, 255, 0.94);
    --page-intro-end: rgba(238, 244, 249, 0.94);
    --bg-accent-soft: rgba(229, 237, 245, 0.6);
    --active-ring: rgba(12, 79, 136, 0.14);
    --section-soft-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(236, 242, 248, 0.62));
    --section-soft-line: rgba(216, 225, 235, 0.78);
    --cta-grad-start: #0f4f85;
    --cta-grad-end: #0b3f6c;
    --cta-text: #ffffff;
    --button-primary-text: #ffffff;
    --button-secondary-bg: #ffffff;
    --button-secondary-border: var(--brand-soft);
    --button-secondary-text: var(--brand-deep);
    --button-secondary-hover-bg: #f2f7fc;
    --button-ghost-hover-bg: #f5f9fd;
    --hero-badge-bg: rgba(255, 255, 255, 0.72);
    --hero-badge-border: rgba(196, 210, 226, 0.88);
    --hero-badge-text: #14324e;
    --hero-pattern-line: rgba(12, 79, 136, 0.08);
    --hero-pattern-glow: rgba(12, 79, 136, 0.12);
    --hero-watermark-opacity: 0.05;
    --link-inline: #0b5c99;
    --link-inline-hover: #083963;
    --link-inline-underline: rgba(11, 92, 153, 0.28);
    --link-email: #111c28;
    --link-email-hover: #083963;
    --link-email-underline: rgba(17, 28, 40, 0.26);
    --link-email-contrast: #f8fbff;
    --link-email-contrast-hover: #ffffff;
    --link-email-contrast-underline: rgba(248, 251, 255, 0.42);
    --link-contrast: #f5fbff;
    --link-contrast-hover: #ffffff;
    --link-contrast-underline: rgba(255, 255, 255, 0.42);
    --footer-link: #27384b;
    --footer-link-hover: #0c4f88;
    --footer-link-underline: rgba(12, 79, 136, 0.24);
    --todo-bg: #fff4df;
    --todo-border: #f3d7a8;
    --todo-text: #6d5426;
    --input-bg: #ffffff;
    --input-border: #c4d1e1;
    --input-focus-outline: var(--brand-soft);
    --focus-shadow: rgba(140, 187, 232, 0.22);
    --status-success-bg: #edf8f1;
    --status-success-border: #b9dfc9;
    --status-success-text: #18563b;
    --status-info-bg: #eef5fb;
    --status-info-border: #c8dbea;
    --status-info-text: #25496b;
    --status-error-bg: #fff2f1;
    --status-error-border: #edc5c2;
    --status-error-text: #8c2f2f;
    --footer-bg: #edf3fa;
    --footer-grad-end: #f8fbff;
    --focus-ring: 2px solid #8cbbe8;
    --theme-toggle-bg: #ffffff;
    --control-hover-bg: #f8fbff;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0f1824;
    --bg-accent: #17304a;
    --bg-gradient-top: #162334;
    --surface: #172433;
    --surface-highlight: #1a2a3b;
    --surface-soft: #111c2a;
    --surface-overlay: rgba(23, 36, 51, 0.86);
    --text: #e6edf6;
    --text-muted: #b0bfce;
    --text-soft: #8fa3b8;
    --heading-main: #eef4fb;
    --heading-sub: #dae5ef;
    --label-text: #97aabd;
    --accent-label: #7fb8ea;
    --line: #2a3b50;
    --line-strong: #35506e;
    --brand: #3c88d0;
    --brand-deep: #2f73b5;
    --brand-soft: #2f4a66;
    --accent-glow: rgba(47, 74, 102, 0.72);
    --accent-chip-bg: rgba(47, 74, 102, 0.66);
    --success: #70c89f;
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.34);
    --shadow-strong: 0 22px 58px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(15, 24, 36, 0.86);
    --header-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    --nav-hover-bg: #203143;
    --hero-grad-start: rgba(60, 136, 208, 0.22);
    --hero-grad-end: rgba(20, 34, 49, 0.88);
    --hero-outline: rgba(86, 147, 212, 0.32);
    --page-intro-start: rgba(24, 37, 52, 0.94);
    --page-intro-end: rgba(17, 28, 42, 0.94);
    --bg-accent-soft: rgba(23, 48, 74, 0.55);
    --active-ring: rgba(60, 136, 208, 0.2);
    --section-soft-bg: linear-gradient(180deg, rgba(17, 28, 42, 0.84), rgba(12, 22, 33, 0.84));
    --section-soft-line: rgba(53, 80, 110, 0.7);
    --cta-grad-start: #224f79;
    --cta-grad-end: #163450;
    --cta-text: #f2f7ff;
    --button-primary-text: #f2f7ff;
    --button-secondary-bg: transparent;
    --button-secondary-border: rgba(149, 186, 225, 0.5);
    --button-secondary-text: var(--cta-text);
    --button-secondary-hover-bg: rgba(149, 186, 225, 0.08);
    --button-ghost-hover-bg: rgba(149, 186, 225, 0.08);
    --hero-badge-bg: rgba(21, 34, 49, 0.8);
    --hero-badge-border: rgba(53, 80, 110, 0.88);
    --hero-badge-text: #eef5fd;
    --hero-pattern-line: rgba(141, 199, 255, 0.1);
    --hero-pattern-glow: rgba(60, 136, 208, 0.18);
    --hero-watermark-opacity: 0.065;
    --link-inline: #8dc7ff;
    --link-inline-hover: #b9ddff;
    --link-inline-underline: rgba(141, 199, 255, 0.4);
    --link-email: #e6f1fb;
    --link-email-hover: #ffffff;
    --link-email-underline: rgba(230, 241, 251, 0.36);
    --link-email-contrast: #f4f8ff;
    --link-email-contrast-hover: #ffffff;
    --link-email-contrast-underline: rgba(244, 248, 255, 0.44);
    --link-contrast: #f2f7ff;
    --link-contrast-hover: #ffffff;
    --link-contrast-underline: rgba(242, 247, 255, 0.42);
    --footer-link: #e4edf6;
    --footer-link-hover: #ffffff;
    --footer-link-underline: rgba(141, 199, 255, 0.34);
    --todo-bg: #463a22;
    --todo-border: #735c34;
    --todo-text: #f2ddaf;
    --input-bg: #132131;
    --input-border: #35506e;
    --input-focus-outline: #4b78a3;
    --focus-shadow: rgba(75, 120, 163, 0.24);
    --status-success-bg: rgba(28, 72, 50, 0.72);
    --status-success-border: rgba(91, 146, 115, 0.64);
    --status-success-text: #d6f4e3;
    --status-info-bg: rgba(30, 54, 80, 0.76);
    --status-info-border: rgba(81, 121, 160, 0.56);
    --status-info-text: #d9ebff;
    --status-error-bg: rgba(86, 36, 36, 0.72);
    --status-error-border: rgba(151, 88, 88, 0.6);
    --status-error-text: #ffdede;
    --footer-bg: #0f1b29;
    --footer-grad-end: #152436;
    --focus-ring: 2px solid #7db4ea;
    --theme-toggle-bg: #18293b;
    --control-hover-bg: #1f3247;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --bg: #0f1824;
        --bg-accent: #17304a;
        --bg-gradient-top: #162334;
        --surface: #172433;
        --surface-highlight: #1a2a3b;
        --surface-soft: #111c2a;
        --surface-overlay: rgba(23, 36, 51, 0.86);
        --text: #e6edf6;
        --text-muted: #b0bfce;
        --text-soft: #8fa3b8;
        --heading-main: #eef4fb;
        --heading-sub: #dae5ef;
        --label-text: #97aabd;
        --accent-label: #7fb8ea;
        --line: #2a3b50;
        --line-strong: #35506e;
        --brand: #3c88d0;
        --brand-deep: #2f73b5;
        --brand-soft: #2f4a66;
        --accent-glow: rgba(47, 74, 102, 0.72);
        --accent-chip-bg: rgba(47, 74, 102, 0.66);
        --success: #70c89f;
        --shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
        --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.34);
        --shadow-strong: 0 22px 58px rgba(0, 0, 0, 0.5);
        --header-bg: rgba(15, 24, 36, 0.86);
        --header-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
        --nav-hover-bg: #203143;
        --hero-grad-start: rgba(60, 136, 208, 0.22);
        --hero-grad-end: rgba(20, 34, 49, 0.88);
        --hero-outline: rgba(86, 147, 212, 0.32);
        --page-intro-start: rgba(24, 37, 52, 0.94);
        --page-intro-end: rgba(17, 28, 42, 0.94);
        --bg-accent-soft: rgba(23, 48, 74, 0.55);
        --active-ring: rgba(60, 136, 208, 0.2);
        --section-soft-bg: linear-gradient(180deg, rgba(17, 28, 42, 0.84), rgba(12, 22, 33, 0.84));
        --section-soft-line: rgba(53, 80, 110, 0.7);
        --cta-grad-start: #224f79;
        --cta-grad-end: #163450;
        --cta-text: #f2f7ff;
        --button-primary-text: #f2f7ff;
        --button-secondary-bg: transparent;
        --button-secondary-border: rgba(149, 186, 225, 0.5);
        --button-secondary-text: var(--cta-text);
        --button-secondary-hover-bg: rgba(149, 186, 225, 0.08);
        --button-ghost-hover-bg: rgba(149, 186, 225, 0.08);
        --hero-badge-bg: rgba(21, 34, 49, 0.8);
        --hero-badge-border: rgba(53, 80, 110, 0.88);
        --hero-badge-text: #eef5fd;
        --hero-pattern-line: rgba(141, 199, 255, 0.1);
        --hero-pattern-glow: rgba(60, 136, 208, 0.18);
        --hero-watermark-opacity: 0.065;
        --link-inline: #8dc7ff;
        --link-inline-hover: #b9ddff;
        --link-inline-underline: rgba(141, 199, 255, 0.4);
        --link-email: #e6f1fb;
        --link-email-hover: #ffffff;
        --link-email-underline: rgba(230, 241, 251, 0.36);
        --link-email-contrast: #f4f8ff;
        --link-email-contrast-hover: #ffffff;
        --link-email-contrast-underline: rgba(244, 248, 255, 0.44);
        --link-contrast: #f2f7ff;
        --link-contrast-hover: #ffffff;
        --link-contrast-underline: rgba(242, 247, 255, 0.42);
        --footer-link: #e4edf6;
        --footer-link-hover: #ffffff;
        --footer-link-underline: rgba(141, 199, 255, 0.34);
        --todo-bg: #463a22;
        --todo-border: #735c34;
        --todo-text: #f2ddaf;
        --input-bg: #132131;
        --input-border: #35506e;
        --input-focus-outline: #4b78a3;
        --focus-shadow: rgba(75, 120, 163, 0.24);
        --footer-bg: #0f1b29;
        --footer-grad-end: #152436;
        --focus-ring: 2px solid #7db4ea;
        --theme-toggle-bg: #18293b;
        --control-hover-bg: #1f3247;
    }
}

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

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    font-size: clamp(1rem, 0.96rem + 0.18vw, 1.05rem);
    color: var(--text);
    line-height: 1.72;
    background:
        radial-gradient(circle at 10% -5%, var(--bg-accent), transparent 40%),
        radial-gradient(circle at 100% 0%, var(--bg-accent-soft), transparent 32%),
        radial-gradient(circle at 82% 14%, var(--hero-pattern-glow), transparent 26%),
        linear-gradient(135deg, transparent 0 56%, var(--hero-pattern-line) 56.1%, transparent 56.3%),
        repeating-linear-gradient(90deg, transparent 0 67px, var(--hero-pattern-line) 67px 68px),
        repeating-linear-gradient(0deg, transparent 0 67px, var(--hero-pattern-line) 67px 68px),
        linear-gradient(180deg, var(--bg-gradient-top), var(--bg));
    transition: background-color 240ms ease, color 240ms ease;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

main a:not(.button):not(.text-link) {
    color: var(--link-inline);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--link-inline-underline);
    text-decoration-thickness: 1.2px;
    text-underline-offset: 0.16em;
}

main a:not(.button):not(.text-link):hover,
main a:not(.button):not(.text-link):focus-visible {
    color: var(--link-inline-hover);
    text-decoration-color: currentColor;
}

main a[href^="mailto:"]:not(.button):not(.text-link),
.footer-text a[href^="mailto:"] {
    color: var(--link-email);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--link-email-underline);
    text-decoration-thickness: 1.2px;
    text-underline-offset: 0.16em;
}

main a[href^="mailto:"]:not(.button):not(.text-link):hover,
main a[href^="mailto:"]:not(.button):not(.text-link):focus-visible,
.footer-text a[href^="mailto:"]:hover,
.footer-text a[href^="mailto:"]:focus-visible {
    color: var(--link-email-hover);
    text-decoration-color: currentColor;
}

a[href^="tel:"] {
    white-space: nowrap;
}

.support-hours-value {
    display: grid;
    gap: 2px;
    font: inherit;
    line-height: 1.45;
}

.support-hours-line {
    display: block;
    white-space: nowrap;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 0.55em;
    line-height: 1.2;
}

h1,
h2 {
    color: var(--heading-main);
}

h1,
h2 {
    font-family: "Literata", "Georgia", serif;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.35rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--heading-sub);
}

ul,
ol {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.7;
}

.container {
    width: min(100% - (2 * var(--container-pad)), var(--max-width));
    margin-inline: auto;
}

main {
    position: relative;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 1000;
    background: var(--brand-deep);
    color: var(--button-primary-text);
    padding: 10px 14px;
    border-radius: 8px;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--header-shadow);
}

.header-shell {
    min-height: 96px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.header-shell > *,
.split > *,
.card-grid > * {
    min-width: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 19rem;
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-name {
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.brand-tagline {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.nav-region {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--theme-toggle-bg);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.theme-toggle:hover,
.nav-toggle:hover {
    border-color: var(--line-strong);
    background: var(--control-hover-bg);
    transform: translateY(-1px);
}

.theme-toggle:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 2px;
}

.theme-toggle-text,
.nav-toggle-label {
    font-size: 0.9rem;
    line-height: 1;
}

.theme-toggle-icon,
.nav-toggle-icon {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 160ms ease, background-color 160ms ease;
}

.theme-toggle-icon {
    border-radius: 50%;
    border: 2px solid currentColor;
}

.theme-toggle-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    top: 3px;
    left: 3px;
}

[data-theme="dark"] .theme-toggle-icon::after {
    width: 8px;
    height: 8px;
    top: 2px;
    left: 2px;
}

.nav-toggle-icon {
    width: 16px;
    height: 2px;
    margin-top: 7px;
    background: currentColor;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease, top 160ms ease, background-color 160ms ease;
}

.nav-toggle-icon::before {
    top: -5px;
}

.nav-toggle-icon::after {
    top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.site-nav {
    position: absolute;
    right: 0;
    top: 58px;
    width: min(360px, calc(100vw - (2 * var(--container-pad))));
    max-width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2px;
}

.site-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.96rem;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.site-nav a:hover {
    background: var(--nav-hover-bg);
    color: var(--brand);
    transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
    color: var(--brand-deep);
    background: var(--brand-soft);
    box-shadow: inset 0 0 0 1px var(--active-ring);
}

.nav-cta a {
    color: var(--success);
}

.hero {
    position: relative;
    padding: clamp(44px, 7vw, 76px) 0 var(--section-gap);
    overflow: clip;
}

.page-start .brand-strip {
    display: grid;
    place-items: center;
    padding: clamp(16px, 2.8vw, 24px) 0 6px;
}

.page-start .brand-strip .container {
    display: grid;
    place-items: center;
    line-height: 0;
}

.page-start .brand-strip img {
    display: block;
    width: min(100%, 500px);
    height: auto;
}

.page-start .hero {
    padding-top: clamp(20px, 3.6vw, 30px);
}

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

.hero-grid {
    display: grid;
    gap: 22px;
}

.hero-copy,
.hero-panel,
.card,
.timeline-card,
.cta-card,
.note-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.hero-copy::before,
.hero-panel::before,
.card::before,
.timeline-card::before,
.cta-card::before,
.note-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hero-outline), transparent);
}

.hero-copy {
    padding: 32px 24px;
    background:
        linear-gradient(135deg, var(--hero-grad-start), var(--hero-grad-end)),
        var(--surface);
    isolation: isolate;
}

.hero-copy::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -56px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 68%);
    pointer-events: none;
}

.hero-copy > * {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    margin-bottom: 12px;
    max-width: 12ch;
}

.hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--hero-badge-border);
    border-radius: 999px;
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-copy > p:not(.kicker) {
    max-width: 58ch;
    color: var(--text-muted);
}

.hero-panel {
    padding: 24px 20px;
    display: grid;
    gap: 16px;
    align-content: start;
    background: linear-gradient(180deg, var(--surface), var(--surface-highlight));
}

.panel-title {
    margin: 0 0 12px;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--label-text);
}

.panel-intro {
    margin: -4px 0 2px;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.kicker {
    margin-bottom: 10px;
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-label);
    font-weight: 800;
}

.button-row {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 12px;
}

.hero-points li {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-overlay);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-points strong {
    font-size: 0.96rem;
}

.hero-points span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.hero-panel-note {
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--surface-highlight), var(--surface));
}

.hero-panel-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.94rem;
    color: var(--heading-sub);
}

.hero-panel-note p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.58;
}

.detail-stack {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.detail-stack p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.detail-stack strong {
    display: block;
    margin-bottom: 4px;
    color: var(--label-text);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 18px;
    border: 1px solid transparent;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button[disabled],
.button[aria-disabled="true"] {
    opacity: 0.68;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button[disabled]:hover,
.button[aria-disabled="true"]:hover {
    transform: none;
    box-shadow: none;
}

.button-primary {
    color: var(--button-primary-text);
    background: var(--brand);
    box-shadow: 0 12px 26px rgba(12, 79, 136, 0.26);
}

.button-primary:hover {
    background: var(--brand-deep);
    box-shadow: 0 16px 34px rgba(12, 79, 136, 0.28);
}

.button-secondary {
    color: var(--button-secondary-text);
    border-color: var(--button-secondary-border);
    background: var(--button-secondary-bg);
}

.button-secondary:hover {
    background: var(--button-secondary-hover-bg);
}

.button-ghost {
    color: var(--brand);
    border-color: var(--line);
    background: var(--surface);
}

.button-ghost:hover {
    background: var(--button-ghost-hover-bg);
}

.section {
    padding: clamp(54px, 7vw, 88px) 0;
}

.section-soft {
    background: var(--section-soft-bg);
    border-top: 1px solid var(--section-soft-line);
    border-bottom: 1px solid var(--section-soft-line);
}

.section-head {
    max-width: 840px;
    margin-bottom: 28px;
    display: grid;
    gap: 8px;
}

.section-head > p:not(.kicker) {
    margin-bottom: 0;
    color: var(--text-muted);
    max-width: 58ch;
}

.section-head--compact {
    margin-bottom: 20px;
}

.page-intro {
    padding: 34px 0 12px;
}

.page-intro .container {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 42px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--page-intro-start), var(--page-intro-end));
    box-shadow: var(--shadow-soft);
}

.page-intro .container::after {
    content: "";
    position: absolute;
    inset: auto -60px -78px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 68%);
    pointer-events: none;
}

.page-intro h1,
.page-intro .intro-text,
.page-intro .kicker,
.page-intro .hero-trust,
.page-intro .button-row {
    position: relative;
    z-index: 1;
}

.page-intro h1 {
    max-width: 13ch;
    margin-bottom: 12px;
}

.page-unternehmen .page-intro {
    padding-bottom: 18px;
}

.company-intro-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
}

.company-intro-copy .hero-trust {
    margin-bottom: 18px;
}

.company-intro-copy .button-row {
    margin-top: 24px;
}

.company-intro-panel {
    align-content: start;
}

.intro-text {
    max-width: var(--content-narrow);
    color: var(--text-muted);
    font-size: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
    line-height: 1.75;
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid-2,
.card-grid-3 {
    grid-template-columns: 1fr;
}

.card {
    border-radius: var(--radius);
    padding: 24px 22px;
}

.card h2 {
    font-size: 1.38rem;
    margin-bottom: 12px;
}

.card h3 {
    margin-bottom: 10px;
}

.card p:last-child,
.timeline-card p:last-child,
.cta-card p:last-child,
.note-box p:last-child {
    margin-bottom: 0;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-top: 14px;
}

.check-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 30px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-chip-bg);
    color: var(--brand-deep);
    font-weight: 800;
}

.ordered-list {
    margin-top: 14px;
    list-style: none;
    padding-left: 0;
    counter-reset: ordered-steps;
}

.ordered-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 38px;
    counter-increment: ordered-steps;
}

.ordered-list li::before {
    content: counter(ordered-steps);
    position: absolute;
    top: -1px;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-chip-bg);
    color: var(--brand-deep);
    font-size: 0.85rem;
    font-weight: 800;
}

.key-facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.key-facts li {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.key-facts li:last-child {
    border-bottom: none;
}

.key-facts span {
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--label-text);
}

.key-facts a,
.key-facts strong {
    font-size: 1.02rem;
    font-weight: 800;
}

.key-facts a {
    text-decoration: none;
}

.key-facts a:hover,
.key-facts a:focus-visible {
    text-decoration: underline;
}

.split {
    display: grid;
    gap: 20px;
}

.timeline-card,
.cta-card,
.note-box {
    border-radius: var(--radius);
    padding: 24px 22px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.media-card {
    margin: 0 0 12px;
    background: linear-gradient(180deg, var(--surface-highlight), var(--surface-soft));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    overflow: hidden;
}

.media-card img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 12px;
    transition: transform 220ms ease;
}

.media-card--cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.media-caption {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.media-slot {
    margin: 0 0 12px;
    border: 1px dashed var(--line-strong);
    border-radius: 18px;
    padding: 24px 18px;
    background: var(--surface-soft);
}

.media-slot p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-card {
    display: grid;
    gap: 12px;
    margin: 0 0 4px;
}

.map-embed {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--surface-highlight), var(--surface-soft));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.map-embed::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

[data-theme="dark"] .map-embed::after {
    background: linear-gradient(180deg, rgba(10, 18, 28, 0.18), rgba(10, 18, 28, 0.08));
}

.map-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    gap: 10px;
}

.map-placeholder[hidden] {
    display: none;
}

.map-placeholder-title {
    margin: 0;
    font-weight: 800;
    color: var(--heading-sub);
}

.map-placeholder-text {
    max-width: 32rem;
    margin: 0;
    color: var(--text-muted);
}

.map-load-error {
    max-width: 34rem;
    margin: 2px 0 0;
    color: var(--status-error-text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.map-load-button {
    min-height: 44px;
}

.location-map,
.leaflet-container {
    width: 100%;
    height: 100%;
    min-height: 320px;
    font: inherit;
    color: var(--text);
    background: linear-gradient(180deg, var(--surface-highlight), var(--surface-soft));
}

[data-theme="dark"] .leaflet-tile-pane {
    filter: brightness(0.92) saturate(0.9);
}

.leaflet-control-attribution {
    display: inline-block;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    padding: 4px 10px !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 8px 18px rgba(12, 34, 59, 0.12);
    color: var(--text-muted) !important;
    font-size: 0.67rem !important;
    line-height: 1.25 !important;
}

[data-theme="dark"] .leaflet-control-attribution {
    background: rgba(17, 28, 42, 0.8) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.leaflet-control-attribution a {
    display: inline;
    color: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    text-decoration-thickness: auto;
    text-underline-offset: 0;
}

.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus-visible {
    color: inherit !important;
    text-decoration: underline !important;
}

.map-embed .leaflet-bottom .leaflet-control {
    margin-bottom: 14px;
}

.map-embed .leaflet-right .leaflet-control {
    margin-right: 14px;
}

.map-overlay {
    position: absolute;
    inset: 10px 10px auto 10px;
    z-index: 700;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    pointer-events: none;
}

.map-overlay[hidden] {
    display: none;
}

.map-reset-control {
    position: static;
    flex: 0 1 auto;
    min-width: 0;
    pointer-events: auto;
    display: inline-block;
    min-height: 34px;
    max-width: 100%;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    color: var(--text);
    font: inherit;
    font-size: 0.79rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.map-reset-control:hover,
.map-reset-control:focus-visible {
    background: var(--surface);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

[data-theme="dark"] .map-reset-control {
    background: rgba(17, 28, 42, 0.9);
}

.map-actions {
    display: grid;
    justify-items: start;
    gap: 6px;
}

.map-action-primary {
    min-height: 44px;
    padding-inline: 16px;
    box-shadow: var(--shadow-soft);
}

.map-action-link {
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
    color: var(--link-inline);
    font-weight: 800;
    border-bottom: 1px solid var(--link-inline-underline);
    line-height: 1.4;
    font-size: 0.92rem;
}

.map-action-link:hover,
.map-action-link:focus-visible {
    color: var(--link-inline-hover);
    border-bottom-color: currentColor;
}

.location-facts {
    display: grid;
    gap: 6px;
    margin-top: 2px;
}

.location-facts p {
    margin: 0;
    line-height: 1.45;
}

.company-overview-split {
    align-items: start;
}

.company-workflow,
.company-location-card {
    display: grid;
    align-content: start;
}

.company-principles .card,
.company-milestones .card,
.topic-card,
.partner-card {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 10px;
}

.principle-card p,
.topic-summary,
.partner-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.company-location-card {
    gap: 14px;
}

.company-location-card .section-head,
.company-location-card .map-card {
    margin-bottom: 0;
}

.company-location-card .map-embed {
    aspect-ratio: 16 / 10;
    min-height: 300px;
}

.company-location-card .location-facts {
    gap: 3px;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.company-location-card .media-caption {
    margin-top: 4px;
}

.company-location-card .map-actions {
    gap: 4px;
}

.milestone-year,
.topic-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-label);
}

.name-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: grid;
    gap: 0;
}

.name-list li {
    padding: 10px 0 0;
    margin-top: 10px;
    border-top: 1px solid var(--line);
    font-weight: 700;
}

.topic-card h3 {
    margin-bottom: 6px;
}

.topic-card .topic-summary {
    min-height: 3.6em;
}

.jobs-culture-card,
.jobs-status-card,
.jobs-initiative-card,
.job-card {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 14px;
}

.page-intro-jobs .hero-trust {
    margin-bottom: 18px;
}

.page-intro-jobs .button-row {
    margin-top: 24px;
}

.jobs-status-split {
    align-items: stretch;
}

.jobs-status-head {
    max-width: 46rem;
}

.jobs-status-shell {
    display: grid;
    place-items: center;
}

.jobs-status-spotlight {
    width: min(100%, 760px);
    padding: clamp(30px, 5vw, 42px);
    border-radius: var(--radius-lg);
    text-align: center;
    gap: 12px;
}

.jobs-status-spotlight .kicker {
    margin-bottom: 0;
}

.jobs-status-spotlight h2 {
    max-width: 18ch;
    margin-inline: auto;
}

.jobs-status-spotlight p:last-child {
    max-width: 58ch;
    margin: 0 auto;
    color: var(--text-muted);
}

.jobs-initiative-section {
    padding-top: clamp(32px, 4vw, 46px);
}

.jobs-initiative-spotlight {
    gap: clamp(24px, 4vw, 36px);
    padding: clamp(30px, 4vw, 44px);
}

.jobs-initiative-main,
.jobs-initiative-side,
.jobs-initiative-support {
    display: grid;
    align-content: start;
    gap: 14px;
}

.jobs-initiative-intro {
    margin: 0;
    max-width: 58ch;
    font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.12rem);
    line-height: 1.75;
}

.jobs-initiative-support {
    margin-top: 6px;
}

.jobs-initiative-support p {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.jobs-initiative-side {
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jobs-initiative-side-label {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.jobs-initiative-side-copy {
    margin: 0;
    color: var(--cta-text);
}

.jobs-initiative-actions {
    margin-top: 4px;
}

.jobs-culture-section.is-follow-up {
    padding-top: clamp(30px, 4vw, 42px);
}

.jobs-culture-section.is-follow-up .section-head {
    max-width: 48rem;
    margin-bottom: 4px;
}

.jobs-culture-section.is-follow-up .section-head p {
    max-width: 56ch;
}

.jobs-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-label);
}

.jobs-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.jobs-meta li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--hero-badge-border);
    border-radius: 999px;
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.job-card-media {
    margin: -8px -8px 4px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.job-card-media img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.job-summary {
    margin-bottom: 0;
    color: var(--text-muted);
}

.job-list-group {
    display: grid;
    gap: 0;
}

.job-list-group h4 {
    margin: 4px 0 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.job-card .check-list {
    margin-top: 0;
}

.job-list-group .detail-stack {
    margin-top: 4px;
}

.job-list-group .detail-stack p {
    margin: 0;
}

.jobs-initiative-card .detail-stack,
.jobs-status-card .detail-stack {
    margin-top: 6px;
}

@media (min-width: 780px) {
    .jobs-initiative-spotlight {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        align-items: stretch;
    }

    .jobs-initiative-support {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 779px) {
    .jobs-initiative-side {
        padding: 18px;
    }

    .jobs-initiative-actions {
        display: grid;
    }

    .jobs-initiative-actions .button {
        width: 100%;
        justify-content: center;
    }
}

.page-intro-downloads .hero-trust {
    margin-bottom: 18px;
}

.page-intro-downloads .button-row {
    margin-top: 24px;
}

.downloads-layout {
    display: grid;
    gap: 24px;
}

.downloads-status-note {
    gap: 14px;
}

.downloads-status-intro {
    margin: -2px 0 0;
    max-width: 70ch;
    color: var(--text-muted);
}

.downloads-review-list {
    margin-top: 4px;
}

.downloads-grid {
    align-items: stretch;
}

.download-card {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 16px;
}

.download-card-top {
    display: grid;
    gap: 8px;
}

.download-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.download-kicker {
    margin-bottom: 0;
}

.download-summary {
    margin: 0;
    color: var(--text-muted);
}

.download-meta-list {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.download-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(28, 124, 84, 0.08);
    color: var(--accent-label);
    font-weight: 700;
}

.download-file-type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-chip-bg);
    color: var(--accent-label);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-file-name {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.download-note {
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(15, 84, 161, 0.06);
    color: var(--text-muted);
}

.download-card-footer {
    margin-top: auto;
}

.download-card-footer .button {
    width: 100%;
    justify-content: center;
}

.downloads-empty-card {
    max-width: 760px;
    justify-self: start;
    display: grid;
    gap: 14px;
}

.downloads-empty-card p:not(.kicker) {
    margin: 0;
    max-width: 60ch;
    color: var(--text-muted);
}

.downloads-cta {
    gap: 14px;
}

.downloads-cta p:not(.kicker) {
    max-width: 60ch;
}

.cta-box {
    background: linear-gradient(135deg, var(--cta-grad-start), var(--cta-grad-end));
    color: var(--cta-text);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 5vw, 42px);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 12px;
}

.cta-box::after {
    content: "";
    position: absolute;
    inset: auto -50px -60px auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
    pointer-events: none;
}

.cta-box h2,
.cta-box p {
    color: var(--cta-text);
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.text-link {
    color: var(--link-inline);
    font-weight: 800;
    border-bottom: 1px solid var(--link-inline-underline);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-link:hover {
    color: var(--link-inline-hover);
    border-bottom-color: currentColor;
}

.cta-box a:not(.button),
.cta-box .text-link {
    color: var(--link-contrast);
    border-bottom-color: var(--link-contrast-underline);
}

.cta-box .text-link[href^="mailto:"] {
    color: var(--link-email-contrast);
    border-bottom-color: var(--link-email-contrast-underline);
}

.cta-box a:not(.button):hover,
.cta-box a:not(.button):focus-visible,
.cta-box .text-link:hover,
.cta-box .text-link:focus-visible {
    color: var(--link-contrast-hover);
    border-bottom-color: currentColor;
}

.cta-box .text-link[href^="mailto:"]:hover,
.cta-box .text-link[href^="mailto:"]:focus-visible {
    color: var(--link-email-contrast-hover);
}

.todo-note {
    display: inline-block;
    margin-top: 10px;
    background: var(--todo-bg);
    border: 1px solid var(--todo-border);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.88rem;
    color: var(--todo-text);
}

.meta-note {
    margin-top: 6px;
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.contact-split {
    align-items: start;
}

.page-intro-contact .hero-trust {
    margin-bottom: 18px;
}

.page-intro-contact .button-row {
    margin-top: 24px;
}

.contact-main-grid,
.contact-location-split {
    align-items: stretch;
}

.contact-layout-stack {
    display: grid;
    gap: 24px;
}

.contact-panel {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 16px;
}

.contact-form-card {
    gap: 18px;
}

.card-intro {
    margin: -2px 0 0;
    color: var(--text-muted);
}

.contact-note {
    margin-top: 2px;
}

.contact-direct-box {
    margin-top: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--surface-highlight), var(--surface));
    display: grid;
    gap: 12px;
}

.contact-direct-box strong {
    font-size: 0.94rem;
}

.contact-direct-box p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.contact-direct-actions {
    display: grid;
    gap: 8px;
}

.contact-direct-actions .button {
    width: 100%;
    justify-content: center;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.contact-form label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text);
}

.field-optional {
    color: var(--text-soft);
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--input-border);
    border-radius: 14px;
    min-height: 50px;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: var(--input-bg);
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

textarea {
    min-height: 148px;
    resize: vertical;
}

input:hover,
textarea:hover {
    border-color: var(--line-strong);
}

input:focus,
textarea:focus {
    outline: 2px solid var(--input-focus-outline);
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--focus-shadow);
}

.contact-form [aria-invalid="true"] {
    border-color: var(--status-error-border);
    box-shadow: 0 0 0 4px rgba(177, 104, 104, 0.18);
}

.field-hint,
.field-error {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.field-hint {
    color: var(--text-soft);
}

.field-error {
    color: var(--status-error-text);
}

.form-actions {
    display: grid;
    gap: 10px;
    align-items: start;
}

.form-status {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    font-size: 0.94rem;
    line-height: 1.58;
}

.form-status--success {
    background: var(--status-success-bg);
    border-color: var(--status-success-border);
    color: var(--status-success-text);
}

.form-status--info {
    background: var(--status-info-bg);
    border-color: var(--status-info-border);
    color: var(--status-info-text);
}

.form-status--error {
    background: var(--status-error-bg);
    border-color: var(--status-error-border);
    color: var(--status-error-text);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-privacy-block {
    padding: clamp(24px, 4vw, 34px);
    display: grid;
    gap: 14px;
}

.contact-privacy-intro {
    margin: -2px 0 0;
    max-width: 70ch;
    color: var(--text-muted);
}

.privacy-note {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

.privacy-title {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 800;
}

.privacy-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.contact-privacy-list {
    margin-top: 2px;
}

.privacy-list div {
    display: grid;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.privacy-list dt {
    margin: 0;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--label-text);
}

.privacy-list dd {
    margin: 0;
    color: var(--text-muted);
}

.privacy-link-row {
    margin: 0;
}

.contact-location-card .button-row {
    margin-top: 4px;
}

.checkbox-copy-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-copy-row input {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 3px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.checkbox-copy__label {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.55;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-copy-row input:hover {
    border-color: transparent;
}

.checkbox-copy-row input:focus {
    border-color: transparent;
    box-shadow: none;
    outline: 2px solid var(--input-focus-outline);
    outline-offset: 2px;
}

.legal-layout {
    display: grid;
    gap: 20px;
}

.site-footer {
    margin-top: var(--section-gap);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--footer-bg), var(--footer-grad-end));
    position: relative;
    overflow: hidden;
    transition: background-color 220ms ease, border-color 220ms ease;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hero-outline), transparent);
}

.footer-grid {
    display: grid;
    gap: 22px;
    padding: 40px 0 22px;
}

.footer-grid > div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-title {
    margin: 0;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--label-text);
}

.footer-brand-copy {
    margin: 0;
    color: var(--heading-sub);
    font-weight: 700;
}

.footer-text {
    margin: 0;
    color: var(--text-muted);
}

.footer-support-hours {
    display: grid;
    gap: 4px;
}

.footer-support-label {
    color: var(--text-muted);
    font-weight: 700;
}

.footer-text a:not([href^="mailto:"]),
.footer-nav a {
    color: var(--footer-link);
}

.footer-nav {
    display: grid;
    gap: 8px;
}

.footer-nav a,
.footer-text a:not([href^="mailto:"]) {
    border-bottom: 1px solid transparent;
}

.footer-nav a:hover,
.footer-text a:not([href^="mailto:"]):hover {
    color: var(--footer-link-hover);
    border-bottom-color: var(--footer-link-underline);
}

.footer-nav a,
.back-to-top {
    width: fit-content;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 14px 0 22px;
    font-size: 0.87rem;
    color: var(--text-muted);
}

.footer-meta-copy {
    display: grid;
    gap: 4px;
}

.footer-meta p {
    margin: 0;
}

.footer-signature {
    font-size: 0.8rem;
    color: var(--meta-text);
}

.footer-signature-link {
    color: inherit;
    font-weight: inherit;
    border-bottom: 1px solid transparent;
}

.footer-signature-link:hover,
.footer-signature-link:focus-visible {
    color: var(--footer-link-hover);
    border-bottom-color: var(--footer-link-underline);
}

.back-to-top {
    color: var(--footer-link);
    font-weight: 700;
    border-bottom: 1px solid transparent;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--footer-link-hover);
    border-bottom-color: var(--footer-link-underline);
}

.page-was-ist-heisser .page-intro h1 {
    max-width: 18ch;
}

.page-was-ist-heisser-doom .page-intro h1 {
    max-width: 24ch;
}

.heisser-choice-grid,
.heisser-placeholder-grid {
    align-items: stretch;
}

.heisser-choice-card {
    height: 100%;
    display: grid;
    align-content: start;
    gap: 12px;
}

.heisser-choice-card .button-row {
    margin-top: auto;
}

.heisser-doom-stage {
    display: grid;
    gap: 20px;
}

.heisser-doom-stage-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.heisser-doom-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(53, 80, 110, 0.28);
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(255, 127, 80, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(10, 14, 22, 0.98), rgba(4, 6, 10, 0.98));
    aspect-ratio: 4 / 3;
    min-height: 560px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.heisser-doom-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #030406;
}

.heisser-doom-meta-grid {
    display: grid;
    gap: 24px;
}

.heisser-doom-link-list {
    display: grid;
    gap: 12px;
}

.heisser-doom-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 16px 18px;
    border: 1px solid rgba(53, 80, 110, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.heisser-doom-link span {
    color: var(--text-muted);
}

.heisser-doom-link strong {
    color: var(--text);
    font-size: 0.95rem;
}

.heisser-doom-link:hover,
.heisser-doom-link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.06);
}

@media (hover: hover) {
    .card:hover,
    .timeline-card:hover,
    .cta-card:hover,
    .note-box:hover,
    .hero-copy:hover,
    .hero-panel:hover {
        transform: translateY(-4px);
        border-color: var(--line-strong);
        box-shadow: var(--shadow);
    }

    .media-card:hover img {
        transform: scale(1.02);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 400ms ease, transform 400ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 420px) {
    .header-actions {
        gap: 6px;
    }

    .theme-toggle {
        padding-inline: 10px;
    }

    .theme-toggle-text {
        display: none;
    }

    .nav-toggle {
        padding-inline: 12px;
    }

    .map-embed,
    .company-location-card .map-embed,
    .location-map,
    .leaflet-container {
        min-height: 240px;
    }
}

@media (min-width: 780px) {
    :root {
        --container-pad: 26px;
        --section-gap: 88px;
    }

    .hero-grid {
        grid-template-columns: 1.25fr 0.75fr;
        align-items: stretch;
    }

    .hero-copy {
        padding: 42px 34px;
    }

    .hero-panel {
        padding: 28px 24px;
    }

    .hero-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        align-items: stretch;
    }

    .card-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .heisser-doom-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .legal-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-intro-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
        align-items: stretch;
    }

    .contact-privacy-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (max-width: 779px) {
    .heisser-doom-frame {
        min-height: 420px;
    }
}

@media (min-width: 980px) {
    .header-actions {
        gap: 14px;
    }

    .nav-region {
        gap: 14px;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        width: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .site-nav ul {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .company-overview-split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .site-nav a {
        padding: 9px 12px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 779px) {
    .page-intro h1 {
        max-width: none;
    }

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

@media (max-width: 599px) {
    .header-shell {
        position: relative;
        min-height: auto;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .brand {
        gap: 10px;
        max-width: none;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-tagline {
        font-size: 0.72rem;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
        min-width: 0;
        padding-bottom: 4px;
    }

    .nav-region {
        position: static;
        margin-left: auto;
        min-width: 0;
    }

    .site-nav {
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        width: auto;
        max-width: none;
    }

    .page-start .brand-strip {
        padding: 12px 0 4px;
    }

    .page-start .brand-strip img {
        width: min(100%, 320px);
    }

    .page-start .hero {
        padding-top: 16px;
    }

    .hero-trust {
        gap: 8px;
        margin-bottom: 14px;
    }

    .hero-trust li {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.8rem;
    }

    .map-embed,
    .company-location-card .map-embed {
        width: 100%;
        aspect-ratio: auto;
        min-height: clamp(240px, 72vw, 260px);
    }

    .location-map,
    .leaflet-container {
        min-height: clamp(240px, 72vw, 260px);
    }

    .leaflet-control-attribution {
        max-width: 100%;
        padding: 2px 6px !important;
        border-radius: 10px !important;
        font-size: 0.62rem !important;
    }

    .map-embed .leaflet-bottom .leaflet-control {
        margin-bottom: 8px;
    }

    .map-embed .leaflet-top .leaflet-control {
        margin-top: 8px;
    }

    .map-embed .leaflet-left .leaflet-control {
        margin-left: 8px;
    }

    .map-embed .leaflet-right .leaflet-control {
        margin-right: 8px;
    }

    .map-overlay {
        inset: 10px 10px auto 10px;
    }

    .map-reset-control {
        max-width: 100%;
        min-height: 32px;
        font-size: 0.75rem;
    }

    .company-location-card .map-actions {
        justify-items: stretch;
    }

    .company-location-card .map-action-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-points li {
        padding: 11px 12px;
    }
}

.company-overview-split > *,
.company-location-card,
.map-card,
.map-card > *,
.map-embed,
.location-map,
.map-overlay,
.map-reset-control {
    min-width: 0;
    box-sizing: border-box;
}

.map-card,
.map-embed,
.location-map,
.map-overlay,
.map-reset-control {
    max-width: 100%;
}

.map-card,
.map-embed,
.location-map {
    width: 100%;
}

.map-overlay {
    left: 10px;
    right: 10px;
    width: auto;
}

.map-embed .leaflet-control-container,
.map-embed .leaflet-bottom,
.map-embed .leaflet-right {
    max-width: 100%;
    box-sizing: border-box;
}
