/* =========================================================
   STEVE WEBDESIGN
   Global Styles
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --color-bg: #ffffff;
    --color-bg-soft: #f6f8f9;
    --color-bg-dark: #0c1114;

    --color-text: #11181c;
    --color-text-soft: #667078;
    --color-text-light: #ffffff;

    --color-primary: #00a3a3;
    --color-primary-hover: #008989;

    --color-border: #e5e9eb;

    --header-bg: rgba(255, 255, 255, 0.92);
    --card-bg: #ffffff;
    --theme-toggle-bg: #e9edef;

    --container-width: 1200px;
    --header-height: 82px;

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 24px;

    --shadow-small:
        0 5px 20px rgba(0, 0, 0, 0.05);

    --shadow-medium:
        0 15px 40px rgba(0, 0, 0, 0.08);

    --transition: 0.25s ease;
}


/* =========================================================
   2. DARK MODE VARIABLES
   ========================================================= */

html[data-theme="dark"] {
    --color-bg: #0b1013;
    --color-bg-soft: #10171b;
    --color-bg-dark: #050809;

    --color-text: #f3f6f7;
    --color-text-soft: #98a3a9;

    --color-border: rgba(255, 255, 255, 0.10);

    --header-bg: rgba(11, 16, 19, 0.90);
    --card-bg: #11191d;
    --theme-toggle-bg: #1b252a;

    --shadow-small:
        0 5px 20px rgba(0, 0, 0, 0.2);

    --shadow-medium:
        0 15px 40px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   3. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    color: var(--color-text);
    background: var(--color-bg);

    -webkit-font-smoothing: antialiased;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}


/* =========================================================
   4. GLOBAL LAYOUT
   ========================================================= */

main {
    min-height: 60vh;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section-soft {
    background: var(--color-bg-soft);
}

.section-dark {
    color: var(--color-text-light);
    background: var(--color-bg-dark);
}


/* =========================================================
   5. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    color: var(--color-text);

    line-height: 1.1;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
}

p {
    color: var(--color-text-soft);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--color-primary);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-primary {
    color: var(--color-primary);
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 26px;

    border-radius: var(--radius-small);

    font-weight: 600;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition),
        border-color var(--transition);
}

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

.button-primary {
    color: #ffffff;
    background: var(--color-primary);
}

.button-primary:hover {
    color: #ffffff;
    background: var(--color-primary-hover);
}

.button-dark {
    color: #ffffff;
    background: var(--color-bg-dark);
}

.button-dark:hover {
    background: #192126;
}

.button-outline {
    color: var(--color-text);

    border: 1px solid var(--color-border);

    background: transparent;
}

.button-outline:hover {
    color: var(--color-primary);

    border-color: var(--color-primary);
}


/* =========================================================
   7. HEADER
   ========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background: var(--header-bg);

    border-bottom:
        1px solid var(--color-border);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

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

    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    height: var(--header-height);

    margin-inline: auto;
}


/* =========================================================
   8. LOGO
   ========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    color: var(--color-text);

    font-size: 1.65rem;
    font-weight: 800;

    letter-spacing: -0.06em;
}

.logo-dot {
    color: var(--color-primary);
}


/* =========================================================
   9. DESKTOP NAVIGATION
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}

.main-navigation > a {
    position: relative;

    color: var(--color-text);

    font-size: 0.95rem;
    font-weight: 500;

    transition: color var(--transition);
}

.main-navigation > a:not(.nav-contact)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--color-primary);

    transition: width var(--transition);
}

.main-navigation > a:not(.nav-contact):hover::after,
.main-navigation > a:not(.nav-contact).active::after {
    width: 100%;
}

.main-navigation > a:hover,
.main-navigation > a.active {
    color: var(--color-primary);
}


/* Navigation CTA */

.main-navigation .nav-contact {
    padding: 11px 18px;

    color: #ffffff;
    background: #0c1114;

    border-radius: var(--radius-small);

    transition:
        background var(--transition),
        transform var(--transition);
}

.main-navigation .nav-contact:hover,
.main-navigation .nav-contact.active {
    color: #ffffff;
    background: var(--color-primary);

    transform: translateY(-2px);
}


/* =========================================================
   10. HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-left: 18px;
}


/* =========================================================
   11. THEME TOGGLE
   ========================================================= */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0;

    background: transparent;
}

.theme-toggle-track {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 64px;
    height: 32px;

    padding: 0 8px;

    background: var(--theme-toggle-bg);

    border: 1px solid var(--color-border);
    border-radius: 50px;

    transition:
        background var(--transition),
        border-color var(--transition);
}

.theme-icon {
    position: relative;

    z-index: 1;

    font-size: 13px;
    line-height: 1;

    pointer-events: none;
}

.theme-icon-sun {
    color: #e7a927;
}

.theme-icon-moon {
    color: #8796a0;
}

.theme-toggle-thumb {
    position: absolute;

    top: 3px;
    left: 3px;

    z-index: 2;

    width: 24px;
    height: 24px;

    background: #ffffff;

    border-radius: 50%;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

html[data-theme="dark"] .theme-toggle-thumb {
    background: var(--color-primary);

    transform: translateX(32px);
}

.theme-toggle:hover .theme-toggle-track {
    border-color: var(--color-primary);
}


/* =========================================================
   12. MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;

    position: relative;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    background: transparent;
}

.mobile-menu-button span {
    position: absolute;

    left: 8px;

    width: 26px;
    height: 2px;

    background: var(--color-text);

    transition:
        transform var(--transition),
        opacity var(--transition),
        top var(--transition),
        background var(--transition);
}

.mobile-menu-button span:nth-child(1) {
    top: 12px;
}

.mobile-menu-button span:nth-child(2) {
    top: 20px;
}

.mobile-menu-button span:nth-child(3) {
    top: 28px;
}


/* Animated X */

.mobile-menu-button.active span:nth-child(1) {
    top: 20px;

    transform: rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    top: 20px;

    transform: rotate(-45deg);
}


/* =========================================================
   13. MOBILE NAVIGATION
   ========================================================= */

.mobile-navigation {
    display: none;

    position: fixed;

    top: var(--header-height);
    left: 0;

    width: 100%;
    height: calc(100vh - var(--header-height));

    padding: 45px 24px;

    background: var(--color-bg);

    flex-direction: column;

    gap: 8px;

    overflow-y: auto;
}

.mobile-navigation.open {
    display: flex;
}

.mobile-navigation a {
    padding: 14px 0;

    color: var(--color-text);

    border-bottom:
        1px solid var(--color-border);

    font-size: 1.5rem;
    font-weight: 600;

    letter-spacing: -0.03em;
}

.mobile-navigation a.active {
    color: var(--color-primary);
}

.mobile-navigation .mobile-contact {
    margin-top: 20px;

    padding: 16px 20px;

    color: #ffffff;
    background: var(--color-primary);

    border: 0;
    border-radius: var(--radius-small);

    text-align: center;
}


/* =========================================================
   14. GENERIC CARDS
   ========================================================= */

.card {
    padding: 32px;

    background: var(--card-bg);

    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(0, 163, 163, 0.3);

    box-shadow: var(--shadow-medium);
}


/* =========================================================
   15. HOMEPAGE - HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    min-height:
        calc(100vh - var(--header-height));

    display: flex;
    align-items: center;

    padding: 100px 0 55px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 163, 163, 0.10),
            transparent 32%
        ),
        var(--color-bg);
}

.hero::after {
    content: "";

    position: absolute;

    top: 15%;
    right: -180px;

    width: 450px;
    height: 450px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.hero-container {
    position: relative;

    z-index: 2;
}

.hero-content {
    max-width: 1050px;
}

.hero h1 {
    max-width: 1050px;

    margin-bottom: 36px;

    font-size:
        clamp(3.5rem, 7.4vw, 7rem);

    line-height: 0.95;

    letter-spacing: -0.065em;
}

.hero-description {
    max-width: 650px;

    margin-bottom: 38px;

    font-size:
        clamp(1.05rem, 1.8vw, 1.25rem);

    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;
}


/* Hero Meta */

.hero-meta {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 95px;

    border-top:
        1px solid var(--color-border);
}

.hero-meta > div {
    position: relative;

    padding: 24px 25px 5px 0;
}

.hero-meta > div:not(:last-child) {
    border-right:
        1px solid var(--color-border);
}

.hero-meta > div:not(:first-child) {
    padding-left: 30px;
}

.hero-meta span {
    display: block;

    margin-bottom: 5px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.hero-meta p {
    color: var(--color-text);

    font-size: 0.95rem;
    font-weight: 600;
}


/* =========================================================
   16. HOMEPAGE - INTRO
   ========================================================= */

.intro-section {
    padding-top: 140px;
    padding-bottom: 140px;
}

.intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);

    gap: 110px;

    align-items: start;
}

.intro-grid h2 {
    max-width: 700px;
}

.intro-content {
    padding-top: 38px;
}

.intro-content p {
    margin-bottom: 22px;

    font-size: 1.08rem;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 10px;

    color: var(--color-text);

    font-weight: 650;
}

.text-link span {
    color: var(--color-primary);

    transition:
        transform var(--transition);
}

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

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   17. SECTION HEADINGS
   ========================================================= */

