/* flossmann.de – aisthesis */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #16202a;
  --petrol: #004a63;
  --petrol-hell: #8cc4d4;
  --rund: 1rem;          /* Kopf, Fuß, Fotos */
  --rund-knopf: .6rem;   /* Buttons */
  --parchment: #efe6d2;
  --sand: #d6c29c;
  --stone: #5e5a52;      /* Text-tauglich auf parchment, auf sand nur ab 24px */
  --teal: #0f5e63;
  --ember: #b23a1e;
  --saffron: #e3a018;
  --papier: #fbf8f2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --mass: min(72rem, 100% - 2.5rem);
  --lese: 40rem;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--parchment); color: var(--ink); font: 400 1.125rem/1.65 var(--serif); font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; margin-top: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; } h4 { font-size: 1.1rem; }
.mono, .dachzeile, .liste-meta, .meta, .nav, .nav-meta, .button, .filter button, .chips a, .schlagworte li { font-family: var(--mono); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--petrol); color: var(--parchment); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
main { outline: none; }

/* Kopf */
.kopf { background: var(--petrol); color: var(--parchment); border-bottom: 4px solid var(--petrol-hell); }
.kopf-innen { width: var(--mass); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; padding: 1rem 0; }
.marke { color: var(--parchment); text-decoration: none; display: flex; align-items: center; gap: .75rem; line-height: 1.1; margin-right: auto; }
.marke-logo { width: 2.6rem; height: 2.6rem; flex: none; color: var(--petrol-hell); }
.marke-text { display: flex; flex-direction: column; }
.marke-name { font-size: 1.45rem; font-weight: 700; }
.marke-zusatz { font: .75rem var(--mono); color: var(--petrol-hell); letter-spacing: .08em; text-transform: uppercase; }
.nav, .nav-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; font-size: .9rem; }
.nav-meta { font-size: .8rem; }
.nav a, .nav-meta a { color: var(--parchment); text-decoration: none; display: inline-block; padding: .55rem 0; min-height: 44px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav-meta a:hover, .nav a[aria-current], .nav-meta a[aria-current] { color: var(--petrol-hell); border-bottom-color: var(--petrol-hell); }

/* Grundflächen */
.buehne, .block, .seiten-kopf, .text, .weiter, .filter, .liste-archiv, .galerie, .buecher { width: var(--mass); margin-inline: auto; }
.dachzeile { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.lead { font-size: 1.3rem; line-height: 1.5; max-width: 38rem; }
.button { display: inline-block; background: var(--petrol); color: var(--parchment); text-decoration: none; padding: .7rem 1.1rem; font-size: .88rem; min-height: 44px; border: 2px solid var(--petrol); margin: 0 .4rem .4rem 0; }
.button:hover { background: var(--ember); border-color: var(--ember); color: var(--papier); }
.button.sekundaer { background: transparent; color: var(--ink); }
.button.sekundaer:hover { background: var(--petrol); color: var(--parchment); }

.buehne { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; padding: 4rem 0 3rem; }
.foto-des-tages { margin: 0; }
.foto-des-tages img { border-radius: var(--rund); }
.foto-des-tages figcaption { font-size: .85rem; padding: .6rem .2rem 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--stone); }

.block { padding: 3rem 0; border-top: 1px solid var(--ink); }
.block-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; }
.block-kopf h2 { margin: 0 0 1rem; }
.block-kopf a { font: .85rem var(--mono); }
.block-buch { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: 3rem; align-items: start; }
.block-buch h2 { margin-top: 0; }
.kaufen { font-size: 1rem; padding-left: 1.1rem; }
.stimme { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-left: 4px solid var(--saffron); background: var(--sand); font-style: italic; }
.stimme p { margin: 0 0 .4rem; } .stimme footer { font: normal .8rem var(--mono); color: var(--stone); }
.block-dunkel { background: var(--petrol); color: var(--parchment); width: 100%; padding-inline: max(1.25rem, calc((100% - 72rem) / 2)); border-top: 0; }
.block-dunkel a { color: var(--parchment); }
.block-dunkel .block-kopf a { color: var(--petrol-hell); }

