/* =========================================================================
   johanneslauber.de: Design nach Claude-Design-Entwurf "1a HELL + MARKE",
   auf die Brand-Farbe #4b635b gemappt.
   ========================================================================= */

:root {
    --brand:            #4b635b;
    --brand-dark:       #3c5049;
    --brand-ink:        #23302b;
    --brand-ink-deep:   #1a2420;

    --on-brand:         #f2f6f4;
    --on-brand-muted:   #d5dfda;
    --on-brand-dim:     #cfdad5;
    --on-brand-line:    #5f7770;

    --ink:              #1e2a26;
    --body:             #4c574f;
    --muted:            #5f6a64;
    --faint:            #68716a;
    --hair:             #b4b9b2;   /* nur Linien */
    --num:              #6c7369;   /* die dekorativen Nummern – hell, aber noch 4.5:1 */

    --surface:          #ffffff;
    --surface-2:        #f4f7f5;
    --surface-3:        #eff3f1;
    --line:             #e3e9e6;
    --chip:             #e7edea;

    --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --pad:   64px;
    --maxw:  1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
/* height:auto ist Pflicht, seit die Bilder width/height-Attribute tragen (gegen Layout-Shift):
   ohne das wuerde der Browser die Pixelhoehe aus dem Attribut als echte Hoehe nehmen. */
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* --- wiederkehrende Bausteine ------------------------------------------ */

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--brand);
    margin-bottom: 18px;
}
.eyebrow--on-brand { color: var(--on-brand-dim); }

.sec-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: .01em;
    font-weight: 700;
    text-transform: uppercase;
}

.label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--faint);
    margin-bottom: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: background-color .18s, color .18s, border-color .18s;
}
.btn--solid  { background: var(--brand); color: #fff; }
.btn--solid:hover  { background: var(--brand-dark); }
.btn--ghost  { border-color: #d3dbd6; font-family: var(--mono); font-weight: 500; }
.btn--ghost:hover  { border-color: var(--ink); }
.btn--light  { background: #f1efe9; color: var(--brand-ink); }
.btn--light:hover  { background: #fff; }
.btn--outline-brand { border-color: var(--brand); color: var(--brand); padding: 13px 22px; font-size: 14px; }
.btn--outline-brand:hover { background: var(--brand); color: #fff; }

.chip {
    display: inline-block;
    padding: 5px 11px;
    background: var(--chip);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--brand);
}

/* --- Kopfzeile ---------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--brand);
    color: var(--on-brand);
    transition: background-color .25s ease, box-shadow .25s ease;
}
/* Sobald Inhalt darunter durchlaeuft: leicht durchsichtig mit Weichzeichner.
   --brand als rgb, damit der Alphakanal gesetzt werden kann. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .site-header.is-scrolled {
        background: rgba(75, 99, 91, .72);
        -webkit-backdrop-filter: saturate(150%) blur(16px);
                backdrop-filter: saturate(150%) blur(16px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
    }
}
.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brandmark { display: flex; align-items: center; gap: 12px; }
.brandmark__dot {
    width: 26px; height: 26px;
    border-radius: 9px;
    background: var(--on-brand);
    color: var(--brand);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.brandmark__name { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }

.site-nav { display: flex; gap: 34px; margin-left: auto; }
.site-nav a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--on-brand-muted);
    transition: color .18s;
    white-space: nowrap;
}
.site-nav a:hover, .site-nav a.is-active { color: #fff; }
/* Trennt die Sprungmarken der Startseite vom Blog, der eine eigene Seite ist */
.site-nav__sep { width: 1px; height: 14px; align-self: center; background: var(--on-brand-line); }

.lang-toggle {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    line-height: 1;
    color: var(--on-brand-muted);
    background: none;
    border: 1px solid var(--on-brand-line);
    border-radius: 999px;
    padding: 8px 12px;
    cursor: pointer;
    flex: 0 0 auto;
    transition: color .18s, border-color .18s;
}
.lang-toggle:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--on-brand-line);
    border-radius: 12px;
    background: none;
    color: var(--on-brand);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }

/* --- Hero --------------------------------------------------------------- */

.hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; }

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border: 1px solid #cbdcd2;
    border-radius: 999px;
    background: #f0f5f2;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--brand);
    margin-bottom: 28px;
}
.availability::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.hero h1 {
    margin: 0;
    font-size: 66px;
    line-height: 1.03;
    letter-spacing: -.035em;
    font-weight: 600;
    text-wrap: pretty;
}
.hero h1 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
}
.hero__subline {
    margin: 22px 0 0;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
    line-height: 1.7;
}
.hero__lead {
    margin: 22px 0 0;
    font-size: 19px;
    line-height: 1.6;
    color: var(--body);
    max-width: 56ch;
    text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.factgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 32px;
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}
.factgrid b { font-weight: 600; }

.hero__aside { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 440px; margin-left: auto; }
.hero__portrait { border-radius: 20px; width: 100%; }
.statcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.statcard {
    padding: 20px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 20px;
}
.statcard b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.statcard span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* --- nthera ------------------------------------------------------------- */