.section-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(280px, 0.6fr);

    align-items: end;

    gap: 70px;

    margin-bottom: 70px;
}

.section-heading > p {
    max-width: 430px;

    justify-self: end;

    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   18. HOMEPAGE - SERVICES
   ========================================================= */

.services-section {
    overflow: hidden;
}

.services-grid {
    border-top:
        1px solid var(--color-border);
}

.service-card {
    display: grid;

    grid-template-columns:
        80px
        minmax(0, 1fr)
        60px;

    align-items: center;

    gap: 30px;

    min-height: 180px;

    border-bottom:
        1px solid var(--color-border);

    transition:
        padding var(--transition),
        background var(--transition);
}

.service-card:hover {
    padding-left: 22px;
    padding-right: 22px;

    background: var(--card-bg);
}

.service-number {
    color: var(--color-primary);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

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

    font-size:
        clamp(1.7rem, 3vw, 2.5rem);
}

.service-card p {
    max-width: 620px;

    line-height: 1.7;
}

.service-card > a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    color: var(--color-text);

    border:
        1px solid var(--color-border);

    border-radius: 50%;

    font-size: 1.25rem;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.service-card:hover > a {
    color: #ffffff;
    background: var(--color-primary);

    border-color: var(--color-primary);

    transform: rotate(-45deg);
}


/* =========================================================
   19. HOMEPAGE - WHY
   ========================================================= */

.why-section {
    padding-top: 150px;
    padding-bottom: 150px;
}

.why-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.8fr);

    gap: 120px;
}

.why-title {
    position: sticky;

    top: 140px;

    align-self: start;
}

.why-content {
    border-top:
        1px solid var(--color-border);
}

.why-item {
    display: grid;

    grid-template-columns:
        50px 1fr;

    gap: 25px;

    padding: 38px 0;

    border-bottom:
        1px solid var(--color-border);
}

.why-item > span {
    padding-top: 4px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;
}

.why-item h3 {
    margin-bottom: 12px;

    font-size: 1.35rem;
}

.why-item p {
    max-width: 500px;

    line-height: 1.75;
}


/* =========================================================
   20. HOMEPAGE - PROJECTS
   ========================================================= */

.projects-section .section-heading {
    margin-bottom: 65px;
}

.projects-section .section-heading > p {
    color:
        rgba(255, 255, 255, 0.6);
}

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 28px;
}

.project-card {
    cursor: pointer;
}

.project-image {
    overflow: hidden;

    aspect-ratio: 16 / 11;

    margin-bottom: 24px;

    border-radius: var(--radius-medium);

    background:
        linear-gradient(
            135deg,
            #161f24,
            #1f3036
        );
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color:
        rgba(255, 255, 255, 0.12);

    font-size:
        clamp(2rem, 5vw, 4.5rem);

    font-weight: 800;

    letter-spacing: -0.06em;

    transition:
        transform 0.5s ease,
        color 0.5s ease;
}

.project-card:hover .project-placeholder {
    color:
        rgba(0, 163, 163, 0.65);

    transform: scale(1.04);
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.project-info > div > span {
    display: block;

    margin-bottom: 6px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-info h3 {
    color: #ffffff;

    font-size: 1.5rem;
}

.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    font-size: 1.2rem;

    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.project-card:hover .project-arrow {
    color: #ffffff;
    background: var(--color-primary);

    border-color: var(--color-primary);

    transform: rotate(45deg);
}

.projects-button {
    display: flex;
    justify-content: center;

    margin-top: 65px;
}

.projects-section .button-outline {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.2);
}

.projects-section .button-outline:hover {
    color: #ffffff;

    border-color: var(--color-primary);
}


/* =========================================================
   21. HOMEPAGE - PROCESS
   ========================================================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--color-border);
}

.process-item {
    min-height: 310px;

    padding: 32px 28px 30px 0;

    border-bottom:
        1px solid var(--color-border);
}

.process-item:not(:last-child) {
    padding-right: 28px;

    border-right:
        1px solid var(--color-border);
}

.process-item:not(:first-child) {
    padding-left: 28px;
}

.process-number {
    display: block;

    margin-bottom: 75px;

    color: var(--color-primary);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.process-item h3 {
    margin-bottom: 14px;

    font-size: 1.35rem;
}

.process-item p {
    line-height: 1.7;
}


/* =========================================================
   22. HOMEPAGE - CTA
   ========================================================= */

.cta-section {
    padding: 40px 0 110px;

    background: var(--color-bg);
}

.cta-box {
    position: relative;

    overflow: hidden;

    padding: 90px;

    color: #ffffff;
    background: #0c1114;

    border-radius: var(--radius-large);
}

.cta-box::after {
    content: "";

    position: absolute;

    right: -120px;
    bottom: -200px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.25);

    border-radius: 50%;

    pointer-events: none;
}

.cta-box::before {
    content: "";

    position: absolute;

    right: 20px;
    bottom: -240px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.cta-box h2 {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin-bottom: 24px;

    color: #ffffff;
}

.cta-box p {
    position: relative;

    z-index: 2;

    max-width: 580px;

    margin-bottom: 35px;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 1.05rem;
    line-height: 1.75;
}

.cta-box .button {
    position: relative;

    z-index: 2;
}


/* =========================================================
   23. FOOTER
   ========================================================= */

.site-footer {
    padding: 85px 0 30px;

    color: #ffffff;
    background: #0c1114;
}

.footer-container {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-inline: auto;
}

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(160px, 1fr)
        minmax(180px, 1fr);

    gap: 70px;

    padding-bottom: 65px;
}

.footer-brand {
    max-width: 440px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 18px;

    color: #ffffff;

    font-size: 2rem;
    font-weight: 800;

    letter-spacing: -0.06em;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-claim {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 1.1rem;
    font-weight: 600;
}

.footer-description {
    max-width: 380px;

    color:
        rgba(255, 255, 255, 0.58);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 22px;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 0.75rem;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 11px;
}

.footer-column a,
.footer-column span {
    color:
        rgba(255, 255, 255, 0.72);

    transition:
        color var(--transition);
}

.footer-column a:hover {
    color: var(--color-primary);
}


/* Footer Bottom */

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

    gap: 30px;

    padding-top: 28px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color:
        rgba(255, 255, 255, 0.4);

    font-size: 0.85rem;
}

.footer-legal {
    display: flex;

    gap: 25px;
}

.footer-legal a {
    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.85rem;

    transition:
        color var(--transition);
}

.footer-legal a:hover {
    color: #ffffff;
}


/* =========================================================
   24. DARK MODE SPECIAL CASES
   ========================================================= */

html[data-theme="dark"] .hero {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 163, 163, 0.13),
            transparent 32%
        ),
        var(--color-bg);
}

html[data-theme="dark"] .service-card:hover {
    background: #11191d;
}

html[data-theme="dark"] .button-outline {
    background:
        rgba(255, 255, 255, 0.015);
}

html[data-theme="dark"] .button-outline:hover {
    background:
        rgba(0, 163, 163, 0.06);
}

html[data-theme="dark"] .project-image {
    background:
        linear-gradient(
            135deg,
            #11191d,
            #16252b
        );
}

html[data-theme="dark"] .cta-box {
    background: #050809;

    border:
        1px solid rgba(255, 255, 255, 0.08);
}


/* =========================================================
   25. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline:
        3px solid rgba(0, 163, 163, 0.4);

    outline-offset: 4px;
}

::selection {
    color: #ffffff;
    background: var(--color-primary);
}


/* =========================================================
   26. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .hero {
        min-height: auto;

        padding-top: 90px;
    }

    .intro-grid,
    .why-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .intro-content {
        max-width: 650px;

        padding-top: 0;
    }

    .why-title {
        position: static;
    }

    .section-heading {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .section-heading > p {
        justify-self: start;
    }

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

    .process-item:nth-child(2) {
        border-right: 0;
    }

    .process-item:nth-child(3) {
        padding-left: 0;
    }
}


/* =========================================================
   27. RESPONSIVE - NAVIGATION
   ========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 72px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .header-actions {
        margin-left: auto;
    }

    .section {
        padding: 85px 0;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   28. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .hero {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .hero h1 {
        margin-bottom: 28px;

        font-size:
            clamp(3rem, 15vw, 5rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-meta {
        grid-template-columns: 1fr;

        margin-top: 65px;
    }

    .hero-meta > div {
        padding: 18px 0;

        border-right: 0 !important;
        border-bottom:
            1px solid var(--color-border);
    }

    .hero-meta > div:not(:first-child) {
        padding-left: 0;
    }

    .intro-section,
    .why-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .service-card {
        grid-template-columns:
            45px minmax(0, 1fr);

        gap: 15px;

        padding: 30px 0;
    }

    .service-card:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .service-card > a {
        display: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

    .process-item,
    .process-item:not(:last-child),
    .process-item:not(:first-child) {
        min-height: auto;

        padding: 30px 0;

        border-right: 0;
        border-bottom:
            1px solid var(--color-border);
    }

    .process-number {
        margin-bottom: 35px;
    }

    .cta-section {
        padding-bottom: 70px;
    }

    .cta-box {
        padding: 55px 28px;
    }

    .cta-box h2 br {
        display: none;
    }
}


/* =========================================================
   29. RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container,
    .header-container,
    .footer-container {
        width: min(
            calc(100% - 32px),
            var(--container-width)
        );
    }

    h1 {
        font-size:
            clamp(2.7rem, 15vw, 4.3rem);
    }

    h2 {
        font-size:
            clamp(2rem, 10vw, 3rem);
    }

    .section {
        padding: 70px 0;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: auto;
    }

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

    .footer-legal {
        flex-wrap: wrap;
    }
}


/* =========================================================
   30. RESPONSIVE - VERY SMALL
   ========================================================= */

