/* ---------- Grundlagen ---------- */
:root {
    --color-text: #111;
    --color-bg: #fff;
    --color-muted: #767676;
    --color-line: #e2e2e2;
    --color-tint: #f5f5f5;              /* sehr helles Grau für abgesetzte Textblöcke */
    --color-accent: #a8935a;            /* Goldton aus dem Logo */
    --gutter: 20px;                     /* Außenabstand im Header */
    --gap: 10px;                        /* Abstand zwischen den Bildern */
    --header-height: 56px;
    --content-max: 2000px;              /* größte Inhaltsbreite, abgestimmt auf die Auflösung der Fotos */
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

figure {
    margin: 0;
}

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

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--gutter);
    background: var(--color-bg);
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    width: auto;
    height: 40px;                       /* passt in den 56px hohen Header */
}

/* dezente Versionsnummer neben dem Logo (wird per JS aus style.css?v=… gelesen) */
.site-version {
    margin: 0 auto 0 16px;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 15px;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

/* Auf sehr großen Bildschirmen wächst der Inhalt nicht weiter mit – sonst werden
   die Fotos über ihre echte Pixelgröße hinaus gestreckt und wirken unscharf */
main {
    max-width: var(--content-max);
    margin: 0 auto;
}

/* ---------- Startseite: Bilder ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 2fr;      /* links Hochformat, rechts Querformat breiter */
    gap: var(--gap);
    align-items: start;
    padding: 0 0 80px;                   /* Bilder gehen bis an den Rand */
}

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

/* Text sitzt eingerückt über dem Querformat und erzeugt den Höhenversatz */
.hero__intro {
    max-width: 80em;
    margin: 0;
    padding: 60px 40px 110px 10%;   /* mehr Luft über Bild 2 */
    font-size: 14px;
    line-height: 1.45;
}

/* sieht genauso aus wie "ANKE ILLING" in der Start-Animation */
.hero__name {
    width: fit-content;
    margin: 0 0 0.4em;
    font-family: "IV Logo", "Helvetica Neue", Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero__title {
    margin: 0 0 1.4em;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.hero__intro p:not(.hero__name) {
    margin: 0 0 0.9em;
}

.hero__intro p:last-of-type {
    margin-bottom: 0;
}

/* ---------- CTA unter dem Text ---------- */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 1.6em;
    padding: 13px 20px;
    border: 1px solid var(--color-text);
    font-size: 14px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.cta__arrow {
    transition: transform 0.3s ease;
}

.cta:hover,
.cta:focus-visible {
    border-color: var(--color-accent);   /* Gold statt Schwarz beim Drüberfahren */
    color: var(--color-accent);
}

.cta:hover .cta__arrow,
.cta:focus-visible .cta__arrow {
    transform: translateX(4px);
}

/* ---------- Button, der beim Hovern unter dem Bild hervorkommt ---------- */
.photo {
    position: relative;
    isolation: isolate;
}

.photo img {
    position: relative;
    z-index: 1;                          /* Bild liegt über dem Button */
}

.photo__button {
    position: absolute;
    white-space: nowrap;                 /* Beschriftung bleibt einzeilig */
    top: 100%;
    left: 0;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border: 0;
    border-radius: 0;
    background: var(--color-text);
    color: var(--color-bg);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transform: translateY(-100%);        /* versteckt hinter dem Bild */
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
}

.photo:hover .photo__button,
.photo:focus-within .photo__button {
    transform: translateY(0);
}

.photo__button:hover,
.photo__button:focus-visible {
    background: var(--color-accent);
}

/* Nur Beschriftung ohne Verlinkung (Anne Lampen Architekten): kein Hover-Gold, kein Zeiger */
.photo__button--static,
.photo__button--static:hover {
    background: var(--color-text);
    cursor: default;
}

/* Nur auf reinen Touch-Geräten (kein Eingabegerät kann hovern) Button immer zeigen.
   Sobald eine echte Maus bewegt wird, setzt main.js html.has-mouse → wieder Hover-Verhalten */
@media (any-hover: none) {
    html:not(.has-mouse) .photo__button {
        position: static;
        transform: none;
    }

    html:not(.has-mouse) .photo--right .photo__button {
        display: flex;
        width: max-content;
        margin-left: auto;
    }
}

/* ---------- Rezensionen (Laufband) ---------- */
.reviews {
    padding: 40px 0 0;
}

.reviews__head {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 var(--gutter) 28px;
}

.reviews__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.reviews__label::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color-accent);
}

.reviews__line {
    flex: 1;
    height: 1px;
    background: var(--color-line);
}

.reviews__viewport {
    overflow: hidden;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.reviews__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: reviews-scroll 60s linear infinite;
}

.reviews__viewport:hover .reviews__track {
    animation-play-state: paused;
}

@keyframes reviews-scroll {
    to {
        transform: translateX(-50%);     /* Liste ist per JS verdoppelt */
    }
}

.review {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    width: 440px;
    padding: 40px 40px 32px;
    border-right: 1px solid var(--color-line);
}

.review__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.review__author {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.review__author span {
    display: block;
    font-weight: 400;
    color: var(--color-muted);
}

/* ---------- Abgrenzung unter den Rezensionen ---------- */
.divider {
    position: relative;
    width: 1px;
    height: 96px;
    margin: 80px auto;
    background: var(--color-line);
}

.divider::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 7px;
    height: 7px;
    background: var(--color-accent);
    transform: translate(-50%, 100%);
}

/* ---------- Bild 3 + Text 2 (Expertise) ---------- */
.expertise {
    padding: 0 0 100px;
}

/* mittig, leicht nach links versetzt (zentriert wäre 20 %) */
.expertise__image {
    width: 60%;
    margin-left: 15%;
}

/* Popup-Button bei diesem Bild: kommt rechts neben dem Bild unten heraus */
.photo--right .photo__button {
    top: auto;
    bottom: 0;
    left: 100%;
    transform: translateX(-100%);        /* versteckt hinter dem Bild */
}

.photo--right:hover .photo__button,
.photo--right:focus-within .photo__button {
    transform: translateX(0);
}

.expertise__text {
    max-width: 44em;
    margin: 88px 0 0 15%;
    padding-right: 20px;
}

/* Text 2.1 sitzt schräg rechts unter Text 2 */
.expertise__text--offset {
    max-width: none;
    margin: 64px 0 0 48%;
    padding-right: 10%;                  /* nutzt die Breite bis kurz vor den rechten Rand */
}

