/* ==========================================================
   CS.WEBDESIGNS
   MODERNES & MINIMALISTISCHES DESIGN
   ========================================================== */


/* ==========================================================
   1. FARBEN & GRUNDWERTE
   ========================================================== */

:root {
    --bg: #0b141b;
    --bg-soft: #0f1a22;

    --surface: #121f28;
    --surface-hover: #172630;
    --surface-input: #0d1921;

    --accent: #b78a55;
    --accent-light: #d0a673;
    --accent-dark: #966d3f;

    --text: #f1ede7;
    --text-soft: #c2bdb6;
    --text-muted: #92999c;

    --border: rgba(193, 153, 101, 0.15);
    --border-hover: rgba(193, 153, 101, 0.35);

    --max-width: 1160px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: 0.25s ease;
}


/* ==========================================================
   2. RESET
   ========================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

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

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

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

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;
}

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

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

button {
    color: inherit;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

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

ul {
    list-style: none;
}

fieldset {
    border: none;
    min-width: 0;
}

[hidden] {
    display: none !important;
}

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

:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 4px;
}


/* ==========================================================
   3. ALLGEMEINE LAYOUTS
   ========================================================== */

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 86px 0;
}

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

.eyebrow {
    margin-bottom: 14px;

    color: var(--accent-light);

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

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

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.16;
    text-wrap: balance;
}

h1 {
    max-width: 800px;

    font-size: clamp(2.7rem, 5vw, 4.6rem);
    letter-spacing: -0.045em;
}

h2 {
    max-width: 760px;

    font-size: clamp(1.9rem, 3.4vw, 3rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.015em;
}

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

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

a,
button {
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        opacity var(--transition),
        transform var(--transition);
}


/* ==========================================================
   4. HEADER
   ========================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    background: rgba(11, 20, 27, 0.94);

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

    border-bottom: 1px solid transparent;

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

.header.scrolled {
    background: rgba(11, 20, 27, 0.98);
    border-bottom-color: var(--border);
}

.nav-container {
    width: min(92%, 1280px);
    min-height: 76px;

    margin: 0 auto;

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

    gap: 30px;
}


/* ==========================================================
   5. LOGO / MARKE
   ========================================================== */

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

    flex-shrink: 0;

    color: var(--text);

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

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

.brand span {
    color: var(--accent-light);
    font-weight: 700;
}

.brand:hover {
    opacity: 0.85;
}

.brand-logo,
.brand img {
    display: block;

    width: auto;
    height: auto;

    max-width: 190px;
    max-height: 40px;

    object-fit: contain;
}


/* ==========================================================
   6. DESKTOP NAVIGATION
   ========================================================== */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.desktop-nav a {
    position: relative;

    padding: 10px 0;

    color: var(--text-soft);

    font-size: 0.82rem;
    font-weight: 400;

    white-space: nowrap;
}

.desktop-nav a:hover {
    color: var(--text);
}

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

    position: absolute;

    left: 0;
    bottom: 5px;

    width: 100%;
    height: 1px;

    background: var(--accent);

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

    transition: transform var(--transition);
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* ==========================================================
   7. NAVIGATION ACTIONS
   ========================================================== */

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

    gap: 14px;
}

.language-switch {
    min-width: 35px;
    min-height: 40px;

    padding: 8px;

    border: none;
    background: transparent;

    color: var(--text-soft);

    cursor: pointer;

    font-size: 0.76rem;
    font-weight: 500;
}

.language-switch:hover {
    color: var(--accent-light);
}

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

    min-height: 42px;

    padding: 0 17px;

    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);

    color: var(--accent-light);

    font-size: 0.78rem;
    white-space: nowrap;
}

.nav-contact:hover {
    background: var(--accent);
    border-color: var(--accent);

    color: var(--bg);
}


/* ==========================================================
   8. MOBILE MENU BUTTON
   ========================================================== */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 20px;
    height: 1px;

    margin: 6px auto;

    background: var(--text);

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

.menu-button.open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.menu-button.open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}