@media (max-width: 450px) {

    .hero::after {
        display: none;
    }

    .service-card {
        grid-template-columns:
            35px 1fr;
    }

    .why-item {
        grid-template-columns:
            35px 1fr;

        gap: 15px;
    }

    .project-info h3 {
        font-size: 1.25rem;
    }

    .theme-toggle-track {
        width: 58px;
    }

    .theme-toggle-thumb {
        width: 22px;
        height: 22px;

        top: 4px;
    }

    html[data-theme="dark"] .theme-toggle-thumb {
        transform: translateX(28px);
    }
}


/* =========================================================
   31. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }
}

/* =========================================================
   LEISTUNGEN PAGE
   ========================================================= */


/* =========================================================
   SERVICES HERO
   ========================================================= */

.services-hero {
    position: relative;

    overflow: hidden;

    padding: 130px 0 55px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.10),
            transparent 30%
        ),
        var(--color-bg);
}

.services-hero::after {
    content: "";

    position: absolute;

    top: 50px;
    right: -180px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.services-hero-content {
    position: relative;

    z-index: 2;

    max-width: 1050px;
}

.services-hero h1 {
    max-width: 1000px;

    margin-bottom: 38px;

    font-size:
        clamp(3.5rem, 7vw, 6.5rem);

    line-height: 0.96;

    letter-spacing: -0.065em;
}

.services-hero-content > p {
    max-width: 650px;

    font-size:
        clamp(1.05rem, 1.8vw, 1.25rem);

    line-height: 1.75;
}


/* Hero Bottom */

.services-hero-bottom {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 100px;

    border-top:
        1px solid var(--color-border);

    border-bottom:
        1px solid var(--color-border);
}

.services-hero-bottom span {
    position: relative;

    padding: 22px 25px;

    color: var(--color-text-soft);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        color var(--transition),
        background var(--transition);
}

.services-hero-bottom span:first-child {
    padding-left: 0;
}

.services-hero-bottom span:not(:last-child) {
    border-right:
        1px solid var(--color-border);
}

.services-hero-bottom span::before {
    content: "";

    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 10px;

    background: var(--color-primary);

    border-radius: 50%;

    vertical-align: middle;
}


/* =========================================================
   SERVICE DETAILS
   ========================================================= */

.services-detail-section {
    padding-top: 60px;
    padding-bottom: 150px;
}

.service-detail {
    display: grid;

    grid-template-columns:
        80px
        minmax(300px, 1fr)
        minmax(300px, 0.75fr);

    gap: 60px;

    padding: 85px 0;

    border-bottom:
        1px solid var(--color-border);
}

.service-detail:first-child {
    border-top:
        1px solid var(--color-border);
}

.service-detail-number {
    padding-top: 9px;

    color: var(--color-primary);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.service-detail-title .eyebrow {
    margin-bottom: 18px;
}

.service-detail-title h2 {
    max-width: 600px;

    font-size:
        clamp(2rem, 4vw, 3.5rem);

    line-height: 1.05;
}

.service-detail-content {
    padding-top: 38px;
}

.service-detail-content > p {
    margin-bottom: 32px;

    font-size: 1.03rem;
    line-height: 1.8;
}


/* Service Feature List */

.service-detail-content ul {
    border-top:
        1px solid var(--color-border);
}

.service-detail-content li {
    position: relative;

    padding: 13px 0 13px 27px;

    color: var(--color-text);

    border-bottom:
        1px solid var(--color-border);

    font-size: 0.92rem;
}

.service-detail-content li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-primary);

    font-weight: 700;
}


/* Service Hover */

.service-detail {
    transition:
        padding var(--transition);
}

.service-detail:hover {
    padding-left: 18px;
    padding-right: 18px;
}


/* =========================================================
   INCLUDED
   ========================================================= */

.included-section {
    overflow: hidden;
}

.included-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--color-border);
}

.included-item {
    min-height: 280px;

    padding: 30px 28px 35px 0;

    border-bottom:
        1px solid var(--color-border);
}

.included-item:not(:last-child) {
    padding-right: 28px;

    border-right:
        1px solid var(--color-border);
}

.included-item:not(:first-child) {
    padding-left: 28px;
}

.included-item > span {
    display: block;

    margin-bottom: 65px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.included-item h3 {
    margin-bottom: 14px;

    font-size: 1.3rem;
}

.included-item p {
    line-height: 1.7;
}


/* =========================================================
   TARGET GROUP
   ========================================================= */

.target-section {
    padding-top: 150px;
    padding-bottom: 150px;
}

.target-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.8fr);

    gap: 120px;
}

.target-heading {
    position: sticky;

    top: 140px;

    align-self: start;
}

.target-content {
    border-top:
        1px solid var(--color-border);
}

.target-item {
    display: grid;

    grid-template-columns:
        50px 1fr;

    gap: 25px;

    padding: 38px 0;

    border-bottom:
        1px solid var(--color-border);
}

.target-item > span {
    padding-top: 4px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;
}

.target-item h3 {
    margin-bottom: 12px;

    font-size: 1.35rem;
}

.target-item p {
    max-width: 500px;

    line-height: 1.75;
}


/* =========================================================
   SERVICE PROCESS
   ========================================================= */

.service-process-section {
    overflow: hidden;
}

.service-process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.service-process-grid > div {
    min-height: 300px;

    padding: 32px 28px 30px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.service-process-grid > div:not(:last-child) {
    padding-right: 28px;

    border-right:
        1px solid rgba(255, 255, 255, 0.12);
}

.service-process-grid > div:not(:first-child) {
    padding-left: 28px;
}

.service-process-grid > div > span {
    display: block;

    margin-bottom: 75px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.service-process-grid h3 {
    margin-bottom: 14px;

    color: #ffffff;

    font-size: 1.35rem;
}

.service-process-grid p {
    color:
        rgba(255, 255, 255, 0.62);

    line-height: 1.7;
}


/* =========================================================
   LEISTUNGEN DARK MODE
   ========================================================= */

html[data-theme="dark"] .services-hero {
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.14),
            transparent 30%
        ),
        var(--color-bg);
}

html[data-theme="dark"]
.services-hero-bottom span:hover {
    color: var(--color-text);

    background:
        rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"]
.service-detail-content li {
    color: var(--color-text);
}


/* =========================================================
   LEISTUNGEN RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .service-detail {
        grid-template-columns:
            60px
            minmax(0, 1fr);

        gap: 35px;
    }

    .service-detail-content {
        grid-column: 2;

        max-width: 650px;

        padding-top: 0;
    }

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

    .included-item:nth-child(2) {
        border-right: 0;
    }

    .included-item:nth-child(3) {
        padding-left: 0;
    }

    .target-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .target-heading {
        position: static;
    }

    .service-process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-process-grid > div:nth-child(2) {
        border-right: 0;
    }

    .service-process-grid > div:nth-child(3) {
        padding-left: 0;
    }

}


@media (max-width: 700px) {

    .services-hero {
        padding-top: 80px;
        padding-bottom: 35px;
    }

    .services-hero h1 {
        font-size:
            clamp(3rem, 15vw, 5rem);
    }

    .services-hero-bottom {
        grid-template-columns:
            repeat(2, 1fr);

        margin-top: 65px;
    }

    .services-hero-bottom span {
        padding: 17px 15px;
    }

    .services-hero-bottom span:first-child {
        padding-left: 15px;
    }

    .services-hero-bottom span:nth-child(2) {
        border-right: 0;
    }

    .services-hero-bottom span:nth-child(-n + 2) {
        border-bottom:
            1px solid var(--color-border);
    }


    /* Services */

    .services-detail-section {
        padding-top: 30px;
        padding-bottom: 90px;
    }

    .service-detail {
        grid-template-columns:
            35px
            minmax(0, 1fr);

        gap: 15px;

        padding: 55px 0;
    }

    .service-detail:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .service-detail-content {
        grid-column: 1 / -1;

        padding-left: 50px;
    }


    /* Included */

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

    .included-item,
    .included-item:not(:last-child),
    .included-item:not(:first-child) {
        min-height: auto;

        padding: 30px 0;

        border-right: 0;
        border-bottom:
            1px solid var(--color-border);
    }

    .included-item > span {
        margin-bottom: 30px;
    }


    /* Target */

    .target-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }


    /* Process */

    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .service-process-grid > div,
    .service-process-grid > div:not(:last-child),
    .service-process-grid > div:not(:first-child) {
        min-height: auto;

        padding: 30px 0;

        border-right: 0;
        border-bottom:
            1px solid rgba(255, 255, 255, 0.12);
    }

    .service-process-grid > div > span {
        margin-bottom: 35px;
    }

}


