* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 1.125rem;
    line-height: 1.65;
    color: #3d3d3d;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #91266C;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover {
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid #91266C;
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 30;
    background: #fff;
    color: #222;
    padding: 0.4rem 0.7rem;
}

.skip:focus {
    top: 0.5rem;
}

.innen {
    width: min(1100px, calc(100% - 3rem));
    margin-inline: auto;
}

h1,
h2,
h3 {
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(2.65rem, 5vw, 3.6rem);
    color: #2c2c2c;
}

h2 {
    margin: 0 0 1.1rem;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
}

h3 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.5rem, 2.1vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 0.9rem;
}

.kopf {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #222729;
    border-top: 3px solid #91266C;
}

.kopf-innen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.25rem;
    gap: 1rem;
}

.marke {
    color: #fff;
    text-decoration: none;
    font-size: 0.98rem;
}

.menuknopf {
    display: none;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font: inherit;
    font-size: 0.95rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
}

.navigation {
    display: flex;
}

.navigation a {
    color: #fff;
    text-decoration: none;
    padding: 0.95rem 0.85rem;
    font-size: 0.95rem;
}

.navigation a:hover,
.navigation a[aria-current="true"] {
    background: #91266C;
}

.kopf a:focus-visible,
.menuknopf:focus-visible {
    outline-color: #fff;
}

section {
    scroll-margin-top: 3.6rem;
}

section .innen {
    padding-block: 3.4rem;
}

#einstieg {
    background: #fafafa;
}

.rolle {
    margin: 0 0 1.85rem;
    color: #91266C;
    font-size: 1.2rem;
}

.lead {
    max-width: 42rem;
}

.claim {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    line-height: 1.3;
    color: #2c2c2c;
}

.claim em {
    display: block;
    margin-top: 0.28rem;
    font-weight: 400;
    font-size: 1.2rem;
    color: #5c5c5c;
}

#arbeiten {
    background: #fff;
}

.einleitung {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.projekt {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.82fr);
    gap: 1.6rem 2.75rem;
    align-items: start;
    padding: 2.9rem 0;
    border-top: 1px solid #e4e4e4;
}

.bilder {
    display: grid;
    gap: 0.9rem;
}

.bilder img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 801px) {
    .innen {
        width: min(1100px, calc(100% - 5rem));
    }

    .projekt:has(.bilder.mehrere) {
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        row-gap: 1.4rem;
    }

    .projekt:has(.bilder.mehrere) .bilder {
        display: contents;
    }

    .projekt:has(.bilder.mehrere) .projekt-text {
        grid-column: 1 / -1;
    }
}

.art {
    margin: 0 0 0.25rem;
    color: #91266C;
    font-size: 0.95rem;
}

.beitrag {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.taetigkeit {
    white-space: nowrap;
}

.projekt-text p {
    max-width: 40rem;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    margin-bottom: 0;
}

#ueber-mich {
    background: #f4f2f3;
}

.ueber-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 2rem 2.5rem;
    align-items: start;
}

.ueber-grid p:last-child {
    margin-bottom: 0;
}

.portraet {
    width: 200px;
    height: auto;
    display: block;
}

#kontakt {
    background: #fafafa;
}

#kontakt .innen {
    padding-block: 1.6rem 1.4rem;
}

#kontakt h2 {
    margin-bottom: 0.8rem;
}