.expertise__title {
    margin: 0 0 1em;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.expertise__text p {
    margin: 0 0 0.9em;
}

/* Kundenliste: fortlaufend im Fließtext, Firmennamen fett, goldener Punkt als Trenner */
.clients {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clients li {
    display: inline;
    font-weight: 700;
}

.clients li:not(:last-child)::after {
    content: "•";
    margin: 0 0.6em;
    font-weight: 400;
    color: var(--color-accent);
}

/* ---------- Bild 4 + Text 3 (Corporate Fotografie) ---------- */
/* 12er-Raster: Bild 4 groß links, kleines Bild schräg rechts darunter, Text 3 links daneben */
.corporate {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    padding: 0 0 160px;                  /* Bild 4 geht bis an den linken Rand */
}

.corporate__image {
    grid-column: 1 / 8;
    grid-row: 1;
}

.corporate__small {
    grid-column: 8 / 12;                 /* größer, schließt die Lücke rechts */
    grid-row: 2;
    align-self: start;                   /* Figur so hoch wie das Bild, damit der Button am Bild sitzt */
    margin-top: max(-18vw, -360px);      /* ragt neben Bild 4 nach oben – versetzt, nicht bündig */
}

.corporate__text {
    grid-column: 1 / 8;                  /* breiter: vom linken Bereich bis an das kleine Bild */
    grid-row: 2;
    align-self: start;
    margin-top: 96px;
    padding-left: 6vw;
    max-width: 60em;
    padding-right: 40px;
    font-size: 16px;                     /* etwas größer als Text 2 */
    line-height: 1.6;
}

.corporate__title {
    margin: 0 0 1em;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.corporate__text p {
    margin: 0 0 1em;
}

/* ---------- Text 4 + Bild 5 (Über mich) ---------- */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 34%);
    gap: 96px;
    align-items: center;
    padding: 0 8% 160px 10%;             /* Bild rechts, aber nicht am Rand */
}

.about-teaser__text {
    max-width: 38em;
    justify-self: end;
    font-size: 16px;
    line-height: 1.6;
}

.about-teaser__text p {
    margin: 0 0 1em;
}

/* Name im Stil der Start-Animation, hier in Schwarz */
.display-name {
    margin: 0 0 0.6em;
    font-family: "IV Logo", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ---------- Bild 7 + Bild 6 (gespiegelt zu Bild 1 und 2) ---------- */
.pair {
    display: grid;
    grid-template-columns: 2fr 1fr;      /* links Querformat breiter, rechts Hochformat */
    gap: var(--gap);
    align-items: start;
    padding: 0 0 60px;                   /* Bilder gehen bis an den Rand, Abstand nach unten übernimmt die Linie */
}

/* Höhenversatz: Überschrift + Querformat beginnen tiefer als das Hochformat */
.pair__left {
    margin-top: clamp(160px, 20vw, 380px);
}

.pair__title {
    margin-bottom: 32px;
    padding: 0 40px 0 6vw;               /* eingerückt wie die Textblöcke */
}

.pair__landscape {
    width: 85%;                          /* kleiner als die Spalte → Lücke zum Hochformat */
}

/* Popup-Button beim rechten Bild rechtsbündig */
.photo--align-right .photo__button {
    left: auto;
    right: 0;
}

/* ---------- Text 5, Bild 10, Bild 8, Bild 9 (Personal Branding) ---------- */
/* oben: Text 5 links + größeres Hochformat (Bild 10) rechts
   unten: Bild 9 rechts beginnt nur minimal höher als Bild 8 links */
.branding {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    row-gap: 180px;                      /* Abstand zwischen Text 5/Bild 10 und Bild 8/9 */
    padding: 0 0 160px;
}

.branding__wide {
    grid-column: 1 / 7;                  /* etwas kleiner */
    grid-row: 2;
    align-self: start;
    margin-top: 80px;                    /* minimal tiefer als Bild 9 */
}

.branding__small {
    grid-column: 9 / 12;
    grid-row: 2;
    align-self: start;
}

.branding__text {
    grid-column: 1 / 8;
    grid-row: 1;
    align-self: start;
    max-width: 60em;
    padding: 0 40px 0 6vw;
    font-size: 16px;
    line-height: 1.6;
}

.branding__text p {
    margin: 0 0 1em;
}

.branding__portrait {
    grid-column: 8 / 12;
    grid-row: 1;
    align-self: start;
}

/* ---------- Bild 11–13 + Text 6 / 6.1 (Projekt „Sichtbar“) ---------- */
/* links: Bild 11, darunter Text 6, darunter Bild 13 (am Rand)
   rechts: Bild 12 (Hochformat), darunter Text 6.1 – leicht nach links versetzt */
.sichtbar {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    row-gap: 72px;
    padding: 0 0 160px;
    font-size: 16px;
    line-height: 1.6;
}

.sichtbar__img11 {
    grid-column: 2 / 8;
    grid-row: 1;
    align-self: start;
}

.sichtbar__img12 {
    grid-column: 9 / 12;
    grid-row: 1 / 3;
    align-self: start;
    margin-top: clamp(120px, 16vw, 300px);   /* tiefer, teilweise neben Text 6 */
}

.sichtbar__text6 {
    grid-column: 2 / 8;
    grid-row: 2;
    align-self: start;
    padding-right: 40px;
}

.sichtbar__img13 {
    grid-column: 1 / 6;
    grid-row: 3;
    align-self: start;
}

.sichtbar__text61 {
    grid-column: 7 / 12;
    grid-row: 3;
    align-self: start;
}

.sichtbar p {
    margin: 0 0 1em;
}

.sichtbar__title {
    margin-bottom: 0.3em;
}

/* zweite Überschrift: kleiner und nicht fett */
.sichtbar__subtitle {
    margin: 0 0 1.4em;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.isbn {
    margin: 1.6em 0 0;
    padding-top: 1em;
    border-top: 1px solid var(--color-line);
    font-size: 13px;
}

.isbn div {
    display: flex;
    gap: 16px;
}

.isbn dt {
    min-width: 9em;
    color: var(--color-muted);
}

.isbn dd {
    margin: 0;
}

/* ---------- Unterseite about ---------- */
.page {
    padding: 96px 10% 160px;
}

.page-intro {
    max-width: 44em;
    margin-bottom: 120px;
}

.page-intro .display-name {
    margin-bottom: 0.4em;
}

.page-intro__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 32px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.page-intro__label::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color-accent);
}

/* about-Seite: Text links, Porträt rechts */
.about-page {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 32%);
    gap: 96px;
    align-items: start;
}

.about-page__text {
    max-width: 40em;
    font-size: 16px;
    line-height: 1.6;
}

.about-page__text p:not(.page-intro__label) {
    margin: 0 0 1em;
}

.about-page__image {
    margin-top: 120px;                   /* leichter Versatz zum Text */
}

/* Referenzen (Namensliste) in abgesetzter Box wie .ep-statement__box, mit goldenem Quadrat darüber */
.about-page__text .about-page__refs {
    max-width: none;
    padding: clamp(32px, 3.5vw, 56px);
    background: var(--color-tint);
}

.about-page__refs::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin-bottom: 24px;
    background: var(--color-accent);
}

/* about-Seite: Projekte unter dem Text, versetzt im 12er-Raster */
.about-projects {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    margin-top: 160px;
}

/* Trenner zwischen den Projekten, ersetzt den Zeilenabstand */
.about-projects__divider {
    grid-column: 1 / -1;
}

.about-projects__intro {
    grid-column: 1 / 8;
    max-width: 40em;
    font-size: 16px;
    line-height: 1.6;
}

/* Bild 1 verlinkt auf die Projektseite */
.about-project a {
    display: block;
}

.about-projects__intro h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 1.5em;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about-projects__intro h2::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color-accent);
}

.about-projects__intro p {
    margin: 0 0 1em;
}

.about-project {
    margin: 0;
}

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

