/* ============================================
    INHALT

        1. GRUNDEINSTELLUNGEN
        2. HEADER
        3. ANIMATION - DESKTOP
        4. ÜBER MICH
        5. KONTAKT UND FRAGEN
        6. DANKE
        7. FOOTER
        8. PORTFOLIO
        9. PROJEKTE
       10. RECHTLICHES
   ============================================ */

/* ============================================
   1. GRUNDEINSTELLUNGEN
   ============================================ */

@font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'EB Garamond';
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/eb-garamond-italic-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/roboto-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/roboto-italic-latin.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #904331;
    --color-primary-hell: #b65a43;
    --color-secondary: #f7f1e5;
    --color-tertiary: #443b34;
    --color-black: #1d1d1b;

    --font-heading: 'EB Garamond', serif;
    --font-body: 'Roboto', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-tertiary);
    color: var(--color-black);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.mark {
    color: var(--color-primary);
}

/* ============================================
   2. HEADER
   ============================================ */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 1rem;
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-icon {
    display: block;
    height: 70px;
    width: auto;
}

.nav-list {
    display: flex;
    padding: 0rem 2rem;
    gap: 1rem;
    list-style: none;
}

.nav-list a {
    transition: color 0.3s ease;
    color: var(--color-secondary);
}

.nav-list a:hover {
    color: var(--color-black);
    font-size: 1.1rem;
    opacity: 0.7;
}

.nav-list a.btn {
    
    color: var(--color-primary);
    background-color: var(--color-secondary);
    padding: 10px 20px;
    border-radius: 25px;
}

.nav-list a.btn:hover {
    color: var(--color-primary);
    font-size: 1.1rem;
    opacity: 0.7;
}

@media (max-width: 768px) {

    .header {
        padding: 0 0.75rem;
    }

    .logo-icon {
        height: 52px;
    }

    .main-nav {
        margin-left: 0;
        padding: 0;
    }

    .nav-list {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }

    .nav-list a {
        display: block;
        padding: 0.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .nav-list a.btn {
        padding: 0.45rem 1rem;
    }

    .nav-list a:hover,
    .nav-list a.btn:hover {
        font-size: 0.95rem;
    }

    .nav-btn {
        background-color: var(--color-secondary);
        color: var(--color-primary) !important;
        padding: 0.5rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        transition: transform 0.2s ease, background-color 0.3s ease;
    }

    .nav-btn:hover {
        background-color: var(--color-black);
        color: var(--color-secondary) !important;
        transform: translateY(-2px);
    }
}

/* ============================================
   3. ANIMATION - DESKTOP
   ============================================ */

.scroll-szene {
    position: relative;
}

.scroll-szene-y {
    height: 2400vh;
    width: 100%;
    position: relative;
}

.szene-position {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1d1d1b;
}

.szene-position.kapitel {
    touch-action: none;
    touch-action: pinch-zoom;
}

#canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.szene-text {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.szene-text.active {
    opacity: 1;
    pointer-events: auto;
}

.weiteres.active {
    pointer-events: auto;
}

/* -- EINFÜHRUNGS TEXT -- */

.einfuehrung {
    top: 5%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    transition: opacity 2s ease;
    width: 45%;
    max-width: auto;
    position: absolute;
    background-color: rgba(247, 241, 229, 0.7);
    backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
}

.einfuehrung h1 {
    color: var(--color-tertiary);
    font-size: 2.5rem;
    font-weight: 500;
    text-shadow: 0 0.1px 1px rgba(0,0,0,0.6);
    margin: 0;
    line-height: 1.4;
}

.einfuehrung p {
    color: var(--color-tertiary);
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    margin: 2.75rem;
}

/* -- EIGENE MARKE -- */

.marke {
    bottom: 6%;
    left: auto;
    right: 15%;
    max-width: 420px;
    text-align: left;
    background-color: rgba(247, 241, 229, 0.7);
    backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
    padding: 20px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
}

.marke h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin: 0 0 24px 0;
    letter-spacing: 0.1rem;
}