@media (max-width: 450px) {

    .services-hero-bottom {
        grid-template-columns: 1fr;
    }

    .services-hero-bottom span,
    .services-hero-bottom span:first-child {
        padding: 15px 0;

        border-right: 0;
        border-bottom:
            1px solid var(--color-border);
    }

    .service-detail {
        grid-template-columns: 30px 1fr;
    }

    .service-detail-content {
        padding-left: 45px;
    }

    .target-item {
        grid-template-columns:
            35px 1fr;

        gap: 15px;
    }

}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding-top: 140px;
    padding-bottom: 140px;
}

.faq-grid {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.8fr)
        minmax(400px, 1.2fr);

    gap: 120px;

    align-items: start;
}


/* =========================================================
   FAQ HEADING
   ========================================================= */

.faq-heading {
    position: sticky;

    top: 140px;
}

.faq-heading h2 {
    margin-bottom: 28px;
}

.faq-heading > p {
    max-width: 420px;

    font-size: 1.03rem;
    line-height: 1.75;
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.faq-list {
    border-top:
        1px solid var(--color-border);
}


/* =========================================================
   FAQ ITEM
   ========================================================= */

.faq-item {
    border-bottom:
        1px solid var(--color-border);
}

.faq-item summary {
    display: grid;

    grid-template-columns:
        45px
        minmax(0, 1fr)
        42px;

    align-items: center;

    gap: 20px;

    min-height: 100px;

    cursor: pointer;

    list-style: none;
}


/* Standard-Pfeil entfernen */

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
    content: "";
}


/* =========================================================
   FAQ NUMBER
   ========================================================= */

.faq-number {
    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* =========================================================
   FAQ QUESTION
   ========================================================= */

.faq-question {
    color: var(--color-text);

    font-size: 1.12rem;
    font-weight: 650;

    line-height: 1.4;

    transition:
        color var(--transition);
}

.faq-item summary:hover
.faq-question {
    color: var(--color-primary);
}


/* =========================================================
   FAQ ICON
   ========================================================= */

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--color-text);

    border:
        1px solid var(--color-border);

    border-radius: 50%;

    font-size: 1.25rem;
    font-weight: 300;

    transition:
        transform 0.3s ease,
        color var(--transition),
        background var(--transition),
        border-color var(--transition);
}


/* Geöffnet */

.faq-item[open]
.faq-icon {
    color: #ffffff;

    background: var(--color-primary);

    border-color: var(--color-primary);

    transform: rotate(45deg);
}


/* =========================================================
   FAQ ANSWER
   ========================================================= */

.faq-answer {
    max-width: 650px;

    padding:
        0
        62px
        38px
        65px;
}

.faq-answer p {
    margin-bottom: 15px;

    line-height: 1.8;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FAQ HOVER
   ========================================================= */

.faq-item summary:hover
.faq-icon {
    border-color: var(--color-primary);
}


/* =========================================================
   FAQ DARK MODE
   ========================================================= */

html[data-theme="dark"]
.faq-icon {
    background:
        rgba(255, 255, 255, 0.02);
}

html[data-theme="dark"]
.faq-item[open]
.faq-icon {
    background: var(--color-primary);
}


/* =========================================================
   FAQ RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .faq-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .faq-heading {
        position: static;

        max-width: 700px;
    }

}


@media (max-width: 700px) {

    .faq-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .faq-item summary {
        grid-template-columns:
            30px
            minmax(0, 1fr)
            36px;

        gap: 12px;

        min-height: 90px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-icon {
        width: 34px;
        height: 34px;

        font-size: 1.1rem;
    }

    .faq-answer {
        padding:
            0
            48px
            30px
            42px;
    }

}


@media (max-width: 450px) {

    .faq-item summary {
        grid-template-columns:
            25px
            minmax(0, 1fr)
            32px;

        gap: 10px;
    }

    .faq-number {
        font-size: 0.65rem;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
    }

    .faq-answer {
        padding:
            0
            0
            28px
            35px;
    }

}

/* =========================================================
   REFERENZEN PAGE
   ========================================================= */


/* =========================================================
   REFERENCES HERO
   ========================================================= */

.references-hero {
    position: relative;

    overflow: hidden;

    padding: 130px 0 55px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.10),
            transparent 30%
        ),
        var(--color-bg);
}

