html {
    width: 100%;
    overflow-x: hidden;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("fonts/PlusJakartaSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("fonts/PlusJakartaSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}


:root {
    --color-dark: #050b1a;
    --color-navy: #0b1a2a;
    --color-navy-deep: #060e1f;

    /* Teneriffa-Palette */
    --color-brown: #664218;
    --color-ocean: #146b70;
    --color-ocean-light: #4fb6ae;
    --color-basalt: #182521;
    --color-ink: #1e2a27;
    --color-sand: #f6f0e4;
    --color-terracotta: #d9713f;
    --color-sun: #f2b441;

    --color-blue: var(--color-ocean-light);
    --color-turquoise: var(--color-ocean);
    --color-purple: var(--color-terracotta);
    --color-pink: var(--color-sun);

    --color-bg: #0a0f22;
    --color-bg-alt: #0d1428;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-surface-strong: rgba(255, 255, 255, 0.07);

    --color-text: #e8edf7;
    --color-muted: #97a3ba;
    --color-light: #101a30;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-light: rgba(24, 37, 33, 0.1);
    --color-white: #ffffff;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-medium: 0 16px 40px rgba(0, 0, 0, 0.45);
    --glow-cyan: 0 0 24px rgba(18, 200, 212, 0.18);

    --shadow-sticker: 5px 5px 0 var(--color-basalt);
    --shadow-sticker-sm: 3px 3px 0 var(--color-basalt);
    --shadow-sticker-hover: 7px 7px 0 var(--color-basalt);

    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 24px;

    --content-width: 1200px;
}


header {
    position: sticky;

    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;

    z-index: 50;

    min-height: 96px;
    padding: 0 48px;

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

    background-color: var(--color-white);
    border-bottom: 1px solid rgba(24, 37, 33, 0.22);
}

.header-top {
    width: 100%;
    height: 100%;

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;

    height: 100%;
}


.logo img {
    display: block;

    width: auto;
    height: 62px;

    object-fit: contain;
}


.main-nav {
    position: absolute;

    top: 18px;
    left: 50%;

    display: flex;
    justify-content: center;

    padding: 0;

    transform: translateX(-50%);

    z-index: 20;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-nav a {
    position: relative;

    display: inline-block;
    padding: 10px 0;

    color: var(--color-ink);

    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;

    text-decoration: none;

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

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 3px;

    width: 100%;
    height: 3px;

    background: var(--color-terracotta);

    border-radius: 3px;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

.main-nav a:hover {
    color: var(--color-ocean);
    transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--color-ocean);
}

.header--on-dark .main-nav a {
    color: var(--color-ink);
}

.menu-toggle {
    display: none;

    width: 48px;
    height: 48px;
    padding: 0;

    background: none;
    border: none;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 28px;
    height: 3px;

    margin: 5px auto;

    background-color: var(--color-ink);

    border-radius: 999px;

    transition: 0.3s ease;
}

.header--on-dark .menu-toggle span {
    background-color: var(--color-ink);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;

    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 14% 8%, rgba(18, 200, 212, 0.08), transparent 42%),
        radial-gradient(circle at 88% 6%, rgba(124, 44, 255, 0.08), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(8, 126, 219, 0.07), transparent 45%);
    color: var(--color-text);

    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    color: var(--color-text);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

a {
    color: inherit;
}


.hero {
    position: relative;
    overflow: hidden;

    padding: 56px 60px 0;

    color: var(--color-ink);
    background-color: var(--color-sand);

    box-sizing: border-box;

    transition: background-color 1.1s ease;
}

.hero-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;

    max-width: var(--content-width);
    margin: 0 auto;
    padding-bottom: 70px;
}

.hero-wave {
    position: relative;
    z-index: 1;

    margin: 0 -60px;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}


.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding: 7px 16px;

    background: var(--color-white);
    color: var(--color-ink);

    border: 2px solid var(--color-basalt);
    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;

    box-shadow: var(--shadow-sticker-sm);
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-terracotta);
    flex-shrink: 0;
}


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

    width: 100%;
    max-width: 600px;
}


