/* Schriften lokal gehostet (DSGVO: keine Verbindung zu Google) */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"), url("fonts/archivo-var.woff") format("woff"); font-weight: 400 900; font-stretch: 62% 100%; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"), url("fonts/newsreader-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibmplexmono-regular.woff2") format("woff2"), url("fonts/ibmplexmono-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibmplexmono-medium.woff2") format("woff2"), url("fonts/ibmplexmono-medium.woff") format("woff"); font-weight: 500; font-display: swap; }

/* Layout: asymmetrisches Raster, großes Portrait rechts im Hero, die „Gründer-Bilanz“ als T-Konto ist das zentrale Motiv.
   Zwei Stimmen: Archivo (Zahlen, Business) und Newsreader kursiv (der menschliche Teil). Rot nur für „rote Zahlen“. */
:root {
  --paper: #ebebe8;
  --surface: #f6f6f4;
  --ink: #11162b;
  --ink-soft: #3a3f52;
  --muted: #5f6372;
  --rule: #c9cacd;
  --red: #b8321f;
  --on-ink: #f3f3f1;
  --ink-band: #11162b;
  --ink-band-fg: #eceef3;
  --ink-band-muted: #9aa0b5;
  --ink-band-rule: #2b314a;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-voice: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --max: 1240px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1221; --surface: #151a2c; --ink: #e8e9ee; --ink-soft: #c3c6d2; --muted: #9196a8;
    --rule: #2a3046; --red: #ff7461; --on-ink: #0e1221;
    --ink-band: #060913; --ink-band-fg: #e8e9ee; --ink-band-muted: #8d93a8; --ink-band-rule: #232a40;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1221; --surface: #151a2c; --ink: #e8e9ee; --ink-soft: #c3c6d2; --muted: #9196a8;
  --rule: #2a3046; --red: #ff7461; --on-ink: #0e1221;
  --ink-band: #060913; --ink-band-fg: #e8e9ee; --ink-band-muted: #8d93a8; --ink-band-rule: #232a40;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.label {
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 0.98; font-weight: 800; font-variation-settings: "wdth" 74; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: 0.95rem 1.4rem; border-radius: 2px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); transition: background .15s, color .15s;
}
.btn-solid { background: var(--ink); color: var(--on-ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; font-variation-settings: "wdth" 85; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
@media (max-width: 860px) { .nav a:not(.btn):not(.nav-keep) { display: none; } .nav { gap: 1.1rem; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero-text { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: 0.9; font-weight: 850; font-variation-settings: "wdth" 66;
  letter-spacing: -0.02em;
}
.hero-path { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.2; }
.hero-path .from { color: var(--red); }
.hero-path .arrow { color: var(--muted); padding: 0 .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: .4rem; }
.portrait { margin: 0; min-width: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1122 / 1402; object-fit: cover; background: #bcb9b8; }
.portrait { max-width: 460px; justify-self: end; width: 100%; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .7rem; border-top: 1px solid var(--ink); margin-top: .9rem; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; justify-self: start; }
}

/* Proof */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 1.6rem; }
.proof .wrap { display: flex; flex-direction: column; gap: 1.1rem; }
@media (max-width: 760px) { .proof .wrap { grid-template-columns: 1fr; } }

/* Section scaffolding */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 4rem; align-items: end; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head .label { grid-column: 1 / -1; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* Bilanz */
.ledger { border-top: 3px solid var(--ink); }
.ledger-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ledger-col { min-width: 0; }
.ledger-col + .ledger-col { border-left: 1px solid var(--ink); }
.ledger-col h3 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 1rem 1.4rem; border-bottom: 1px solid var(--ink);
}
.ledger-col h3 span:last-child { color: var(--muted); letter-spacing: .04em; text-transform: none; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.2rem; padding: 1.15rem 1.4rem; border-bottom: 1px solid var(--rule); align-items: baseline; }
.entry dt { font-size: 1rem; color: var(--ink-soft); min-width: 0; }
.entry dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 72; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.entry dd.word { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; font-variation-settings: "wdth" 85; white-space: normal; }
.passiva .entry dd { color: var(--red); }
.saldo { border-top: 1px solid var(--ink); margin-top: -1px; }
.ledger-foot { border-bottom: 4px double var(--ink); padding-bottom: 1.6rem; }

@media (max-width: 760px) {
  .ledger-cols { grid-template-columns: 1fr; }
  .ledger-col + .ledger-col { border-left: 0; border-top: 3px solid var(--ink); margin-top: 2rem; }
  .entry, .ledger-col h3, .saldo { padding-left: 0; padding-right: 0; }
}

/* Themen */
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.topic { padding: 2rem 2rem 2.2rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.topic:nth-child(even) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--rule); }
.topic h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.1; font-weight: 750; font-variation-settings: "wdth" 80; }
.topic p { color: var(--ink-soft); max-width: 34em; }
@media (max-width: 760px) {
  .topics { grid-template-columns: 1fr; }
  .topic, .topic:nth-child(even) { padding: 1.8rem 0; border-left: 0; }
}

/* Gründer sein – der menschliche Teil */
.human { background: var(--ink-band); color: var(--ink-band-fg); }
.human .label { color: var(--ink-band-muted); }
.human-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem 5rem; align-items: start; }
.human h2 { font-family: var(--f-voice); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: normal; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.05; }
.human-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-band-rule); }
.human-list li { padding: .95rem 0; border-bottom: 1px solid var(--ink-band-rule); font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 82; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.human-copy { display: flex; flex-direction: column; gap: 1.1rem; color: var(--ink-band-fg); max-width: 34em; }
.human-copy p { color: var(--ink-band-muted); }
.human-copy p strong { color: var(--ink-band-fg); font-weight: 600; }
.notme { margin-top: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--ink-band-rule); }
@media (max-width: 820px) { .human-grid { grid-template-columns: 1fr; } }