.references-hero::after {
    content: "";

    position: absolute;

    top: 30px;
    right: -170px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.references-hero::before {
    content: "";

    position: absolute;

    top: 130px;
    right: -240px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.references-hero-content {
    position: relative;

    z-index: 2;

    max-width: 1050px;
}

.references-hero h1 {
    max-width: 1000px;

    margin-bottom: 38px;

    font-size:
        clamp(3.5rem, 7vw, 6.5rem);

    line-height: 0.96;

    letter-spacing: -0.065em;
}

.references-hero-content > p {
    max-width: 650px;

    font-size:
        clamp(1.05rem, 1.8vw, 1.25rem);

    line-height: 1.75;
}


/* =========================================================
   REFERENCES HERO META
   ========================================================= */

.references-hero-meta {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 100px;

    border-top:
        1px solid var(--color-border);
}

.references-hero-meta > div {
    padding: 24px 25px 5px 0;
}

.references-hero-meta > div:not(:last-child) {
    border-right:
        1px solid var(--color-border);
}

.references-hero-meta > div:not(:first-child) {
    padding-left: 30px;
}

.references-hero-meta span {
    display: block;

    margin-bottom: 5px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.references-hero-meta p {
    color: var(--color-text);

    font-size: 0.95rem;
    font-weight: 600;
}


/* =========================================================
   REFERENCES INTRO
   ========================================================= */

.references-intro {
    padding-top: 140px;
    padding-bottom: 140px;
}

.references-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap: 110px;

    align-items: start;
}

.references-intro-grid h2 {
    max-width: 700px;
}

.references-intro-grid > div:last-child {
    padding-top: 38px;
}

.references-intro-grid > div:last-child p {
    margin-bottom: 22px;

    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   REFERENCES PROJECTS
   ========================================================= */

.references-projects {
    padding-top: 140px;
    padding-bottom: 140px;
}

.reference-project {
    position: relative;

    display: grid;

    grid-template-columns:
        45px
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);

    gap: 55px;

    align-items: center;

    padding: 100px 0;

    border-bottom:
        1px solid var(--color-border);
}

.reference-project:first-child {
    padding-top: 20px;
}

.reference-project:last-child {
    padding-bottom: 20px;

    border-bottom: 0;
}


/* =========================================================
   PROJECT NUMBER
   ========================================================= */

.reference-project-number {
    align-self: start;

    padding-top: 15px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}


/* =========================================================
   REVERSE PROJECT
   ========================================================= */

.reference-project-reverse {
    grid-template-columns:
        45px
        minmax(300px, 0.75fr)
        minmax(0, 1.25fr);
}

.reference-project-reverse
.reference-project-content {
    grid-column: 2;
    grid-row: 1;
}

.reference-project-reverse
.reference-project-visual {
    grid-column: 3;
    grid-row: 1;
}

.reference-project-reverse
.reference-project-number {
    grid-column: 1;
    grid-row: 1;
}


/* =========================================================
   BROWSER MOCKUP
   ========================================================= */

.reference-project-visual {
    min-width: 0;

    perspective: 1200px;
}

.reference-browser {
    overflow: hidden;

    border:
        1px solid var(--color-border);

    border-radius: 14px;

    background: var(--card-bg);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.3s ease;
}

.reference-project:hover
.reference-browser {
    border-color:
        rgba(0, 163, 163, 0.3);

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.14);

    transform:
        translateY(-8px);
}


/* =========================================================
   BROWSER BAR
   ========================================================= */

.reference-browser-bar {
    display: flex;
    align-items: center;

    min-height: 45px;

    padding: 0 15px;

    background: var(--card-bg);

    border-bottom:
        1px solid var(--color-border);
}

.browser-dots {
    display: flex;

    gap: 6px;

    width: 65px;
}

.browser-dots span {
    display: block;

    width: 8px;
    height: 8px;

    background:
        var(--color-border);

    border-radius: 50%;
}

.browser-dots span:first-child {
    background:
        rgba(0, 163, 163, 0.8);
}

.browser-address {
    overflow: hidden;

    flex: 1;

    color: var(--color-text-soft);

    font-size: 0.7rem;

    text-align: center;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   PROJECT SCREEN
   ========================================================= */

.reference-screen {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(0, 163, 163, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0c1114,
            #16242a
        );
}


/* Decorative grid */

.reference-screen::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.18;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size:
        40px 40px;
}


/* Cyan Glow */

.reference-screen::after {
    content: "";

    position: absolute;

    right: -120px;
    bottom: -150px;

    width: 330px;
    height: 330px;

    border:
        1px solid rgba(0, 163, 163, 0.35);

    border-radius: 50%;
}


/* =========================================================
   SCREEN CONTENT
   ========================================================= */

.reference-screen-content {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;

    width: 100%;

    gap: 12px;
}

.reference-screen-content > span {
    color: var(--color-primary);

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.reference-screen-content strong {
    max-width: 480px;

    color: #ffffff;

    font-size:
        clamp(2rem, 4vw, 4rem);

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.reference-screen-content small {
    margin-top: 10px;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 0.75rem;
}


/* =========================================================
   LIGHT PROJECT SCREEN
   ========================================================= */

.reference-screen-light {
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(0, 163, 163, 0.15),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f4f7f8,
            #ffffff
        );
}

.reference-screen-light::before {
    background-image:
        linear-gradient(
            rgba(17, 24, 28, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(17, 24, 28, 0.05) 1px,
            transparent 1px
        );
}

.reference-screen-light
.reference-screen-content strong {
    color: #11181c;
}

.reference-screen-light
.reference-screen-content small {
    color:
        rgba(17, 24, 28, 0.45);
}


/* =========================================================
   PROJECT CONTENT
   ========================================================= */

.reference-project-content {
    max-width: 470px;
}

.reference-type {
    display: block;

    margin-bottom: 18px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reference-project-content h2 {
    margin-bottom: 24px;

    font-size:
        clamp(2rem, 3.5vw, 3.4rem);
}

.reference-project-content > p {
    margin-bottom: 30px;

    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   PROJECT TAGS
   ========================================================= */

.reference-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.reference-tags span {
    padding: 7px 11px;

    color: var(--color-text-soft);

    background:
        rgba(0, 163, 163, 0.05);

    border:
        1px solid var(--color-border);

    border-radius: 50px;

    font-size: 0.7rem;
    font-weight: 600;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.reference-project:hover
.reference-tags span {
    border-color:
        rgba(0, 163, 163, 0.25);
}


/* =========================================================
   PHILOSOPHY
   ========================================================= */

.references-philosophy {
    padding-top: 150px;
    padding-bottom: 150px;
}

.philosophy-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.8fr);

    gap: 120px;
}

.philosophy-heading {
    position: sticky;

    top: 140px;

    align-self: start;
}

.philosophy-content {
    border-top:
        1px solid var(--color-border);
}

.philosophy-item {
    display: grid;

    grid-template-columns:
        50px
        minmax(0, 1fr);

    gap: 25px;

    padding: 38px 0;

    border-bottom:
        1px solid var(--color-border);
}

.philosophy-item > span {
    padding-top: 4px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;
}

.philosophy-item h3 {
    margin-bottom: 12px;

    font-size: 1.35rem;
}

.philosophy-item p {
    max-width: 500px;

    line-height: 1.75;
}


/* =========================================================
   REFERENCES DARK MODE
   ========================================================= */

html[data-theme="dark"]
.references-hero {
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.14),
            transparent 30%
        ),
        var(--color-bg);
}

html[data-theme="dark"]
.reference-browser {
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"]
.reference-project:hover
.reference-browser {
    box-shadow:
        0 35px 85px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"]
.reference-tags span {
    background:
        rgba(0, 163, 163, 0.07);
}


/* =========================================================
   REFERENCES RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .reference-project,
    .reference-project-reverse {
        grid-template-columns:
            40px
            minmax(0, 1fr);

        gap: 35px;
    }

    .reference-project-number,
    .reference-project-reverse
    .reference-project-number {
        grid-column: 1;
        grid-row: 1;
    }

    .reference-project-visual,
    .reference-project-reverse
    .reference-project-visual {
        grid-column: 2;
        grid-row: 1;
    }

    .reference-project-content,
    .reference-project-reverse
    .reference-project-content {
        grid-column: 2;
        grid-row: 2;

        max-width: 700px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .philosophy-heading {
        position: static;
    }

}


/* =========================================================
   REFERENCES RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .references-hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .references-hero h1 {
        font-size:
            clamp(3rem, 15vw, 5rem);
    }

    .references-hero-meta {
        grid-template-columns: 1fr;

        margin-top: 65px;
    }

    .references-hero-meta > div {
        padding: 18px 0;

        border-right: 0 !important;
        border-bottom:
            1px solid var(--color-border);
    }

    .references-hero-meta
    > div:not(:first-child) {
        padding-left: 0;
    }


    /* Intro */

    .references-intro {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .references-intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .references-intro-grid
    > div:last-child {
        padding-top: 0;
    }


    /* Projects */

    .references-projects {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .reference-project,
    .reference-project-reverse {
        grid-template-columns:
            30px
            minmax(0, 1fr);

        gap: 15px;

        padding: 70px 0;
    }

    .reference-project:first-child {
        padding-top: 0;
    }

    .reference-project-number,
    .reference-project-reverse
    .reference-project-number {
        grid-column: 1;
        grid-row: 1;

        padding-top: 10px;
    }

    .reference-project-visual,
    .reference-project-reverse
    .reference-project-visual {
        grid-column: 2;
        grid-row: 1;
    }

    .reference-project-content,
    .reference-project-reverse
    .reference-project-content {
        grid-column: 1 / -1;
        grid-row: 2;

        padding-left: 45px;
    }

    .reference-screen {
        padding: 30px;
    }

    .reference-screen-content strong {
        font-size:
            clamp(1.7rem, 8vw, 3rem);
    }


    /* Philosophy */

    .references-philosophy {
        padding-top: 90px;
        padding-bottom: 90px;
    }

}


/* =========================================================
   REFERENCES RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .references-hero::after,
    .references-hero::before {
        display: none;
    }

    .reference-project,
    .reference-project-reverse {
        grid-template-columns: 1fr;
    }

    .reference-project-number,
    .reference-project-reverse
    .reference-project-number {
        grid-column: 1;
        grid-row: 1;

        padding: 0;
    }

    .reference-project-visual,
    .reference-project-reverse
    .reference-project-visual {
        grid-column: 1;
        grid-row: 2;
    }

    .reference-project-content,
    .reference-project-reverse
    .reference-project-content {
        grid-column: 1;
        grid-row: 3;

        padding-left: 0;
    }

    .reference-browser-bar {
        min-height: 40px;
    }

    .browser-address {
        font-size: 0.62rem;
    }

    .reference-screen {
        padding: 25px;

        aspect-ratio: 4 / 3;
    }

    .reference-screen-content strong {
        font-size: 1.8rem;
    }

    .philosophy-item {
        grid-template-columns:
            35px 1fr;

        gap: 15px;
    }

}

/* =========================================================
   ÜBER MICH PAGE
   ========================================================= */


/* =========================================================
   ABOUT HERO
   ========================================================= */

.about-hero {
    position: relative;

    overflow: hidden;

    padding: 130px 0 55px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.10),
            transparent 30%
        ),
        var(--color-bg);
}

.about-hero::after {
    content: "";

    position: absolute;

    top: 40px;
    right: -170px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.about-hero::before {
    content: "";

    position: absolute;

    top: 140px;
    right: -240px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.about-hero-content {
    position: relative;

    z-index: 2;

    max-width: 1050px;
}

.about-hero h1 {
    max-width: 1000px;

    margin-bottom: 38px;

    font-size:
        clamp(3.5rem, 7vw, 6.5rem);

    line-height: 0.96;

    letter-spacing: -0.065em;
}

.about-hero-content > p {
    max-width: 650px;

    font-size:
        clamp(1.05rem, 1.8vw, 1.25rem);

    line-height: 1.75;
}


/* =========================================================
   ABOUT HERO META
   ========================================================= */

.about-hero-meta {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 100px;

    border-top:
        1px solid var(--color-border);
}

.about-hero-meta > div {
    padding: 24px 25px 5px 0;
}

.about-hero-meta > div:not(:last-child) {
    border-right:
        1px solid var(--color-border);
}

.about-hero-meta > div:not(:first-child) {
    padding-left: 30px;
}

.about-hero-meta span {
    display: block;

    margin-bottom: 5px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.about-hero-meta p {
    color: var(--color-text);

    font-size: 0.95rem;
    font-weight: 600;
}


/* =========================================================
   ABOUT INTRO
   ========================================================= */

.about-intro {
    padding-top: 150px;
    padding-bottom: 150px;
}

.about-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(320px, 0.8fr)
        minmax(0, 1.2fr);

    gap: 120px;

    align-items: center;
}


/* =========================================================
   ABOUT PORTRAIT
   ========================================================= */

.about-portrait {
    position: relative;

    width: 100%;

    max-width: 500px;
}

.about-portrait::before {
    content: "";

    position: absolute;

    top: 30px;
    left: 30px;

    width: 100%;
    height: 100%;

    border:
        1px solid rgba(0, 163, 163, 0.30);

    border-radius: var(--radius-medium);

    pointer-events: none;
}

.about-portrait-placeholder {
    position: relative;

    z-index: 2;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 45px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 163, 163, 0.35),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #0c1114,
            #18272d
        );

    border-radius: var(--radius-medium);

    box-shadow:
        var(--shadow-medium);
}

.about-portrait-placeholder::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size:
        45px 45px;

    pointer-events: none;
}

.about-portrait-placeholder::after {
    content: "";

    position: absolute;

    top: -120px;
    right: -150px;

    width: 350px;
    height: 350px;

    border:
        1px solid rgba(0, 163, 163, 0.45);

    border-radius: 50%;

    pointer-events: none;
}

.about-portrait-small,
.about-portrait-placeholder strong,
.about-portrait-location {
    position: relative;

    z-index: 2;
}

.about-portrait-small {
    margin-bottom: 15px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.about-portrait-placeholder strong {
    max-width: 400px;

    color: #ffffff;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height: 0.95;

    letter-spacing: -0.06em;
}

.about-portrait-location {
    margin-top: 30px;

    color:
        rgba(255, 255, 255, 0.45);

    font-size: 0.75rem;

    letter-spacing: 0.05em;
}


/* =========================================================
   ABOUT INTRO CONTENT
   ========================================================= */

.about-intro-content {
    max-width: 650px;
}

.about-intro-content h2 {
    margin-bottom: 35px;

    max-width: 650px;
}

.about-intro-content p {
    margin-bottom: 22px;

    font-size: 1.05rem;
    line-height: 1.85;
}


/* =========================================================
   ABOUT APPROACH
   ========================================================= */

.about-approach {
    overflow: hidden;
}

.about-values-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--color-border);
}

.about-value {
    min-height: 330px;

    padding: 32px 28px 35px 0;

    border-bottom:
        1px solid var(--color-border);
}

.about-value:not(:last-child) {
    padding-right: 28px;

    border-right:
        1px solid var(--color-border);
}

.about-value:not(:first-child) {
    padding-left: 28px;
}

.about-value-number {
    display: block;

    margin-bottom: 80px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.about-value h3 {
    margin-bottom: 15px;

    font-size: 1.4rem;
}

.about-value p {
    line-height: 1.75;
}


/* =========================================================
   ABOUT BACKGROUND
   ========================================================= */

.about-background {
    padding-top: 150px;
    padding-bottom: 150px;
}

.about-background-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.85fr);

    gap: 120px;
}

