/*
Theme Name: Steffen Böttcher Fotografie
Author: Steffen Böttcher
Description: Schlankes Theme für steffenboettcher.com
Version: 1.0.0
Requires PHP: 8.0
Text Domain: steffenboettcher
*/
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url(assets/fonts/josefin-sans-300.woff2) format('woff2'); }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/josefin-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url(assets/fonts/lato-300.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/lato-400.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/lato-700.woff2) format('woff2'); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/maven-pro-400.woff2) format('woff2'); }
@font-face { font-family: 'Maven Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/maven-pro-500.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/montserrat-600.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/montserrat-700.woff2) format('woff2'); }

/* Layout: eine durchgehende linke Satzkante, ein Raster für alle Blöcke, feste Abstände aus der Skala unten. Rot nur als Markierung. */
:root {
  --paper: #f7f7f6;
  --paper-2: #efeeec;
  --ink: #0d0d0d;
  --ink-2: #4d4d4d;
  --ink-3: #6a6765;
  --line: #e4e2e0;
  --accent: #ea4452;
  --accent-ink: #c22c3a;
  --seo: #1f6f8b;
  --seo-bg: #e7f3f7;

  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-sub: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --f-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Maven Pro", "Helvetica Neue", Arial, sans-serif;

  /* Abstandsskala: jeder Abstand der Seite kommt von hier */
  --s1: 8px;    /* Titel zu Text */
  --s2: 16px;   /* Überzeile, Überschrift, Einleitung */
  --s3: 24px;   /* Rasterabstand */
  --s4: 32px;   /* innerhalb größerer Textblöcke */
  --s5: 48px;   /* Kopf eines Blocks zum Inhalt, Kartenreihen */
  --s6: 72px;   /* Block zur Trennlinie oder Fläche */

  --wrap: 1184px;
  --gut: clamp(16px, 4vw, 24px);
  --split: minmax(0, 5fr) minmax(0, 7fr);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (max-width: 760px) { :root { --s5: 32px; --s6: 48px; } }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.anim [data-split], html.anim [data-img], html.anim [data-rise] { visibility: hidden; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-weight: 300; font-size: 17px; line-height: 1.65; -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 { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }

.wrap { box-sizing: border-box; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--s6); position: relative; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Typografie */
.eyebrow { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; color: var(--ink); }
h1 { font-size: clamp(28px, 3.5vw, 50px); line-height: 1.12; letter-spacing: .06em; }
h2 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; letter-spacing: .08em; }
h3 { font-size: 15px; line-height: 1.35; letter-spacing: .08em; }
.sub { font-family: var(--f-sub); font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; letter-spacing: .02em; }
p { max-width: 62ch; color: var(--ink-2); }
.lead { font-size: 18px; max-width: 34em; }
.small { font-size: 15.5px; }

/* Maske der Textzeilen: etwas Luft, damit Umlaute und Unterlängen nicht abgeschnitten werden */
.line-mask { padding-block: .1em; margin-block: -.1em; }

/* Kopf eines Blocks: überall gleich */
.head { display: grid; gap: var(--s2); margin-bottom: var(--s5); align-content: start; }
.split > .head { margin-bottom: 0; }

/* Buttons & Links */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 15px 26px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.more { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.more::after { content: "→"; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-block: var(--s3); position: relative; }
.logo { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; }
.logo img { width: 40px; height: auto; }
.logo span { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: var(--s4); }
.nav a { font-family: var(--f-ui); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding-block: 6px; }
.nav-ink { position: absolute; left: 0; height: 1px; width: 0; background: var(--accent); pointer-events: none; transition: transform .6s var(--ease), width .6s var(--ease); }
@media (min-width: 881px) { .nav { position: relative; } }
@media (max-width: 880px) { .nav-ink { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-ink { transition: none; } }
.nav .nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 22px; transition: border-color .3s, color .3s; }
.nav .nav-cta:hover { border-color: var(--accent); color: var(--accent-ink); }
.menu-toggle { display: none; background: none; border: 0; font-family: var(--f-ui); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; padding: 8px 0; }
@media (min-width: 881px) { .nav { margin-left: auto; order: 1; } .search-toggle { order: 2; margin-right: calc(-1 * var(--s1)); } }
.search-toggle { display: inline-flex; background: none; border: 0; padding: 8px; margin-left: calc(-1 * var(--s1)); color: var(--ink); cursor: pointer; transition: color .3s; }
.search-toggle svg { stroke: currentColor; stroke-width: 1.3; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { color: var(--accent-ink); }
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding-block: var(--s3); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .5s var(--ease), visibility 0s .35s; }
.search-panel.open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s ease, transform .5s var(--ease), visibility 0s; }
.search-form { display: flex; align-items: center; gap: var(--s2); border-bottom: 1px solid var(--ink); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 10px 0; font-family: var(--f-body); font-weight: 300; font-size: 19px; color: var(--ink); appearance: none; color-scheme: light; }
.search-form input::placeholder { color: var(--ink-3); }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form button { background: none; border: 0; padding: 10px 0; font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: color .3s; }
.search-form button:hover { color: var(--accent-ink); }
.search-form:focus-within { border-bottom-color: var(--accent); }
.search-again { max-width: 560px; margin-block: var(--s4) var(--s5); }
.search-empty { color: var(--ink-2); max-width: 68ch; }
.search-empty a { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .search-panel, .search-panel.open { transition: none; transform: none; } }
@media (max-width: 880px) {
  .search-toggle { margin-left: auto; margin-right: calc(-1 * var(--s1)); }
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--s1) max(var(--gut), env(safe-area-inset-right, 0px)) var(--s3) max(var(--gut), env(safe-area-inset-left, 0px)); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s cubic-bezier(.32, .08, .12, 1), visibility 0s .7s; }
  .nav.open { visibility: visible; clip-path: inset(0 0 -1px 0); transition: clip-path 1.3s cubic-bezier(.32, .08, .12, 1), visibility 0s; }
  .nav a { transform: translateY(-14px); }
  .nav.open a { transform: none; transition: transform 1.3s cubic-bezier(.32, .08, .12, 1); }
  .nav.open a:nth-of-type(2) { transition-delay: .05s; }
  .nav.open a:nth-of-type(3) { transition-delay: .1s; }
  .nav.open a:nth-of-type(4) { transition-delay: .15s; }
  .nav.open a:nth-of-type(5) { transition-delay: .2s; }
  .nav.open a:nth-of-type(6) { transition-delay: .25s; }
  .nav a { font-size: 15px; padding-block: 10px; }
  .nav .nav-cta { margin-top: var(--s1); padding: 10px 22px; }
}