.band-soft { background: var(--surface-3); border-bottom: 1px solid var(--line); }
.band-soft, .band-brand, .band-plain { padding: 72px 0; }
.band-plain { border-bottom: 1px solid var(--line); }

.nthera__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.nthera h2 { margin: 0; font-size: 34px; line-height: 1.1; letter-spacing: .01em; font-weight: 700; text-transform: uppercase; }
.nthera__lead { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.nthera__note {
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}
.nthera__shot { border-radius: 22px; border: 1px solid var(--line); width: 100%; }

/* --- Die ganze Kette (Markenband) --------------------------------------- */

.band-brand { background: var(--brand); color: var(--on-brand); border-bottom: 1px solid var(--brand); }
.chain__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.chain__intro { margin: 20px 0 0; font-size: 16px; line-height: 1.65; color: var(--on-brand-muted); }

.chain__speed {
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px solid var(--on-brand-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .06);
}
.chain__speed .eyebrow { margin-bottom: 10px; }
.chain__speed p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--on-brand-muted); }

.chain__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chain-card { padding: 24px; background: var(--surface); border-radius: 20px; color: var(--ink); }
.chain__cards .chain-card:last-child { grid-column: 1 / -1; }
.chain-card .chain-icon {
    display: block;
    height: 28px;
    width: auto;
    fill: var(--brand);
    margin-bottom: 16px;
}
.chain-card h3 {
    margin: 0 0 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .06em;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ink);
}
.chain-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.stackchips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--on-brand-line);
}
.stackchips span {
    padding: 7px 13px;
    border: 1px solid #6f8880;
    border-radius: 999px;
    font-size: 13px;
    color: var(--on-brand-muted);
}

/* --- Freelancing -------------------------------------------------------- */

.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.sec-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 64ch; }

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 22px;
}
.case__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.case__id { display: flex; align-items: center; gap: 14px; }
.logo {
    width: 48px; height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__name { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.case__meta { font-size: 14px; color: var(--muted); margin-top: 5px; }
.case__repeat { margin-top: 9px; }
.repeat {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--brand);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--brand);
    white-space: nowrap;
}
.ptable__client .repeat { margin-left: 8px; }
.case__no { font-family: var(--mono); font-size: 12px; color: var(--num); }
.case p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--body); }
.case__tech { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

.ptable { margin-top: 44px; }
.ptable__head, .ptable__row {
    display: grid;
    grid-template-columns: 52px 1.15fr 1fr 160px 1.5fr;
    gap: 20px;
}
.ptable__head {
    padding: 0 8px 12px;
    border-bottom: 1px solid var(--hair);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--faint);
}
.ptable__row {
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background-color .15s;
}
.ptable__row:hover { background: var(--surface-2); }
.ptable__no { font-family: var(--mono); font-size: 13px; color: var(--num); }
.ptable__name { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.ptable__name .logo { width: 32px; height: 32px; border-radius: 10px; }
.ptable__client { font-size: 15px; color: var(--body); }
.ptable__period { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ptable__tech { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* --- Eigene Projekte ---------------------------------------------------- */

.project { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.project + .project { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.project--flip .project__media { order: -1; }
.project h3 { margin: 0; font-size: 32px; font-weight: 600; letter-spacing: -.025em; }
.project__kicker {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--faint);
    margin-bottom: 14px;
}
.project p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--body); }
.project p a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.project__figures {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.project__figures b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.project__figures span { display: block; font-size: 13px; color: var(--muted); }
.project__figures .star { display: inline; font-size: 20px; color: #e8a33d; vertical-align: 2px; }

.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }

.stores img { height: 44px; width: auto; }
/* Das lokale SVG-Badge hat keinen eingebauten Rand mehr, daher gleiche Hoehe wie das App-Store-Badge. */
.stores img.play { height: 44px; }

/* Steht statt eines Badges, solange der Store-Eintrag noch nicht live ist. */
.stores .soon {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--muted);
}
.stores .soon::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

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

/* Die Schwester-Apps sitzen auf dem weichen Band (--surface-3), deshalb
   traegt jeder Knopf eine weisse Flaeche und die Rahmenfarbe der Ghost-Buttons
   -- --line waere auf diesem Untergrund unsichtbar. */
.siblings { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--hair); }

.siblings__label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.siblings__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.siblings__links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    background: var(--surface);
    border: 1px solid #d3dbd6;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.siblings__links a span { font-size: 17px; line-height: 1; }

.siblings__links a:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .07);
}

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shots img {
    border-radius: 14px;
    width: 100%;
    cursor: zoom-in;
    transition: transform .25s ease, box-shadow .25s ease;
}
.shots img:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); }

/* --- Lightbox fuer Screenshots ------------------------------------------ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 26, 23, .88);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transform: scale(.94);
    transition: transform .2s ease;
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 26px;
    line-height: 44px;
    cursor: pointer;
    transition: background .15s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close { top: 16px; right: 16px; transform: none; font-size: 22px; }
body.lightbox-open { overflow: hidden; }

/* --- Blog: Uebersicht (/blog/) ------------------------------------------- */