/* Listen */
.liste { list-style: none; margin: 0; padding: 0; }
.liste > li > a { display: grid; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--sand); text-decoration: none; color: var(--ink); }
.liste > li > a:hover .liste-titel { color: var(--ember); }
.liste-titel { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.liste-meta { font-size: .78rem; color: var(--stone); letter-spacing: .03em; }
.liste-text { font-size: 1rem; color: var(--stone); }
.liste .jahr { font: 500 .85rem var(--mono); color: var(--ember); padding: 2rem 0 .2rem; border-bottom: 2px solid var(--ink); }
.liste-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); column-gap: 2rem; }
.kacheln { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.kacheln a { border-radius: var(--rund); display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.2rem; border: 1px solid currentColor; text-decoration: none; color: inherit; }
.kacheln a:hover { background: var(--petrol-hell); color: var(--ink); }
.kacheln strong { font-size: 1.2rem; }
.kacheln .mono { font-size: .75rem; color: var(--saffron); }
.kacheln a:hover .mono { color: var(--ink); }
main > .kacheln, .seiten-kopf + .kacheln { width: var(--mass); margin: 0 auto 3rem; }

.seiten-kopf { padding: 4rem 0 1.5rem; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-bottom: 1rem; }
.filter button { background: transparent; border: 1px solid var(--ink); color: var(--ink); padding: .55rem .9rem; min-height: 44px; font-size: .85rem; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--parchment); }
.filter-status { margin: 0 0 0 auto; font-size: .8rem; color: var(--stone); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; border: 1px solid var(--teal); padding: .5rem .8rem; font-size: .82rem; text-decoration: none; min-height: 44px; }
.chips a:hover { background: var(--teal); color: var(--papier); }

.galerie { list-style: none; padding: 0 0 4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .6rem; }
.galerie img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.buecher { list-style: none; padding: 0 0 4rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 2rem; }
.buecher a { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--ink); }
.buecher img { border: 1px solid var(--ink); aspect-ratio: 2/3; object-fit: cover; background: var(--sand); }
.buecher strong { font-size: 1.15rem; line-height: 1.25; }
.buecher span { font-size: .95rem; color: var(--stone); }