/* ==========================================================
   9. HERO / STARTBEREICH
   ========================================================== */

.hero {
    padding-top: 76px;

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

    background:
        radial-gradient(
            ellipse at 75% 30%,
            rgba(183, 138, 85, 0.045),
            transparent 52%
        ),
        var(--bg);
}

.hero-container {
    display: grid;

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

    gap: 65px;

    align-items: center;

    padding: 105px 0 105px;
}

.hero-content {
    min-width: 0;
}

.hero-content .eyebrow {
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: clamp(2.9rem, 5.15vw, 4.8rem);

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

.hero-text {
    max-width: 610px;

    margin-top: 27px;

    color: var(--text-soft);

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


/* ==========================================================
   10. HERO BUTTONS
   ========================================================== */

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

    gap: 22px;

    margin-top: 35px;
}

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

    min-height: 49px;

    padding: 0 25px;

    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);

    background: var(--accent);
    color: #10151a;

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

.button-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);

    transform: translateY(-2px);
}

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

    gap: 10px;

    min-height: 44px;

    color: var(--text-soft);

    font-size: 0.84rem;
}

.button-text:hover {
    color: var(--accent-light);
}

.button-text span:last-child {
    transition: transform var(--transition);
}

.button-text:hover span:last-child {
    transform: translate(3px, -3px);
}


/* ==========================================================
   11. HERO RECHTE SEITE
   ========================================================== */

.hero-side {
    padding-left: 35px;

    border-left: 1px solid var(--border);
}

.hero-wordmark {
    display: flex;
    flex-direction: column;

    line-height: 0.98;
}

.wordmark-top {
    color: var(--accent-light);

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

    letter-spacing: -0.04em;
}

.wordmark-bottom {
    color: var(--text);

    font-size: 1.75rem;

    letter-spacing: -0.04em;
}

.hero-line {
    height: 1px;

    margin: 28px 0 18px;

    background: var(--border);
}

.hero-side > p {
    color: var(--text-muted);

    font-size: 0.65rem;
    line-height: 1.8;

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

.hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.hero-features span {
    padding: 7px 11px;

    border: 1px solid var(--border);
    border-radius: 5px;

    color: var(--text-muted);

    font-size: 0.68rem;
}


/* ==========================================================
   12. SECTION HEADINGS
   ========================================================== */

.section-heading {
    display: grid;

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

    gap: 50px;

    align-items: end;

    margin-bottom: 42px;
}

.section-heading > p {
    color: var(--text-muted);

    font-size: 0.88rem;
}

.simple-heading {
    margin-bottom: 45px;
}


/* ==========================================================
   13. LEISTUNGEN
   ========================================================== */

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

    gap: 20px;
}

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

    min-height: 345px;

    padding: 35px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.012);

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

.service-card:hover {
    background: rgba(255, 255, 255, 0.025);
    border-color: var(--border-hover);

    transform: translateY(-3px);
}

.service-number {
    margin-bottom: 32px;

    color: var(--accent-light);

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

    letter-spacing: 0.06em;
}

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

    font-size: 1.5rem;
}

.service-card > p {
    max-width: 440px;

    font-size: 0.9rem;
}

.service-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px 17px;

    margin-top: auto;
    padding-top: 27px;
}

.service-details li {
    position: relative;

    padding-left: 17px;

    color: var(--text-muted);

    font-size: 0.78rem;
    line-height: 1.55;
}

.service-details li::before {
    content: "";

    position: absolute;

    top: 0.53em;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: var(--accent);
}


/* ==========================================================
   14. PORTFOLIO
   ========================================================== */

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

    gap: 26px;
}

.work-card {
    min-width: 0;
}

.work-media {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);
}

.work-media img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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

.work-media.image-missing img {
    display: none;
}

.work-fallback {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;

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

    gap: 8px;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(183, 138, 85, 0.065),
            transparent 60%
        ),
        var(--surface);
}