/* Hero */
.hero { padding-top: var(--s5); padding-bottom: var(--s6); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: start; }
.hero-text { display: grid; gap: var(--s3); min-width: 0; }
.avatar { width: 96px; height: 96px; display: block; position: relative; }
.avatar-arrow { position: absolute; left: 50%; top: calc(100% + 10px); margin-left: -6px; stroke: var(--ink); stroke-width: 1; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
.avatar:hover .avatar-arrow, .avatar:focus-visible .avatar-arrow { clip-path: inset(0 0 0 0); }
.avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); clip-path: circle(46.5% at 50% 50%); scale: 1.06; }
@media (max-width: 600px) {
  .hero-head { grid-template-columns: 1fr; gap: var(--s3); }
  .avatar { order: -1; width: 72px; height: 72px; }
  h1 { font-size: 6.1vw; }
  .logo { gap: 10px; }
  .logo img { width: 32px; }
  .logo span { font-size: 11px; letter-spacing: .08em; }
}

/* Durchlaufende Bildleiste */
.reel { margin-top: var(--s5); overflow: hidden; }
.reel-track { display: flex; gap: 14px; width: max-content; animation: reel 165s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel figure { flex: none; height: clamp(240px, 27vw, 390px); aspect-ratio: var(--ar, 3 / 2); max-width: none; background: var(--paper-2); overflow: hidden; }
.reel img { width: 100%; height: 100%; object-fit: cover; scale: var(--z, 1); }
.reel-dup { display: contents; }
@keyframes reel { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel-track { animation: none; }
  .reel-dup { display: none; }
}

/* Auftraggeber */
.clients { margin-top: var(--s5); display: grid; gap: var(--s2); }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px var(--s2); }
.clients li { font-size: 12px; font-weight: 300; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; }
.clients a { color: inherit; text-decoration: none; transition: color .3s; }
.clients a:hover, .clients a:focus-visible { color: var(--accent-ink); }