.kontakt-zeile {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.qr-rahmen {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
}

.qr {
    display: block;
    width: 90px;
    height: 90px;
    max-width: none;
}

.kontakt-angaben {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: center;
}

.kontakt-angaben p {
    margin: 0;
}

.zusatz,
.profile {
    color: #555;
    font-size: 0.95rem;
}

.profile a {
    color: #91266C;
}

.fuss {
    background: #91266C;
    color: #fff;
    text-align: right;
}

.fuss .innen {
    padding-block: 0.85rem 1.1rem;
}

.fuss p {
    margin: 0;
    font-size: 0.95rem;
}

.fuss a {
    color: #fff;
}

@media (max-width: 800px) {
    .projekt,
    .ueber-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-angaben {
        grid-template-columns: 1fr;
        row-gap: 0.65rem;
    }

    .portraet {
        width: 160px;
    }
}

@media (max-width: 680px) {
    .menuknopf {
        display: inline-block;
    }

    .navigation {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        background: #222729;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .navigation.offen {
        display: flex;
    }

    .navigation a {
        padding: 0.85rem 1.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* CCM19-Einstellungsicon: schlichtes Zeichen, über der Bewertungsleiste */
.ccm-settings-summoner {
    left: 1rem !important;
    right: auto !important;
    bottom: 0.85rem !important;
    width: 2rem !important;
    height: 2rem !important;
}

@media (min-width: 768px) {
    .ccm-settings-summoner {
        bottom: calc(44px + 0.65rem) !important;
    }
}

.ccm-settings-summoner--link {
    box-shadow: none !important;
    width: 2rem !important;
    height: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #222729 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ccm-settings-summoner--icon {
    display: none !important;
}

.ccm-settings-summoner--link::before {
    content: "" !important;
    width: 1.05rem;
    height: 1.05rem;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7.2' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3Ccircle cx='9.2' cy='10.2' r='1' fill='%23fff'/%3E%3Ccircle cx='13.3' cy='12.5' r='1' fill='%23fff'/%3E%3Ccircle cx='10.3' cy='14.7' r='.75' fill='%23fff'/%3E%3C/svg%3E");
}

/* Einstieg und Projektlayout */

.einstieg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.25rem 3rem;
    align-items: end;
}

.collage {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    grid-template-rows: 158px 158px;
    gap: 0.7rem;
}

.collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collage img:first-child {
    grid-row: 1 / span 2;
    object-position: 55% 42%;
}

.collage img:nth-child(2) {
    object-position: center 40%;
}

.collage img:nth-child(3) {
    object-position: center 46%;
}

.projekt {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.35rem 1.5rem;
    align-items: start;
}

.art::before {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-bottom: 0.55rem;
    background: #91266C;
}

.bild-links .bilder,
.bild-links .projekt-text,
.bild-rechts .bilder,
.bild-rechts .projekt-text,
.weit .bilder,
.weit .projekt-text,
.gross .bilder,
.gross .projekt-text,
.paar .bilder,
.paar .projekt-text {
    grid-row: 1;
}

.bild-links .bilder {
    grid-column: 1 / 8;
}

.bild-links .projekt-text {
    grid-column: 8 / 13;
}

.bild-rechts .projekt-text {
    grid-column: 1 / 6;
}

.bild-rechts .bilder {
    grid-column: 6 / 13;
}

.weit .bilder {
    grid-column: 1 / 9;
}

.weit .projekt-text {
    grid-column: 9 / 13;
}

.gross .projekt-text {
    grid-column: 1 / 6;
}

.gross .bilder {
    grid-column: 6 / 13;
}

.feature {
    padding-block: 3.25rem;
}

.feature .art::before {
    width: 3.25rem;
}

.feature .bilder,
.paar .bilder {
    display: grid;
    gap: 0.8rem;
}

.feature .bilder {
    grid-column: 1 / -1;
    grid-template-columns: 1.25fr 0.75fr;
}

.feature .projekt-text {
    grid-column: 1 / 8;
}

.paar .projekt-text {
    grid-column: 1 / 5;
}

.paar .bilder {
    grid-column: 5 / 13;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 980px) {
    .einstieg-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        align-items: stretch;
    }

    .collage {
        grid-template-columns: 1.45fr 1fr 1fr;
        grid-template-rows: 150px;
    }

    .collage img:first-child {
        grid-row: auto;
    }

    .projekt {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bild-links .bilder,
    .bild-links .projekt-text,
    .bild-rechts .bilder,
    .bild-rechts .projekt-text,
    .weit .bilder,
    .weit .projekt-text,
    .gross .bilder,
    .gross .projekt-text,
    .feature .bilder,
    .feature .projekt-text,
    .paar .bilder,
    .paar .projekt-text {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .feature .bilder,
    .paar .bilder {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .collage {
        grid-template-rows: 112px;
        gap: 0.45rem;
    }
}