/* Formate */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.format { padding: 1.8rem 1.8rem 2rem 0; display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.format + .format { padding-left: 1.8rem; border-left: 1px solid var(--rule); }
.format h3 { font-size: 1.6rem; font-weight: 800; font-variation-settings: "wdth" 76; }
.format p { color: var(--ink-soft); }
.fit { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: baseline; }
.fit p:not(.label) { font-size: 1.1rem; }
@media (max-width: 820px) {
  .formats { grid-template-columns: 1fr; }
  .format, .format + .format { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}


/* Angel-Teaser */
.angel-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.angel-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.6rem; padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.angel-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.angel-band p:not(.label) { color: var(--ink-soft); margin-top: .6rem; max-width: 36em; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem 5rem; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-family: var(--f-mono); color: var(--red); font-size: .9rem; padding-top: .15rem; }
.steps strong { display: block; font-weight: 650; }
.steps span { color: var(--ink-soft); font-size: .98rem; }
.direct { margin-top: 2rem; display: flex; flex-direction: column; gap: .4rem; }
.direct a { font-family: var(--f-display); font-variation-settings: "wdth" 85; font-weight: 700; font-size: 1.2rem; text-decoration: none; border-bottom: 1.5px solid var(--ink); align-self: flex-start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; background: var(--surface); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--rule); }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 2px; padding: .8rem .9rem; width: 100%;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { border-top: 1px solid var(--ink); padding-block: 2.4rem 3rem; font-size: .92rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; }
.site-foot address { font-style: normal; line-height: 1.7; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-start; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

/* Angel-Seite */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fact { padding: 1.3rem 1.2rem 1.4rem 0; display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.fact + .fact { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.fact strong { font-family: var(--f-display); font-variation-settings: "wdth" 78; font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}
.portfolio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem 4rem; }
.pf-group { min-width: 0; }
.pf-group h3 { font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding-bottom: .8rem; border-bottom: 1px solid var(--ink); }
.pf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.pf-name { font-family: var(--f-display); font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.pf-meta { color: var(--muted); font-size: .95rem; grid-column: 1; }
.pf-tag { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--ink); padding: .2rem .5rem; grid-row: 1; grid-column: 2; }
.pf-tag.exit { background: var(--ink); color: var(--on-ink); }
@media (max-width: 760px) { .portfolio { grid-template-columns: 1fr; } }
.bring { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.bring > div { padding: 1.6rem 1.6rem 1.8rem 0; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.bring > div + div { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.bring h3 { font-size: 1.35rem; font-weight: 750; font-variation-settings: "wdth" 80; line-height: 1.15; }
.bring p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .bring { grid-template-columns: 1fr; }
  .bring > div, .bring > div + div { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
.back { display: inline-flex; gap: .5rem; font-size: .95rem; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--ink); text-decoration: underline; }

/* Logos als einfarbige Masken: passen sich hell/dunkel an */
.logo { display: block; background: var(--ink); -webkit-mask: var(--src) no-repeat left center / contain; mask: var(--src) no-repeat left center / contain; height: 30px; }
.logo-eqt { --src: url("logos/eqt.svg"); width: 99px; }
.logo-emergence { --src: url("logos/emergence.png"); width: 116px; height: 33px; }
.pf-logo { display: flex; flex-direction: column; gap: .55rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kundenlogos */
.client-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem clamp(2rem, 5vw, 4.5rem); }
.client-logos .logo { background: var(--ink-soft); opacity: .85; }
.logo-sumup { --src: url("logos/sumup.svg"); width: 102px; height: 30px; }
.logo-doctolib { --src: url("logos/doctolib.svg"); width: 113px; height: 30px; }
.logo-sap { --src: url("logos/sap.svg"); width: 62px; height: 31px; }
.logo-uber { --src: url("logos/uber.svg"); width: 72px; height: 25px; }
.logo-viessmann { --src: url("logos/viessmann.svg"); width: 128px; height: 28px; }

/* Presse */
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.press-list a { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) auto; gap: .3rem 2rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.press-outlet { font-family: var(--f-display); font-variation-settings: "wdth" 85; font-weight: 800; font-size: 1.15rem; }
.press-title { color: var(--ink-soft); min-width: 0; }
.press-arrow { font-family: var(--f-mono); color: var(--muted); transition: transform .15s; }
.press-list a:hover .press-title { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.press-list a:hover .press-arrow { transform: translate(2px, -2px); color: var(--red); }
@media (max-width: 640px) { .press-list a { grid-template-columns: minmax(0, 1fr) auto; } .press-title { grid-column: 1; } .press-arrow { grid-column: 2; grid-row: 1; } }

/* Rechtliche Seiten */
.legal { max-width: 46rem; display: flex; flex-direction: column; gap: .9rem; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 850; font-variation-settings: "wdth" 70; line-height: 1; margin-bottom: 1rem; }
.legal h2 { font-size: 1.15rem; font-weight: 750; font-variation-settings: "wdth" 90; letter-spacing: 0; margin-top: 1.2rem; }
.legal p { color: var(--ink-soft); }
.legal-date { margin-top: 1.6rem; font-family: var(--f-mono); font-size: .8rem; }

.fit-note { flex-basis: 100%; color: var(--muted); font-size: .98rem; }
.human-grid > div:first-child { display: flex; flex-direction: column; gap: 1.6rem; }
.human-grid > div:first-child .notme { margin-top: .4rem; color: var(--ink-band-muted); max-width: 34em; }
.form-note a { color: inherit; }
@media (max-width: 640px) { .press-list a { padding: .85rem 0; } .press-title { font-size: .95rem; } }

/* Saldo: Lektionen */
.saldo { display: flex; flex-direction: column; gap: 1.6rem; padding: 2rem 1.4rem 0; }
.saldo-head { display: flex; flex-direction: column; gap: .6rem; }
.saldo-head h3 { font-family: var(--f-voice); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; }
.lessons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.4rem; border-top: 1px solid var(--rule); }
.lesson { padding: 1.3rem 0 1.4rem; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.lesson h4 { margin: 0; font-family: var(--f-display); font-weight: 750; font-variation-settings: "wdth" 82; font-size: 1.2rem; line-height: 1.2; }
.lesson p { color: var(--ink-soft); max-width: 38em; }
.saldo-close { color: var(--ink); font-weight: 600; max-width: 40em; }
@media (max-width: 960px) { .lessons { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .saldo { padding-left: 0; padding-right: 0; } }

/* Fotos */
.photo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: auto auto; gap: 1rem; }
.ph { margin: 0; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; background: var(--rule); }
.ph:not(.ph-tall) img { aspect-ratio: 16 / 10; height: auto; }
.ph-tall { grid-row: 1 / span 2; }
.ph:nth-child(3) { grid-column: 3; grid-row: 1; } .ph:nth-child(4) { grid-column: 3; grid-row: 2; }
.ph-tall img { flex: 1; min-height: 0; }
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .ph-tall { grid-row: auto; }
  .ph:nth-child(3), .ph:nth-child(4) { grid-column: 1 / -1; grid-row: auto; }
  .ph-tall img { aspect-ratio: 3 / 4; height: auto; }
}

.ph-wide { margin-bottom: 1rem; }
.ph.ph-wide img { aspect-ratio: auto; height: auto; }

/* Fotos bewusst klein halten */
.photos-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 760px); gap: 2rem 4rem; align-items: start; }
.photos-head { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
@media (max-width: 960px) { .photos-layout { grid-template-columns: 1fr; } .photos-head { position: static; } .photos-body { max-width: 600px; } }