/* Bildbox für alle Karten */
.img { overflow: hidden; background: var(--paper-2); }
.img img { width: 100%; height: 100%; object-fit: cover; scale: var(--z, 1); transition: transform .9s var(--ease); }
a:hover > .img img { transform: scale(1.03); }

/* Leistungen: quadratisch */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
.service { display: grid; gap: var(--s1); align-content: start; text-decoration: none; }
.service .img { aspect-ratio: 1; margin-bottom: var(--s1); }
.service h3 { transition: color .5s ease; }
.service:hover h3, .service:focus-visible h3 { color: var(--accent-ink); }
.service .keys { font-family: var(--f-sub); font-size: 14px; color: var(--ink-3); margin-top: var(--s1); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Reportagen und Journal */
.works, .posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
.work, .post { display: grid; gap: var(--s1); align-content: start; text-decoration: none; }
.work .img, .post .img { aspect-ratio: 3 / 2; margin-bottom: var(--s1); }
.work .meta { display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; }
.work h3 { min-width: 0; font-size: 13.5px; letter-spacing: .07em; }
.work .tag { font-family: var(--f-sub); font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.post .date { font-family: var(--f-sub); font-size: 14px; color: var(--ink-3); }
.post .date b { font-weight: 400; color: var(--accent-ink); }
@media (max-width: 1000px) { .works, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .works, .posts { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s5); }
.chip { font-family: var(--f-ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: transparent; border: 1px solid var(--line); color: var(--ink-2); padding: 9px 14px; cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.foot-link { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); }

/* Über mich */
.about { container-type: inline-size; }
.about::before { content: ""; position: absolute; inset: 0; background: var(--paper-2); }
.split { display: grid; grid-template-columns: var(--split); gap: var(--s5) 64px; position: relative; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.about-cell { display: grid; place-items: start; }
.about-photo { aspect-ratio: 1; width: 210px; overflow: hidden; border-radius: 50%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); clip-path: circle(46.5% at 50% 50%); scale: calc(var(--z, 1) * 1.06); }
.about-body { display: grid; gap: var(--s2); max-width: 560px; }
.about-intro { font-size: 17px; color: var(--ink); }
.facts { margin-top: var(--s2); display: grid; }
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s2); padding-block: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.45; }
.about-body .more { margin-top: var(--s2); }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s3); padding-block: var(--s2); font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .04em; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-body); font-weight: 300; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
details.is-open summary::after { transform: rotate(45deg); }
.answer { overflow: hidden; }
details p { padding-bottom: var(--s3); font-size: 16px; }

/* Kontakt */
.contact { background: var(--ink); color: var(--paper); }
.contact h2, .contact .sub { color: var(--paper); }
.contact .eyebrow { color: #8f8b89; }
.contact p { color: var(--paper); }
.contact .stack { display: grid; gap: var(--s2); align-content: start; }
.channels { margin-top: var(--s2); }
.channels div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--s2); padding-block: 12px; border-top: 1px solid #2a2a2a; align-items: baseline; }
.channels dt { font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8f8b89; }
.channels dd { font-family: var(--f-sub); font-size: 18px; user-select: all; overflow-wrap: anywhere; }
.channels a { color: inherit; text-decoration: none; border-bottom: 1px solid #4a4a4a; user-select: auto; transition: color .3s, border-color .3s; }
.channels a:hover, .channels a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
form { display: grid; gap: var(--s3); align-content: start; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
label { display: grid; gap: 6px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8f8b89; }
input, select, textarea { font: 300 16px/1.4 var(--f-body); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid #3a3a3a; padding: 10px 0; border-radius: 0; color-scheme: dark; }
textarea { resize: vertical; min-height: 96px; }
select option { color: var(--ink); }
.contact .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); justify-self: start; }
.contact .btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--paper); }
.form-note { font-size: 14px; color: #8f8b89; min-height: 1.4em; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .channels div { grid-template-columns: 1fr; gap: 2px; } }

/* Footer */
.site-footer { padding-block: var(--s5) var(--s4); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: var(--split); gap: var(--s4) 64px; }
.foot-grid > * { min-width: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.foot-grid h4 { font-family: var(--f-ui); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 var(--s2); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { text-decoration: none; color: var(--ink-2); transition: color .3s; }
.foot-grid a:hover { color: var(--accent-ink); }
.foot-logo { width: 200px; margin-bottom: var(--s2); }
.foot-grid address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.legal { margin-top: var(--s4); padding-top: var(--s2); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); font-size: 13px; color: var(--ink-3); }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }



/* Ergänzungen für WordPress */
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Unterseiten */
.page-head { padding-top: var(--s5); }
.page-head .head { margin-bottom: 0; }
.single-title { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.16; letter-spacing: .06em; max-width: 22em; }
.page-body { padding-top: var(--s5); }

.entry { max-width: 940px; font-size: 17px; }
.entry > * { margin-block: 0 var(--s3); }
.entry > *:last-child { margin-bottom: 0; }
.entry p, .entry li { color: var(--ink-2); }
.entry p { max-width: 68ch; }
.entry p:has(> img), .entry p:has(> a > img) { max-width: none; }
.entry h2, .entry h3, .entry h4 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-top: var(--s5); }
.entry h2 { font-size: 22px; }
.entry h3, .entry h4 { font-size: 15px; }
.entry a { color: var(--accent-ink); }
.entry img { display: block; width: 100%; height: auto; }
.entry figure, .entry .wp-caption { width: 100% !important; max-width: 100%; margin-inline: 0; }
.entry figcaption, .entry .wp-caption-text { font-family: var(--f-sub); font-size: 14px; color: var(--ink-3); margin-top: var(--s1); }
.entry .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.entry .gallery br { display: none; }
.entry .gallery-item { margin: 0; width: auto !important; }
.entry .gallery-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.entry .gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s1); }
@media (max-width: 600px) { .entry .gallery { grid-template-columns: 1fr; } .entry .gallery-columns-3, .entry .gallery-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post .img img { object-position: 50% 22%; }

.post-nav { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s3); }
.post-nav a { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: color .3s; }
.post-nav a:hover { color: var(--accent-ink); }