.work-fallback span {
    color: var(--accent-light);

    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.work-fallback strong {
    color: var(--text);

    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.work-info {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 20px;

    padding: 20px 4px 0;
}

.work-type {
    display: block;

    margin-bottom: 7px;

    color: var(--accent-light);

    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.work-info h3 {
    font-size: 1.18rem;
}

.work-meta {
    color: var(--text-muted);

    font-size: 0.72rem;

    text-align: right;
}


/* ==========================================================
   15. ÜBER CS.WEBDESIGNS
   ========================================================== */

.about-grid {
    display: grid;

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

    gap: 85px;

    align-items: start;
}

.about-content {
    padding-top: 12px;
}

.about-lead {
    margin-bottom: 20px;

    color: var(--text);

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

.about-content > p:not(.about-lead) {
    font-size: 0.9rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 33px;
    padding-top: 22px;

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

.about-values > div {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.about-values span {
    color: var(--accent-light);

    font-size: 0.68rem;
}

.about-values strong {
    color: var(--text-soft);

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


/* ==========================================================
   16. ABLAUF
   ========================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.process-grid article {
    min-width: 0;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

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

.process-grid article > span {
    display: block;

    margin-bottom: 28px;

    color: var(--accent-light);

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

.process-grid h3 {
    margin-bottom: 11px;

    font-size: 1.15rem;
}

.process-grid p {
    font-size: 0.83rem;
    line-height: 1.7;
}


/* ==========================================================
   17. FAQ
   ========================================================== */

.faq-layout {
    display: grid;

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

    gap: 85px;

    align-items: start;
}

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

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

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

    gap: 20px;

    width: 100%;

    padding: 23px 0;

    border: none;
    background: transparent;

    color: var(--text);

    cursor: pointer;

    font-size: 0.94rem;
    line-height: 1.5;

    text-align: left;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-icon {
    flex-shrink: 0;

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

    width: 28px;
    height: 28px;

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

    color: var(--accent-light);

    font-size: 1.12rem;

    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
    overflow: hidden;

    opacity: 0;

    font-size: 0.86rem;
    line-height: 1.75;

    transition: opacity var(--transition);
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
    padding-bottom: 24px;

    opacity: 1;
}


/* ==========================================================
   18. KONTAKTBEREICH
   ========================================================== */

.contact-section {
    border-bottom: 1px solid var(--border);
}

.contact-intro {
    display: grid;

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

    gap: 50px;

    align-items: end;

    margin-bottom: 46px;
}

.contact-intro > p {
    color: var(--text-muted);

    font-size: 0.88rem;
}

.inquiry-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(240px, 0.55fr);

    gap: 55px;

    align-items: start;
}


/* ==========================================================
   19. ANFRAGEFORMULAR
   ========================================================== */

.inquiry-form {
    min-width: 0;

    padding: 38px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--bg-soft);

    box-shadow: 0 15px 55px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.form-field {
    min-width: 0;

    margin-bottom: 25px;
}

.form-field label,
.project-options legend {
    display: block;

    margin-bottom: 10px;

    color: var(--text-soft);

    font-size: 0.8rem;
    font-weight: 500;
}

.required {
    margin-left: 3px;

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

.optional {
    margin-left: 7px;

    color: var(--text-muted);

    font-size: 0.69rem;
    font-weight: 400;
}


/* ==========================================================
   20. INPUTS
   ========================================================== */

.form-field input,
.form-field select,
.form-field textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    border: 1px solid rgba(193, 153, 101, 0.21);
    border-radius: var(--radius-sm);

    background: var(--surface-input);
    color: var(--text);

    outline: none;

    font-size: 0.88rem;

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

.form-field input,
.form-field select {
    min-height: 52px;

    padding: 0 15px;
}

.form-field textarea {
    min-height: 165px;

    padding: 15px;

    line-height: 1.7;

    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #92999c;
    opacity: 0.8;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);

    background: #101e27;

    box-shadow: 0 0 0 3px rgba(183, 138, 85, 0.09);
}

.form-field select {
    cursor: pointer;

    padding-right: 30px;

    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--accent-light) 50%
        ),
        linear-gradient(
            135deg,
            var(--accent-light) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 21px) 23px,
        calc(100% - 15px) 23px;

    background-size: 6px 6px;

    background-repeat: no-repeat;
}

.form-field select option {
    background: var(--surface);
    color: var(--text);
}

.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ==========================================================
   21. BEDINGTE FELDER
   BRANCHE / SONSTIGES
   ========================================================== */

.conditional-field {
    padding: 19px;

    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);

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

    background: rgba(183, 138, 85, 0.045);
}

.conditional-field[hidden] {
    display: none !important;
}

#otherIndustryField,
#otherInquiryField {
    margin-top: -4px;
}


/* ==========================================================
   22. PROJEKTOPTIONEN
   ========================================================== */

.project-options {
    margin: 5px 0 27px;
}

.project-options legend {
    margin-bottom: 15px;
}

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

    gap: 10px;
}

.option-card {
    position: relative;

    display: block;

    cursor: pointer;
}

.option-card input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.option-card span {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 54px;

    padding: 12px 10px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface-input);

    color: var(--text-soft);

    font-size: 0.76rem;
    line-height: 1.4;

    text-align: center;

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

.option-card:hover span {
    border-color: var(--border-hover);
    color: var(--text);
}

.option-card input:checked + span {
    border-color: var(--accent);

    background: rgba(183, 138, 85, 0.105);

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

.option-card input:focus-visible + span {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
}


/* ==========================================================
   23. PROJEKTBESCHREIBUNG
   ========================================================== */

#message {
    min-height: 170px;
}

.form-help,
#messageHelp {
    margin-top: 9px;

    color: var(--text-muted);

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

.message-counter,
#messageCounter {
    margin-top: 8px;

    color: var(--text-muted);

    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;

    text-align: right;
}


