/* kleid/ruedihus.css · Landgasthof Ruedihus Kandersteg · Holzhaus von 1753: Zimmermannskanten, Bretterfugen, Kerbschnitt, Fotos im Holzrahmen, kleine Zeilen in Gelasio. Rahmen: Die Bühne.
   Liegt im Haus unter assets/oberflaeche/kleid/; Schriften kommen aus assets/fonts des Hauses (relativ), die Tapete aus /assets/img des Hauses (absolut, weil url() in einer Variable dort aufgelöst wird, wo die Variable benutzt wird). */
@font-face{font-family:'W Sans';font-weight:400 600;font-display:swap;src:url('../../fonts/InstrumentSans-normal-400_600.woff2') format('woff2')}
@font-face{font-family:'W Mono';font-weight:400;font-display:swap;src:url('../../fonts/DMMono-normal-400.woff2') format('woff2')}
@font-face{font-family:'Titel RH';font-weight:400;font-display:swap;src:url('../../fonts/gelasio-400.woff2') format('woff2')}
@font-face{font-family:'Titel RH';font-weight:700;font-display:swap;src:url('../../fonts/gelasio-700.woff2') format('woff2')}
:root{
  --wo-sans:'W Sans',system-ui,-apple-system,'Segoe UI',sans-serif; --wo-mono:'W Mono',ui-monospace,'SF Mono',Menlo,monospace;
  --wo-e1:cubic-bezier(.16,1,.3,1); --wo-e2:cubic-bezier(.32,.72,0,1);
  --wo-nacht:#1f1209; --wo-nacht2:#321f10; --wo-tief:#170d06;
  --wo-g1:#fbe6c2; --wo-g2:#f3cd94; --wo-g3:#c98543;
  --wo-gold:#f3cd94; --wo-akzent:#9a5f2a;
  --wo-papier:#efe4d3; --wo-papier2:#e4d5bf; --wo-blatt:#fbf5ea; --wo-weiss:#fffbf4;
  --wo-tinte:#2a1a0e; --wo-leise:#7a6350; --wo-linie:rgba(42,26,14,.12); --wo-linie-d:rgba(243,205,148,.28);
  --wo-punkt:#c42e13; --wo-gut:#3f6b3a;
  --wo-titel:'Titel RH',Georgia,serif; --wo-titel-g:700; --wo-titel-ls:-.01em;
  --wo-r1:12px; --wo-r2:9px; --wo-r3:6px; --wo-rk:10px;
  --wo-tapete:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23c98543' stroke-opacity='.11' stroke-width='1.4'%3E%3Ccircle cx='28' cy='28' r='21'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3Cpath d='M0 0h56v56H0z'/%3E%3C/g%3E%3C/svg%3E");
  --wo-tapete-fein:var(--wo-tapete);
}

/* ================= Landgasthof Ruedihus · Holz, Kerzenlicht, Kerbschnitt ================= */
:root{--wo-brett:repeating-linear-gradient(180deg,transparent 0 63px,rgba(0,0,0,.32) 63px 64px,rgba(255,214,160,.06) 64px 65px);
  --wo-kerb:linear-gradient(135deg,rgba(201,133,67,.55) 25%,transparent 25%) -8px 0/16px 16px repeat-x,linear-gradient(225deg,rgba(201,133,67,.55) 25%,transparent 25%) -8px 0/16px 16px repeat-x;
  --wo-kerb-u:linear-gradient(315deg,rgba(201,133,67,.55) 25%,transparent 25%) -8px 100%/16px 16px repeat-x,linear-gradient(45deg,rgba(201,133,67,.55) 25%,transparent 25%) -8px 100%/16px 16px repeat-x;
  --wo-rahmen:#4a2d16}
[data-wo-rahmen="buehne"]  .wo-sb::before,
[data-wo-rahmen="inseln"]  .wo-sb__text::before,
.wo-lage::before,
.wo-ag::before,
.wo-det__kopf::before,
.wo-kopf::before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--wo-brett)}
.wo-lage,
.wo-ag{isolation:isolate}
.wo-lage{position:relative}
[data-wo-rahmen="buehne"]  .wo-sb{background:var(--wo-kerb-u),var(--wo-nacht);background-size:16px 10px,16px 10px,auto}
[data-wo-rahmen="inseln"]  .wo-sb__text{background:var(--wo-kerb-u),linear-gradient(180deg,var(--wo-nacht2),var(--wo-nacht));background-size:16px 10px,16px 10px,auto}
[data-wo-rahmen="buehne"]  .wo-sb__text{max-width:44%}
.wo-zw::after{content:'';display:block;width:96px;height:8px;margin-top:12px;background:var(--wo-kerb)}
/* Fotos im Holzrahmen wie ein Stubenfenster,
warm */
.wo-sb__foto img,
.wo-ag__b img,
.wo-bk__b img{filter:sepia(.14) saturate(1.06)}
[data-wo-rahmen="buehne"]  .wo-sb__foto{-webkit-mask-image:none;mask-image:none;top:34px;bottom:34px;right:34px;width:48%;border:9px solid var(--wo-rahmen);border-radius:var(--wo-r2);
  box-shadow:inset 0 0 0 1px rgba(243,205,148,.3),0 0 0 1px rgba(0,0,0,.4),0 20px 34px -16px rgba(0,0,0,.7);overflow:hidden}