.about-background-heading {
    position: sticky;

    top: 140px;

    align-self: start;
}

.about-background-heading h2 {
    max-width: 700px;
}


/* =========================================================
   ABOUT TIMELINE
   ========================================================= */

.about-timeline {
    position: relative;

    border-top:
        1px solid var(--color-border);
}

.about-timeline-item {
    position: relative;

    display: grid;

    grid-template-columns:
        50px
        minmax(0, 1fr);

    gap: 25px;

    padding: 45px 0;

    border-bottom:
        1px solid var(--color-border);
}

.timeline-number {
    position: relative;

    padding-top: 5px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.timeline-label {
    display: block;

    margin-bottom: 9px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-timeline-item h3 {
    margin-bottom: 15px;

    font-size: 1.5rem;
}

.about-timeline-item p {
    max-width: 520px;

    line-height: 1.8;
}


/* Timeline dot */

.about-timeline-item::before {
    content: "";

    position: absolute;

    left: -5px;
    top: 51px;

    width: 7px;
    height: 7px;

    background: var(--color-primary);

    border-radius: 50%;

    opacity: 0;

    transform: scale(0);

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.about-timeline-item:hover::before {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   ABOUT TECH
   ========================================================= */

.about-tech {
    overflow: hidden;
}

.about-tech-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(350px, 0.85fr);

    gap: 120px;

    align-items: start;
}

.about-tech-heading {
    max-width: 650px;
}

.about-tech-heading h2 {
    margin-bottom: 30px;

    color: #ffffff;
}

.about-tech-heading > p {
    max-width: 550px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   ABOUT TECH LIST
   ========================================================= */

.about-tech-list {
    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.about-tech-item {
    display: grid;

    grid-template-columns:
        50px 1fr;

    align-items: center;

    gap: 20px;

    min-height: 75px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    transition:
        padding var(--transition),
        background var(--transition);
}

.about-tech-item:hover {
    padding-left: 15px;

    background:
        rgba(255, 255, 255, 0.02);
}

.about-tech-item > span {
    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;
}

.about-tech-item strong {
    color: #ffffff;

    font-size: 1.1rem;
    font-weight: 600;
}


/* =========================================================
   ABOUT TECH PROJECTS
   ========================================================= */

.about-tech-projects {
    display: grid;

    grid-template-columns:
        150px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 40px;

    margin-top: 100px;

    padding-top: 35px;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);
}

.about-tech-projects > span {
    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-tech-projects > p {
    max-width: 650px;

    color:
        rgba(255, 255, 255, 0.6);

    line-height: 1.7;
}

.about-tech-projects
.button-outline {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.18);
}

.about-tech-projects
.button-outline:hover {
    color: #ffffff;

    border-color:
        var(--color-primary);
}


/* =========================================================
   PERSONAL NOTE
   ========================================================= */

.about-note {
    padding-top: 150px;
    padding-bottom: 120px;
}

.about-note-box {
    position: relative;

    max-width: 1000px;

    margin-inline: auto;

    padding:
        40px 60px 40px 100px;
}

.about-note-mark {
    position: absolute;

    top: -10px;
    left: 0;

    color: var(--color-primary);

    font-family: Georgia, serif;

    font-size: 8rem;
    line-height: 1;

    opacity: 0.8;
}

.about-note blockquote {
    color: var(--color-text);

    font-size:
        clamp(2rem, 4vw, 3.8rem);

    font-weight: 650;

    line-height: 1.15;

    letter-spacing: -0.045em;
}

.about-note-author {
    display: block;

    margin-top: 35px;

    color: var(--color-primary);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =========================================================
   ABOUT DARK MODE
   ========================================================= */

html[data-theme="dark"]
.about-hero {
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.14),
            transparent 30%
        ),
        var(--color-bg);
}

html[data-theme="dark"]
.about-portrait-placeholder {
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"]
.about-portrait::before {
    border-color:
        rgba(0, 163, 163, 0.35);
}


/* =========================================================
   ABOUT RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .about-intro-grid {
        gap: 70px;
    }

    .about-values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-value:nth-child(2) {
        border-right: 0;
    }

    .about-value:nth-child(3) {
        padding-left: 0;
    }

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

        gap: 60px;
    }

    .about-background-heading {
        position: static;
    }

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

        gap: 70px;
    }

    .about-tech-projects {
        grid-template-columns:
            120px 1fr;
    }

    .about-tech-projects .button {
        grid-column: 2;

        justify-self: start;
    }

}


/* =========================================================
   ABOUT RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 750px) {

    .about-hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .about-hero h1 {
        font-size:
            clamp(3rem, 15vw, 5rem);
    }

    .about-hero-meta {
        grid-template-columns: 1fr;

        margin-top: 65px;
    }

    .about-hero-meta > div {
        padding: 18px 0;

        border-right: 0 !important;

        border-bottom:
            1px solid var(--color-border);
    }

    .about-hero-meta
    > div:not(:first-child) {
        padding-left: 0;
    }


    /* Intro */

    .about-intro {
        padding-top: 90px;
        padding-bottom: 90px;
    }

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

        gap: 75px;
    }

    .about-portrait {
        max-width: 480px;
    }

    .about-portrait::before {
        top: 18px;
        left: 18px;
    }

    .about-portrait-placeholder {
        padding: 35px;
    }


    /* Values */

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

    .about-value,
    .about-value:not(:last-child),
    .about-value:not(:first-child) {
        min-height: auto;

        padding: 32px 0;

        border-right: 0;

        border-bottom:
            1px solid var(--color-border);
    }

    .about-value-number {
        margin-bottom: 35px;
    }


    /* Background */

    .about-background {
        padding-top: 90px;
        padding-bottom: 90px;
    }


    /* Tech */

    .about-tech-projects {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 70px;
    }

    .about-tech-projects .button {
        grid-column: auto;
    }


    /* Quote */

    .about-note {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .about-note-box {
        padding:
            50px 0 20px 55px;
    }

    .about-note-mark {
        top: 0;

        font-size: 6rem;
    }

}


/* =========================================================
   ABOUT RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .about-hero::before,
    .about-hero::after {
        display: none;
    }

    .about-portrait::before {
        top: 12px;
        left: 12px;
    }

    .about-portrait-placeholder {
        padding: 28px;
    }

    .about-portrait-placeholder strong {
        font-size:
            clamp(2.3rem, 13vw, 3.5rem);
    }

    .about-timeline-item {
        grid-template-columns:
            35px 1fr;

        gap: 15px;
    }

    .about-tech-item {
        grid-template-columns:
            35px 1fr;
    }

    .about-note-box {
        padding-left: 42px;
    }

    .about-note-mark {
        font-size: 5rem;
    }

    .about-note blockquote {
        font-size:
            clamp(1.8rem, 9vw, 2.6rem);
    }

}

/* =========================================================
   KONTAKT PAGE
   ========================================================= */


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {
    position: relative;
    overflow: hidden;

    padding: 130px 0 55px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.10),
            transparent 30%
        ),
        var(--color-bg);
}

.contact-hero::after {
    content: "";

    position: absolute;
    top: 40px;
    right: -170px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.contact-hero::before {
    content: "";

    position: absolute;
    top: 140px;
    right: -240px;

    width: 480px;
    height: 480px;

    border:
        1px solid rgba(0, 163, 163, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;

    max-width: 1050px;
}

.contact-hero h1 {
    max-width: 1050px;

    margin-bottom: 38px;

    font-size:
        clamp(3.5rem, 7vw, 6.5rem);

    line-height: 0.96;
    letter-spacing: -0.065em;
}

.contact-hero-content > p {
    max-width: 650px;

    font-size:
        clamp(1.05rem, 1.8vw, 1.25rem);

    line-height: 1.75;
}


/* =========================================================
   CONTACT HERO META
   ========================================================= */

.contact-hero-meta {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 100px;

    border-top:
        1px solid var(--color-border);
}

.contact-hero-meta > div {
    padding: 24px 25px 5px 0;
}

.contact-hero-meta > div:not(:last-child) {
    border-right:
        1px solid var(--color-border);
}

.contact-hero-meta > div:not(:first-child) {
    padding-left: 30px;
}

.contact-hero-meta span {
    display: block;

    margin-bottom: 5px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.contact-hero-meta p {
    color: var(--color-text);

    font-size: 0.95rem;
    font-weight: 600;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
    padding-top: 150px;
    padding-bottom: 150px;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.75fr)
        minmax(450px, 1.25fr);

    gap: 120px;

    align-items: start;
}


/* =========================================================
   CONTACT INFO
   ========================================================= */

.contact-info {
    position: sticky;

    top: 140px;
}

.contact-info h2 {
    margin-bottom: 30px;

    font-size:
        clamp(2.3rem, 4.5vw, 4rem);
}

.contact-intro {
    max-width: 520px;

    margin-bottom: 55px;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-details {
    border-top:
        1px solid var(--color-border);
}

.contact-detail {
    display: grid;

    grid-template-columns:
        100px
        minmax(0, 1fr);

    gap: 25px;

    padding: 22px 0;

    border-bottom:
        1px solid var(--color-border);
}

.contact-detail-label {
    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-detail-value {
    overflow-wrap: anywhere;

    color: var(--color-text);

    font-weight: 600;

    transition:
        color var(--transition);
}

a.contact-detail-value:hover {
    color: var(--color-primary);
}


/* =========================================================
   CONTACT NOTE
   ========================================================= */

.contact-note {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 35px;
}

.contact-note > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 50%;

    font-size: 0.9rem;
}

.contact-note p {
    color: var(--color-text);

    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================================
   CONTACT FORM WRAPPER
   ========================================================= */

.contact-form-wrapper {
    padding: 55px;

    background: var(--card-bg);

    border:
        1px solid var(--color-border);

    border-radius:
        var(--radius-large);

    box-shadow:
        var(--shadow-small);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px 24px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--color-text);

    font-size: 0.85rem;
    font-weight: 650;
}

.form-group label > span {
    color: var(--color-primary);
}


/* =========================================================
   FORM INPUTS
   ========================================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    color: var(--color-text);
    background: var(--color-bg);

    border:
        1px solid var(--color-border);

    border-radius:
        var(--radius-small);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background 0.3s ease,
        color 0.3s ease;
}

.form-group input,
.form-group select {
    height: 54px;

    padding: 0 16px;
}

.form-group textarea {
    min-height: 180px;

    padding: 16px;

    line-height: 1.7;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-soft);

    opacity: 0.65;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color:
        rgba(0, 163, 163, 0.45);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color:
        var(--color-primary);

    box-shadow:
        0 0 0 4px
        rgba(0, 163, 163, 0.08);
}


/* =========================================================
   SELECT
   ========================================================= */

.form-group select {
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    padding-right: 45px;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--color-text-soft) 50%
        ),
        linear-gradient(
            135deg,
            var(--color-text-soft) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 19px) 23px,
        calc(100% - 14px) 23px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat:
        no-repeat;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.form-checkbox {
    position: relative;

    display: grid;

    grid-template-columns:
        22px
        minmax(0, 1fr);

    gap: 13px;

    align-items: start;

    cursor: pointer;
}

.form-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.form-checkbox-box {
    position: relative;

    display: block;

    width: 21px;
    height: 21px;

    margin-top: 2px;

    background: var(--color-bg);

    border:
        1px solid var(--color-border);

    border-radius: 5px;

    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-checkbox input:checked
+ .form-checkbox-box {
    background:
        var(--color-primary);

    border-color:
        var(--color-primary);
}

.form-checkbox input:checked
+ .form-checkbox-box::after {
    content: "";

    position: absolute;

    left: 7px;
    top: 3px;

    width: 5px;
    height: 10px;

    border: solid #ffffff;

    border-width:
        0 2px 2px 0;

    transform:
        rotate(45deg);
}

.form-checkbox input:focus-visible
+ .form-checkbox-box {
    border-color:
        var(--color-primary);

    box-shadow:
        0 0 0 4px
        rgba(0, 163, 163, 0.12);
}

.form-checkbox-text {
    color: var(--color-text-soft);

    font-size: 0.82rem;
    font-weight: 400;

    line-height: 1.65;
}

.form-checkbox-text a {
    color: var(--color-text);

    font-weight: 650;

    text-decoration: underline;

    text-decoration-color:
        rgba(0, 163, 163, 0.5);

    text-underline-offset: 3px;

    transition:
        color var(--transition);
}

.form-checkbox-text a:hover {
    color: var(--color-primary);
}

.form-checkbox-text strong {
    color: var(--color-primary);
}


/* =========================================================
   FORM SUBMIT
   ========================================================= */

.form-submit {
    display: flex;
    align-items: center;

    gap: 20px;

    padding-top: 10px;
}

.form-submit .button {
    min-width: 180px;

    border: 0;
}

.form-submit p {
    font-size: 0.75rem;
}


/* =========================================================
   CONTACT NEXT
   ========================================================= */

.contact-next {
    overflow: hidden;
}

.contact-next-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--color-border);
}

.contact-next-item {
    min-height: 300px;

    padding: 32px 28px 35px 0;

    border-bottom:
        1px solid var(--color-border);
}

.contact-next-item:not(:last-child) {
    padding-right: 28px;

    border-right:
        1px solid var(--color-border);
}

.contact-next-item:not(:first-child) {
    padding-left: 28px;
}

.contact-next-item > span {
    display: block;

    margin-bottom: 70px;

    color: var(--color-primary);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.contact-next-item h3 {
    margin-bottom: 14px;

    font-size: 1.35rem;
}

.contact-next-item p {
    line-height: 1.75;
}


/* =========================================================
   CONTACT FAQ
   ========================================================= */

.contact-faq {
    padding-top: 140px;
    padding-bottom: 140px;
}

.contact-faq-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap: 110px;

    align-items: start;
}

.contact-faq-grid h2 {
    max-width: 700px;
}

.contact-faq-content {
    padding-top: 38px;
}

.contact-faq-content p {
    margin-bottom: 22px;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   CONTACT DARK MODE
   ========================================================= */

html[data-theme="dark"]
.contact-hero {
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(0, 163, 163, 0.14),
            transparent 30%
        ),
        var(--color-bg);
}

html[data-theme="dark"]
.contact-form-wrapper {
    box-shadow:
        0 25px 60px
        rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"]
.form-group input,
html[data-theme="dark"]
.form-group select,
html[data-theme="dark"]
.form-group textarea,
html[data-theme="dark"]
.form-checkbox-box {
    background: #0d1418;
}

html[data-theme="dark"]
.form-group input:focus,
html[data-theme="dark"]
.form-group select:focus,
html[data-theme="dark"]
.form-group textarea:focus {
    background: #0f171b;
}


/* =========================================================
   CONTACT RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .contact-grid {
        grid-template-columns:
            minmax(280px, 0.7fr)
            minmax(400px, 1.3fr);

        gap: 70px;
    }

    .contact-form-wrapper {
        padding: 40px;
    }

    .contact-next-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .contact-next-item:nth-child(2) {
        border-right: 0;
    }

    .contact-next-item:nth-child(3) {
        padding-left: 0;
    }

}


/* =========================================================
   CONTACT RESPONSIVE - SMALL TABLET
   ========================================================= */

@media (max-width: 850px) {

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .contact-info {
        position: static;

        max-width: 700px;
    }

    .contact-details {
        max-width: 600px;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .contact-faq-content {
        max-width: 650px;

        padding-top: 0;
    }

}


/* =========================================================
   CONTACT RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .contact-hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .contact-hero h1 {
        font-size:
            clamp(3rem, 15vw, 5rem);
    }

    .contact-hero-meta {
        grid-template-columns: 1fr;

        margin-top: 65px;
    }

    .contact-hero-meta > div {
        padding: 18px 0;

        border-right: 0 !important;

        border-bottom:
            1px solid var(--color-border);
    }

    .contact-hero-meta
    > div:not(:first-child) {
        padding-left: 0;
    }


    /* Contact */

    .contact-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .contact-form-wrapper {
        padding: 32px 25px;

        border-radius:
            var(--radius-medium);
    }

    .contact-form {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .form-group-full {
        grid-column: auto;
    }

    .form-submit {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-submit .button {
        width: 100%;
    }


    /* Next */

    .contact-next-grid {
        grid-template-columns: 1fr;
    }

    .contact-next-item,
    .contact-next-item:not(:last-child),
    .contact-next-item:not(:first-child) {
        min-height: auto;

        padding: 30px 0;

        border-right: 0;

        border-bottom:
            1px solid var(--color-border);
    }

    .contact-next-item > span {
        margin-bottom: 35px;
    }


    /* FAQ */

    .contact-faq {
        padding-top: 90px;
        padding-bottom: 90px;
    }

}


/* =========================================================
   CONTACT RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .contact-hero::before,
    .contact-hero::after {
        display: none;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .contact-detail {
        grid-template-columns: 1fr;

        gap: 7px;
    }

    .contact-detail-label {
        margin-bottom: 2px;
    }

    .form-group input,
    .form-group select {
        height: 52px;
    }

    .form-checkbox {
        grid-template-columns:
            21px minmax(0, 1fr);

        gap: 11px;
    }

}

/* =========================================================
   LEGAL PAGES
   Impressum / Datenschutz
   ========================================================= */


/* =========================================================
   LEGAL HERO
   ========================================================= */

.legal-hero {
    position: relative;

    overflow: hidden;

    padding: 125px 0 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 163, 163, 0.10),
            transparent 30%
        ),
        var(--color-bg);

    border-bottom:
        1px solid var(--color-border);
}

.legal-hero::after {
    content: "";

    position: absolute;

    top: 10px;
    right: -170px;

    width: 430px;
    height: 430px;

    border:
        1px solid rgba(0, 163, 163, 0.12);

    border-radius: 50%;

    pointer-events: none;
}

.legal-hero::before {
    content: "";

    position: absolute;

    top: 100px;
    right: -230px;

    width: 430px;
    height: 430px;

    border:
        1px solid rgba(0, 163, 163, 0.06);

    border-radius: 50%;

    pointer-events: none;
}

.legal-hero-content {
    position: relative;

    z-index: 2;

    max-width: 900px;
}

.legal-hero h1 {
    margin-bottom: 28px;

    font-size:
        clamp(3.8rem, 8vw, 7rem);

    line-height: 0.95;

    letter-spacing: -0.065em;
}

.legal-hero-content > p {
    max-width: 600px;

    font-size:
        clamp(1.05rem, 1.7vw, 1.2rem);

    line-height: 1.75;
}


/* =========================================================
   LEGAL SECTION
   ========================================================= */

.legal-section {
    padding-top: 130px;
    padding-bottom: 150px;
}

.legal-grid {
    display: grid;

    grid-template-columns:
        minmax(260px, 0.65fr)
        minmax(500px, 1.35fr);

    gap: 120px;

    align-items: start;
}


/* =========================================================
   LEGAL SIDEBAR
   ========================================================= */

.legal-sidebar {
    position: sticky;

    top: 140px;
}

.legal-sidebar h2 {
    max-width: 420px;

    margin-bottom: 25px;

    font-size:
        clamp(2rem, 3.5vw, 3rem);

    line-height: 1.08;
}

.legal-sidebar > p {
    max-width: 400px;

    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   LEGAL CONTENT
   ========================================================= */

.legal-content {
    border-top:
        1px solid var(--color-border);
}


/* =========================================================
   LEGAL BLOCK
   ========================================================= */

.legal-block {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr);

    gap: 30px;

    padding: 50px 0;

    border-bottom:
        1px solid var(--color-border);
}

.legal-number {
    padding-top: 7px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.legal-block h2 {
    margin-bottom: 25px;

    font-size:
        clamp(1.6rem, 2.5vw, 2.2rem);
}

.legal-block p {
    max-width: 680px;

    margin-bottom: 18px;

    line-height: 1.85;
}

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


/* =========================================================
   LEGAL ADDRESS
   ========================================================= */

.legal-address {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 4px;
}

.legal-address strong {
    margin-bottom: 8px;

    color: var(--color-text);

    font-size: 1.05rem;
}

.legal-address span {
    color: var(--color-text-soft);

    line-height: 1.7;
}


/* =========================================================
   LEGAL CONTACT
   ========================================================= */

.legal-contact-list {
    max-width: 600px;

    border-top:
        1px solid var(--color-border);
}

.legal-contact-list > div {
    display: grid;

    grid-template-columns:
        110px
        minmax(0, 1fr);

    gap: 25px;

    padding: 16px 0;

    border-bottom:
        1px solid var(--color-border);
}

.legal-contact-list > div > span {
    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-contact-list a {
    overflow-wrap: anywhere;

    color: var(--color-text);

    font-weight: 600;

    transition:
        color var(--transition);
}

.legal-contact-list a:hover {
    color: var(--color-primary);
}


/* =========================================================
   LEGAL PLACEHOLDER
   ========================================================= */

.legal-placeholder {
    max-width: 650px;

    margin-top: 30px;

    padding: 22px 25px;

    background:
        rgba(0, 163, 163, 0.05);

    border:
        1px solid rgba(0, 163, 163, 0.18);

    border-radius:
        var(--radius-small);
}

.legal-placeholder > span {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-placeholder p {
    margin: 0;

    font-size: 0.88rem;
    line-height: 1.7;
}


/* =========================================================
   LEGAL NOTICE
   ========================================================= */

.legal-notice {
    display: grid;

    grid-template-columns:
        45px
        minmax(0, 1fr);

    gap: 20px;

    margin-top: 50px;

    padding: 28px;

    background: var(--color-bg-soft);

    border:
        1px solid var(--color-border);

    border-radius:
        var(--radius-medium);
}

.legal-notice > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #ffffff;
    background: var(--color-primary);

    border-radius: 50%;

    font-size: 1rem;
    font-weight: 800;
}

.legal-notice strong {
    display: block;

    margin-bottom: 8px;

    color: var(--color-text);

    font-size: 1rem;
}

.legal-notice p {
    max-width: 650px;

    margin: 0;

    font-size: 0.9rem;
    line-height: 1.75;
}


/* =========================================================
   LEGAL LINKS
   Für Datenschutz später ebenfalls nutzbar
   ========================================================= */

.legal-content a:not(.button) {
    text-decoration-color:
        rgba(0, 163, 163, 0.4);

    text-underline-offset: 3px;
}

.legal-block p a {
    color: var(--color-text);

    font-weight: 600;

    text-decoration: underline;

    transition:
        color var(--transition);
}

.legal-block p a:hover {
    color: var(--color-primary);
}


/* =========================================================
   LEGAL LISTS
   Für Datenschutz später nutzbar
   ========================================================= */

.legal-block ul {
    max-width: 680px;

    margin: 22px 0;

    border-top:
        1px solid var(--color-border);
}

.legal-block li {
    position: relative;

    padding:
        13px 0
        13px 25px;

    color: var(--color-text-soft);

    border-bottom:
        1px solid var(--color-border);

    line-height: 1.7;
}

.legal-block li::before {
    content: "";

    position: absolute;

    left: 2px;
    top: 23px;

    width: 6px;
    height: 6px;

    background: var(--color-primary);

    border-radius: 50%;
}


/* =========================================================
   LEGAL SMALL HEADINGS
   Für Datenschutz später
   ========================================================= */

.legal-block h3 {
    margin-top: 32px;
    margin-bottom: 14px;

    font-size: 1.15rem;
}

.legal-block h3:first-child {
    margin-top: 0;
}


/* =========================================================
   LEGAL TABLE
   Falls später benötigt
   ========================================================= */

.legal-table {
    width: 100%;

    margin-top: 25px;

    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 14px 15px;

    border:
        1px solid var(--color-border);

    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--color-text);

    background: var(--color-bg-soft);

    font-size: 0.82rem;
}

.legal-table td {
    color: var(--color-text-soft);

    font-size: 0.88rem;

    line-height: 1.6;
}


/* =========================================================
   LEGAL DARK MODE
   ========================================================= */

html[data-theme="dark"]
.legal-hero {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 163, 163, 0.14),
            transparent 30%
        ),
        var(--color-bg);
}

html[data-theme="dark"]
.legal-placeholder {
    background:
        rgba(0, 163, 163, 0.07);

    border-color:
        rgba(0, 163, 163, 0.22);
}

html[data-theme="dark"]
.legal-notice {
    background:
        #10171b;
}


/* =========================================================
   LEGAL RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .legal-grid {
        grid-template-columns:
            minmax(220px, 0.55fr)
            minmax(400px, 1.45fr);

        gap: 70px;
    }

}


/* =========================================================
   LEGAL RESPONSIVE - SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

    .legal-section {
        padding-top: 90px;
        padding-bottom: 100px;
    }

    .legal-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .legal-sidebar {
        position: static;

        max-width: 650px;
    }

}


/* =========================================================
   LEGAL RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .legal-hero {
        padding-top: 80px;
        padding-bottom: 65px;
    }

    .legal-hero h1 {
        font-size:
            clamp(3.3rem, 16vw, 5rem);
    }

    .legal-section {
        padding-top: 75px;
        padding-bottom: 80px;
    }

    .legal-block {
        grid-template-columns:
            35px
            minmax(0, 1fr);

        gap: 15px;

        padding: 40px 0;
    }

    .legal-contact-list > div {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .legal-notice {
        grid-template-columns:
            38px
            minmax(0, 1fr);

        gap: 15px;

        padding: 22px;
    }

}


/* =========================================================
   LEGAL RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .legal-hero::before,
    .legal-hero::after {
        display: none;
    }

    .legal-block {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .legal-number {
        padding-top: 0;
    }

    .legal-placeholder {
        padding: 18px;
    }

    .legal-notice {
        grid-template-columns: 1fr;
    }

    .legal-table {
        display: block;

        overflow-x: auto;
    }

}