/* WebHaus-Feinschliff faerberstubn.at (Mike 30.11.2026: „Seite scannen, kleine Fehler auf den Bildschirmgrößen automatisch beheben,
   nichts Großartiges ändern; das seitenfüllende Hero-Bild ein bisschen kleiner“). Gilt für alle Seiten, eingebunden vor </head>.
   Belege: ~/.openclaw/workspace/work/faerberstubn-design-2026-11-30/ (vorher/nachher). Rückweg: <link id="wh-feinschliff"> entfernen. */

/* 1) Kurze Seiten (Impressum, 404): unter dem Inhalt kam Avadas grauer Seitenhintergrund (#d7d6d6) zum Vorschein → weiß wie der Inhalt */
html,body{background-color:#fff!important}

/* 2) Betrieb („Über uns“): Titelbild war halb so hoch wie breit (1920 px Bildschirm → 931 px = fast der ganze erste Bildschirm).
      Jetzt höchstens 2 × 26 % der Bildschirmhöhe; der Ausschnitt rutscht nach unten, damit das Schild „Färberstub'n“ ganz sichtbar bleibt.
      Am Handy/Tablet hochkant greift die alte Höhe weiter (25 % der Breite ist dort ohnehin kleiner). */
.page-id-8 #main .fusion-fullwidth.fusion-builder-row-1{
  padding-top:min(25%,26vh)!important;padding-bottom:min(25%,26vh)!important;background-position:center 65%!important}

/* 3) Kopfzeile 1001–1139 px (Tablet quer, kleine Laptops): das Menü passte nicht neben das Logo und rutschte in eine zweite Zeile
      (Kopf 180 statt 111 px). Etwas engere Menüabstände + Logo 220 statt 270 px → bleibt einzeilig. */
@media only screen and (min-width:1001px) and (max-width:1139px){
  .fusion-header .fusion-logo img{max-width:220px;height:auto}
  .fusion-main-menu>ul>li{padding-right:18px!important}
  .fusion-main-menu>ul>li:last-child{padding-right:0!important}
}

/* 4) Ziegel-Leiste unten („Rufen Sie uns gerne an! …“ + Kontakt): weiße Schrift auf hellem Ziegel war schwer lesbar
      → Ziegel leicht abgedunkelt, Schrift mit Schatten. */
.fusion-fullwidth[data-bg*="/2020/02/31790.jpg"]{box-shadow:inset 0 0 0 100vmax rgba(30,12,6,.38)}
.fusion-fullwidth[data-bg*="/2020/02/31790.jpg"] .fusion-title h3{text-shadow:0 1px 3px rgba(0,0,0,.75),0 0 12px rgba(0,0,0,.45)}

/* 5) Lange Wörter in Überschriften liefen am Handy rechts aus dem Bild („Datenschutzerklärung“, „Datenspeicherung“) */
@media only screen and (max-width:640px){
  h1,h2,h3,h4,p,li,td{overflow-wrap:break-word}
  .fusion-page-title-bar h1,.page-id-1225 #content h1{font-size:min(42px,calc((100vw - 60px)/11.2))!important;line-height:1.25!important}
  .page-id-1225 #content h2{font-size:min(32px,calc((100vw - 60px)/10))!important;line-height:1.3!important}
}

/* 6) Handy: große Bildergalerien (ab 7 Bildern: Speisekarte, Wine Trophy, Beiträge) zweispaltig statt eines Bildes pro Zeile
      (Speisekarte war ~19.000 px lang, Kamptal Wine Trophy ~43.000 px). Kleine Galerien (Geschichte: 2 Fotos) bleiben groß.
      Antippen öffnet wie bisher die Großansicht. */
@media only screen and (max-width:640px){
  .fusion-gallery:has(>.fusion-gallery-column:nth-child(7)) .fusion-gallery-column{width:50%!important}
}

/* 7) Handy: „Seitenblicke“-Liste (Startseite u. a.): Titel 35 px neben dem Vorschaubild → ein Wort pro Zeile. Kleiner, damit er neben das Bild passt. */
@media only screen and (max-width:640px){
  .fusion-recent-posts.layout-thumbnails-on-side .entry-title{font-size:21px!important;line-height:1.3!important}
}

/* 8) Handy: Seitenzahlen (1, 2, Vor) waren winzig (12 px) → größer und leichter zu treffen */
@media only screen and (max-width:640px){
  .pagination{font-size:16px}
  .pagination .page-numbers,.pagination .current{min-width:40px;min-height:40px;line-height:38px!important;padding:0 10px!important;box-sizing:border-box}
  .pagination .pagination-next,.pagination .pagination-prev{min-width:0;padding:0 12px!important;width:auto!important}
}