.wo-sb__foto::after{display:none}
[data-wo-rahmen="inseln"]  .wo-sb__foto{border:9px solid var(--wo-rahmen)}
.wo-ag__b,
.wo-bk__b{border:6px solid var(--wo-rahmen)}
.wo-ag{padding:6px 6px 0}
.wo-bk{padding:6px;grid-template-columns:128px 1fr}
.wo-lg__z,
.wo-ag__z,
.wo-bk__p{border-radius:var(--wo-r3)}
/* Schrift: Gelasio statt Mono für die kleinen Zeilen,
wie von Hand geschrieben */
.wo-mk,
.wo-sb__zier,
.wo-marke-w small,
.wo-bk__t small,
.wo-an__k,
.wo-rand__kopf small,
.wo-det__daten dt{
  font-family:var(--wo-titel);font-weight:400;font-size:13.5px;letter-spacing:.01em;text-transform:none}
.wo-sb__zier{font-size:14px}
.wo-zw em,
.wo-sb__h em{color:var(--wo-g3)}
.wo-sb__h em{color:var(--wo-gold)}
.wo-kn{letter-spacing:.12em}

@media (max-width:900px){
[data-wo-rahmen="buehne"]  .wo-sb__foto{position:relative;top:auto;right:auto;bottom:auto;width:auto;height:190px;margin:14px 14px 0}
[data-wo-rahmen="buehne"]  .wo-sb__text{margin-top:0;padding-top:22px}
[data-wo-rahmen="buehne"]  .wo-sb__text{max-width:none}
.wo-bk{grid-template-columns:100px 1fr}
.wo-bk{grid-template-columns:100px 1fr}
}

/* Fehlerbuch 10a (Schlössli 20.10.2026, «Abstand dazwischen den Kacheln zu klein oben»): unter der Bühne mindestens 30 px Luft bis zu den ersten Kacheln (Handy 24 px) */
.wo-sb--voll{margin-bottom:34px}
@media (max-width:900px){.wo-sb--voll{margin-bottom:24px}}

/* Querprüfung 21.10.2026 (Fehlerbuch: unter der Bühne mindestens 30 px Luft): volle Bühne auch am Handy 34 px */
@media (max-width:900px){html:not(#q1):not(#q2):not(#q3) .wo-sb--voll{margin-bottom:34px}}

/* Schrift optisch mittig in Knöpfen und Pillen (Robert 29.10.2026: «Die Schriften in deinen Buttons sitzen IMMER falsch»; Messlauf-Regel text-mitte, gemessen in Chromium und WebKit).
   text-box schneidet die Zeile auf Versalhöhe und Grundlinie zu, dann zentriert der Knopf genau die Buchstaben; wo der Text ohne eigenes Element im Knopf steht, ein gemessener Ausgleich. */
.wo-kn>span,.wo-re>span,.wo-kopf__ber>span{text-box:trim-both cap alphabetic}
.wo-re .wo-zahl{display:block;height:auto;padding:7px;line-height:1;text-align:center;text-box:trim-both cap alphabetic}
.ansicht>button,.wahl3>button{text-box:trim-both cap alphabetic}
@supports not (text-box:trim-both cap alphabetic){.wo-kn>span,.wo-re>span,.wo-kopf__ber>span{position:relative;top:.05em}}

/* Prüfung 20.11.2026, Punkt 17 (Schrift mindestens 13 px): Stand im Kopf, kleine Knöpfe und Knöpfe in der Seitenleiste */
.wo-kopf__mitte small{font-size:13px;letter-spacing:.18em}
.wo-kn--klein{font-size:13px}
.wo-kn{font-size:13px}
.wo-kopf .wo-kopf__ber{font-size:13px}

/* Prüfung 20.11.2026: Einträge wurden mit … gekürzt. Sie brechen jetzt um. */
.wo-rk__t small,.wo-rk__t b{white-space:normal;overflow:visible;text-overflow:clip}.wo-rk__t small{font-size:13px}

/* Prüfung 20.11.2026, Punkt 17: Zähler und Hinweise in der Seitenleiste mindestens 13 px */
html body .wo-re .wo-zahl{font-size:13px;min-width:26px}html body .wo-re em.wo-rand__z{font-size:13px;letter-spacing:.08em}

/* Prüfung 20.11.2026: Zeile über dem Titel, Kurztexte der Kacheln und Bereichstafeln wurden gekürzt bzw. waren am Handy unter 13 px. */
html body .wo-sb__zier span{white-space:normal;overflow:visible;text-overflow:clip}
html body .wo-bk__t>span{display:block;-webkit-line-clamp:unset;overflow:visible}
html body .wo-ag__t>span{font-size:13px}