.about-project figcaption {
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.about-project--1 {
    grid-column: 1 / 8;
    margin-top: 96px;                    /* Luft zum Einleitungstext, kein Trenner */
}

.about-project--2 {
    grid-column: 6 / 9;
    margin-top: 40px;
}

.about-project--3 {
    grid-column: 9 / 13;
    align-self: end;
}

.about-project--4 {
    grid-column: 2 / 7;
}

.about-project--5 {
    grid-column: 7 / 13;
    margin-top: 120px;                   /* Luft nach Bild 4, kein Trenner */
}

/* ---------- Kontakt ---------- */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 96px;
    padding-top: 64px;
    border-top: 1px solid var(--color-line);
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.contact__title {
    margin: 0 0 1em;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.contact__intro p {
    margin: 0;
    max-width: 28em;
    font-size: 16px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 640px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.field__optional {
    color: var(--color-muted);
    text-transform: none;
    letter-spacing: 0;
}

.field input,
.field textarea {
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    color: var(--color-text);
    resize: vertical;
    transition: border-color 0.3s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--color-text);
}

.field.is-invalid input,
.field.is-invalid textarea {
    border-bottom-color: #b3261e;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--color-muted);
    cursor: pointer;
}

.consent input {
    margin: 2px 0 0;
    accent-color: var(--color-text);
}

.consent.is-invalid {
    color: #b3261e;
}

.contact-form .cta {
    align-self: flex-start;
    margin-top: 0;
}

.contact-form__status {
    min-height: 1.5em;
    margin: -12px 0 0;
    font-size: 13px;
}

.contact-form__status.is-error {
    color: #b3261e;
}

.contact-form__status.is-success {
    color: var(--color-text);
}

/* Honigtopf gegen Spam: außerhalb des sichtbaren Bereichs, aber für Bots auffindbar */
.field--trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Während des Sendens gedimmt */
.contact-form .cta:disabled {
    opacity: 0.5;
    cursor: progress;
}

/* Button-Element sieht aus wie der Link-CTA */
button.cta {
    background: transparent;
    font: inherit;
    font-size: 14px;
    color: inherit;
    border-radius: 0;
    cursor: pointer;
}

/* ---------- Seite executive portraits ---------- */
/* Jeder Block (Bild + Text) liegt auf einem 12er-Raster; Bilder und Texte springen bewusst
   zwischen linkem Rand, Mitte und rechtem Rand – locker, aber architektonisch geordnet */
.ep {
    padding: 96px 0 40px;
}

.project {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    row-gap: 48px;
    align-items: start;
    padding-bottom: 200px;
}

/* Seitentitel: bündig mit der linken Kante von Bild 1 */
.ep-head {
    padding-bottom: 56px;
}

/* Größe und Schrift kommen von .display-name (wie auf den Projektseiten);
   der Titel läuft über zwei Zeilen und braucht deshalb etwas mehr Zeilenhöhe */
.ep-title {
    grid-column: 2 / 12;
    margin: 0;
    line-height: 1.1;
}

.project__text {
    max-width: 34em;
    font-size: 16px;
    line-height: 1.6;
}

.project__text p {
    margin: 0 0 0.9em;
}

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

.project__title {
    margin: 0 0 0.6em;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

/* Text 1.1 – dezent abgesetzt: hellgraue Fläche unter Bild 1, bündig mit dessen linker Kante,
   darüber das goldene Quadrat. Der Trenner danach bringt den Abstand zu Bild 2 */
.ep-statement {
    padding-bottom: 0;
}

.ep-statement__box {
    grid-column: 2 / 9;
    padding: clamp(32px, 3.5vw, 56px);
    background: var(--color-tint);
    font-size: 16px;
    line-height: 1.6;
}

.ep-statement__box::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin-bottom: 24px;
    background: var(--color-accent);
}

.ep-statement__box p {
    max-width: 44em;
    margin: 0 0 0.9em;
}

/* Trenner wie auf der Startseite, hier mit etwas mehr Luft nach unten */
.ep .divider {
    margin: 96px auto 120px;
}

/* Bild 1 – eingerückt links, Text rechts auf halber Höhe; Text 1.1 folgt dicht darunter */
.p1 {
    padding-bottom: 96px;
}

.p1 .img-a        { grid-column: 2 / 8;  grid-row: 1; }
.p1 .project__text { grid-column: 9 / 12; grid-row: 1; align-self: center; }

/* Bild 2 – großes Hochformat rechts, Text links auf halber Höhe */
.p2 .img-a        { grid-column: 7 / 12; grid-row: 1; }
.p2 .project__text { grid-column: 2 / 6;  grid-row: 1; align-self: center; }

/* Bild 3 – Querformat links am Rand, Text rechts oben */
.p3 .img-a        { grid-column: 1 / 7;  grid-row: 1; }
.p3 .project__text { grid-column: 8 / 12; grid-row: 1; margin-top: 48px; }

/* Bild 4 – größeres Querformat eingerückt, Text rechts unten bündig */
.p4 .img-a        { grid-column: 2 / 9;  grid-row: 1; }
.p4 .project__text { grid-column: 10 / 13; grid-row: 1; align-self: end; padding-right: 20px; }

/* Bild 5 – Hochformat rechts am Rand, Text links unten bündig */
.p5 .img-a        { grid-column: 9 / 13; grid-row: 1; }
.p5 .project__text { grid-column: 3 / 8;  grid-row: 1; align-self: end; }

/* Bild 6 – Querformat links am Rand, Text rechts auf halber Höhe */
.p6 .img-a        { grid-column: 1 / 8;  grid-row: 1; }
.p6 .project__text { grid-column: 9 / 12; grid-row: 1; align-self: center; }

/* Bild 7 – Hochformat links am Rand, Text rechts leicht abgesenkt */
.p7 .img-a        { grid-column: 1 / 5;  grid-row: 1; }
.p7 .project__text { grid-column: 6 / 11; grid-row: 1; margin-top: 96px; }

/* Bild 8 + 9 – zwei gleich große Hochformate rechts am Rand, höhenversetzt, Text links */
.p8 .img-a        { grid-column: 7 / 10;  grid-row: 1; }
.p8 .img-b        { grid-column: 10 / 13; grid-row: 1; margin-top: 40px; }
.p8 .project__text { grid-column: 2 / 6;   grid-row: 1; align-self: center; }

/* Bild 10 – eingerückt links, Text rechts oben */
.p9 {
    padding-bottom: 0;                   /* Abstand übernimmt der Trenner darunter */
}

.p9 .img-a        { grid-column: 2 / 7;  grid-row: 1; }
.p9 .project__text { grid-column: 8 / 12; grid-row: 1; margin-top: 48px; }

/* Pfeil-Links schließen hier mit der rechten Textkante ab */
.ep .case-nav {
    padding-right: calc(100% / 12);
}

/* ---------- Seite portraits-personal ---------- */
/* Nutzt die Bausteine der Seite executive portraits (.ep, .project, .ep-statement__box);
   hier steht nur die Platzierung je Block. Nummer = Textnummer der Vorlage */

/* Bild 1 – eingerückt links, Text darunter an derselben Kante; der Kasten folgt dicht darunter */
.pp1 {
    padding-bottom: 96px;
}

.pp1 .img-a        { grid-column: 2 / 9;  grid-row: 1; }
.pp1 .project__text { grid-column: 2 / 9;  grid-row: 2; max-width: 44em; }

/* Bild 2 – Querformat links am Rand, Text rechts unten bündig */
.pp2 .img-a        { grid-column: 1 / 7;  grid-row: 1; }
.pp2 .project__text { grid-column: 8 / 12; grid-row: 1; align-self: end; }

/* Bild 3 – Hochformat eingerückt links, Text rechts leicht abgesenkt */
.pp3 .img-a        { grid-column: 2 / 6;  grid-row: 1; }
.pp3 .project__text { grid-column: 7 / 12; grid-row: 1; margin-top: 96px; }

/* Bild 4 – Hochformat rechts, Text links auf halber Höhe */
.pp4 .img-a        { grid-column: 8 / 12; grid-row: 1; }
.pp4 .project__text { grid-column: 2 / 7;  grid-row: 1; align-self: center; }

/* Bild 5 + 6 – Querformat links am Rand, Hochformat mit Abstand daneben und etwas tiefer;
   Text darunter eingerückt */
.pp5 .img-a        { grid-column: 1 / 7;  grid-row: 1; }
.pp5 .img-b        { grid-column: 8 / 11; grid-row: 1; margin-top: 40px; }
.pp5 .project__text { grid-column: 2 / 8;  grid-row: 2; }

/* Bild 7 – größeres Querformat links am Rand, Text rechts auf halber Höhe */
.pp6 .img-a        { grid-column: 1 / 8;  grid-row: 1; }
.pp6 .project__text { grid-column: 9 / 12; grid-row: 1; align-self: center; }

/* Bild 8 – großes Querformat bis an den rechten Rand, Text darunter an dessen linker Kante */
.pp7 {
    padding-bottom: 0;                   /* Abstand übernimmt der Trenner darunter */
}

.pp7 .img-a        { grid-column: 5 / 13; grid-row: 1; }
.pp7 .project__text { grid-column: 5 / 11; grid-row: 2; }

/* Pfeil-Links im hellgrauen Kasten: gleiche Fläche wie .ep-statement__box, aber ohne goldenes
   Quadrat und nur so breit wie die Links. Schließt rechts mit dem Raster ab */
.ep .case-nav--box {
    align-items: flex-start;
    width: fit-content;
    margin: 0 calc(100% / 12) 120px auto;
    padding: clamp(28px, 3vw, 44px) clamp(32px, 3.5vw, 56px);
    background: var(--color-tint);
}

/* Logo-Schriftzug "ANKE ILLING / Linie / PORTRÄTFOTOGRAFIE" als statisches Element,
   gleicher Aufbau wie in der Start-Animation (Name und Linie gold) */
.name-mark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 8px;
    font-family: "IV Logo", "Helvetica Neue", Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.name-mark__name {
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-accent);
}

.name-mark__rule {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0.35em 0 0.45em;
    background: var(--color-accent);
}

.name-mark__sub {
    margin-right: calc(-1 * var(--sub-spacing, 0.42em));
    font-size: 0.34em;
    font-weight: 300;
    letter-spacing: var(--sub-spacing, 0.42em);   /* per JS exakt auf Namensbreite */
    text-transform: uppercase;
    white-space: nowrap;
}

/* Zurück zur Startseite (Ende der Porträts-Seite) */
.ep-back {
    display: flex;
    justify-content: center;
    padding: 0 20px 120px;
}

/* Dezenter Linien-Link: kleine gesperrte Schrift, davor eine feine Linie,
   die beim Hovern länger wird */
.line-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: color 0.4s ease;
}