.hero h1 {
    max-width: 100%;

    margin: 0 0 22px;

    color: var(--color-ink);

    font-size: clamp(2.6rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}


.hero-highlight {
    color: var(--color-ocean);
    transition: color 1s ease;
}


.hero p {
    max-width: 520px;

    margin: 0 0 32px;

    color: #5f6b7a;

    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 500;
    line-height: 1.7;
}


.hero-btn {
    gap: 14px;

    background: var(--color-ocean);

    color: var(--color-white);

    border: 2px solid var(--color-basalt);

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

.hero-btn:hover {
    background: var(--color-terracotta);
}


.btn-arrow {
    font-size: 1.25rem;
    line-height: 1;

    transition: transform 0.25s ease;
}


.hero-btn:hover .btn-arrow {
    transform: translateX(4px);
}


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

    gap: 0;

    margin: 44px 0 0;
    padding: 0;

    list-style: none;
}


.hero-benefits li {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    text-align: left;

    margin-right: 38px;
    margin-bottom: 14px;
}

.hero-benefits li span {
    display: block;
    line-height: 1.25;

    color: var(--color-ink);

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


.hero-benefit-icon {
    width: 36px;
    height: 36px;
    padding: 7px;
    box-sizing: border-box;

    color: var(--color-white);
    background: var(--color-ocean);

    border: 2px solid var(--color-basalt);
    border-radius: 50%;

    flex-shrink: 0;

    box-shadow: var(--shadow-sticker-sm);
}


.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-illustration {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}


/* Faden zum Umschalten in den Sonnenuntergang: hängt vom oberen Bildschirmrand
   über die Navbar bis in die Hero-Illustration hinein */

.hero-cord {
    position: absolute;
    top: 0;
    right: 84px;
    z-index: 60;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: none;
    border: none;
    padding: 0 10px;
    margin: 0;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hero-cord-string {
    width: 2px;
    height: 168px;

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

.hero-cord-hint {
    position: absolute;
    top: 88px;
    right: 148px;
    z-index: 61;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    pointer-events: none;
}

.hero-cord-hint-text {
    font-family: "Caveat", cursive;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: #1c3d6b;
    white-space: nowrap;
    transform: rotate(-4deg);
}

.hero-cord-hint-arrow {
    width: 50px;
    height: 42px;
    margin-top: 2px;
}

.hero-cord-bead {
    width: 20px;
    height: 20px;
    margin-top: -21px;
    flex-shrink: 0;

    background: var(--color-sun);
    border: 2px solid var(--color-basalt);
    border-radius: 50%;

    box-shadow: var(--shadow-sticker-sm);

    transition: transform 0.25s ease, background-color 0.6s ease;
}

.hero-cord:hover .hero-cord-bead {
    transform: translateY(13px);
}

.hero-cord.pulled .hero-cord-bead {
    transform: translateY(20px);
}

@keyframes hero-cord-release {
    0% { transform: translateY(20px); }
    50% { transform: translateY(-7px); }
    75% { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

.hero-cord.released .hero-cord-bead {
    animation: hero-cord-release 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cord:focus-visible {
    outline: 3px solid var(--color-ocean);
    outline-offset: 3px;
    border-radius: 4px;
}

body.hero--sunset .hero-cord-bead {
    background: var(--color-terracotta);
}


/* Sonnenuntergang-Zustand der Illustration */

.hero-day-sun {
    opacity: 1;
    transition: opacity 3s ease;
    
}

.hero-sunset-glow,
.hero-sunset-sun {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-star {
    opacity: 0;
    transition: opacity 1.4s ease 0.25s;
}

.hero-teide-shape path {
    transition: fill 0.8s ease;
}

.hero-light-surface {
    transition: fill 0.8s ease;
}

body.hero--sunset .hero-day-sun {
    opacity: 0;
    transition: opacity 1.5s ease;
}

body.hero--sunset .hero-sunset-glow,
body.hero--sunset .hero-sunset-sun {
    opacity: 1;
}

body.hero--sunset .hero-star {
    opacity: 0.9;
}

body.hero--sunset .hero-teide-shape path {
    fill: #0d1613;
}

body.hero--sunset .hero-light-surface {
    fill: #cfc9bd;
}

.hero-lamp-glass {
    transition: fill 0.8s ease;
}

.hero-lamp-glow {
    opacity: 0;
    transition: opacity 1.2s ease;
}

body.hero--sunset .hero-lamp-glass {
    fill: var(--color-sun);
}

body.hero--sunset .hero-lamp-glow {
    opacity: 1;
}

body.hero--sunset .hero {
    background-color: #161c22;
}

body.hero--sunset .hero-content h1,
body.hero--sunset .hero-eyebrow {
    color: #f2ede3;
    transition: color 0.8s ease;
}

body.hero--sunset .hero p,
body.hero--sunset .hero-benefits li span {
    color: #c9cdd1;
    transition: color 0.8s ease;
}

body.hero--sunset .hero-highlight {
    color: var(--color-sun);
    transition: color 1s ease;
}


.page-hero {
    min-height: 200px;
    padding: 48px 60px 45px;

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

    color: #07111f;

    background: #ffffff;

    box-sizing: border-box;
}

.page-hero h1 {
    margin: 0 0 12px;

    color: #07111f;

    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;


}

.page-hero h2,
.page-hero h3 {
    color: #07111f;


}

.page-hero p {
    max-width: 760px;
    margin: 0;

    color: #5f6b7a;

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


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

    padding: 14px 26px;

    background-color: var(--btn-user-bg, var(--color-ocean));
    color: var(--color-white);

    border: 2px solid var(--color-basalt);
    border-radius: 999px;

    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;

    text-decoration: none;

    box-shadow: var(--shadow-sticker);

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    background-color: var(--color-terracotta);

    color: var(--color-white);

    transform: translate(-2px, -2px);

    box-shadow: var(--shadow-sticker-hover);
}

.btn:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--color-basalt);
}

.btn:focus-visible {
    outline: 3px solid var(--color-ocean);
    outline-offset: 4px;
}

.btn-saved-pulse {
    animation: btn-saved-pulse 0.5s ease;
}

@keyframes btn-saved-pulse {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;

    width: 48px;
    height: 48px;

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

    border: none;
    border-radius: 50%;

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

    border: 2px solid var(--color-basalt);

    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 700;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    box-shadow: var(--shadow-sticker);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-terracotta);
    transform: translate(-2px, -5px);

    box-shadow: var(--shadow-sticker-hover);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--color-ocean);
    outline-offset: 4px;
}


.benefits {
    padding: 22px 60px;

    background:
        linear-gradient(
            180deg,
            rgba(5, 49, 94, 0.08) 0%,
            transparent 50%
        ),
        linear-gradient(
            0deg,
            rgba(5, 49, 94, 0.08) 0%,
            transparent 50%
        ),
        var(--color-light);

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


.projects-preview {
    padding: 90px 60px;

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

.projects-preview-intro {
    max-width: 750px;
    margin: 0 auto;

    text-align: center;
}

.projects-preview-intro h2 {
    color: #07111f;
}

.projects-preview-intro .services-intro-accent {
    margin-top: -14px;
}

.projects-preview-intro p {
    margin: 22px 0 0;

    color: #5f6b7a;

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

.projects-preview-icon {
    width: 150px;
    height: auto;
    margin: 40px auto 0;
}


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

    padding: 22px 50px;

    background-color: var(--color-basalt);
    background-image:
        radial-gradient(circle at 92% -10%, rgba(217, 113, 63, 0.35), transparent 55%),
        radial-gradient(circle at 6% 120%, rgba(79, 182, 174, 0.28), transparent 55%);

    color: var(--color-white);
}

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

    position: absolute;
    inset: 0;

    opacity: 0.5;
    pointer-events: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='40' viewBox='0 0 200 40'%3E%3Cpath d='M0 20 C 20 8, 30 32, 50 20 C 70 8, 80 32, 100 20 C 120 8, 130 32, 150 20 C 170 8, 180 32, 200 20' fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 200px 40px;
    background-repeat: repeat;
}

.contact-cta-content {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 22px;

    max-width: var(--content-width);
    margin: 0 auto;
}

.contact-cta-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    color: var(--color-white);
}

.contact-cta-icon svg {
    width: 28px;
    height: 28px;
}

.contact-cta-text {
    flex: 1;
    min-width: 0;
}

.contact-cta-text h2 {
    margin: 0 0 4px;

    color: var(--color-white);

    font-size: 1.55rem;
}

.contact-cta-text p {
    margin: 0;

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

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

.contact-cta-btn {
    flex-shrink: 0;

    border-color: var(--color-sand);
    box-shadow: 5px 5px 0 rgba(246, 240, 228, 0.35);
}

.contact-cta-btn:hover {
    box-shadow: 7px 7px 0 rgba(246, 240, 228, 0.35);
}


.process {
    position: relative;
    overflow: hidden;

    padding: 90px 24px 100px;

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


.process-intro {
    max-width: 760px;
    margin: 0 auto 55px;

    text-align: center;
}

.process-intro h2 {
    color: #0c1524;
}

.process-intro p {
    margin: 0;

    color: #5f6b7a;

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

.process-list {
    position: relative;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    gap: 30px;

    max-width: 1800px;
    margin: 0 auto;
    padding: 0;

    list-style: none;
}

.process-list::before {
    content: "";

    position: absolute;
    top: 19px;
    left: calc(10% - 12px);
    right: calc(10% - 12px);

    height: 3px;

    background-image: linear-gradient(90deg, var(--color-ink) 0 10px, transparent 10px 20px);
    background-size: 20px 3px;
    background-repeat: repeat-x;

    opacity: 0.25;
}

.process-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 40px;
    height: 40px;
    margin-bottom: 30px;

    border: 2px solid var(--color-basalt);
    border-radius: 50%;

    color: var(--color-white);

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

    box-shadow: 0 0 0 5px #fbfbfc;
}

.process-step:nth-child(1) .process-number { background: var(--color-ocean); }
.process-step:nth-child(2) .process-number { background: var(--color-terracotta); }
.process-step:nth-child(3) .process-number { background: var(--color-sun); color: var(--color-basalt); }
.process-step:nth-child(4) .process-number { background: var(--color-ocean-light); }
.process-step:nth-child(5) .process-number { background: var(--color-basalt); }

.process-card {
    display: flex;
    flex-direction: column;

    width: 84%;
    flex: 1;

    padding: 34px 22px 28px;

    background-color: var(--color-white);
    border: 2px solid var(--color-basalt);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-sticker-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.process-step:hover .process-card {
    transform: translate(-2px, -3px);
    box-shadow: 5px 6px 0 var(--color-basalt);
}

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

    margin: 0 auto 18px;

    color: #16202f;
}

.process-icon svg {
    width: 44px;
    height: 44px;
}

.process-step h3 {
    margin-bottom: 12px;

    color: #0c1524;

    font-size: 1.2rem;
}

.process-step p {
    margin: 0;

    color: #5f6b7a;

    font-size: 0.95rem;
    line-height: 1.65;
}


.about {
    position: relative;
    overflow: hidden;

    padding: 90px 60px 90px 100px;
    background-color: #ffffff;

}

.about-gecko {
    position: absolute;

    bottom: 0px;
    right: -280px;

    width: 190px;

    z-index: 5;
    pointer-events: none;

    filter:
        drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15))
        drop-shadow(0 0 18px rgba(8, 173, 165, 0.12));
}

.about-gecko img {
    display: block;
    width: 100%;
    height: auto;

    transform: rotate(306deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));

}


.about-content {
    max-width: 950px;
    margin: 0 auto;
}

.about-content > h2 {
    margin-bottom: 22px;

    color: #07111f;
}

.about-content > p {
    max-width: 800px;
    margin-bottom: 24px;

    color: #5f6b7a;

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

.about-preview {
    position: relative;
    overflow: hidden;

    padding: 150px 60px 90px;

    background: #ffffff;
}

.about-preview-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;

    max-width: var(--content-width);
    margin: 0 auto;
}

.about-preview-visual-wrap {
    position: relative;
}

.about-preview-visual {
    position: relative;

    width: 100%;
    line-height: 0;

    background: var(--color-sand);
    border: 2px solid var(--color-basalt);
    border-radius: var(--radius-medium);
    overflow: hidden;

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

.about-code-hint {
    position: absolute;
    top: -128px;
    right: 20px;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    pointer-events: none;
}

.about-code-hint-text {
    font-family: "Caveat", cursive;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.15;
    color: #1c3d6b;
    text-align: right;
    white-space: nowrap;
    transform: rotate(-2deg);
}

.about-code-hint-arrow {
    width: 56px;
    height: 46px;
    margin-top: 2px;
}

.about-code-color-hint {
    position: absolute;
    bottom: -82px;
    left: 90px;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;

    pointer-events: none;
}

.about-code-color-text {
    font-family: "Caveat", cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1c3d6b;
    white-space: nowrap;
    transform: rotate(-2deg);
}

.about-code-color-arrow {
    width: 52px;
    height: 44px;
}

.about-code-result-hint {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;

    margin-top: 6px;

    pointer-events: none;
}

.about-code-result-arrow {
    width: 60px;
    height: 50px;
    flex-shrink: 0;
}

.about-code-result-text {
    font-family: "Caveat", cursive;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1c3d6b;
    white-space: nowrap;
    transform: rotate(-2deg);
}

@media (max-width: 900px) {
    .about-code-hint {
        top: -84px;
        right: 4px;
    }

    .about-code-hint-text {
        font-size: 1.15rem;
    }

    .about-code-hint-arrow {
        width: 44px;
        height: 36px;
    }

    .about-code-color-hint {
        bottom: -64px;
        left: 50%;
        transform: translateX(-50%);
    }

    .about-code-color-text {
        font-size: 1.1rem;
    }

    .about-code-color-arrow {
        width: 40px;
        height: 34px;
    }
}

.about-preview-visual img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}

.about-preview-code {
    display: block;
    width: 100%;
    height: auto;
}

.code-editor {
    display: flex;
    flex-direction: column;

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

.code-editor-bar {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    background: #0f1815;
}

.code-editor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-editor-filename {
    margin-left: 8px;

    color: #8a9791;

    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.78rem;
}

.code-editor-body {
    margin: 0;
    padding: 18px 20px;

    overflow-x: auto;

    color: #c9d1cb;

    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.92rem;
    line-height: 1.85;
}

.code-line {
    display: block;
}

.code-num {
    display: inline-block;
    width: 22px;

    color: #5c6b67;
}

.code-selector {
    color: var(--color-terracotta);
}

.code-prop {
    color: var(--color-ocean-light);
}

.code-value {
    color: var(--color-sun);
}

.code-punct {
    color: #c9d1cb;
}

.code-cursor {
    display: inline-block;
    width: 7px;
    height: 15px;
    margin-left: 3px;

    background: #ffffff;
    opacity: 0.85;
    vertical-align: middle;

    animation: code-cursor-blink 1s step-end infinite;
}

@keyframes code-cursor-blink {
    50% {
        opacity: 0;
    }
}

.code-editor-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    padding: 14px 20px 20px;

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

.code-editor-controls label {
    color: #c9d1cb;

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

.code-editor-controls input[type="color"] {
    width: 38px;
    height: 34px;
    padding: 2px;

    background: #ffffff;
    border: 2px solid var(--color-sand);
    border-radius: 8px;

    cursor: pointer;
}

.code-editor-controls input[type="text"] {
    width: 100px;
    padding: 7px 10px;

    font: inherit;
    font-family: "SFMono-Regular", Consolas, monospace;
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--color-sand);
    border-radius: 8px;

    text-transform: uppercase;
}

.code-editor-controls input[type="text"]:focus,
.code-editor-controls input[type="color"]:focus-visible {
    outline: none;
    border-color: var(--color-sun);
}

.about-preview-content {
    position: relative;
    text-align: left;
}

.about-preview-content h2 {
    margin-bottom: 28px;

    color: var(--color-ink);
}

.about-preview-word {
    position: relative;
    display: inline-block;
}

.about-preview-word-accent {
    position: absolute;
    left: 0;
    bottom: -20px;

    width: 100%;
    height: 15px;
    margin: 0;
}

.about-preview-content p {
    max-width: 460px;
    margin: 0 0 28px;

    color: #5f6b7a;

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

.about-intro {
    display: flex;
    align-items: flex-end;
    gap: 50px;
    margin-left: -77px;

    box-sizing: border-box;
    width: 950px;
    max-width: 100%;
    padding: 120px 60px 30px 195px;

    background: #eef0ee;
    border-radius: 28px;
}

.about-intro-text {
    position: relative;

    max-width: 460px;
    margin-top: -80px;
    margin-left: -160px;
}

.about-sun-doodle {
    position: absolute;
    top: -6px;
    left: -56px;

    width: 44px;
    height: 44px;

    pointer-events: none;
}

.about-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--color-terracotta);

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-intro-text h1 {
    margin-bottom: 22px;

    color: #07111f;

    font-size: clamp(2.2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-name-highlight {
    color: var(--color-turquoise);
}

.about-intro-lead {
    margin-bottom: 18px;

    color: #07111f;

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
}

.about-intro-desc {
    width: 520px;
    max-width: none;

    color: #5f6b7a;

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

.about-highlights {
    display: flex;
    gap: 32px;
    width: 660px;
    max-width: none;
    margin-top: 30px;
}

.about-highlight {
    flex: 1;
    min-width: 0;
}

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

    width: 30px;
    height: 30px;
    margin-bottom: 14px;

    color: var(--color-turquoise, #3acad5);
}

.about-highlight-icon svg {
    width: 100%;
    height: 100%;
}

.about-highlight h4 {
    margin-bottom: 8px;

    color: #07111f;

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

.about-highlight p {
    color: #5f6b7a;

    font-size: 0.85rem;
    line-height: 1.6;
}

.page-bg-dark .about-highlight h4 {
    color: #ffffff;
}

.page-bg-dark .about-highlight p {
    color: rgba(255, 255, 255, 0.7);
}

.about-portrait-wrap {
    position: relative;
}

.about-info-card {
    position: absolute;
    top: 43%;
    right: -190px;
    z-index: 4;

    width: 160px;

    padding: 20px 28px 20px 12px;

    background: #fdf0da;
    border: 2px solid var(--color-basalt);
    border-radius: 20px;

    box-shadow: var(--shadow-sticker);

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-info-item + .about-info-item {
    margin-top: 10px;
}

.about-info-item--standort {
    margin-left: -6px;
}

.about-info-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;
    margin-top: 2px;

    color: var(--color-turquoise, #3acad5);
}

.about-info-icon svg {
    width: 100%;
    height: 100%;
}

.about-info-text {
    text-align: left;
}

.about-info-text h5 {
    margin: 0 0 2px;

    color: var(--color-turquoise, #3acad5);

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

.about-info-text .about-info-accent {
    color: var(--color-turquoise, #3acad5);
}

.about-info-text p {
    margin: 0;

    color: #5f6b7a;

    font-size: 0.68rem;
    line-height: 1.5;
}

.about-portrait-frame {
    position: relative;
    display: inline-block;

    margin-top: -80px;
    margin-left: 200px;
    margin-bottom: 15px;
}

.about-portrait {
    display: block;

    width: 230px;
    height: auto;
    margin: 0;

    border: 3px solid var(--color-basalt);
    border-radius: 25px;

    box-shadow: var(--shadow-sticker);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-portrait:hover {
    transform: translate(-2px, -3px);
    box-shadow: var(--shadow-sticker-hover);
}

.about-portrait-tape {
    position: absolute;
    z-index: 5;

    width: 68px;
    height: 26px;

    background: rgba(242, 180, 65, 0.62);
    border: 2px solid var(--color-basalt);
    border-radius: 3px;

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

    pointer-events: none;
}

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

    position: absolute;
    inset: 4px;

    border-left: 1px dashed rgba(24, 37, 33, 0.35);
    border-right: 1px dashed rgba(24, 37, 33, 0.35);
}

.about-portrait-tape--tl {
    top: -13px;
    left: -22px;
    transform: rotate(-45deg);
}

.about-portrait-tape--br {
    bottom: -13px;
    right: -22px;
    transform: rotate(-45deg);
}


.timeline-divider {
    width: 1138px;
    max-width: none;
    height: 1px;
    margin-top: 60px;
    margin-left: -77px;

    background: rgba(24, 37, 33, 0.22);
}

.timeline-grid {
    display: grid;
    grid-template-columns: 640px 1fr;
    grid-template-areas:
        "weg-head tech-head"
        "weg-body tech-body";
    column-gap: 40px;

    margin-top: 55px;
    margin-left: -77px;
}

.timeline-heading {
    grid-area: weg-head;
    align-self: baseline;

    color: #07111f;
    font-size: 1.8rem;
}

.page-bg-dark .timeline-heading {
    color: #ffffff;
}

.tech-heading {
    grid-area: tech-head;
    align-self: baseline;

    margin: 0;
}

.timeline {
    grid-area: weg-body;
    align-self: start;

    position: relative;
    box-sizing: border-box;
    margin-top: 30px;
    margin-left: 0;
    padding: 32px 36px;

    background: #fdf0da;
    border: 2px solid var(--color-basalt);
    border-radius: var(--radius-medium);

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

.values-section {
    position: relative;
    box-sizing: border-box;

    width: 1138px;
    max-width: none;
    margin: 80px auto 0;
    padding: 40px 40px 50px;

    background: #eef0ee;
    border-radius: 28px;
}

.about-content .values-section {
    margin: 80px 0 0 -77px;
}

.about-palm-doodle {
    position: absolute;
    top: -10px;
    left: calc(50% - 430px);

    width: 50px;
    height: auto;

    pointer-events: none;
}

.values-heading {
    margin-bottom: 8px;

    color: #07111f;

    font-size: 1.8rem;
    text-align: center;
}

.values-heading-accent {
    display: block;
    margin: 10px auto 32px;
}

.page-bg-dark .values-heading {
    color: #ffffff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

    width: 100%;
    margin: 30px auto 0;
}

.value-card {
    padding: 24px 20px;

    background: rgba(255, 255, 255, 0.03);
    border-top: 2px solid var(--color-turquoise, #3acad5);
    border-radius: 0 0 12px 12px;
}

body:not(.page-bg-dark) .value-card {
    background: var(--color-white);
    border: 2px solid var(--color-basalt);
    border-top: 2px solid var(--color-basalt);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-sticker-sm);
}

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

    width: 32px;
    height: 32px;
    margin-bottom: 16px;

    color: var(--color-turquoise, #3acad5);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

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

    color: #07111f;

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

.page-bg-dark .value-card h3 {
    color: #ffffff;
}

.value-card p {
    margin: 0;

    color: #5f6b7a;

    font-size: 0.85rem;
    line-height: 1.65;
}

.page-bg-dark .value-card p {
    color: rgba(255, 255, 255, 0.7);
}

.quote-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 24px;

    width: 100%;
    margin: 40px auto 0;

    padding: 24px 32px;

    background: var(--color-sand);
    border: 2px solid var(--color-basalt);
    border-radius: 16px;

    box-shadow: var(--shadow-sticker-sm);
}

.quote-mark {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: -4px;

    color: var(--color-turquoise, #3acad5);

    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.quote-text {
    flex: 1;
    min-width: 0;
    margin: 0;

    color: #5f6b7a;

    font-size: 0.92rem;
    line-height: 1.7;
}

.page-bg-dark .quote-text {
    color: rgba(255, 255, 255, 0.75);
}

.quote-person {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 14px;
}

.quote-portrait {
    width: 60px;
    height: 90px;
    object-fit: cover;

    border-radius: 6px;
    border: 2px solid var(--color-turquoise, #3acad5);
}

.quote-person-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-name {
    color: #07111f;

    font-family: "Playfair Display", serif;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 500;
}

.page-bg-dark .quote-name {
    color: #ffffff;
}

.quote-tagline {
    position: relative;
    display: inline-block;

    transform: rotate(-4deg);

    color: var(--color-ink);

    font-family: "Caveat", cursive;
    font-size: 1.3rem;
    font-weight: 600;
}

.quote-tagline-underline {
    display: block;
    width: 55%;
    height: 16px;
    margin: 2px auto 0;

    fill: none;
    stroke: var(--color-turquoise, #3acad5);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.9;
}

.contact-cta--about {
    /* nutzt jetzt dieselbe flache Basalt-Fläche wie .contact-cta */
}

.timeline-divider-end {
    width: 1138px;
    max-width: none;
    height: 1px;
    margin-top: 90px;

    background: rgba(24, 37, 33, 0.22);
}

.tech-column {
    grid-area: tech-body;
    align-self: start;

    margin-top: 33px;
    margin-left: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 210px);
    gap: 14px;
}

.tech-note-card {
    max-width: 100%;
    margin-top: 40px;
    padding: 18px 20px;

    background: #fdf0da;
    border: 2px solid var(--color-basalt);
    border-radius: 12px;

    box-shadow: var(--shadow-sticker-sm);
}

.tech-note-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 8px;
}

.tech-note-header h4 {
    margin: 0;

    color: var(--color-ink);

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

.tech-note-icon {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    color: var(--color-turquoise, #3acad5);
}

.tech-note-card p {
    margin: 0;

    color: #5f6b7a;

    font-size: 0.82rem;
    line-height: 1.6;
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 22px 10px 22px 40px;

    background: var(--color-white);
    border: 2px solid var(--color-basalt);
    border-radius: 12px;

    box-shadow: var(--shadow-sticker-sm);
}

.tech-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.tech-icon-invert {
    filter: none;
}

.tech-icon-large {
    width: 46px;
    height: 46px;
}

.tech-icon-custom {
    width: 36px;
    height: 36px;
    flex-shrink: 0;

    color: var(--color-turquoise, #3acad5);
}

.tech-card span {
    color: var(--color-ink);

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

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}


.timeline-date {
    position: relative;
    top: 8px;

    display: inline-block;

    margin: 0 0 12px;

    color: var(--color-terracotta);

    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline-content {
    max-width: 560px;
    transform: translateY(8px);
}

.timeline-content h3 {
    margin: 0 0 12px;

    color: #07111f;

    font-size: 1.4rem;
}

.timeline-content p {
    margin: 0 0 18px;

    color: #5f6b7a;

    line-height: 1.8;
}

.timeline-item:last-child {
    margin-bottom: 0;
}


.services {
    padding: 90px 24px 90px;
    position: relative;
    overflow: hidden;

    background: #ffffff;
}

.services-intro {
    max-width: 750px;
    margin: 0 auto 36px;
    text-align: center;
}

.services-intro h2 {
    color: #07111f;
}

.services-intro-accent {
    display: block;

    width: 96px;
    height: 15px;
    margin: -4px auto 0;

    overflow: visible;
}

.services-intro-accent path {
    fill: none;
    stroke: var(--color-terracotta);
    stroke-width: 3.2;
    stroke-linecap: round;
    opacity: 1;
}

.services-intro-accent-soft {
    stroke: var(--color-ocean);
    stroke-width: 2.4;
    opacity: 0.45;
}

.services-intro p {
    color: #5f6b7a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    max-width: 1900px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: stretch;

    padding: 0;

    background-color: #ffffff;
    border: 2px solid var(--color-basalt);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-sticker);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translate(-3px, -4px);
    box-shadow: var(--shadow-sticker-hover);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 32px 22px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: #07111f;
    font-size: 1.2rem;

    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    margin-bottom: 20px;
    color: #5f6b7a;
    font-size: 0.98rem;
    line-height: 1.65;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--color-turquoise);

    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.service-card-link span {
    transition: transform 0.25s ease;
}

.service-card-link:hover span {
    transform: translateX(4px);
}

.service-card-visual {
    position: relative;
    overflow: hidden;

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

    min-height: 400px;
    padding: 26px;

    background: var(--color-sand);
    border-left: 2px solid var(--color-basalt);
}

.browser-frame {
    display: flex;
    flex-direction: column;
    overflow: hidden;

    width: 100%;

    background-color: var(--color-white);
    border: 2px solid var(--color-basalt);
    border-radius: 10px;

    box-shadow: var(--shadow-sticker-sm);
}

.browser-frame-bar {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 9px 12px;

    background: var(--color-white);
    border-bottom: 2px solid var(--color-basalt);
}

.browser-frame-bar span {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--color-basalt);
    opacity: 0.18;
}

.browser-frame-bar span:nth-child(1) { background: var(--color-terracotta); opacity: 1; }
.browser-frame-bar span:nth-child(2) { background: var(--color-sun); opacity: 1; }
.browser-frame-bar span:nth-child(3) { background: var(--color-ocean); opacity: 1; }

.browser-frame img {
    display: block;

    width: 100%;
    height: 100%;
    max-height: 330px;

    object-fit: cover;
    object-position: top;
}

.services-detail {
    position: relative;
    overflow: hidden;


    padding: 90px 60px;
    background-color: #ffffff;
}
.services-detail-list {
    position: relative;
    z-index: 1;
    box-sizing: border-box;

    max-width: 950px;
    margin: 0 auto;
    padding: 44px;

    background-color: #fdf0da;
    border-radius: var(--radius-medium);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 20px;
}

.service-detail-icon {
    flex-shrink: 0;

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

    width: 76px;
    height: 76px;
    padding: 8px;

    background: var(--color-sand);
    border: 2px solid var(--color-basalt);
    border-radius: 50%;

    box-shadow: var(--shadow-sticker-sm);
}

.service-detail-item:nth-child(1) .service-detail-icon {
    background: rgba(20, 107, 112, 0.14);
}

.service-detail-item:nth-child(2) .service-detail-icon {
    background: rgba(217, 113, 63, 0.14);
}

.service-detail-item:nth-child(3) .service-detail-icon {
    background: rgba(242, 180, 65, 0.18);
}

.service-detail-icon img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.service-detail-header h3 {
    margin: 0;
}

.service-detail-item {
    position: relative;

    scroll-margin-top: 120px;

    margin-bottom: 28px;
    padding: 32px 36px 32px 42px;

    background-color: #ffffff;

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

    box-shadow: var(--shadow-sticker);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-detail-item::before {
    content: "";

    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 0;

    width: 5px;
    height: auto;

    background: var(--color-ocean);

    border-radius: 0 4px 4px 0;
}

.service-detail-item:nth-child(2)::before {
    background: var(--color-terracotta);
}

.service-detail-item:nth-child(3)::before {
    background: var(--color-sun);
}

.service-detail-item:hover {
    transform: translate(-3px, -4px);

    box-shadow: var(--shadow-sticker-hover);
}

.service-detail-item:last-child {
    margin-bottom: 0;
}

.service-detail-item h3 {
    margin: 0 0 14px;

    color: #07111f;
}

.service-detail-item p {
    margin-bottom: 0;

    color: #5f6b7a;

    line-height: 1.8;
}

.services-intro,
.services-grid {
    position: relative;
    z-index: 1;
}
 
.service-gecko {
    position: absolute;

    bottom: -22px;
    right: -34px;

    width: 110px;

    pointer-events: none;
    z-index: 2;
}

.service-gecko img {
    display: block;
    width: 100%;
    height: auto;

    transform: rotate(-12deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}


.references {
    padding: 90px 60px;
    background-color: #ffffff;
}


.references-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    box-sizing: border-box;

    max-width: var(--content-width);
    margin: 0 auto;
    padding: 44px;

    background-color: #fdf0da;
    border-radius: var(--radius-medium);
}


.reference-card {
    overflow: hidden;

    background-color: var(--color-white);

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

    box-shadow: var(--shadow-sticker);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reference-card:hover {
    transform: translate(-3px, -4px);

    box-shadow: var(--shadow-sticker-hover);
}


.reference-placeholder {
    min-height: 240px;

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

    padding: 30px;

    background: #eef0ee;

    color: #5f6b7a;

    font-weight: 700;
    text-align: center;
}


.reference-card-content {
    padding: 30px;
}

.reference-type {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--color-terracotta);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-card h3 {
    margin-bottom: 14px;

    color: var(--color-ink);
}

.reference-card .reference-subtitle {
    margin-bottom: 18px;

    color: var(--color-ink);

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.reference-subtitle {
    margin-bottom: 18px;
    color: var(--color-ocean);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
}

.reference-card-content p:not(.reference-note):not(.reference-subtitle) {
    color: #5f6b7a;
    line-height: 1.7;
}

.reference-card p:last-child {
    margin-bottom: 0;
}

.reference-note {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    color: var(--color-terracotta);
    font-weight: 600;
}

.reference-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 22px;
}

.reference-tech span {
    padding: 6px 10px;

    background-color: rgba(20, 107, 112, 0.1);
    color: var(--color-ocean);

    border: 1px solid rgba(20, 107, 112, 0.35);
    border-radius: 999px;

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

.reference-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 300px;
    padding: 30px;

    background: #eef0ee;

    box-sizing: border-box;
}

.reference-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: top;

    border-radius: 10px;
    border: 2px solid var(--color-basalt);

    box-shadow: var(--shadow-sticker-sm);
}

.reference-button {
    margin-top: 30px;

    padding: 10px 20px;
    font-size: 0.9rem;
}


.case-study {
    padding: 30px 60px 90px;
    background-color: #ffffff;
}

.case-study-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
        "image heading"
        "image summary";
    column-gap: 50px;
    row-gap: 0;
    align-items: center;

    max-width: var(--content-width);
    margin: 0 auto 80px;
}

.case-study-heading {
    grid-area: heading;
    align-self: end;
}

.case-study-image-wrapper {
    box-sizing: border-box;
    grid-area: image;
    margin-top: -30px;

    padding: 28px;

    background: var(--color-sand);

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

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

.case-study-summary {
    grid-area: summary;
    align-self: start;
}

.case-study-main-image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 10px;
    border: 2px solid var(--color-basalt);

    box-shadow: var(--shadow-sticker-sm);
}

.case-study-heading h2 {
    margin-bottom: 20px;

    color: #07111f;
}

.case-study-summary p {
    margin-bottom: 18px;

    color: #5f6b7a;

    line-height: 1.8;
}

.case-study-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-section {
    box-sizing: border-box;

    margin-bottom: 40px;
    padding: 36px 40px;

    background: var(--color-sand);
    border: 2px solid var(--color-basalt);
    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-sticker-sm);
}

.case-study-section:last-child {
    margin-bottom: 0;
}

.case-study-section:nth-child(4n+2) {
    background: rgba(20, 107, 112, 0.08);
}

.case-study-section:nth-child(4n+3) {
    background: rgba(217, 113, 63, 0.08);
}

.case-study-section:nth-child(4n+4) {
    background: rgba(242, 180, 65, 0.14);
}

.case-study-section h2 {
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;

    color: #07111f;
}

.case-study-section p {
    margin-bottom: 18px;

    color: #5f6b7a;

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


.dino-slider {
    margin: 40px;

    background-color: #ffffff;

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

    overflow: hidden;

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

.slider-image-wrapper {
    padding: 30px;

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

.slider-image {
    display: block;

    width: 100%;
    height: 425px;

    object-fit: contain;
    object-position: center;

    border-radius: 10px;
    border: 2px solid var(--color-basalt);

    background-color: var(--color-white);

    box-shadow: var(--shadow-sticker-sm);

    transition: opacity 0.5s ease;
}

.slider-image.fade {
    opacity: 0;
}

.slider-info {
    padding: 20px 40px 30px;
}

.slider-counter {
    margin: 0;

    color: var(--color-terracotta);
    font-weight: 700;
    font-size: 0.95rem;
}

.slider-title {
    margin: 12px 0 16px;

    color: #07111f;
    font-size: 2rem;
}

.slider-description {
    margin: 0;

    color: #5f6b7a;
    line-height: 1.8;

    max-width: 700px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 18px 40px;

    background-color: var(--color-sand);
    border-top: 2px solid var(--color-basalt);
}

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

    width: 46px;
    height: 46px;
    padding: 0;

    background-color: var(--color-white);
    color: var(--color-basalt);

    border: 2px solid var(--color-basalt);
    border-radius: 50%;

    font-size: 1.4rem;
    cursor: pointer;

    box-shadow: var(--shadow-sticker-sm);

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.slider-button:hover {
    background-color: var(--color-ocean);
    color: #ffffff;

    transform: translate(-2px, -2px);

    box-shadow: var(--shadow-sticker-hover);
}

.slider-button:focus-visible {
    outline: 3px solid rgba(20, 107, 112, 0.45);
    outline-offset: 4px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    flex: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;

    border: 1.5px solid var(--color-basalt);
    border-radius: 50%;

    background-color: #ffffff;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.slider-dot.active {
    background-color: var(--color-ocean);

    transform: scale(1.25);
}


.contact {
    padding: 90px 60px;
    background-color: #ffffff;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 55px;

    text-align: center;
}

.contact-intro h2 {
    color: #07111f;
}

.contact-intro p {
    margin-bottom: 0;

    color: #5f6b7a;

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

.contact-content {
    max-width: 760px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;

    padding: 40px;

    background-color: #fdf0da;
    border: 2.5px solid var(--color-basalt);
    border-radius: var(--radius-medium);

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

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #07111f;

    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 15px 16px;

    font: inherit;
    color: #1e2a27;

    border: 2px solid var(--color-basalt);
    border-radius: var(--radius-small);

    background-color: #ffffff;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--color-ocean);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;

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

    box-shadow: 0 0 0 4px rgba(20, 107, 112, 0.16);

    background-color: #ffffff;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-consent input {
    width: auto;
    margin-top: 5px;

    accent-color: var(--color-ocean);
}

.form-consent label {
    color: #5f6b7a;

    font-weight: 400;
    line-height: 1.6;
}

.form-consent a {
    color: var(--color-blue);

    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.form-consent a:hover {
    color: var(--color-turquoise);
}

.contact-submit {
    padding: 20px 60px;

    background-color: var(--color-basalt);
    background-image:
        radial-gradient(circle at 92% -10%, rgba(217, 113, 63, 0.35), transparent 55%),
        radial-gradient(circle at 6% 120%, rgba(79, 182, 174, 0.28), transparent 55%);

    color: var(--color-white);
    text-align: center;
}

.contact-submit-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-submit-content h2 {
    margin-bottom: 18px;
    color: var(--color-white);
}

.contact-submit-content p {
    margin: 0 0 28px;

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

    line-height: 1.75;
}

.contact-submit .btn {
    border: none;
    cursor: pointer;
}


.button-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}

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


.form-message {
    display: none;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.form-message.success {
    display: block;
    background: #e9f9f0;
    border: 1px solid #38b26d;
    color: #17613a;
}

.form-message.error {
    display: block;
    background: #fdeeee;
    border: 1px solid #d9534f;
    color: #8b1e1e;
}


.legal-page{
    padding:100px 20px;
}

.legal-content{
    max-width:900px;
    margin:0 auto;
}


.site-footer {
    padding: 26px 60px;

    background-color: var(--color-basalt);
    color: rgba(255, 255, 255, 0.75);

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

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

    max-width: var(--content-width);
    margin: 0 auto;
}

.footer-content p {
    margin: 0;

    font-size: 0.9rem;
}

.footer-nav ul {
    display: flex;
    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-nav a {
    position: relative;

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

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

    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: var(--color-turquoise);
}


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


.page-bg-dark {
    background-image: url("img/page-bg.jpg");
    background-size: 115%;
    background-position: 15% 25%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.page-bg-dark .page-hero {
    background: transparent;
    color: #ffffff;

    min-height: 0;
    padding: 48px 60px 20px;
}

.page-bg-dark .page-hero h1,
.page-bg-dark .page-hero h2,
.page-bg-dark .page-hero h3 {
    color: #ffffff;
}

.page-bg-dark .page-hero p {
    color: rgba(255, 255, 255, 0.84);
}

.page-bg-dark .about {
    background: transparent;
    padding-top: 65px;
}

.page-bg-dark .services-detail {
    background: transparent;
}

.page-bg-dark .references {
    background: transparent;
}

.page-bg-dark .case-study {
    background: transparent;
}

.page-bg-dark .contact {
    background: transparent;
}

.page-bg-dark .service-detail-item {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.page-bg-dark .service-detail-item h3 {
    color: #ffffff;
}

.page-bg-dark .service-detail-item p {
    color: rgba(255, 255, 255, 0.75);
}

.leistungen-hero {
    position: relative;
    overflow: hidden;
}

.leistungen-hero-divider {
    position: relative;

    width: 100%;
    height: 2px;

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

.leistungen-hero-divider-dino {
    position: absolute;
    bottom: 0;
    right: 360px;

    width: 118px;
    height: auto;

    pointer-events: none;
}

@media (max-width: 1100px) {
    .leistungen-hero-divider-dino {
        display: none;
    }
}

.leistungen-hero-inner {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.leistungen-hero-heading-accent {
    display: block;
    margin: 10px 0 0;
}

.leistungen-hero-doodle-sun {
    position: absolute;
    top: 54px;
    right: 210px;

    width: 46px;
    height: 46px;

    pointer-events: none;
}

.leistungen-hero-doodle-palm {
    position: absolute;
    top: 40px;
    right: 110px;

    width: 62px;
    height: auto;

    pointer-events: none;
}

.leistungen-hero-doodle-badge {
    position: absolute;
    top: 114px;
    right: 165px;

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

    width: 84px;
    height: 84px;

    background: var(--color-sand);
    border: 2.5px solid var(--color-basalt);
    border-radius: 50%;

    box-shadow: var(--shadow-sticker-sm);

    transform: rotate(-8deg);
    pointer-events: none;
}

.leistungen-hero-doodle-badge svg {
    width: 40px;
    height: 40px;
    color: var(--color-ocean);
}

@media (max-width: 1100px) {
    .leistungen-hero-doodle-sun,
    .leistungen-hero-doodle-palm,
    .leistungen-hero-doodle-badge {
        display: none;
    }
}

.referenzen-hero-inner {
    max-width: 1200px;
}

.kontakt-hero-inner {
    max-width: 760px;
}

.page-bg-dark .page-hero h1.leistungen-hero-heading {
    color: var(--color-turquoise, #3acad5);
}

.leistungen-hero-sub {
    margin-top: 14px;

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

.leistungen-hero-desc {
    max-width: 700px;
    margin-top: 14px;

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

.service-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 4px 0 0;
    padding: 0;

    list-style: none;
}

.service-detail-tags li {
    padding: 6px 14px;

    background: rgba(20, 107, 112, 0.1);
    border: 1px solid rgba(20, 107, 112, 0.35);
    border-radius: 999px;

    color: var(--color-ocean);

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

.page-bg-dark .about-content > h2 {
    color: #ffffff;
}

.page-bg-dark .about-content > p {
    color: rgba(255, 255, 255, 0.8);
}

.page-bg-dark .about-intro-text h1 {
    color: #ffffff;
}

.page-bg-dark .about-intro-lead {
    color: #ffffff;
}

.page-bg-dark .about-intro-desc {
    color: rgba(255, 255, 255, 0.75);
}

.page-bg-dark .timeline-content h3 {
    color: #ffffff;
}

.page-bg-dark .timeline-content p {
    color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 900px) {

    .hero-cord {
        top: 66px;
        right: 14px;
    }

    .hero-cord-string {
        height: 110px;
    }

    .hero-cord-hint {
        top: 82px;
        right: 52px;
    }

    .hero-cord-hint-text {
        font-size: 1.15rem;
    }

    .hero-cord-hint-arrow {
        width: 38px;
        height: 32px;
    }

    header {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 8px 24px;

        flex-direction: column;
    }

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

    .hero {
        padding: 36px 30px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 50px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-benefits li {
        width: 230px;
        margin-right: 0;
    }

    .hero h1 {
        max-width: 700px;
        font-size: 2.7rem;
        line-height: 1.08;
    }

    .hero p {
        max-width: 650px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .logo img {
        height: 44px;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;

        height: auto;

        margin-left: 0;
        gap: 10px;

        flex: 0 0 auto;
    }


    .menu-toggle {
        display: block;
    }

    .page-bg-dark {
        background-attachment: scroll;
    }



    .main-nav {
    position: absolute;

    top: 100%;
    left: 0;

    display: none;
    justify-content: center;

    width: 100%;
    padding: 16px 24px 24px;
    box-sizing: border-box;

    background: #ffffff;
    border-top: 1px solid rgba(24, 37, 33, 0.12);
    box-shadow: 0 20px 40px rgba(24, 37, 33, 0.18);

    transform: none;

    z-index: 20;
}



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



    .main-nav ul {
        flex-direction: column;
        gap: 20px;

        text-align: center;
    }


    .benefits {
        padding: 18px 24px;

    }

    .services {
        padding: 60px 30px;
    }


    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;

        max-width: 650px;
        margin: 0 auto;
    }

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

    .service-card-body {
        padding: 26px 24px 22px;
    }

    .service-card-visual {
        min-height: 220px;
    }

    .process {
        padding: 60px 30px;
    }

    .process-intro {
        margin-bottom: 40px;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 0;

        max-width: 480px;
    }

    .process-list::before {
        top: 0;
        left: 18px;
        right: auto;

        width: 4px;
        height: 100%;

        background: linear-gradient(
            180deg,
            #0bc7b9 0%,
            #1e9bd6 25%,
            #7c2cff 50%,
            #d61fa0 75%,
            #ff2e6b 100%
        );
    }

    .process-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;

        text-align: left;
    }

    .process-number {
        flex-shrink: 0;
        margin-bottom: 0;
        margin-top: 4px;
    }

    .process-icon {
        margin: 0 0 10px;
        justify-content: flex-start;
    }

    .about-preview {
        padding: 120px 30px 100px;
    }

    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-preview-visual {
        order: -1;
    }

    .about-preview-content {
        text-align: center;
    }

    .about-preview-content h2 {
        font-size:  2rem;
    }

    .about-preview-content p {
        margin-left: auto;
        margin-right: auto;

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

    .contact-cta {
        padding: 26px 24px;
    }

    .contact-cta-content {
        flex-wrap: wrap;
        justify-content: center;

        max-width: 650px;
        text-align: center;
    }

    .contact-cta-icon {
        display: none;
    }

    .contact-cta-text {
        flex: 1 1 100%;
    }

    .site-footer {
        padding: 22px 30px;
    }
    
    .footer-content {
        
        gap: 12px;
    
        text-align: center;
    }
    
    .footer-nav ul {
        gap: 20px;
        
        justify-content: center;
    }


    .about {
        padding: 70px 30px;
    }
    
    .about-intro {
        flex-direction: column;
        margin-left: 0;
        gap: 35px;

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

        margin-bottom: 10px;
        padding: 40px 24px 30px;
    }

    .about-intro-text {
        max-width: 480px;
        margin-top: 0;
        margin-left: 0;
    }

    .about-intro-desc {
        width: 100%;
        max-width: 480px;
    }

    .about-highlights {
        flex-wrap: wrap;
        width: 100%;
        max-width: 480px;
        row-gap: 20px;
    }

    .about-highlight {
        flex: 1 1 45%;
    }

    .about-portrait-wrap {
        margin: 0 auto;
    }

    .about-portrait-frame {
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 40px;
    }

    .about-portrait {
        width: 200px;
    }

    .about-info-card {
        position: static;
        top: auto;
        right: auto;

        width: 240px;
        margin: -20px auto 0;

        transform: none;
    }

    .about-gecko {
        display: none;
    }

    .timeline-divider,
    .timeline-divider-end {
        width: 100%;
        margin-left: 0;
    }

    .values-section,
    .about-content .values-section {
        width: 100%;
        margin-left: 0;
    }

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

    .quote-card {
        flex-wrap: wrap;
        gap: 16px;
    }

    .quote-person {
        flex-shrink: 1;
        flex-basis: 100%;
        margin-top: 8px;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "weg-head"
            "weg-body"
            "tech-head"
            "tech-body";
        row-gap: 0;
        margin-left: 0;
    }

    .tech-heading {
        margin: 40px 0 0;
    }

    .tech-column {
        margin-top: 30px;
    }

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

    .timeline {
        position: relative;

        margin-top: 0;
    }

    .timeline-item {
        position: relative;

        margin-bottom: 55px;
    }

    .timeline-date {
        top: 0;
    
        margin-bottom: 12px;
    
        font-size: 1.05rem;
    }
    
    .timeline-content {
        width: 100%;
        max-width: none;
    
        transform: none;
    }
    
    .timeline-content h3 {
        margin-bottom: 10px;
    
        font-size: 1.25rem;
    }
    
    .timeline-content p {
        margin-bottom: 16px;
    
        font-size: 0.98rem;
        line-height: 1.75;
    }
    
    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .services-detail {
        padding: 70px 30px;
    }

    .service-detail-item {
        margin-bottom: 24px;
        padding: 28px 30px 28px 36px;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 18px;
    }

    .service-detail-icon img {
        width: 56px;
        height: 56px;
    }

    .service-detail-item h3 {
        font-size: 1.25rem;
    }
    
    .service-detail-item p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .service-gecko {
        bottom: -16px;
        right: -18px;
        width: 84px;
    }


    .contact-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 45px 20px;
    }

    .contact-cta-content {
        max-width: 480px;
    }

    .contact-cta-text h2 {
        font-size: 1.3rem;
    }

    .contact-cta-text p {
        font-size: 0.85rem;
    }

    .contact-cta .btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }


    .references {
        padding: 70px 30px;
    }

    .references-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;

        max-width: 850px;
        margin: 0 auto;
        padding: 24px;
    }
    
    .reference-card {
        width: 100%;
    }
    
    .reference-card-content {
        padding: 24px 20px 20px;
    }
    
    .reference-card h3 {
        font-size: 1.8rem;
        margin-bottom: 14px;
    }
    
    .reference-card p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .reference-note {
        text-align: start;
    }


    .case-study-intro {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "image"
            "summary";
    
        gap: 32px;
    }
    
    .case-study-heading {
        grid-area: heading;
    }
    
    .case-study-image-wrapper {
        grid-area: image;
    
        max-width: 700px;
        width: 100%;
    
        margin: 0 auto;
    }
    
    .case-study-summary {
        grid-area: summary;
    
        text-align: left;
    }

    .case-study {
        padding: 50px 30px 30px;
    }


    .case-study-section:last-child {
        margin-bottom: 0;
    }


   


    .contact-content {
        max-width: 680px;
        margin: 0 auto;
    }

    .contact-submit {
        padding: 55px 30px;
    }

    .contact-submit-content p {
        margin-bottom: 22px;
    
        font-size: 1rem;
    }
    
    .contact-submit .btn {
        padding: 12px 22px;
    
        font-size: 0.95rem;
    }


    .back-to-top {
        right: 20px;
        bottom: 20px;
    
        width: 44px;
        height: 44px;
    
        font-size: 1.25rem;
    }
}


@media (max-width: 768px) {

    header {
        padding: 12px 16px;
    }

    .header-top {
        gap: 12px;
    }

    .logo img {
        height: 38px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .logo {
        gap: 16px;
    }


    .benefits {
        background: var(--color-white);
        border-bottom: none;    
    }    


    .services {
        padding-top: 30px;
    }


    .about {
        padding: 55px 20px 70px;
    }

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

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

    .quote-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .quote-person {
        flex-basis: auto;
        margin-top: 0;
    }

    .about-intro {
        flex-direction: column;
        align-items: center;
        gap: 18px;

        margin-left: 0;
    }

    .about-intro-text {
        flex: none;

        max-width: 100%;
        margin-top: 0;
    }

    .about-highlights {
        display: none;
    }

    .about-portrait-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .about-portrait-frame {
        flex-shrink: 0;
    }

    .about-portrait {
        width: 190px;
        margin: 0;

        border-radius: 20px;
    }

    .about-info-card {
        flex: 1;
        width: auto;
        max-width: 160px;
        margin: 0;
        padding: 16px 14px 16px 10px;
    }


    .service-detail-item {
        padding: 22px 18px 22px 26px;
    }

    .service-gecko {
        top: -12px;
        right: -18px;
        width: 95px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }


    .references {
        padding-top: 45px;
    }


    .dino-slider {
        margin: 18px -12px 0;
        border-radius: 16px;
    }
    
    .slider-image-wrapper {
        padding: 10px;
    }
    
    .slider-image {
        width: 100%;
        height: auto;
    
        border-radius: 8px;
    }
    
    .slider-controls {
        gap: 8px;
        padding: 12px 14px 8px;
    }
    
    .slider-info {
        padding: 10px 16px 22px;
    }

    .case-study-section h2 {
        margin-bottom: 12px;
    }

    .slider-image {
        width: 100%;
        height: auto;
    }

    .page-hero p {
        width: 320px;
        
    }

    .page-hero {
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .page-hero h1 {
        max-width: 100%;
    
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        line-height: 1.15;
    
        overflow-wrap: anywhere;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
        line-height: 1.15;
    }


    .contact {
        padding: 60px 16px;
    }
    
    .contact-content {
        width: 100%;
        max-width: none;
    }
    
    .contact-form {
        width: 100%;
        box-sizing: border-box;
    
        padding: 28px 18px;
    }


}
