/* lenasonntag.de – Kantorin Lena Sonntag
   Schriften wie in Lenas Drucksachen: EB Garamond (Lesetext), Montserrat (Name,
   Navigation, Auszeichnungen). Alle Dateien liegen auf diesem Server. */

@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1c2124;
  --text: #2b3135;
  --muted: #5b666b;
  --petrol: #3c696f;
  --petrol-dark: #2c4f54;
  --petrol-light: #dbe7e8;
  --line: #e1e6e6;
  --soft: #f3f6f5;
  --paper: #ffffff;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 4.5vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh;
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.25rem/1.6 var(--serif);
  font-kerning: normal; font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--petrol-dark); }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }
p, li, dd { hyphens: auto; -webkit-hyphens: auto; }
p { margin: 0 0 1em; }

main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; font: 600 .9rem/1 var(--sans); text-decoration: none; }
.skip:focus { left: 8px; }

/* Schriftrollen */
h1, h2, h3, .sans { font-family: var(--sans); font-variant-numeric: lining-nums; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.005em; margin: 0 0 .7em; hyphens: manual; overflow-wrap: break-word; }
h1 { font-weight: 700; font-size: clamp(2rem, 1.55rem + 1.9vw, 2.9rem); }
h1::after { content: ""; display: block; width: 48px; height: 3px; margin-top: .5em; background: var(--ink); }
h2 { font-weight: 600; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin-top: 1.8em; }
h3 { font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; }
.eyebrow {
  margin: 0 0 1.1rem; color: var(--petrol);
  font: 600 .74rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase;
}
.lead { font-size: 1.42rem; line-height: 1.45; color: var(--ink); }
.more {
  display: inline-block; font: 600 .9rem/1.3 var(--sans); letter-spacing: .03em;
  color: var(--petrol); text-decoration: none; border-bottom: 1px solid var(--petrol-light); padding-bottom: 2px;
}
.more::after { content: "\2009\2192"; }
.more:hover { color: var(--petrol-dark); border-bottom-color: var(--petrol); }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 22px; }
.brand { display: inline-flex; flex-direction: column; gap: 7px; color: var(--ink); text-decoration: none; }
.brand-role { font: 600 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--petrol); }
.brand-name { font: 700 1.4rem/1 var(--sans); letter-spacing: .005em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 3vw, 38px); font: 500 .95rem/1 var(--sans); }
.site-nav a { color: var(--ink); text-decoration: none; padding: 9px 0 7px; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--line); color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--petrol); }

/* Abschnitte */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section.soft { background: var(--soft); }
.page-head { padding-top: clamp(40px, 6vw, 80px); }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin-top: 1.9em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.two-col > :first-child > :first-child, .two-col > :last-child > :first-child { margin-top: 0; }

/* Startseite */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.7rem + 3.3vw, 4.1rem); letter-spacing: -.015em; }
.hero-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 26%; border-radius: 2px; }
.quote { margin: 2rem 0 0; padding: .1em 0 .1em 1.2em; border-left: 2px solid var(--petrol); color: var(--muted); font-style: italic; font-size: 1.3rem; line-height: 1.5; }
.quote p { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 2.4rem 0 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 26px 26px 24px; }
.card h3 { margin-bottom: .55em; }
.card p { margin-bottom: .6em; font-size: 1.12rem; line-height: 1.5; }
.card .when { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font: 600 .86rem/1.5 var(--sans); color: var(--petrol); font-variant-numeric: lining-nums; }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { padding: .55rem 0; border-top: 1px solid var(--line); font-size: 1.12rem; line-height: 1.4; }
.schedule li:first-child { border-top: 0; padding-top: 0; }
.schedule strong { display: block; font: 600 .86rem/1.5 var(--sans); color: var(--petrol); font-variant-numeric: lining-nums; }
.section-foot { margin: 2rem 0 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.card h2, .card h3 { font-size: 1.05rem; margin: 0 0 .6em; }
.page-head .cards { margin-top: .5rem; }
.page-head .note { margin-top: 1.6rem; }
section.wrap { margin-top: clamp(40px, 6vw, 72px); }
section.wrap > h2:first-child { margin-top: 0; }
.pair { align-items: start; }
.pair .media img { aspect-ratio: 16 / 9; object-fit: cover; }
.pair .video { margin-top: 0; }
.pair figcaption { margin-top: .7em; }

/* Über mich */
.banner { margin: clamp(28px, 4vw, 44px) 0 clamp(40px, 6vw, 72px); }
.banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 55%; border-radius: 2px; }
.facts { margin: 0 0 1.6rem; }
.facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 20px; padding: .8rem 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .74rem/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); }
.facts dd { margin: 0; line-height: 1.5; }