.marke p {
    color: var(--color-tertiary);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

/* -- ERSTELLTE MARKE -- */

.branding {
    text-align: left;
    background-color: rgba(247, 241, 229, 0.7);
    backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.15);
    padding: 20px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.branding h3 {
    color: var(--color-primary);
    font-size: 2rem;
    letter-spacing: 0.02rem;
}

.branding:has(h3) {
    top: 15%;
    left: 10%;
}

.branding p {
    color: var(--color-tertiary);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

.branding:has(p) {
    bottom: 6%;
    right: 12.5%;
    left: 65%;
}

/* -- WEITERE PROJEKTE -- */

.weiteres {
    top: 15%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
}

.weiteres h3 {
    color: var(--color-primary);
    margin-top: -10%;
    font-size: 2.5rem;
    letter-spacing: 0.05rem;
    background-color: #f7f1e5a1;
    border-radius: 6px;
    padding: 10px 20px;
    box-shadow: 0 0.5px 1px #1d1d1b;
}

.weiters-btn {
    display: block;
    padding: 16px 64px;
    border-radius: 128px;
    background: var(--color-primary);
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.075rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.weiters-btn-text {
    top: 85%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}

.weiters-btn:hover,
.weiters-btn:active {
    transform: translateY(-3px);
    background: var(--color-secondary);
    color: var(--color-primary);
}

.weiters-btn:focus-visible {
    box-shadow: 0 0 0 3px var(--color-secondary);
}

@media (max-width: 768px) {

    .einfuehrung,
    .marke,
    .branding {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: rgba(247, 241, 229, 0.92);
    }

    .einfuehrung {
        width: 90%;
        padding: 10px 12px;
    }

    .szene-position {
        -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent);
        mask-image: linear-gradient(to bottom, #000 94%, transparent);
    }

    .einfuehrung h1 {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .einfuehrung p {
        font-size: 1.1rem;
        margin: 1.25rem;
    }

    .marke {
        position: absolute;
        left: 50%;
        bottom: 6%;
        transform: translateX(-50%);
        width: 95%;
        max-height: 85vh;
        overflow-y: auto;
        padding: 10px;
    }

    .marke h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .marke p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }

    .branding {
        padding: 14px 16px;
    }

    .branding h3 {
        font-size: 1.75rem;
    }

    .branding p {
        font-size: 0.85rem;
    }

    .branding:has(h3) {
        text-align: center;
        left: 50%;
        transform: translate(-50%);
        width: 95%;
        top: 5%;
    }

    .branding:has(p) {
        position: absolute;
        left: 50%;
        bottom: 6%;
        transform: translateX(-50%);
        width: 90%;
    }

    .weiteres h3 {
        font-size: 1.5rem;
        padding: 8px 14px;
    }

    .weiteres:has(h3) {
        top: 10%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 75%;
        text-align: center;
    }

    .weiters-btn {
        padding: 12px 36px;
        font-size: 1.1rem;
    }

}

/* ============================================
   4. ÜBER MICH
   ============================================ */

.ueber-mich {
    max-width: 890px;
    margin: 0 auto;
    text-align: center;
}

.ueber-mich-titel {
    color: var(--color-primary);
    font-size: 3rem;
    letter-spacing: 0.1rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.ueber-mich-text,
.ueber-mich-verdeckt-innen p {
    color: var(--color-secondary);
    font-size: 1.1rem;
    letter-spacing: 0.075rem;
    line-height: 1.6;
    opacity: 0.9;
}

.ueber-mich-text {
    text-align: left;
    padding-top: 1.5rem;
    margin-bottom: 1.2rem;
}

/* -- BUTTONS -- */

.aufklappen,
.zuklappen {
    color: var(--color-secondary);
    background: transparent;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    letter-spacing: 0.05rem;
    padding: 0.8rem 1.4rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.aufklappen:hover {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
}

.zuklappen {
    margin-top: 1.5rem;
}

.zuklappen:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.arrow-icon {
    transition: transform 0.4s ease;
}

.aufklappen.active .arrow-icon {
    transform: rotate(180deg);
}

/* -- VERDECKTER TEXT -- */

.ueber-mich-verdeckt {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.ueber-mich-verdeckt.is-open {
    grid-template-rows: 1fr;
}

/* -- BUTTON TEXT -- */

.ueber-mich-verdeckt-innen {
    min-height: 0;
    padding-top: 1.5rem;
}

.ueber-mich-verdeckt-innen p {
    text-align: left;
    margin-bottom: 1.2rem;
}

.ueber-mich-verdeckt-innen p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .ueber-mich {
        padding: 5%;
    }
}

/* ============================================
   5. KONTAKT + FRAGEN
   ============================================ */

/* -- KONTAKT -- */

.kontakt-seite {
    max-width: 600px;
    margin: 0.1rem auto;
}

.kontakt-formular {
    padding: 5rem 2rem;
}

.kontakt-formular h1 {
    color: var(--color-primary);
    font-size: 3rem;
    letter-spacing: 0.2rem;
   margin-bottom: 2rem;
}

.kontakt-formular h2 {
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    letter-spacing: 0.175rem;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.kontakt-eingabe {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    text-align: left;
}

.formular-eingabe {
    position: relative;
    width: 100%;
}

.formular-eingabe input,
.formular-eingabe textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-secondary);
    color: var(--color-black);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.formular-eingabe textarea {
    resize: vertical;
    min-height: 120px;
}

.formular-eingabe input:focus,
.formular-eingabe textarea:focus {
    box-shadow: 0 0 0 3px var(--color-primary);
}

.formular-eingabe label {
    position: absolute;
    top: 1.1rem;
    left: 1rem;
    font-weight: 500;
    color: #888;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
}

.formular-eingabe input:focus + label,
.formular-eingabe input:not(:placeholder-shown) + label,
.formular-eingabe textarea:focus + label,
.formular-eingabe textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 1rem;
    color: var(--color-secondary);
    background-color: var(--color-primary);
    padding: 0 0.4rem;
    border-radius: 4px;
}

.kontakt-eingabe button {
    align-self: center;
    padding: 0.7rem 1.8rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.kontakt-eingabe button:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* -- SPALTENAUFTEILUNG -- */

.kontakt-fragen {
    display: flex;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    align-items: flex-start;
}

.kontakt-spalte {
    flex: 1;
    min-width: 0;
}

.fragen-spalte {
    flex: 1;
    min-width: 0;
}

/* -- FRAGEN -- */

.fragen-spalte h2 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
}

.frage-inhalt {
    border-bottom: 1px solid rgba(247, 241, 229, 0.2);
}

.frage {
    width: 100%;
    background: none;
    border: none;
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 1.2rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plus-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.antwort {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0.2rem;
}

.antwort p {
    color: var(--color-secondary);
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 1rem;
}

.frage-inhalt.offen .antwort {
    max-height: 300px;
}

.frage-inhalt.offen .plus-icon {
    transform: rotate(45deg);
}

/* -- PLATTFORMEN --*/

.plattformen {
    color: var(--color-secondary);
    padding: 2.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.plattformen p {
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
}

.plattformen .adresse {
    flex-basis: 100%;
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.plattformen a {
    font-size: 1rem;
    letter-spacing: 0.05rem;
    border-bottom: 2px solid var(--color-secondary);
    transition: opacity 0.3s ease;
}

.plattformen a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .plattformen {
        flex-direction: column;
        gap: 0.9rem;
        text-align: center;
        padding: 2rem 1rem;
    }

    .plattformen p,
    .plattformen a {
        display: block;
    }

    .plattformen .adresse {
        margin-top: 1.2rem;
        font-size: 0.9rem;
    }

}

@media (max-width: 768px) {

    .kontakt-fragen {
        display: block;
    }

    .kontakt-spalte {
        padding: 10%;
    }
}

/* ============================================
    6. DANKE
   ============================================ */

.danke-section {
    max-width: 600px;
    margin: 17rem auto;
    text-align: center;
    color: var(--color-secondary);
}

.danke-section h1 {
    color: var(--color-primary);
    font-size: 2.5rem;
    letter-spacing: 0.1rem;
    margin-bottom: 3rem;
}

.danke-section p {
    font-size: 1.5rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 3rem;
}

.btn-zurueck {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-zurueck:hover,
.btn-zurueck:active {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-zurueck:focus-visible{
    box-shadow: var(--color-black);
}

/* ============================================
   7. FOOTER
   ============================================ */

.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 1rem 1rem;
}

.footer-inhalt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 48px;
}

.footer-name {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.footer-social img:hover {
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================================
   8. PORTFOLIO
   ============================================ */

.portfolio-seite {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-seite h1 {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 6px;
    margin-bottom: 3rem;
    font-size: 3rem;
    letter-spacing: 0.25rem;
}

/* ---- ÄUSSERE CONTAINER ---- */

.bilderrahmen-inhalt {
    display: flex;
    align-items: stretch;
    max-width: 960px;         
    margin: 0 auto 3rem auto;
    background-color: var(--color-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.bilderrahmen-inhalt:hover {
    transform: translateY(-6px);
}

/* ---- BILD LINKS ---- */

.bilderrahmen {
    position: relative;
    flex: 0 0 40%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.bilderrahmen-position {
    position: relative;
    width: 100%;
    height: 100%;
}

.bilderrahmen-gleiten {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bilderrahmen-gleiten.active {
    opacity: 1;
}

/* ---- PFEILE ---- */

.bilderrahmen-pfeile {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(29, 29, 27, 0.55);
    color: var(--color-secondary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.bilderrahmen-pfeile:hover {
    background: rgba(144, 67, 49, 0.9);
}

.arrow-left { left: 12px; }
.arrow-right { right: 12px; }

/* ---- PUNKTEANIMATION ---- */

.bilderrahmen-punkt {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.punkt {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-tertiary);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.punkt.active {
    opacity: 1;
    background-color: var(--color-primary);
    width: 10px;
    height: 10px;
}

/* ---- TEXT RECHTS ---- */

.portfolio-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 3rem;
    text-decoration: none;
    color: inherit;
}

.portfolio-text h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.15rem;
}

.portfolio-text h4 {
    color: var(--color-tertiary);
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}

.portfolio-text p {
    color: var(--color-tertiary);
    font-size: 1rem;
    letter-spacing: 0.05rem;
}

@media (max-width: 768px) {
    .bilderrahmen-inhalt {
        flex-direction: column;
    }

    .bilderrahmen {
        flex: none;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .portfolio-text {
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

}

/* ============================================
   9. PROJEKT
   ============================================ */

.projekt {
    text-align: center;
    padding: 2rem;
    font-size: 3rem;
    letter-spacing: 0.15rem;
    text-decoration: underline;
    text-underline-offset: 6px;
    color: var(--color-secondary);
    background: linear-gradient(to top, rgba(125, 125, 125), var(--color-primary));
    text-shadow: 0 5px 15px var(--color-black);
}

.verlauf,
.verlauf-rechts {
    --bild: clamp(200px, 28vw, 500px);
    --rand: 10rem;
    --luft: 2rem;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    padding-inline: calc(var(--bild) + var(--rand) + var(--luft));
    background: linear-gradient(to top, rgba(125, 125, 125), var(--color-tertiary), rgba(125, 125, 125));
}

.verlauf-text {
    text-align: left;
    transform: translateX(20rem);
}

.verlauf-text-rechts {
    text-align: left;
    transform: translateX(-20rem);
}

.verlauf-text h2,
.verlauf-text-rechts h2 {
    font-size: 1.75rem;
    letter-spacing: 0.15rem;
    padding-bottom: 1rem;
    color: var(--color-primary-hell);
    text-shadow: 0 5px 20px var(gray);
}

.verlauf-text p,
.verlauf-text-rechts p {
    font-size: 1.1rem;
    color: var(--color-secondary);
    letter-spacing: 0.04rem;
    text-shadow: 0 5px 20px var(gray);
}

.verlauf .bild {
    left: var(--rand);
}

.verlauf-rechts .bild {
    right: var(--rand);
}

.bild {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--bild);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0, 0, 0);
}

.abschluss {
    text-align: center;
    padding: 2rem;
    font-size: 2rem;
    letter-spacing: 0.15rem;
    color: var(--color-secondary);
    text-shadow: 0 5px 15px var(--color-black);
    background: linear-gradient(to top, var(--color-primary), rgba(125, 125, 125));
}

.btn-zum-portfolio {
    display: inline-block;
    color: var(--color-black);
    font-size: 1.25rem;
    letter-spacing: 0.025rem;
    border-radius: 10px;
    padding: 0.75rem;
    background: var(--color-secondary);
    box-shadow: 0 1px 5px var(--color-black);
}

.btn-zum-portfolio:hover {
    color: var(--color-secondary);
    background: var(--color-tertiary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.btn-zum-portfolio:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

.video-verlauf {
    height: auto;
    padding: 2rem 5%;
}

.video-bereich {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 0;
}

.video-rahmen {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    box-shadow: 0 4px 8px rgba(0,0,0,0.35);
}

.video-rahmen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-start {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(0,0,0,0.25);
    transition: opacity 0.25s ease;
}

.video-start span {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 225, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.video-start:hover span,
.video-start:focus-visible span {
    background: rgba(255, 255, 255, 0.16);
}

.video-rahmen.laeuft .video-start {
    opacity: 0;
    pointer-events: none;
}

.video-text h2 {
    font-size: 1.75rem;
    letter-spacing: 0.15rem;
    padding-bottom: 1rem;
    color: var(--color-primary-hell);
    text-shadow: 0 5px 20px var(gray);
}

.video-text p {
    font-size: 1.1rem;
    color: var(--color-secondary);
    letter-spacing: 0.04rem;
    text-shadow: 0 5px 20px var(gray);
}

.verlauf-video-text {

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    padding: 10rem 25rem;
    background: linear-gradient(to top, rgba(125, 125, 125), var(--color-tertiary), rgba(125, 125, 125));
}

@media (max-width: 1000px) {
    .projekt {
        font-size: 1.8rem;
        padding: 1.25rem 1rem;
        letter-spacing: 0.08rem;
    }

    .verlauf,
    .verlauf-rechts {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 1.5rem;
        height: auto;
        padding: 2rem 1.25rem;
    }

    .verlauf-rechts {
        flex-direction: column-reverse;
    }

    .bild {
        position: static;
        transform: none;
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .verlauf-text,
    .verlauf-text-rechts {
        transform: none;
    }

    .verlauf-text h2,
    .verlauf-text-rechts h2 {
        font-size: 1.4rem;
        letter-spacing: 0.08rem;
        padding-bottom: 0.5rem;
    }

    .verlauf-text p,
    .verlauf-text-rechts p {
        font-size: 1rem;
        letter-spacing: 0.02rem;
    }

    .video-verlauf {
        padding: 1rem 0.75rem;
    }

    .video-start span {
        width: 68px;
        height: 68px;
    }

    .abschluss {
        font-size: 1.4rem;
        padding: 1.5rem 1rem;
    }

    .verlauf-video-text {
        height: auto;
        padding: 1.5rem 1.25rem;
    }

    .video-text h2 {
        font-size: 1.4rem;
        letter-spacing: 0.08rem;
        padding-bottom: 0.5rem;
    }

    .video-text p {
        font-size: 1rem;
        letter-spacing: 0.02rem;
    }
}
/* ============================================
   10. RECHTLICHES
   ============================================ */
.rechtliches {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 3rem;
    color: white;
    border-right: 2px solid var(--color-secondary);
    border-left: 2px solid var(--color-secondary);
}

.rechtliches h1 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    letter-spacing: 0.025em;
}

.rechtliches h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
}

.rechtliches h3 {
    margin-bottom: 1rem;
    letter-spacing: 0.07em;
    font-size: 1.3rem;
}

.rechtliches h4 {
    margin-bottom: 0.5rem;
    letter-spacing: 0.07em;
    font-size: 1.1rem;
}

.rechtliches p {
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