.line-link__line {
    width: 32px;
    height: 1px;
    background: currentColor;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
}

.line-link:hover,
.line-link:focus-visible {
    color: var(--color-text);
}

.line-link:hover .line-link__line,
.line-link:focus-visible .line-link__line {
    width: 64px;
    background: var(--color-accent);
}

/* ---------- Projektseiten (cfm …) ---------- */
/* Gemeinsame Bausteine: .case (Rahmen), .case-grid (12er-Raster je Bildgruppe),
   .case-head (Titelblock), .case-nav (Pfeil-Links zu anderen Seiten).
   Die Platzierung der einzelnen Bilder steht je Seite darunter (.cfm-1 …) */
.case {
    padding: 48px 0 40px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    row-gap: 24px;
    align-items: start;
    padding-bottom: 140px;
}

.case-head {
    grid-column: 2 / 10;
    font-size: 16px;
    line-height: 1.6;
}

.case-head .display-name {
    margin-bottom: 0.5em;
}

/* zweite Überschrift: kleiner und nicht fett */
.case-head__sub {
    margin: 0 0 1.6em;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.case-head p {
    max-width: 44em;
    margin: 0 0 0.9em;
}

/* Pfeil-Links am Seitenende: rechtsbündig untereinander, schließen mit der Bildkante ab */
.case-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding: 0 calc(100% / 6) 120px 20px;
    font-size: 18px;
}

.case-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.case-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.case-nav__arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.case-nav__link:hover::after,
.case-nav__link:focus-visible::after {
    transform: scaleX(1);
}

.case-nav__link:hover .case-nav__arrow,
.case-nav__link:focus-visible .case-nav__arrow {
    color: var(--color-accent);
    transform: translateX(4px);
}

.case-nav__link--back:hover .case-nav__arrow,
.case-nav__link--back:focus-visible .case-nav__arrow {
    transform: translateX(-4px);
}

/* Seite cfm – Bild 1 leicht links der Mitte (wie gsk), darunter Titelblock */
.cfm-intro {
    row-gap: 72px;
}

.cfm-1 { grid-column: 3 / 10; }

/* Bild 2 am linken Rand, Bild 3 am rechten Rand und etwas tiefer */
.cfm-2 { grid-column: 1 / 6; }
.cfm-3 { grid-column: 8 / 13; margin-top: 96px; }

/* Bild 4 groß bis an den linken Rand, Bild 5 rechts mit Abstand und deutlich tiefer –
   ragt unten über Bild 4 hinaus */
.cfm-work {
    padding-bottom: 200px;
}

.cfm-4 { grid-column: 1 / 8; }
.cfm-5 { grid-column: 9 / 13; margin-top: min(27vw, 540px); }

/* Bild 6–8: Team-Porträts groß (4 Spalten wie Bild 4.1 der Startseite) und frei versetzt –
   kein Raster: links hoch / rechts tief, eines allein in der Mitte */
.cfm-team {
    row-gap: clamp(100px, 11vw, 220px);
}

.cfm-6  { grid-column: 2 / 6; }
.cfm-7  { grid-column: 8 / 12; margin-top: min(20vw, 400px); }
.cfm-8  { grid-column: 4 / 8; }

/* Seite wacholderweg – Bild 1 mittig (nur 1200px breit, daher 6 Spalten), darunter Titelblock */
.wacholderweg-intro {
    row-gap: 72px;
}

.wacholderweg-1 { grid-column: 4 / 10; }

/* Bild 2 + 3: Hochformate (633px breit, daher 4 Spalten) nebeneinander, rechtes tiefer */
.wacholderweg-2 { grid-column: 3 / 7; }
.wacholderweg-3 { grid-column: 7 / 11; margin-top: min(12vw, 240px); }

/* Bild 4 links bis an den Rand, Bild 5 rechts versetzt und tiefer – überlappt es in der Höhe */
.wacholderweg-garden {
    padding-bottom: 200px;
}

.wacholderweg-4 { grid-column: 1 / 7; }
.wacholderweg-5 { grid-column: 7 / 12; margin-top: min(24vw, 480px); }

/* Seite weberbrunner – Bild 1 mittig, darunter Titelblock */
.weberbrunner-intro {
    row-gap: 72px;
}

.weberbrunner-1 { grid-column: 3 / 10; }

/* Bild 2–4: Einzelporträts (634px breit, daher 4 Spalten) frei versetzt –
   links hoch / rechts tief, eines allein in der Mitte */
.weberbrunner-team {
    row-gap: clamp(100px, 11vw, 220px);
}

.weberbrunner-2 { grid-column: 2 / 6; }
.weberbrunner-3 { grid-column: 8 / 12; margin-top: min(14vw, 280px); }
.weberbrunner-4 { grid-column: 4 / 8; }

/* Bild 5 groß bis an den linken Rand, Bild 6 rechts mit Abstand und tiefer –
   ragt unten über Bild 5 hinaus */
.weberbrunner-group {
    padding-bottom: 200px;
}

.weberbrunner-5 { grid-column: 1 / 8; }
.weberbrunner-6 { grid-column: 9 / 13; margin-top: min(22vw, 440px); }

/* Seite pmg – Bild 1 mittig, darunter Titelblock */
.pmg-intro {
    row-gap: 72px;
}