/* Video: Vorschaubild, YouTube lädt erst beim Klick (site.js) */
.video { margin: 2.2rem 0 0; }
.video .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #111; }
.yt-facade { position: absolute; inset: 0; display: block; background: #111 center / cover no-repeat; cursor: pointer; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -55%); border-radius: 50%; background: rgba(255, 255, 255, .93); box-shadow: 0 2px 14px rgba(0, 0, 0, .25); transition: transform .15s; }
.yt-play::after { content: ""; position: absolute; left: 28px; top: 23px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--petrol); }
.yt-facade:hover .yt-play { transform: translate(-50%, -55%) scale(1.06); }
.yt-hint { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 12px; background: rgba(0, 0, 0, .62); color: #fff; font: 500 .72rem/1.4 var(--sans); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption, .caption { display: block; margin-top: .6em; font: 500 .8rem/1.5 var(--sans); color: var(--muted); font-variant-numeric: lining-nums; }

/* Chöre */
.media-text { align-items: center; }
.media img { width: 100%; border-radius: 2px; transition: opacity .2s; }
.media:hover img { opacity: .9; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
.gallery a { display: block; color: var(--muted); text-decoration: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; transition: opacity .2s; }
.gallery a:hover img { opacity: .88; }
.gallery a:hover .caption { color: var(--ink); }
.note { font-size: 1.1rem; color: var(--muted); }

/* Kontakt, Impressum */
.big-mail { font: 600 clamp(1.1rem, .95rem + 1vw, 1.6rem)/1.3 var(--sans); overflow-wrap: anywhere; }
.big-mail a { text-decoration: none; border-bottom: 2px solid var(--petrol-light); }
.big-mail a:hover { border-bottom-color: var(--petrol); }
.address { font-style: normal; line-height: 1.55; }

/* Fuß */
.site-footer { margin-top: clamp(64px, 9vw, 120px); background: var(--petrol); color: #fff; }
.seite-start .site-footer { margin-top: 0; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px 48px; padding-top: 52px; padding-bottom: 40px; }
.footer-brand .brand-role { color: var(--petrol-light); }
.footer-brand .brand-name { display: block; margin: 8px 0 18px; }
.footer-brand p { margin: 0; font: 500 .9rem/1.5 var(--sans); }
.footer-links { list-style: none; margin: 0; padding: 0; font: 500 .9rem/1.45 var(--sans); }
.footer-links li + li { margin-top: .75em; }
.footer-links a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.footer-links a:hover { border-bottom-color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 18px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .22); font: 500 .8rem/1.4 var(--sans); }
.footer-meta a { text-decoration: none; opacity: .9; }
.footer-meta a:hover { opacity: 1; text-decoration: underline; }

/* Bildbetrachter (site.js) */
.lb-overlay { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(16, 20, 22, .94); }
.lb-overlay.open { display: flex; }
.lb-overlay figure { margin: 0; padding: 0 56px; text-align: center; }
.lb-overlay img { margin: 0 auto; max-width: min(1400px, 100%); max-height: 82vh; width: auto; }
.lb-overlay figcaption { margin-top: .9em; color: #e9eeee; font: 500 .9rem/1.5 var(--sans); }
.lb-overlay button { position: absolute; padding: 10px 16px; border: 0; background: none; color: #fff; font: 300 2.6rem/1 var(--sans); cursor: pointer; opacity: .85; }
.lb-overlay button:hover { opacity: 1; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 8px; right: 8px; }

/* Galerie am Computer: erstes Bild breit über einem 3 × 3-Raster */
@media (min-width: 901px) {
  .gallery > li:first-child { grid-column: 1 / -1; }
  .gallery > li:first-child img { aspect-ratio: 19 / 10; object-position: 50% 85%; }
}

/* Schmale Bildschirme */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .two-col, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .two-col:not(.pair) > * + * { padding-top: 32px; border-top: 1px solid var(--line); }
  .two-col .lead { font-size: 1.25rem; }
  .hero-image { order: -1; max-width: 520px; }
  .hero-image img { aspect-ratio: 1 / 1; object-position: 50% 22%; }
  .media-text .media { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 1.15rem; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; padding-bottom: 12px; }
  .site-nav { gap: 4px 20px; font-size: .9rem; }
  .lead { font-size: 1.28rem; }
  .quote { font-size: 1.18rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .banner img { aspect-ratio: 16 / 9; }
  .gallery { gap: 22px 12px; }
  .gallery .caption { font-size: .74rem; }
  .lb-overlay figure { padding: 0 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