/* ==========================================================
   24. DATENSCHUTZ
   ========================================================== */

.privacy-check {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);

    gap: 12px;

    align-items: start;

    margin-top: 8px;

    cursor: pointer;
}

.privacy-check input {
    width: 17px;
    height: 17px;

    margin-top: 4px;

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

.privacy-check > span {
    color: var(--text-muted);

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

.privacy-check a {
    color: var(--accent-light);
    text-decoration: underline;
    text-decoration-color: transparent;

    transition: text-decoration-color var(--transition);
}

.privacy-check a:hover {
    text-decoration-color: currentColor;
}


/* ==========================================================
   25. FORMULAR ABSENDEN
   ========================================================== */

.form-submit-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 19px;

    margin-top: 31px;
}

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

    gap: 15px;

    min-height: 51px;

    padding: 0 23px;

    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);

    background: var(--accent);
    color: #10151a;

    cursor: pointer;

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

.form-submit:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: wait;

    transform: none;
}

.form-required-info {
    color: var(--text-muted);

    font-size: 0.7rem;
}

.form-status {
    display: none;

    margin-top: 23px;

    padding: 17px 19px;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--surface);

    color: var(--text-soft);

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

.form-status.visible {
    display: block;
}


/* ==========================================================
   26. SPAM-SCHUTZ
   ========================================================== */