.pmg-1 { grid-column: 3 / 10; }

/* Bild 2 am linken Rand, Bild 3 rechts daneben, kleiner und tiefer */
.pmg-2 { grid-column: 1 / 7; }
.pmg-3 { grid-column: 9 / 13; margin-top: min(14vw, 280px); }

/* Bild 4 mit Abstand zum linken Rand */
.pmg-team {
    padding-top: clamp(40px, 6vw, 120px);
    padding-bottom: 200px;
}

.pmg-4 { grid-column: 4 / 11; }

/* Seite gsk – Bild 1 leicht links der Mitte, darunter Titelblock */
.gsk-intro {
    row-gap: 72px;
}

.gsk-1 { grid-column: 3 / 10; }

/* Bild 2 hochkant am linken Rand, Bild 3 rechts daneben auf halber Höhe */
.gsk-2 { grid-column: 1 / 5; }
.gsk-3 { grid-column: 7 / 13; align-self: center; }

/* Bild 4 groß mit Abstand zum linken Rand, Bild 5 kleiner am rechten Rand und tiefer –
   ragt unten über Bild 4 hinaus */
.gsk-place {
    padding-bottom: 200px;
}

.gsk-4 { grid-column: 2 / 8; }
.gsk-5 { grid-column: 9 / 13; margin-top: min(14vw, 280px); }

/* Seite gulde – Bild 1 leicht links der Mitte (wie cfm und gsk), darunter Titelblock */
.gulde-intro {
    row-gap: 72px;
}

.gulde-1 { grid-column: 3 / 10; }

/* Bild 2 groß bis an den linken Rand, Bild 3 hochkant rechts daneben und deutlich tiefer */
.gulde-rooms {
    padding-bottom: 220px;
}

.gulde-2 { grid-column: 1 / 8; }
.gulde-3 { grid-column: 9 / 12; margin-top: min(12vw, 240px); }

/* Bild 4 hochkant links und tiefer, Bild 5 quer am rechten Rand; Bild 6 sitzt mit einer
   Spalte Luft neben Bild 4 und rutscht nur wenig nach oben */
.gulde-details {
    padding-bottom: 240px;
}

.gulde-4 { grid-column: 2 / 6; margin-top: min(10vw, 200px); }
.gulde-5 { grid-column: 8 / 13; }
.gulde-6 { grid-column: 7 / 11;margin-top: max(-5vw, -100px); }

/* Ganze Bilder mit Projekt-Link sind klickbar */
.photo--linked img {
    cursor: pointer;
}

/* ---------- Seite sichtbar (Frauen in der Architektur) ---------- */
/* Je Bild steht der zugehörige Text (Name + Statement) direkt darunter. Die Bilder sind
   frei versetzt (Anordnung aus sichtbar_anordnung.pdf), Hochformate nur 3–5 Spalten breit,
   weil die Dateien nur 800–1400px breit vorliegen */
.sb-grid {
    row-gap: clamp(72px, 8vw, 150px);
    padding-bottom: clamp(100px, 11vw, 200px);
}

.sb-intro {
    padding-bottom: 80px;
}

.sb-intro__lead {
    margin-top: 2.4em;
}

.sb-cap {
    max-width: 34em;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.sb-cap__name {
    margin: 0 0 10px;
    color: var(--color-muted);
}

.sb-cap__name strong {
    color: var(--color-text);
}

.sb-cap__quote {
    margin: 0;
    font-size: 16px;
    font-style: italic;
    line-height: 1.55;
}

/* Gruppe 1: Bild 1 (Trio) groß, Bild 2 klein rechts oben; Bild 3 links, Bild 4 rechts und tiefer */
.sb-1 { grid-column: 2 / 8; }
.sb-2 { grid-column: 9 / 12; }
.sb-3 { grid-column: 1 / 7; }
.sb-4 { grid-column: 8 / 13; margin-top: min(9vw, 180px); }

/* Gruppe 2: Bild 5 hochkant links, Bild 6 rechts und tiefer; Bild 7 groß darunter */
.sb-5 { grid-column: 1 / 6; }
.sb-6 { grid-column: 7 / 13; margin-top: min(14vw, 280px); }
.sb-7 { grid-column: 1 / 8; }

/* Gruppe 3: Bild 8 in der Mitte, darunter Bild 9 links und Bild 10 rechts und tiefer */
.sb-8  { grid-column: 5 / 9; }
.sb-9  { grid-column: 1 / 7; }
.sb-10 { grid-column: 8 / 13; margin-top: min(9vw, 180px); }

/* Gruppe 4: Bild 11 und 12 nebeneinander (12 etwas tiefer), Bild 13 quer darunter */
.sb-11 { grid-column: 3 / 7; }
.sb-12 { grid-column: 8 / 12; margin-top: min(6vw, 120px); }
.sb-13 { grid-column: 2 / 9; }

/* Gruppe 5: Bild 14 am linken Rand, Bild 15 rechts und tiefer; Bild 16 darunter */
.sb-14 { grid-column: 1 / 5; }
.sb-15 { grid-column: 7 / 12; margin-top: min(8vw, 160px); }
.sb-16 { grid-column: 2 / 6; }

/* Buch: Cover groß links, die drei Doppelseiten untereinander rechts */
.sb-book {
    row-gap: 24px;
}

.sb-17 { grid-column: 1 / 8; grid-row: 1 / span 3; align-self: center; }
.sb-18 { grid-column: 9 / 13; }
.sb-19 { grid-column: 9 / 13; }
.sb-20 { grid-column: 9 / 13; }

/* ---------- Datenschutzseite ---------- */
.legal {
    max-width: 48em;
    margin-bottom: 120px;
    font-size: 15px;
    line-height: 1.6;
}

.legal h2 {
    margin: 2.4em 0 0.6em;
    font-size: 22px;
    line-height: 1.25;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal h3 {
    margin: 1.8em 0 0.5em;
    font-size: 18px;
    line-height: 1.25;
}

.legal h4 {
    margin: 1.5em 0 0.4em;
    font-size: 15px;
}

.legal p,
.legal ul {
    margin: 0 0 1em;
}

.legal ul {
    padding-left: 1.4em;
}

.legal li {
    margin-bottom: 0.5em;
}

.legal a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: color 0.3s ease;
}

.legal a:hover,
.legal a:focus-visible {
    color: var(--color-accent);
}

/* ---------- Editor ----------
   Werkzeug zum Umgestalten der Seite, nicht Teil des Designs: bewusst hellblau, leuchtend
   und abgerundet, damit er klar vom ruhigen Seiten-Look abgesetzt ist. */
:root {
    --editor-blue: #7fd3ff;             /* leuchtender Schalter */
    --editor-blue-strong: #1597e0;      /* Linien, Auswahl, Griffe */
    --editor-ink: #04293f;
}

.editor-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--editor-blue);
    color: var(--editor-ink);
    font: 700 12px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 0 0 10px 2px rgba(80, 190, 255, 0.65), 0 0 26px 6px rgba(80, 190, 255, 0.35);
    animation: editor-glow 3s ease-in-out infinite;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.editor-toggle:hover,
.editor-toggle:focus-visible,
.editor-toggle[aria-pressed="true"] {
    background: #a6e2ff;
    box-shadow: 0 0 14px 4px rgba(80, 190, 255, 0.85), 0 0 34px 10px rgba(80, 190, 255, 0.45);
}

.editor-toggle:focus-visible {
    outline: 2px solid var(--editor-ink);
    outline-offset: 2px;
}

.editor-toggle__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--editor-ink);
}