.filters a.chip { text-decoration: none; display: inline-block; }
.pagination { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--s1); }
.pagination .page-numbers { font-family: var(--f-ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); padding: 9px 14px; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

.page-body.works { display: grid; }
.folio { column-count: 2; column-gap: var(--s3); }
.folio .img { background: none; break-inside: avoid; margin-bottom: var(--s3); }
.folio img { height: auto; }
@media (max-width: 600px) { .folio { column-count: 1; } }
.legal a { color: inherit; text-decoration: none; }
.legal a:hover { color: var(--accent-ink); }
.form-note a { color: inherit; }
.form-hint { margin-top: calc(-1 * var(--s1)); min-height: 0; }
.channels a[href^="tel"], .channels a[href^="mailto"] { border-bottom: 0; }

/* Lange Adressen laufen auf dem Handy nicht aus der Seite */
body { overflow-x: clip; }
main p a { overflow-wrap: anywhere; }

/* Cookie-Banner im Stil der Seite */
.cmplz-cookiebanner.cmplz-show { font-family: var(--f-body) !important; border-radius: 0 !important; box-shadow: 0 8px 30px rgba(0, 0, 0, .12) !important; }
.cmplz-cookiebanner .cmplz-title { font-family: var(--f-ui) !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: .13em; text-transform: uppercase; }
.cmplz-cookiebanner .cmplz-btn { font-family: var(--f-ui) !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: .1em; text-transform: uppercase; border-radius: 0 !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--paper) !important; }
.cmplz-cookiebanner .cmplz-documents a, .cmplz-cookiebanner .cmplz-links a { color: var(--ink-2) !important; }
.cookie-settings { background: none; border: 0; padding: 0; margin: 0; font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; position: static !important; }
.cookie-settings:hover { color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) and (max-width: 880px) {
  .nav, .nav.open, .nav.open a { transition: none; }
  .nav a { transform: none; }
}

@media (max-width: 440px) { .logo { gap: var(--s1); } .logo span { font-size: 10.5px; letter-spacing: .1em; } }

.nav .lang-switch { display: inline-flex; line-height: 0; transition: opacity .3s; }
.nav .lang-switch svg { display: block; box-shadow: 0 0 0 1px var(--line); }
.nav .lang-switch:hover { opacity: .7; }

.menu-toggle { min-width: 44px; text-align: right; }
.menu-toggle.is-open { font-size: 26px; font-weight: 300; letter-spacing: 0; line-height: 1; padding-block: 3px; }

.cmplz-cookiebanner { background: var(--paper) !important; }