.blog-index { padding: 64px 0 88px; min-height: 60vh; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color .18s, box-shadow .18s;
}
.post-card:hover { border-color: var(--hair); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); }
.post-card__media { aspect-ratio: 1024 / 500; background: #0d1116; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__date { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--faint); }
.post-card__title { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.post-card__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.post-card__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* --- Blog: Beitragsseite ------------------------------------------------- */

.post { padding: 56px 0 80px; }
.post__inner { max-width: 760px; }
.post__back { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.post__back:hover { color: var(--ink); }
.post__date { display: block; margin-top: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--faint); }
.post h1 { margin: 12px 0 0; font-size: 44px; line-height: 1.1; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.post h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.post__lead { margin: 20px 0 0; font-size: 19px; line-height: 1.6; color: var(--muted); }
.post__credit { margin: 14px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.post__credit strong { color: var(--ink); font-weight: 500; }
.post__hero { margin: 36px 0 0; border-radius: 20px; overflow: hidden; }
.post__hero img { width: 100%; }
.post__body h2 { margin: 44px 0 0; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.post__body p, .post__body li { font-size: 17px; line-height: 1.7; color: var(--body); }
.post__body p { margin: 14px 0 0; }
.post__body ul { margin: 14px 0 0; padding-left: 22px; }
.post__body li + li { margin-top: 8px; }
.post__body strong { color: var(--ink); font-weight: 600; }
.post__body p a, .post__body li a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 0; }
.post__shots figure { margin: 0; }
.post__shots img { border-radius: 16px; width: 100%; }
.post__shots figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.post__note {
    margin: 32px 0 0;
    padding: 18px 22px;
    background: var(--surface-2);
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--body);
}
.post__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* --- Kontakt ------------------------------------------------------------ */

.contact { background: var(--brand-ink); color: #f1efe9; padding: 76px 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact h2 { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
.contact h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.contact p { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: #a9b5ad; max-width: 44ch; }
.contact .btn { margin-top: 32px; }
.contact__rows { display: grid; gap: 2px; align-content: start; padding-top: 8px; }
.contact__row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #35443d;
}
.contact__row dt {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: #8b9a92;
    margin: 0;
}
.contact__row dd { margin: 0; font-size: 17px; font-weight: 500; text-align: right; }
.contact__row a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-footer {
    background: var(--brand-ink-deep);
    color: #8b9a92;
    font-size: 13px;
}
.site-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}
.site-footer a { color: #a9b5ad; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- sanftes Einblenden ------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.is-in { opacity: 1; transform: none; }
}

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1100px) {
    :root { --pad: 40px; }
    .hero h1 { font-size: 52px; }
    .hero__grid, .chain__grid, .nthera__grid { gap: 44px; }
}

@media (max-width: 900px) {
    :root { --pad: 28px; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--brand-dark);
        padding: 8px 28px 20px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--on-brand-line); }
    .site-nav a:last-child { border-bottom: 0; }
    .site-nav a:has(+ .site-nav__sep) { border-bottom: 0; }
    .site-nav__sep { width: 100%; height: 1px; margin: 6px 0; background: var(--on-brand-dim); }
    .nav-toggle { display: flex; order: 3; }
    .lang-toggle { order: 2; }
    .site-header__inner { position: relative; gap: 12px; }

    .hero__grid, .chain__grid, .nthera__grid, .project, .contact__grid { grid-template-columns: 1fr; }
    .project + .project { margin-top: 40px; padding-top: 40px; }
    .project--flip .project__media { order: 0; }
    .hero { padding-top: 48px; }
    .hero h1 { font-size: 42px; }
    .hero__aside { max-width: 460px; margin-left: 0; }
    .shots { grid-template-columns: 1fr 1fr; gap: 14px; }
    .shots img { border-radius: 20px; }
    .cases { grid-template-columns: 1fr; }
    .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .band-soft, .band-brand, .band-plain, .contact { padding: 56px 0; }

    .ptable__head { display: none; }
    .ptable__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 20px 8px;
    }
    .ptable__no { display: none; }
}

@media (max-width: 620px) {
    .hero h1 { font-size: 34px; }
    .hero__lead { font-size: 17px; }
    .factgrid { grid-template-columns: 1fr 1fr; }
    .chain__cards { grid-template-columns: 1fr; }
    .contact h2 { font-size: 32px; }
    .sec-title, .nthera h2 { font-size: 27px; }
    .project h3 { font-size: 26px; }
    .posts { grid-template-columns: 1fr; }
    .blog-index { padding: 40px 0 64px; }
    .post { padding-top: 36px; }
    .post h1 { font-size: 32px; }
    .post__lead { font-size: 17px; }
    .post__shots { gap: 8px; }
    .post__shots img { border-radius: 10px; }
    .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
    .contact__row { flex-direction: column; gap: 6px; }
    .contact__row dd { text-align: left; }
}

/* Portrait quadratisch, entspricht auch dem Seitenverhaeltnis der Quelldatei (341x354) */
.hero__portrait { aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: center 30%; }