.editor-toggle[aria-pressed="true"] .editor-toggle__dot {
    background: #fff;
    box-shadow: 0 0 0 2px var(--editor-ink);
}

@keyframes editor-glow {
    50% {
        box-shadow: 0 0 6px 1px rgba(80, 190, 255, 0.5), 0 0 16px 3px rgba(80, 190, 255, 0.25);
    }
}

/* Zustand „Editor an“: Seite lässt sich nicht mehr versehentlich bedienen */
body.is-editing {
    -webkit-user-select: none;
    user-select: none;
}

body.is-editing img {
    -webkit-user-drag: none;
}

body.is-editing .photo__button {
    display: none;
}

/* alles sofort zeigen, damit auch nicht gescrollte Bilder greifbar sind */
body.is-editing .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

body.is-editing main figure {
    overflow: visible;
}

body.is-editing main img:hover,
body.is-editing main :is(h1, h2, h3, h4, h5, h6, p, blockquote, li, figcaption, .divider):hover {
    outline: 1px dashed rgba(21, 151, 224, 0.6);
    outline-offset: 2px;
}

/* Trenner ist nur 1px breit: im Editor eine unsichtbare, breitere Trefferfläche zum Anklicken */
body.is-editing .divider::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -8px;
    left: -14px;
    right: -14px;
}

body[data-editor-mode="move"] .editor-selected {
    cursor: move;
}

body.is-editing .editor-editing {
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
    outline: 1px dashed var(--editor-blue-strong);
    outline-offset: 2px;
}

/* Ebene für Beschriftungen, Auswahl, Griffe und Hilfslinien – liegt in Dokumentkoordinaten über der Seite */
.editor-layer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9998;
    overflow: hidden;
    pointer-events: none;
}

.editor-tag {
    position: absolute;
    font: 400 10px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.08em;
    color: #b5b5b5;                     /* bewusst blass: nur Hinweis, nicht veränderbar */
}

.editor-selection {
    position: absolute;
    outline: 2px solid var(--editor-blue-strong);
    outline-offset: -1px;
    box-shadow: 0 0 12px rgba(21, 151, 224, 0.45);
}

.editor-selection[hidden] {
    display: none;
}

.editor-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--editor-blue-strong);
    background: #fff;
    pointer-events: auto;
}

.editor-guide {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(21, 151, 224, 0.3);
}

.editor-guide--v {
    width: 1px;
}

.editor-guide--h {
    height: 1px;
}

.editor-guide.is-strong {
    background: var(--editor-blue-strong);
}

.editor-distance {
    position: absolute;
    border: 0 dashed var(--editor-blue-strong);
}

.editor-distance--h {
    border-top-width: 1px;
    height: 0;
}

.editor-distance--v {
    border-left-width: 1px;
    width: 0;
}

.editor-distance__label {
    position: absolute;
    padding: 2px 5px;
    border-radius: 999px;
    background: var(--editor-blue-strong);
    color: #fff;
    font: 600 10px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    white-space: nowrap;
}

.editor-distance--h .editor-distance__label {
    left: 50%;
    top: -7px;
    transform: translateX(-50%);
}

.editor-distance--v .editor-distance__label {
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
}

.editor-panel {
    position: fixed;
    right: 20px;
    top: 72px;
    z-index: 9999;
    width: 270px;
    padding: 14px 16px;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    font-size: 12px;
    line-height: 1.45;
}

.editor-panel[hidden] {
    display: none;
}

.editor-panel p,
.editor-panel ul {
    margin: 8px 0 0;
}

.editor-panel ul {
    padding-left: 16px;
    color: var(--color-muted);
}

.editor-panel kbd {
    font: inherit;
    padding: 0 5px;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    color: var(--color-text);
}

.editor-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-panel__page {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--color-muted);
}

.editor-panel__select {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #f4fbff;
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
}

.editor-panel__select:focus-visible {
    outline: 2px solid var(--editor-blue-strong);
    outline-offset: 2px;
}

.editor-panel__mode {
    color: var(--editor-ink);
}

.editor-panel__note {
    color: var(--color-muted);
}

.editor-panel__lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--editor-blue-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--editor-blue-strong);
    font: 600 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.editor-panel__lock[aria-pressed="true"] {
    background: var(--editor-blue-strong);
    color: #fff;
}

.editor-panel__lock:focus-visible {
    outline: 2px solid var(--editor-ink);
    outline-offset: 2px;
}

.editor-panel__lock svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.editor-menu {
    position: fixed;
    z-index: 10000;
    min-width: 220px;
    padding: 6px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
    font-size: 13px;
}

.editor-menu__item {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.editor-menu__item:hover,
.editor-menu__item:focus-visible {
    background: #e8f6ff;
    outline: none;
}

.editor-menu__rule {
    margin: 6px 0;
    border: 0;
    border-top: 1px solid var(--color-line);
}

.editor-menu__row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
}

.editor-menu__caption {
    margin-right: auto;
    color: var(--color-muted);
    font-size: 12px;
}

.editor-menu__tool {
    min-width: 32px;
    height: 30px;
    padding: 0 6px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    font: 400 13px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    cursor: pointer;
}

.editor-menu__tool--wide {
    flex: 1;
    font-size: 12px;
}

.editor-menu__tool--bold {
    font-weight: 700;
}

.editor-menu__tool--italic {
    font-style: italic;
}

.editor-menu__tool--underline {
    text-decoration: underline;
}

.editor-menu__tool:hover,
.editor-menu__tool:focus-visible {
    border-color: var(--editor-blue-strong);
    outline: none;
}

.editor-menu__tool.is-on {
    border-color: var(--editor-blue-strong);
    background: #e8f6ff;
}

.editor-menu__swatch {
    min-width: 30px;
    padding: 0;
    border-radius: 50%;
}

.editor-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 17, 17, 0.45);
}

.editor-modal__box {
    width: 100%;
    max-width: 480px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.editor-modal__title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.editor-modal__text {
    margin: 0 0 16px;
    color: var(--color-muted);
}

.editor-modal__label {
    display: block;
    margin: 12px 0 6px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.editor-modal__path {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    overflow: hidden;
}

.editor-modal__path span {
    max-width: 60%;
    padding: 10px 0 10px 12px;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.editor-modal__path input,
.editor-modal__input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    font: inherit;
    color: var(--color-text);
}

.editor-modal__input {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: 8px;
}

.editor-modal__path:focus-within,
.editor-modal__input:focus {
    outline: 2px solid var(--editor-blue-strong);
    outline-offset: -1px;
}

.editor-modal__path input:focus {
    outline: none;
}

.editor-modal__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
    max-height: 190px;
    margin-bottom: 10px;
    overflow: auto;
    color: var(--color-muted);
}

.editor-modal__thumb {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f4fbff;
    font: inherit;
    font-size: 10px;
    text-align: left;
    cursor: pointer;
}

.editor-modal__thumb img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.editor-modal__thumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor-modal__thumb:hover,
.editor-modal__thumb:focus-visible,
.editor-modal__thumb.is-picked {
    border-color: var(--editor-blue-strong);
    outline: none;
}

.editor-modal__upload {
    padding: 8px 14px;
    border: 1px dashed var(--editor-blue-strong);
    border-radius: 999px;
    background: #f4fbff;
    color: var(--editor-ink);
    font: inherit;
    cursor: pointer;
}

.editor-modal__upload:hover,
.editor-modal__upload:focus-visible {
    background: #e8f6ff;
}

.editor-modal__error {
    min-height: 1.45em;
    margin: 12px 0 0;
    color: #b3261e;
}

.editor-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.editor-modal__cancel,
.editor-modal__submit {
    padding: 10px 18px;
    border: 1px solid var(--color-text);
    border-radius: 999px;
    font: inherit;
    cursor: pointer;
}

.editor-modal__cancel {
    background: #fff;
}

.editor-modal__submit {
    border-color: var(--editor-blue-strong);
    background: var(--editor-blue-strong);
    color: #fff;
}

.editor-modal__cancel:focus-visible,
.editor-modal__submit:focus-visible {
    outline: 2px solid var(--editor-ink);
    outline-offset: 2px;
}

.editor-toast {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 10002;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--editor-ink);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.editor-toast.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .editor-toggle {
        animation: none;
    }
}

