/* katjawesner.de – Ergänzungen zum Seiten-Markup (Stand 15.11.2026)
   Schriften kommen aus /assets/styles/fonts.css (Goldplay, DINPro). */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#FFFFFF;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%}
a{color:#B17575}
a:hover{color:#8E5A5A}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #B7AA36;outline-offset:3px}
section[id]{scroll-margin-top:0}
/* Kopfzeile bleibt beim Scrollen stehen */
html{scroll-padding-top:76px}

/* Aufklappzeilen: Standard-Dreieck ausblenden, Pfeil drehen */
summary{list-style:none}
summary::-webkit-details-marker{display:none}
details>summary span[aria-hidden="true"]{transition:transform .2s ease;display:inline-block}
details[open]>summary span[aria-hidden="true"]{transform:rotate(180deg)}

/* Buttons mit Goldrahmen: dezenter Hover */
a[style*="border: 2px solid #B7AA36"],button[style*="border: 2px solid #B7AA36"]{transition:background-color .2s ease}
a[style*="border: 2px solid #B7AA36"]:hover,button[style*="border: 2px solid #B7AA36"]:hover{background-color:rgba(183,170,54,.12)!important}

/* Burger-Menü: Styles stehen direkt im <head> der index.html (details/summary, funktioniert ohne JavaScript) */

/* Fotos wandern auf großen Bildschirmen beim Scrollen mit */
@media (min-width:900px){.kw-sticky{position:sticky;top:32px}}

/* Handy */
@media (max-width:640px){
  .kw-meta-frame{padding:48px 18px 36px!important}
  /* Kopfzeile: schmaler */
  html{scroll-padding-top:64px}
  .kw-header>div{padding:8px 16px!important}
  .kw-header img{height:38px!important}
  /* Einstieg auf dem Handy: fast bildschirmhoch */
  section[aria-label="Einstieg"]{height:86svh!important;min-height:600px!important;max-height:760px!important}
  /* Kacheln oben: zwei Spalten, kompakt (passen auf einen Bildschirm) */
  .tiles>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:24px 12px!important;gap:4px 8px!important}
  .tiles a{padding:10px 4px!important}
  .tiles a img,.tiles a svg{width:44px!important;height:44px!important}
  .tiles a>span:nth-last-of-type(2){font-size:18px!important;padding-top:4px!important;line-height:1.25}
  .tiles a>span:last-of-type{font-size:12.5px!important;line-height:1.35}
  .tiles .kw-badge{font-size:10.5px!important;letter-spacing:.03em!important;margin-top:4px!important}
  .tiles .kw-badge img{height:14px!important;width:auto!important}
  /* Metamorphose-Paket-Tabelle: kompakter, erste Spalte bleibt beim Wischen stehen */
  .kw-pkg{min-width:520px!important;font-size:14px!important}
  .kw-pkg th,.kw-pkg td{padding:10px!important}
  .kw-pkg thead th{font-size:16px!important}
  .kw-pkg tbody td[style*="font-size: 22px"]{font-size:17px!important}
  .kw-pkg th:first-child{position:sticky;left:0;z-index:1;width:112px;min-width:112px;background:#FFFFFF;box-shadow:2px 0 0 #D9CACA}
  .kw-pkg thead th:first-child,.kw-pkg tr[style*="#EFE3E3"] th:first-child{background:#EFE3E3}
  .kw-swipe{display:block!important}
  /* Seitenränder */
  section>div{padding-left:16px!important;padding-right:16px!important}
}
/* Zahlen untereinander: Platzhalter über der 23 ausblenden */
@media (max-width:640px){#facts>div{padding:48px 8px!important}#facts>div>div{padding:4px 4px!important}#facts svg{width:36px;height:36px;margin-bottom:4px!important}#facts span{font-size:13px!important;line-height:1.3!important}#facts span:nth-of-type(2){font-size:30px!important;line-height:1.15!important}}
@media (max-width:900px){#facts>div>div{padding-left:8px!important;padding-right:8px!important}}
/* Über mich: „Weiterlesen“ auf Handy und kleinem Tablet (Checkbox-Trick, ohne JavaScript) */
.kw-more-btn{display:none}
@media (max-width:767px){
  .kw-more-body{display:none!important}
  .kw-more-toggle:checked~.kw-more-body{display:flex!important}
  .kw-more-btn{display:inline-flex!important}
  .kw-more-toggle:checked~.kw-more-btn .m-open{display:none}
  .kw-more-toggle:not(:checked)~.kw-more-btn .m-close{display:none}
}
/* Handy: flachere Fotos, Zweitfoto ausblenden, Karten zum Wischen (Stimmen, Podcast, Blog) */
.kw-row-hint{display:none}
/* Kacheln: kurze Untertitel auf dem Handy */
.kw-short{display:none}
@media (max-width:640px){.kw-long{display:none!important}.kw-short{display:inline!important}}
@media (min-width:641px){.kw-only-m{display:none!important}}
@media (max-width:640px){
  .kw-hide-m{display:none!important}
  .kw-row{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px!important;margin:0 -16px;padding:0 16px 12px;scrollbar-width:none}
  .kw-row::-webkit-scrollbar{display:none}
  .kw-row>*{flex:0 0 84%;min-width:0;box-sizing:border-box;scroll-snap-align:center}
  .kw-row h3{font-size:22px!important;hyphens:auto;overflow-wrap:break-word}
  .kw-row-hint{display:block!important}
}
/* Einstieg (Video) höher: fast ganzes Fenster */
section[aria-label="Einstieg"]{height:92vh!important;min-height:680px!important;max-height:1000px!important}

/* Kopfzeile: über dem Einstieg durchsichtig, beim Scrollen farbig (Klasse setzt site.js) */
.kw-header{transition:background-color .3s ease,box-shadow .3s ease}
.kw-header.kw-top{background:transparent!important;box-shadow:none!important}

/* Fotos: einheitliches Format für alle (Desktop quadratisch, Handy 4:3), Ausschnitt je Foto */
.kw-sticky{aspect-ratio:1/1!important;max-height:78vh;object-fit:cover}
@media (max-width:640px){.kw-sticky{aspect-ratio:4/3!important;max-height:none}}
img[src*="aboutme.jpg"]{object-position:50% 16%!important}
img[src*="contact.jpg"]{object-position:50% 12%!important}
img[src*="vision.jpg"]{object-position:58% 40%!important}
img[src*="arbeit.jpg"]{object-position:42% 40%!important}
img[src*="meta-1.jpg"]{object-position:35% 50%!important}
img[src*="bodyform.jpg"]{object-position:52% 40%!important}
img[src*="transformation.jpg"]{object-position:55% 50%!important}
img[src*="frequenz.jpg"]{object-position:62% 40%!important}
img[src*="hashimoto.jpg"]{object-position:70% 45%!important}
img[src*="blutbild.jpg"]{object-position:47% 35%!important}
img[src*="articles/dunkelfeld.jpg"]{object-position:50% 30%!important}
/* Expertise: je Gruppe die neuesten 5, Rest hinter „Alle anzeigen“ (Checkbox-Trick) */
.kw-all-body{display:none}.kw-all-toggle:checked~.kw-all-body{display:block}.kw-all-toggle:checked~.kw-all-btn .m-open{display:none}.kw-all-toggle:not(:checked)~.kw-all-btn .m-close{display:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
