@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg: #FDFCFA;
  --ink: #2E2A24;
  --ink-muted: #8A8378;
  --ink-quiet: #A6A198;
  --ink-body: #4A453E;
  --accent: #8A4B26;
  --divider: #EEEDE9;
  --divider-quiet: #D8D5CC;
  --placeholder-bg: #EFEDE7;
  --input-border: #E0DCCF;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: 'Lora', serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 44px 56px;
  border-bottom: 2px solid var(--divider);
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-header .identity { text-decoration: none; }
.site-header .name {
  font-size: 34px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 1px;
}
.site-header .subtitle {
  font-size: 24px;
  color: var(--ink-muted);
  margin-top: 6px;
}
.site-header nav {
  text-align: right;
  font-size: 23px;
  color: #6B6560;
  line-height: 1.7;
}
.site-header nav a {
  color: inherit;
  text-decoration: none;
  display: block;
  margin-top: 12px;
}
.site-header nav a:first-child { margin-top: 0; }
.site-header nav a.active { text-decoration: underline; text-underline-offset: 6px; color: var(--ink); }

/* SPARKS-mobile: hide nav, keep name as home link */
body.sparks-page .site-header nav { display: none; }

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-header nav {
    text-align: center;
    margin-top: 14px;
    display: flex;
    gap: 16px;
    justify-content: center;
    line-height: 1.4;
  }
  .site-header nav a { margin-top: 0; padding-top: 2px; }
  .site-header { padding: 20px 20px; border-bottom: 1px solid var(--divider); }
  .site-header .name { font-size: 16px; letter-spacing: 0.5px; }
  .site-header .subtitle { font-size: 11.5px; margin-top: 3px; }
  .site-header nav { font-size: 15px; margin-top: 19px; }
  .site-header nav a.active { text-underline-offset: 3px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 20px 56px 24px;
  border-top: 2px solid var(--divider);
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-footer nav {
  display: inline-flex;
  gap: 36px;
  font-size: 21px;
  color: var(--ink-quiet);
  letter-spacing: 0.4px;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a.active { text-decoration: underline; text-underline-offset: 6px; color: var(--ink-muted); }
@media (max-width: 640px) {
  .site-footer { padding: 10px 20px 12px; border-top: 1px solid var(--divider); }
  .site-footer nav { gap: 14px; font-size: 10px; }
  .site-footer a.active { text-underline-offset: 3px; }
}

/* ---------- Section heading (Aktuelles, Einblicke, Preise, Kontakt-on-Ueber-mich) ---------- */
.section-heading {
  font-size: 32px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 28px;
}
.section-heading.slim {
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 4px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

/* ---------- Placeholder image blocks (swap for real <img> in CMS content) ---------- */
.ph {
  background: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #A6A198;
  text-align: center;
}

@media (max-width: 640px) {
  .section-heading { font-size: 14.5px; margin-bottom: 12px; }
  .section-heading.slim { font-size: 10px; letter-spacing: 1.5px; border-bottom-width: 2px; padding-bottom: 8px; margin-bottom: 14px; }
  .ph { font-size: 10px; }
}

/* ---------- Landing page ---------- */
.hero-portrait-row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 52px 56px 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-portrait-row .portrait {
  flex: 0 0 304px;
  width: 300px;
  height: 400px; /* 3:4 */
  object-fit: cover;
}
.hero-portrait-row .intro-text {
  font-size: 23px;
  line-height: 1.55;
  padding-top: 12px;
}
@media (max-width: 640px) {
  .hero-portrait-row { flex-direction: column; align-items: center; text-align: left; gap: 0; padding: 6px 20px 20px; }
  .hero-portrait-row .portrait { flex: 0 1 auto; width: min(80vw, 300px); height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin: 0 auto 14px; }
  .hero-portrait-row .intro-text { text-align: center; width: 100%; max-width: min(86vw, 400px); font-size: clamp(12px, 3.4vw, 14px); margin: 0 auto; padding-top: 0; }
}

/* ---------- Aktuelles / Einblicke carousels ---------- */
.carousel-section { padding: 56px 56px 48px; max-width: var(--max-width); margin: 0 auto; }
.carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { flex: 0 0 350px; }
.carousel .card.faded { opacity: 0.55; position: relative; }
.carousel .card img, .carousel .card .ph { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; margin-bottom: 18px; }
.carousel .kicker { font-size: 19px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; }
.carousel .headline { font-size: 26px; color: var(--ink); margin-top: 10px; font-weight: 600; line-height: 1.35; }
.carousel .summary { font-size: 22px; color: #6B6560; margin-top: 10px; line-height: 1.4; }

.carousel-next-arrow {
  position: absolute;
  top: 76px;
  right: 4px;
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.carousel-next-arrow span {
  position: absolute;
  width: 18px;
  height: 2.8px;
  background: var(--ink);
}
.carousel-next-arrow span.top { top: 0; right: 0; transform: rotate(45deg); transform-origin: right center; }
.carousel-next-arrow span.bottom { bottom: 0; right: 0; transform: rotate(-45deg); transform-origin: right center; }

.carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.carousel-dots .dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: var(--divider-quiet); cursor: pointer; }
.carousel-dots .dot.active { background: var(--ink); }

@media (max-width: 640px) {
  .carousel-section { padding: 22px 20px 20px; }
  .carousel { gap: 10px; }
  .carousel .card { flex: 0 0 250px; }
  .carousel .card img, .carousel .card .ph { height: auto; width: 100%; aspect-ratio: 4/3; }
  .carousel .kicker { font-size: 9px; letter-spacing: 0.4px; }
  .carousel .headline { font-size: 12.5px; margin-top: 4px; line-height: 1.3; }
  .carousel .summary { font-size: 11px; margin-top: 4px; }
  .carousel-next-arrow { top: 38px; right: 2px; width: 11px; height: 11px; }
  .carousel-next-arrow span { width: 9px; height: 1.4px; }
  .carousel-dots { gap: 6px; margin-top: 14px; }
  .carousel-dots .dot { width: 6px; height: 6px; }
  main { display: flex; flex-direction: column; }
  main > * { min-width: 0; }
  .hero-portrait-row { order: 2; }
  .carousel-section { order: 1; width: 100%; max-width: 100%; overflow: hidden; }
  .carousel { scroll-snap-type: x mandatory; }
  .carousel .card { scroll-snap-align: start; }
  
}

/* ---------- ZEITECHT overview ---------- */
.page-title-block { padding: 76px 56px 40px; text-align: center; max-width: var(--max-width); margin: 0 auto; }
.page-title-block h1 { font-size: 54px; color: var(--ink); font-weight: 600; letter-spacing: 1px; margin: 0; }
.page-title-block .tagline { font-size: 34px; color: var(--accent); font-weight: 600; margin-top: 24px; letter-spacing: 0.6px; }
@media (max-width: 640px) {
  .page-title-block { padding: 32px 22px 18px; }
  .page-title-block h1 { font-size: 23px; }
  .page-title-block .tagline { font-size: 14.5px; }
}

/* Fold-out labels (Ueber das Projekt / Ueber das Begleitmaterial) */
.foldouts {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--divider);
  max-width: var(--max-width);
  margin: 0 auto;
}
.foldouts .foldout-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.foldouts .foldout-toggle .sign { font-size: 26px; color: var(--ink-muted); width: 20px; display: inline-block; }
.foldout-panel { display: none; padding: 36px 56px 0; max-width: var(--max-width); margin: 0 auto; font-size: 26px; line-height: 1.7; }
.foldout-panel.open { display: block; }
@media (max-width: 640px) {
  .foldouts { flex-direction: column; align-items: center; gap: 8px; padding: 0 20px 16px; }
  .foldouts .foldout-toggle { font-size: 11.5px; gap: 6px; }
  .foldouts .foldout-toggle .sign { font-size: 12px; width: 10px; }
  .foldout-panel { padding: 16px 20px 0; font-size: 13px; }
}

/* Entry list (ZEITECHT + Arbeiten overview) */
.entry-list { padding: 48px 56px 60px; max-width: var(--max-width); margin: 0 auto; }
.entry { display: flex; gap: 36px; padding: 40px 0; border-top: 2px solid var(--divider); }
.entry:first-child { border-top: none; padding-top: 0; }
.entry .thumb, .entry .ph { flex: 0 0 200px; height: 260px; aspect-ratio: 3/4; }
.entry .title { font-size: 36px; color: var(--ink); font-weight: 600; }
.entry .title-link { color: inherit; text-decoration: none; }
.entry-image-link { display: block; }
.entry-image-link picture { display: block; width: 100%; height: 100%; }
.zeitecht-entry-list .entry .title-link:hover,
.zeitecht-entry-list .entry .title-link:active,
.zeitecht-entry-list .entry .title-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.zeitecht-entry-list .entry .link,
.zeitecht-entry-list .entry .desc { display: none; }
.entry .desc { font-size: 23px; line-height: 1.55; margin-top: 10px; }
.entry .meta { font-weight: bold; font-size: 22px; color: var(--ink); margin-top: 20px; }
.entry-detail { font-size: 22px; color: var(--ink); margin-top: 20px;}
.entry-detail .link { font-size: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 6px;}
.entry .link { font-style: italic; font-size: 23px; color: var(--accent); margin-top: 16px; text-decoration: underline; text-underline-offset: 6px; display: inline-block; }
.entry .tag-line { font-size: 20px; color: var(--ink-muted); letter-spacing: 0.6px; margin-bottom: 20px; }
.entry .tag-line .divider { margin: 0 12px; color: var(--divider-quiet); }

@media (max-width: 640px) {
  .entry-list { padding: 20px 20px; }
  .entry { flex-direction: column; gap: 0; padding: 18px 0; border-top-width: 1px; }
  .entry .thumb, .entry .ph { width: 100%; aspect-ratio: 4/3; margin-bottom: 0px; }
  .entry .title { font-size: 16.5px; margin-top: 18px; }
  .entry .desc { font-size: 12px; margin-top: 15px; }
  .entry .meta { font-weight: bold; font-size: 12px; margin-top: 9px; }
  .entry-detail { font-size: 12px; margin-top: 9px;}
  .entry .link { font-style: italic; font-size: 12px; margin-top: 15px; }
  .entry .tag-line { font-size: 9.5px; margin-bottom: 9px; }
  .entry .tag-line .divider { margin: 0 5px; }
}

/* ---------- Filter bar (Arbeiten) ---------- */
.filter-bar {
  padding: 32px 56px;
  text-align: center;
  border-bottom: 2px solid var(--divider);
  max-width: var(--max-width);
  margin: 0 auto;
}
.filter-bar .filters { display: inline-flex; gap: 44px; font-size: 24px; letter-spacing: 1px; color: #6B6560; }
.filter-bar button {
  background: none; border: none; font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; padding: 0;
}
.filter-bar button.active { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 8px; }
@media (max-width: 640px) { .filter-bar { padding: 14px 20px; } .filter-bar .filters { gap: 16px; font-size: 11.5px; } .filter-bar button.active { text-underline-offset: 4px; } }

/* ---------- Detail page (ZEITECHT + Arbeiten) ---------- */
.detail-hero { display: flex; gap: 44px; padding: 60px 56px 12px; max-width: var(--max-width); margin: 0 auto; }
.detail-hero .image, .detail-hero .ph { flex: 0 0 304px; height: 380px; }
.detail-hero h1 { font-size: 46px; color: var(--ink); font-weight: 600; margin: 0; }
.detail-hero .tagline { font-size: 26px; color: var(--accent); font-style: italic; margin-top: 30px; }
.detail-hero .desc { font-size: 25px; line-height: 1.6; margin-top: 10px; }
.detail-hero .desc p { margin-top:0; }
.detail-hero .meta { font-size: 25px; color: var(--ink); margin-top: 30px; }

@media (max-width: 640px) {
  .detail-hero { flex-direction: column; gap: 0; padding: 20px 20px 6px; }
  .detail-hero .image, .detail-hero .ph { width: 100%; height: 180px; }
  .detail-hero h1 { font-size: 20px; margin-top: 16px; }
  .detail-hero .tagline { font-size: 12.5px; margin-top: 20px; }
  .detail-hero .desc { font-size: 12px; margin-top: 5px; }
  .detail-hero .meta { font-size: 12px; margin-top: 20px; }
}

/* Info strip: Auszug lesen / Inszenierungsschluessel / PDF-per-email / pricing pointer */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
  margin: 40px auto 0;
  max-width: var(--max-width);
  padding: 40px 0;
}
.info-strip .item { padding: 0 28px; border-left: 2px solid var(--divider); text-align: center; }
.info-strip .item:first-child { border-left: none; padding-left: 0; }
.info-strip .link { font-size: 25px; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; font-weight: 600; cursor: pointer; }
.info-strip .caption { font-size: 20px; color: var(--ink-muted); margin-top: 10px; }
.info-strip .note { font-weight: bold; color: var(--ink-body); font-size: 22px; line-height: 1.5; }
.info-strip .note.note-pricing { color: var(--ink-body); }
.info-strip .note .email { color: var(--accent); }
.info-strip .key-image { object-fit: cover; display: flex; align-items: center; justify-content: center; }
.info-strip .key-image img { width: 100%; object-fit: cover; }
.info-strip .key-image.clickable, .info-strip .key-image.clickable img { cursor: pointer; }
.info-strip a.key-image { color: inherit; text-decoration: none; }
.info-strip [data-hidden="true"] { display: none; }

.auszug-text {
  font-family: monospace;
  white-space: pre-line;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: anywhere;
}
.auszug-text .auszug-center { display: block; text-align: center; }
.lightbox-panel {
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  overflow: hidden;
  padding: 16px 32px 32px;
}
.lightbox-close {
  align-self: flex-end;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: -8px -16px 8px auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lightbox-content { min-height: 0; overflow-y: auto; }

@media (min-width: 641px) {
  .auszug-text { font-size: 20px; }
}

@media (max-width: 640px) {
  .lightbox-panel { padding: 16px 20px 20px; }
  .lightbox-close { margin-right: -10px; }
  .info-strip {
    display: flex;
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center;
    padding: 18px 20px; column-gap: 70px; row-gap: 16px; border-top-width: 1px; border-bottom-width: 1px;
  }
  .info-strip .item { flex: 0 0 auto; border-left: none; padding: 0; }
  .info-strip .item:nth-child(1) { flex: 0 0 auto; }
  .info-strip .item:nth-child(2) { flex: 0 0 auto; }
  .info-strip .item:nth-child(3),
  .info-strip .item:nth-child(4) {
    flex: 0 0 100%; border-top: 1px solid var(--divider); padding-top: 12px;
  }
  .info-strip .link { font-size: 13px; }
  .info-strip .caption { font-size: 10px; margin-top: 4px; }
  .info-strip .note { font-weight: bold; color: var(--ink-body); font-size: 12px; }
  .info-strip .note.note-pricing { color: var(--ink-body); }
  .info-strip .key-image { width: 128px; height: 88px; }
}

/* Pricing */
.pricing-block { padding: 56px 56px 40px; max-width: var(--max-width); margin: 0 auto; }
.pricing-block .section-heading { border-top: 2px solid var(--divider); padding-top: 44px; }
.pricing-link { color: inherit; text-decoration: none; }
@media (max-width: 640px) { .pricing-block { order: 2; padding: 22px 20px 20px; } .pricing-block .section-heading { padding-top: 18px; border-top-width: 1px; } }

/* ---------- Filter-aware first-entry border fix ---------- */
.entry[data-first-visible="true"] { border-top: none; padding-top: 0; }

/* ---------- Kontakt form ---------- */
.kontakt-intro { padding: 72px 56px 16px; text-align: center; max-width: var(--max-width); margin: 0 auto; }
.kontakt-intro h1 { font-size: 44px; color: var(--ink); font-weight: 600; margin: 0; }
.kontakt-intro p { font-size: 25px; color: #6B6560; margin-top: 20px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.kontakt-form { padding: 56px 56px 68px; max-width: var(--max-width); margin: 0 auto; }
.kontakt-form .fields { display: flex; flex-direction: column; gap: 28px; max-width: 760px; margin: 0 auto; }
.kontakt-form label { font-size: 22px; color: var(--ink-muted); margin-bottom: 10px; display: block; }
.kontakt-form input, .kontakt-form textarea {
  width: 100%; border: 2px solid var(--input-border); background: #fff; font-family: inherit; font-size: 26px; padding: 16px 20px;
}
.kontakt-form textarea { min-height: 160px; resize: vertical; }
.kontakt-form button {
  display: inline-block; padding: 18px 52px; border: 2px solid var(--ink); color: var(--ink); font-size: 25px;
  background: none; font-family: inherit; cursor: pointer; margin-top: 12px;
}
@media (max-width: 640px) {
  .kontakt-intro { padding: 28px 20px 6px; }
  .kontakt-intro h1 { font-size: 19px; }
  .kontakt-intro p { font-size: 12px; margin-top: 8px; max-width: 260px; }
  .kontakt-form { padding: 22px 20px 26px; }
  .kontakt-form .fields { gap: 12px; max-width: none; }
  .kontakt-form label { font-size: 10.5px; margin-bottom: 4px; }
  .kontakt-form input, .kontakt-form textarea { border-width: 1px; font-size: 13px; padding: 8px 10px; }
  .kontakt-form textarea { min-height: 90px; }
  .kontakt-form button { width: 100%; padding: 11px 0; font-size: 12.5px; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-title { padding: 76px 56px 16px; text-align: center; max-width: var(--max-width); margin: 0 auto; }
.legal-title h1 { font-size: 44px; color: var(--ink); font-weight: 600; margin: 0; }
.legal-body { padding: 52px 80px 68px; max-width: var(--max-width); margin: 0 auto; font-size: 26px; line-height: 1.7; }
.legal-body.placeholder { color: #B8B2A4; font-style: italic; }
@media (max-width: 640px) {
  .legal-title { padding: 30px 20px 6px; }
  .legal-title h1 { font-size: 19px; }
  .legal-body { padding: 22px 20px 26px; font-size: 12px; }
}

/* ---------- Image gallery lightbox (Einblicke) ---------- */
.gallery-overlay {
  position: fixed; inset: 0; background: rgba(46,42,36,0.85); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.gallery-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #FDFCFA; font-size: 28px; line-height: 1; cursor: pointer; z-index: 1001;
  padding: 0;
  border: 0;
  background: none;
}
.gallery-scroller {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  width: 100%; height: 100%; scrollbar-width: none;
}
.gallery-scroller::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.gallery-slide img {
  width: auto; height: auto; max-width: calc(100vw - 80px); max-height: calc(100vh - 80px);
  object-fit: contain;
}
.gallery-slide .ph {
  max-width: 100%; max-height: 100%; object-fit: contain; width: 400px; height: 300px;
}
.gallery-slide img { pointer-events: none; }
.gallery-slide.has-credit { flex-direction: column; gap: 12px; }
.gallery-credit {
  max-width: 100%; color: #FDFCFA; font-size: 14px; line-height: 1.4;
  text-align: center; overflow-wrap: anywhere;
}
.gallery-slide.has-credit img { max-height: calc(100vh - 152px); }
@media (max-width: 640px) {
  .gallery-slide { padding: 20px; }
  .gallery-slide img {
    width: auto; height: auto; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px);
  }
  .gallery-slide .ph { width: 280px; height: 210px; }
  .gallery-slide.has-credit { gap: 8px; }
  .gallery-credit { font-size: 12px; }
  .gallery-slide.has-credit img { max-height: calc(100vh - 104px); }
}

/* ---------- SPARKS ---------- */
.sparks-display { padding: 180px 80px; cursor: pointer; max-width: var(--max-width); margin: 0 auto; user-select: none; }
.sparks-display .prompt { font-size: 44px; color: var(--ink); line-height: 1.5; font-weight: 600; max-width: 800px; }
.sparks-display .helper { margin-top: 92px; font-size: 20px; letter-spacing: 2px; color: #B8B2A4; text-transform: uppercase; }
.sparks-display .helper.tap { display: none; }
@media (max-width: 640px) {
  .sparks-display { padding: 70px 24px; }
  .sparks-display .prompt { font-size: 18px; }
  .sparks-display .helper.click { display: none; }
  .sparks-display .helper.tap { display: block; }
  .sparks-display .helper { font-size: 9.5px; margin-top: 38px; letter-spacing: 1px; }
  body.sparks-page .site-header .name,
  body.sparks-page .site-header .subtitle { color: #B8B2A4; }
}

/* ---------- Ueber mich ---------- */
.ueber-mich-hero { display: flex; gap: 40px; align-items: flex-start; padding: 60px 56px 12px; max-width: var(--max-width); margin: 0 auto; }
.ueber-mich-hero .photo-col { flex: 0 0 300px; }
.ueber-mich-hero .photo-cycle { width: 100%; height: 420px; overflow: hidden; cursor: pointer; touch-action: pan-y; }
.ueber-mich-hero .photo-cycle.dragging { cursor: grabbing; }
.ueber-mich-hero .photo-track { display: flex; width: 100%; height: 100%; will-change: transform; transition: transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.ueber-mich-hero .photo-track > img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ueber-mich-hero .photo-dots { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.ueber-mich-hero .photo-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--divider-quiet); }
.ueber-mich-hero .photo-dots .dot.active { background: var(--ink); }
.ueber-mich-hero .bio { font-size: 22px; line-height: 1.65; }
.ueber-mich-kontakt { padding: 56px 56px 40px; max-width: var(--max-width); margin: 0 auto; }
.ueber-mich-kontakt .inner { font-size: 20px; border-top: 2px solid var(--divider); padding-top: 44px; }
.ueber-mich-kontakt .heading { font-size: 28px; color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.ueber-mich-kontakt .email { color: var(--accent); }

@media (max-width: 640px) {
  .ueber-mich-hero { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px 6px; }
  .ueber-mich-hero .photo-col { width: min(80vw, 280px); flex: 0 1 auto; }
  .ueber-mich-hero .photo-cycle { height: auto; aspect-ratio: 3 / 4; }
  .ueber-mich-hero .bio { width: 100%; max-width: min(90vw, 420px); text-align: left; margin: 16px auto 0; }
  .ueber-mich-kontakt { text-align: center; padding: 24px 20px 24px; }
  .ueber-mich-kontakt .inner { max-width: 280px; margin: 0 auto; padding-top: 20px; }
  .ueber-mich-hero .bio { font-size: clamp(12px, 3.4vw, 14px); }
  .ueber-mich-hero .photo-dots { gap: 6px; margin-top: 9px; }
  .ueber-mich-hero .photo-dots .dot { width: 5px; height: 5px; }
  .ueber-mich-kontakt .heading { font-size: 14px; margin-bottom: 8px; }
  .ueber-mich-kontakt .inner > div:last-child { font-size: 12px; }
}