/* Content-Manager unten: wird beim Drüberfahren größer, Fotos lassen sich auf Bilder der Seite ziehen */
body.is-editing {
    padding-bottom: 160px;
}

body.is-editing .editor-toast {
    bottom: 170px;
}

body.is-editing .scroll-hint {
    display: none;
}

.editor-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    height: 150px;
    border-top: 1px solid rgba(21, 151, 224, 0.4);
    border-radius: 20px 20px 0 0;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.14);
    font-size: 12px;
    transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.editor-dock[hidden] {
    display: none;
}

.editor-dock:hover,
.editor-dock:focus-within,
.editor-dock.is-dragging {
    height: 330px;
}

.editor-dock.is-receiving {
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.14), inset 0 0 0 3px var(--editor-blue-strong);
}

.editor-dock__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px 4px;
}

.editor-dock__crumbs {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    font-weight: 600;
}

.editor-dock__crumbs button {
    padding: 2px 6px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--color-muted);
    font: inherit;
    cursor: pointer;
}

.editor-dock__crumbs button:hover,
.editor-dock__crumbs button[aria-current] {
    color: var(--color-text);
}

.editor-dock__sep {
    color: var(--color-muted);
}

.editor-dock__hint {
    margin-left: auto;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.editor-dock__upload {
    padding: 7px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--editor-blue);
    color: var(--editor-ink);
    font: 700 12px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 0 10px 2px rgba(80, 190, 255, 0.55);
    transition: background 0.3s ease;
}

.editor-dock__upload:hover,
.editor-dock__upload:focus-visible {
    background: #a6e2ff;
}