/* Text */
.text { padding: 4rem 0 2rem; }
.text-kopf { max-width: 52rem; }
.text-kopf h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.meta { font-size: .82rem; color: var(--stone); }
.prosa { max-width: var(--lese); }
.prosa > :first-child { margin-top: 1.5rem; }
.prosa img { margin: 1.5rem 0; border: 1px solid var(--sand); }
.prosa figure { margin: 2rem 0; } .prosa figcaption { font-size: .9rem; color: var(--stone); }
.prosa blockquote { margin: 1.5rem 0; padding: .2rem 1.2rem; border-left: 4px solid var(--teal); }
.prosa table { border-collapse: collapse; font-size: .95rem; } .prosa td, .prosa th { border: 1px solid var(--sand); padding: .4rem .6rem; }
.prosa code { font-family: var(--mono); font-size: .9em; }
.prosa hr { border: 0; border-top: 1px solid var(--ink); margin: 2.5rem 0; }
.prosa ul, .prosa ol { padding-left: 1.3rem; }
.schlagworte ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; max-width: var(--lese); margin-top: 2.5rem; }
.schlagworte li { font-size: .75rem; background: var(--sand); padding: .25rem .55rem; }
.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 4rem; }
.weiter a { border-top: 2px solid var(--ink); padding-top: .6rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.weiter a:last-child:not(:first-child), .weiter a:only-child[href] { text-align: left; }
.weiter span { display: block; font: .75rem var(--mono); color: var(--ember); }

/* YouTube, Zwei-Klick */
.yt { border: 1px solid var(--ink); background: var(--sand); padding: 1.2rem; margin: 1.5rem 0; aspect-ratio: 16/9; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.yt p { margin: 0; } .yt-title { font-weight: 600; } .yt-note { font-size: .85rem; color: var(--stone); }
.yt button { align-self: flex-start; font: .88rem var(--mono); background: var(--petrol); color: var(--parchment); border: 0; padding: .7rem 1.1rem; min-height: 44px; cursor: pointer; }
.yt iframe { width: 100%; height: 100%; border: 0; }
.yt.geladen { padding: 0; }

/* Fuß */
.fuss { background: var(--petrol); color: var(--parchment); margin-top: 3rem; border-top: 4px solid var(--petrol-hell); }
.fuss-innen { width: var(--mass); margin: 0 auto; padding: 2.5rem 0; }
.fuss-marke { font: 700 1.3rem var(--serif); margin: 0 0 1rem; }
.fuss ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font: .85rem var(--mono); }
.fuss a { color: var(--parchment); display: inline-block; padding: .5rem 0; }
.fuss a:hover { color: var(--petrol-hell); }
.klein { font-size: .85rem; color: var(--sand); max-width: 40rem; }

/* Pagefind */
#suche { width: var(--mass); margin: 0 auto 4rem; --pagefind-ui-primary: var(--teal); --pagefind-ui-text: var(--ink); --pagefind-ui-background: var(--papier); --pagefind-ui-border: var(--ink); --pagefind-ui-border-radius: var(--rund-knopf); --pagefind-ui-font: var(--serif); }

@media (max-width: 52rem) {
  .buehne, .block-buch { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; }
  .buch-bild { max-width: 16rem; }
  .weiter { grid-template-columns: 1fr; }
  .kopf-innen { gap: .2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .kopf, .fuss, .weiter, .filter, .skip { display: none; } body { background: #fff; } }
.liste.liste-archiv { margin: 0 auto 4rem; }
.kacheln .mono { color: var(--ember); }
.block-dunkel .kacheln .mono { color: var(--petrol-hell); }

/* Porträt Über mich */
.prosa .portrait { float: right; width: 15rem; margin: .4rem 0 1.5rem 2rem; }
.prosa .portrait img { margin: 0; border: 1px solid var(--ink); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.prosa .portrait figcaption { font: .72rem var(--mono); color: var(--stone); padding-top: .4rem; }
.prosa :is(h2, h3) + .portrait + * { margin-top: 0; }
@media (max-width: 40rem) { .prosa .portrait { width: 40%; margin: .3rem 0 1rem 1rem; } .prosa .portrait figcaption { font-size: .62rem; } }
@media (max-width: 20rem) { .prosa .portrait { float: none; width: 70%; margin: 1rem 0; } }

/* Karussell */
.karussell .k-spur { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.karussell .k-spur::-webkit-scrollbar { display: none; }
.karussell .k-bild { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.karussell .k-steuer { display: flex; justify-content: space-between; align-items: center; gap: .3rem; margin-top: .3rem; }
.karussell .k-steuer[hidden] { display: none; }
.karussell .k-steuer button { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--ink); color: var(--ink); font: 1rem var(--mono); cursor: pointer; }
.karussell .k-steuer button:hover { background: var(--petrol); color: var(--parchment); }
.karussell .k-zaehler { font: .72rem var(--mono); color: var(--stone); }
@media (prefers-reduced-motion: reduce) { .karussell .k-spur { scroll-behavior: auto; } }

/* Runde Ecken: Buttons, Kopf- und Fußfeld */
.button, .filter button, .yt button, .karussell .k-steuer button, .chips a { border-radius: var(--rund-knopf); }
.kopf { border-radius: 0 0 var(--rund) var(--rund); }
.fuss { border-radius: var(--rund) var(--rund) 0 0; }

/* Auf Sand nur Ink als kleiner Text (aisthesis: Stone und Teal auf Sand erst ab 24px) */
.stimme footer, .yt-note, .yt-note a { color: var(--ink); }

/* Coaching (Story_Way): Farben und Formen von flossmann.de */
.coaching { --akzent: var(--petrol); }
.coaching .buehne h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.c-bild { margin: 0; }
.c-bild img { border-radius: var(--rund); aspect-ratio: 4/5; object-fit: cover; width: 100%; max-height: 34rem; }
.c-sprung { width: var(--mass); margin: 0 auto 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.c-sprung a { font: .82rem var(--mono); border: 1px solid var(--petrol); color: var(--petrol); padding: .55rem .9rem; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; border-radius: var(--rund-knopf); }
.c-sprung a:hover { background: var(--petrol); color: var(--parchment); }
.c-drei, .c-vier { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem; }
.c-drei h3, .c-vier h3 { margin: .2rem 0 .5rem; }
.c-drei .mono { color: var(--akzent); font-size: .85rem; }
.c-vier li { border-top: 3px solid var(--akzent); padding-top: .8rem; }
.c-formen { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: .8rem; margin-top: 1.5rem; }
.c-formen details { border: 1px solid var(--ink); background: var(--papier); border-radius: var(--rund); overflow: hidden; }
.c-formen summary { cursor: pointer; padding: .9rem 1rem; min-height: 44px; font-weight: 600; list-style-position: inside; }
.c-formen summary:hover { color: var(--akzent); }
.c-formen details[open] summary { border-bottom: 1px solid var(--sand); color: var(--akzent); }
.c-formen details p { margin: 0; padding: .9rem 1rem 1.1rem; font-size: 1rem; }
.c-modell { margin: 1.5rem 0; max-width: 40rem; }
.c-modell img { border-radius: var(--rund); }
.c-modell figcaption { font: .8rem var(--mono); color: var(--stone); padding-top: .5rem; }
.c-ueber { display: grid; grid-template-columns: minmax(0, 18rem) 1fr; gap: 3rem; align-items: start; }
.c-ueber figure { margin: 0; } .c-ueber img { border-radius: var(--rund); }
.c-ueber h2 { margin-top: 0; }
.c-schluss h2 { max-width: 40rem; margin-top: 0; }
.button.hell { background: var(--parchment); color: var(--petrol); border-color: var(--parchment); }
.button.hell:hover { background: var(--petrol-hell); border-color: var(--petrol-hell); color: var(--ink); }
.block-dunkel .klein a { color: var(--parchment); }
@media (max-width: 52rem) { .c-ueber { grid-template-columns: 1fr; } .c-ueber figure { max-width: 14rem; } }