.spam-trap {
    position: absolute;

    left: -10000px;
    top: auto;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* ==========================================================
   27. DIREKTER KONTAKT
   ========================================================== */

.contact-aside {
    position: sticky;

    top: 112px;

    padding: 23px 0;
}

.contact-aside-label {
    color: var(--accent-light);

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

    letter-spacing: 0.07em;
}

.contact-aside h3 {
    margin: 14px 0 16px;

    font-size: 1.65rem;
}

.contact-aside > p:not(.contact-aside-label) {
    font-size: 0.88rem;
}

.contact-aside-links {
    margin-top: 34px;

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

.contact-aside-links a {
    display: block;

    padding: 17px 0;

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

.contact-aside-links a:hover strong {
    color: var(--accent-light);
}

.contact-aside-links span {
    display: block;

    margin-bottom: 4px;

    color: var(--text-muted);

    font-size: 0.7rem;
}

.contact-aside-links strong {
    display: block;

    color: var(--text-soft);

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

    overflow-wrap: anywhere;

    transition: color var(--transition);
}

.contact-aside-note {
    display: grid;

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

    gap: 16px;

    margin-top: 30px;
}

.contact-aside-note > span {
    color: var(--accent-light);

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

.contact-aside-note p {
    font-size: 0.81rem;
}


/* ==========================================================
   28. FOOTER
   ========================================================== */

.footer {
    padding: 35px 0;

    background: var(--bg);
}

.footer-grid {
    display: grid;

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

    align-items: center;

    gap: 28px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 22px;
}

.footer-links a,
.footer p {
    color: var(--text-muted);

    font-size: 0.76rem;
}

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

.footer p {
    text-align: right;
}


/* ==========================================================
   29. IMPRESSUM UND DATENSCHUTZ
   ========================================================== */

.legal-header {
    border-bottom: 1px solid var(--border);
}

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

    gap: 25px;

    min-height: 76px;
}

.back-link {
    color: var(--text-soft);

    font-size: 0.82rem;
}

.back-link:hover {
    color: var(--accent-light);
}

.legal-page {
    padding: 85px 0 105px;
}

.legal-page-container {
    max-width: 900px;
}

.legal-page h1 {
    margin-bottom: 45px;

    font-size: clamp(2.5rem, 4.8vw, 4rem);
}

.legal-text {
    max-width: 760px;
}

.legal-text h2 {
    margin-top: 39px;
    margin-bottom: 15px;

    color: var(--text);

    font-size: 1.2rem;
    line-height: 1.4;
}

.legal-text h3 {
    margin-top: 24px;
    margin-bottom: 12px;

    font-size: 1rem;
}

.legal-text p {
    margin-bottom: 18px;

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

.legal-text a {
    color: var(--accent-light);

    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-text ul,
.legal-text ol {
    margin: 16px 0 25px 22px;

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

.legal-text ul {
    list-style: disc;
}

.legal-text ol {
    list-style: decimal;
}

.legal-text li {
    margin-bottom: 9px;

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

.legal-text strong {
    color: var(--text);
    font-weight: 600;
}

.legal-text {
    overflow-wrap: anywhere;
}


/* ==========================================================
   30. ANIMATIONEN
   ========================================================== */

.reveal-item {
    opacity: 0;

    transform: translateY(14px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

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


/* ==========================================================
   31. TABLETS / KLEINERE DESKTOPS
   ========================================================== */

@media (max-width: 1100px) {

    .desktop-nav {
        gap: 18px;
    }

    .nav-container {
        gap: 20px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-side {
        padding-left: 25px;
    }

    .inquiry-layout {
        gap: 35px;
    }

}


/* ==========================================================
   32. TABLETS
   ========================================================== */

@media (max-width: 1000px) {

    .desktop-nav,
    .nav-contact {
        display: none;
    }

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

    .menu-button {
        display: block;
    }

    .mobile-menu {
        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        padding: 24px 5% 30px;

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

        background: rgba(11, 20, 27, 0.99);

        flex-direction: column;

        gap: 0;

        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
    }

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

    .mobile-menu a {
        display: block;

        padding: 14px 0;

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

        color: var(--text-soft);

        font-size: 0.95rem;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover {
        color: var(--accent-light);
    }

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

        gap: 45px;

        padding: 80px 0;
    }

    .hero-side {
        max-width: 520px;

        padding-left: 23px;
    }

    .section-heading,
    .about-grid,
    .faq-layout,
    .contact-intro,
    .inquiry-layout {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .contact-intro {
        gap: 17px;
    }

    .about-grid,
    .faq-layout {
        gap: 38px;
    }

    .section-heading > p,
    .contact-intro > p {
        max-width: 620px;
    }

    .contact-aside {
        position: static;

        max-width: 620px;
        padding: 5px 0;
    }

    .service-grid,
    .work-grid {
        gap: 18px;
    }

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

}


/* ==========================================================
   33. SMARTPHONES
   ========================================================== */

@media (max-width: 700px) {

    html {
        scroll-padding-top: 85px;
    }

    body {
        font-size: 15px;
    }

    .container {
        width: min(91%, var(--max-width));
    }

    .section {
        padding: 65px 0;
    }

    .nav-container {
        min-height: 70px;
    }

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

    .brand-logo,
    .brand img {
        max-width: 155px;
        max-height: 35px;
    }

    .mobile-menu {
        top: 70px;
    }

    h1 {
        font-size: clamp(2.45rem, 10vw, 3.4rem);
        line-height: 1.1;
    }

    h2 {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    h3 {
        font-size: 1.18rem;
    }

    p {
        font-size: 0.9rem;
    }

    .eyebrow {
        font-size: 0.67rem;
        letter-spacing: 0.11em;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-container {
        padding: 75px 0 66px;

        gap: 42px;
    }

    .hero-content h1 {
        font-size: clamp(2.45rem, 10vw, 3.5rem);
    }

    .hero-text {
        margin-top: 22px;

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

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

        gap: 14px;

        margin-top: 30px;
    }

    .button-primary {
        min-height: 48px;
    }

    .hero-side {
        max-width: 100%;

        padding-left: 20px;
    }

    .wordmark-top {
        font-size: 1.6rem;
    }

    .wordmark-bottom {
        font-size: 1.45rem;
    }

    .hero-line {
        margin: 19px 0 13px;
    }

    .hero-features {
        margin-top: 18px;
    }

    .hero-features span {
        font-size: 0.64rem;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .simple-heading {
        margin-bottom: 32px;
    }

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

    .service-card {
        min-height: 0;

        padding: 27px;
    }

    .service-number {
        margin-bottom: 25px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-details {
        margin-top: 25px;
        padding-top: 20px;
    }

    .work-info {
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .work-meta {
        text-align: left;
    }

    .about-values {
        gap: 10px;
    }

    .about-values strong {
        font-size: 0.78rem;
    }

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

        gap: 12px;
    }

    .process-grid article {
        padding: 24px;
    }

    .process-grid article > span {
        margin-bottom: 16px;
    }

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

    .contact-intro {
        margin-bottom: 33px;
    }

    .inquiry-form {
        padding: 26px 19px;

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

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-field {
        margin-bottom: 23px;
    }

    .form-field input,
    .form-field select {
        min-height: 52px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px;
    }

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

    .option-card span {
        min-height: 56px;

        padding: 10px 8px;

        font-size: 0.73rem;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: stretch;

        gap: 12px;
    }

    .form-submit {
        width: 100%;
    }

    .form-required-info {
        text-align: center;
    }

    .contact-aside {
        padding: 15px 0 0;
    }

    .footer {
        padding: 35px 0;
    }

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

        gap: 22px;

        text-align: center;
    }

    .footer .brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;

        gap: 12px 20px;
    }

    .footer p {
        text-align: center;
    }

    .legal-nav {
        min-height: 70px;
    }

    .legal-page {
        padding: 65px 0 85px;
    }

    .legal-page h1 {
        font-size: clamp(2.3rem, 9vw, 3.1rem);
    }

}


/* ==========================================================
   34. KLEINE SMARTPHONES
   ========================================================== */

@media (max-width: 380px) {

    .container {
        width: 92%;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-features {
        gap: 6px;
    }

    .hero-features span {
        padding: 6px 8px;
    }

    .service-card {
        padding: 23px;
    }

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

    .inquiry-form {
        padding: 23px 15px;
    }

    .option-grid {
        gap: 8px;
    }

    .option-card span {
        font-size: 0.68rem;
    }

}


/* ==========================================================
   35. REDUZIERTE ANIMATIONEN
   ========================================================== */

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

    html {
        scroll-behavior: auto;
    }

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

    .reveal-item {
        opacity: 1;
        transform: none;
    }

}


/* ==========================================================
   ENDE – CS.WEBDESIGNS
   ========================================================== */