.editor-dock__items {
    display: flex;
    flex: 1;
    gap: 10px;
    padding: 8px 16px 12px;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Beim Drüberfahren umbrechen die Dateien in mehrere Zeilen und werden größer */
.editor-dock:hover .editor-dock__items,
.editor-dock:focus-within .editor-dock__items,
.editor-dock.is-dragging .editor-dock__items {
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
}

.editor-dock__item {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 4px;
    width: 82px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: grab;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.editor-dock:hover .editor-dock__item,
.editor-dock.is-dragging .editor-dock__item {
    width: 128px;
}

.editor-dock__item--folder {
    cursor: pointer;
}

.editor-dock__item:hover,
.editor-dock__item:focus-visible {
    border-color: var(--editor-blue-strong);
    outline: none;
}

.editor-dock__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef6fb;
    color: var(--editor-blue-strong);
    transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.editor-dock:hover .editor-dock__thumb,
.editor-dock.is-dragging .editor-dock__thumb {
    height: 92px;
}

.editor-dock__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.editor-dock__thumb svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.editor-dock__name {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor-dock__empty {
    color: var(--color-muted);
    padding: 8px 0;
}

/* Bild auf der Seite, über dem gerade ein Foto schwebt */
.editor-drop-target {
    outline: 4px solid var(--editor-blue-strong);
    outline-offset: -4px;
    box-shadow: 0 0 30px rgba(21, 151, 224, 0.6);
}

.editor-panel__save {
    width: 100%;
    margin-top: 10px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--editor-blue);
    color: var(--editor-ink);
    font: 700 12px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 0 10px 2px rgba(80, 190, 255, 0.55);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.editor-panel__save:hover,
.editor-panel__save:focus-visible {
    background: #a6e2ff;
}

.editor-panel__save:disabled {
    opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
    .editor-dock,
    .editor-dock__item,
    .editor-dock__thumb {
        transition: none;
    }
}

/* ---------- Scroll-Hinweis (Startseite + Porträts Führungskräfte) ---------- */
.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translate(-50%, 12px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-hint.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;                /* nur damit Hovern erkannt wird */
}

.scroll-hint svg {
    animation: scroll-hint-bob 1.8s ease-in-out infinite;
}

@keyframes scroll-hint-bob {
    50% {
        transform: translateY(3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint svg {
        animation: none;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px var(--gutter);
    border-top: 1px solid var(--color-line);
    font-size: 13px;
}

.site-footer__copy {
    margin: 0;
    color: var(--color-muted);
}

.site-footer__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--color-accent);
}

/* ---------- Vorhang mit Logo-Animation ---------- */
@font-face {
    font-family: "IV Logo";
    src: url("assets/fonts/source-sans-3-700.woff2") format("woff2");
    font-weight: 700;
    font-display: block;
}

@font-face {
    font-family: "IV Logo";
    src: url("assets/fonts/source-sans-3-300.woff2") format("woff2");
    font-weight: 300;
    font-display: block;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;                        /* nur sichtbar mit html.with-preloader (siehe Skript im <head>) */
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    transition: opacity 0.7s ease;
    /* Sicherheitsnetz: falls JavaScript nicht läuft, verschwindet die Fläche trotzdem */
    animation: preloader-failsafe 0s 8s forwards;
}

@keyframes preloader-failsafe {
    to {
        visibility: hidden;
    }
}

html.with-preloader .preloader {
    display: flex;
}

.preloader.is-done {
    opacity: 0;
    pointer-events: none;
}

.preloader__name {
    margin: 0;
    padding: 0 20px;
    font-family: "IV Logo", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(22px, 4vw, 46px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--color-text);             /* nur Schwarz */
    opacity: 0;
    transition: opacity 0.9s ease;
}

.preloader__name b {
    font-weight: 700;
}

.preloader.is-visible .preloader__name {
    opacity: 1;
}

/* Während die Start-Animation läuft, nicht scrollen */
html.is-loading {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .preloader,
    .preloader__name {
        transition: none;
    }
}

/* ---------- Einblend-Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .reviews__track {
        animation: none;
    }

    .reviews__viewport {
        overflow-x: auto;
    }
}

/* ---------- Mobil ---------- */
@media (max-width: 800px) {
    /* der Editor ist ein Werkzeug für große Bildschirme */
    .editor-toggle,
    .editor-dock,
    .editor-panel {
        display: none;
    }

    .logo img {
        height: 34px;
    }

    .main-nav {
        gap: 1.5rem;
    }

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

    .hero__intro {
        padding: 32px 20px;
    }

    .review {
        width: 300px;
        padding: 28px 24px 24px;
    }

    .review__text {
        font-size: 16px;
    }

    .divider {
        height: 64px;
        margin: 56px auto;
    }

    .expertise__image {
        width: auto;
        margin: 0 20px;
    }

    .expertise__text {
        margin: 56px 20px 0;
        padding-right: 0;
    }

    .expertise__text--offset {
        margin: 56px 20px 0;
    }

    .corporate {
        grid-template-columns: 1fr;
        padding: 0 0 100px;
    }

    .corporate__image,
    .corporate__small,
    .corporate__text {
        grid-column: 1;
        grid-row: auto;
    }

    .corporate__small {
        width: 60%;
        margin: 48px 20px 0 auto;
    }

    .corporate__text {
        margin: 48px 20px 0;
        padding: 0;
    }

    .about-teaser {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 20px 100px;
    }

    .about-teaser__text {
        justify-self: start;
    }

    .about-teaser__image {
        order: -1;
    }

    .pair {
        grid-template-columns: 1fr;
        padding-bottom: 100px;
    }

    .pair__left {
        margin-top: 0;
    }

    .pair__title {
        margin-bottom: 24px;
        padding: 0 20px;
    }

    .pair__landscape {
        width: auto;
    }

    .branding {
        grid-template-columns: 1fr;
        row-gap: 48px;
        padding-bottom: 100px;
    }

    .branding__wide,
    .branding__small,
    .branding__text,
    .branding__portrait {
        grid-column: 1;
        grid-row: auto;
    }

    .branding__small {
        width: 60%;
        margin: 0 20px 0 auto;
    }

    .branding__wide {
        margin-top: 0;
    }

    .sichtbar {
        grid-template-columns: 1fr;
        row-gap: 48px;
        padding-bottom: 100px;
    }

    .sichtbar__img11,
    .sichtbar__img12,
    .sichtbar__text6,
    .sichtbar__img13,
    .sichtbar__text61 {
        grid-column: 1;
        grid-row: auto;
    }

    .sichtbar__text6,
    .sichtbar__text61 {
        padding: 0 20px;
    }

    .sichtbar__img12 {
        width: 70%;
        margin-top: 0;
        margin: 0 20px 0 auto;
    }

    .branding__text {
        padding: 0 20px;
    }

    .branding__portrait {
        margin: 0 20px;
    }

    .page {
        padding: 56px 20px 100px;
    }

    .page-intro {
        margin-bottom: 72px;
    }

    .about-page {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .legal {
        margin-bottom: 72px;
        font-size: 14px;
    }

    .about-page__image {
        margin-top: 0;
    }

    .about-projects {
        grid-template-columns: 1fr;
        row-gap: 24px;
        margin-top: 96px;
    }

    .about-projects__intro,
    .about-project--1,
    .about-project--2,
    .about-project--3,
    .about-project--4,
    .about-project--5 {
        grid-column: 1;
        margin-top: 0;
    }

    .about-page__text .about-page__refs {
        padding: 28px 24px;
    }

    .about-project--1,
    .about-project--5 {
        margin-top: 48px;
    }

    .about-projects__divider {
        grid-column: 1;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* executive portraits: untereinander, erst Bild, dann Text */
    .ep {
        padding-top: 56px;
    }

    .project {
        column-gap: 10px;
        row-gap: 24px;
        padding-bottom: 96px;
    }

    .ep-head {
        padding-bottom: 32px;
    }

    .ep-title {
        grid-column: 1 / -1;
        padding: 0 20px;
    }

    .project .img-a,
    .project .img-b,
    .project .project__text {
        grid-column: 1 / -1;
        grid-row: auto;
        align-self: start;
        margin-top: 0;
    }

    .project .project__text {
        padding: 0 20px;
    }

    .p1 {
        padding-bottom: 56px;
    }

    .ep-statement,
    .p9 {
        padding-bottom: 0;
    }

    .ep-statement__box {
        grid-column: 1 / -1;
        margin: 0 20px;
        padding: 28px 24px;
    }

    .ep .divider {
        margin: 56px auto 72px;
    }

    /* Hochformate schmaler und abwechselnd links und rechts – wären sonst höher als der Bildschirm */
    .p2 .img-a,
    .p5 .img-a,
    .p7 .img-a {
        width: 78%;
    }

    .p2 .img-a,
    .p5 .img-a {
        margin-left: auto;
    }

    /* Bild 8 + 9 bleiben nebeneinander */
    .p8 .img-a { grid-column: 1 / 7; grid-row: 1; }
    .p8 .img-b { grid-column: 7 / 13; grid-row: 1; }

    .ep .case-nav {
        padding-right: 20px;
    }

    /* portraits-personal: Abstände wie bei executive portraits */
    .pp1 {
        padding-bottom: 56px;
    }

    .pp7 {
        padding-bottom: 0;
    }

    /* Hochformate schmaler und abwechselnd links und rechts – wären sonst höher als der Bildschirm */
    .pp3 .img-a,
    .pp4 .img-a,
    .pp5 .img-b {
        width: 78%;
    }

    .pp4 .img-a {
        margin-left: auto;
    }

    .ep .case-nav--box {
        margin: 0 20px 96px auto;
        padding: 24px 28px;
    }

    /* Projektseiten: untereinander, Team-Porträts zu zweit nebeneinander */
    .case {
        padding-top: 0;
    }

    .case-grid {
        column-gap: 10px;
        row-gap: 10px;
        padding-bottom: 72px;
    }

    .case-grid > * {
        grid-column: 1 / -1;
        margin-top: 0;
        align-self: start;
    }

    .case-head {
        padding: 0 20px;
    }

    .cfm-intro {
        row-gap: 40px;
    }

    .wacholderweg-intro {
        row-gap: 40px;
    }

    .wacholderweg-garden {
        padding-bottom: 72px;
    }

    /* Hochformate nicht über die volle Breite, abwechselnd links und rechts */
    .wacholderweg-trees {
        row-gap: 48px;
    }

    .wacholderweg-trees > * {
        width: 78%;
    }

    .wacholderweg-trees > :nth-child(even) {
        margin-left: auto;
    }

    .cfm-work,
    .weberbrunner-group,
    .pmg-team {
        padding-bottom: 72px;
    }

    .weberbrunner-intro,
    .pmg-intro {
        row-gap: 40px;
    }

    .pmg-team {
        padding-top: 0;
    }

    /* Porträts untereinander, abwechselnd links und rechts eingerückt */
    .cfm-team,
    .weberbrunner-team {
        row-gap: 48px;
    }

    .cfm-team > *,
    .weberbrunner-team > * {
        width: 78%;
    }

    .cfm-team > :nth-child(even),
    .weberbrunner-team > :nth-child(even) {
        margin-left: auto;
    }

    .gsk-intro {
        row-gap: 40px;
    }

    .gsk-place {
        padding-bottom: 72px;
    }

    /* Hochformat nicht über die volle Breite – wäre sonst höher als der Bildschirm */
    .gsk-2 {
        width: 78%;
    }

    .gulde-intro {
        row-gap: 40px;
    }

    .gulde-rooms,
    .gulde-details {
        padding-bottom: 96px;
    }

    /* mehr Luft zwischen den Bildern als auf den anderen Projektseiten */
    .gulde-rooms,
    .gulde-details {
        row-gap: 40px;
    }

    /* Hochformate schmaler und abwechselnd links und rechts – wären sonst höher als der Bildschirm */
    .gulde-3,
    .gulde-4,
    .gulde-6 {
        width: 78%;
    }

    .gulde-3,
    .gulde-6 {
        margin-left: auto;
    }

    /* Seite sichtbar: alles untereinander, Texte mit Seitenrand, Hochformate schmaler und
       abwechselnd links und rechts */
    .sb-grid {
        row-gap: 56px;
        padding-bottom: 80px;
    }

    .sb-intro {
        padding-bottom: 48px;
    }

    .sb-cap {
        padding: 0 20px;
    }

    .sb-cap {
        margin-top: 12px;
    }

    .sb-2, .sb-4, .sb-5, .sb-8, .sb-10, .sb-11, .sb-12, .sb-14, .sb-15, .sb-16 {
        width: 78%;
    }

    .sb-4, .sb-8, .sb-12, .sb-15 {
        margin-left: auto;
    }

    .sb-17 {
        grid-row: auto;
    }

    .sb-book {
        row-gap: 10px;
    }

    .case-nav {
        padding: 0 20px 96px;
        font-size: 16px;
    }
}
