/* Startseite (Kacheln, Umschalter der Oberfläche) und das Häuschen im Menükopf, Gestaltung der bisherigen Oberfläche.
   Im CI-Entwurf überschreibt assets/lichtgrund.css diese Regeln. */
.menue-kopf { position: relative; }
.menue-haus { position: absolute; top: 2px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: rgba(255,255,255,.10); text-decoration: none; }
.menue-haus:hover { background: rgba(255,255,255,.22); }
.menue-haus.on { background: #fff; color: var(--hk-blue, #005CA9); }
.menue-haus svg { display: block; }
@media (max-width: 900px) { .menue-kopf { align-items: center; } .menue-haus { position: static; width: 36px; height: 36px; margin-left: 6px; align-self: center; } .menue:not(.auf) .menue-fuss { display: none; } }

main.start { padding-top: 18px; padding-bottom: 40px; display: grid; gap: 18px; }
.start-design { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; background: var(--soft, #F4F5F7); border-radius: 6px; font-size: 14px; color: var(--muted, #6B6B6B); }
.start-lab { font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hk-blue, #005CA9); }
.umschalter { display: inline-flex; border: 1px solid var(--hk-blue, #005CA9); border-radius: 20px; overflow: hidden; background: #fff; }
.u-opt { padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--hk-blue, #005CA9); text-decoration: none; }
.u-opt + .u-opt { border-left: 1px solid var(--hk-blue, #005CA9); }
.u-opt:hover { background: #E8F3FB; }
.u-opt.on { background: var(--hk-blue, #005CA9); color: #fff; }
.start-hinweis { font-size: 13px; }

.start-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.kachel { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "nr text" "nr marke"; gap: 4px 14px; align-items: start; padding: 18px 20px; background: #fff; border: 1px solid var(--line, #CFCFCF); border-radius: 6px; color: var(--ink, #222); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.kachel:hover { border-color: var(--hk-tab, #008BD2); box-shadow: 0 6px 18px rgba(0, 92, 169, .14); }
.k-nr { grid-area: nr; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--hk-blue, #005CA9); color: #fff; font-weight: 700; font-size: 15px; }
.k-text { grid-area: text; display: grid; gap: 4px; }
.k-text b { font-size: 20px; font-weight: 400; color: var(--hk-blue, #005CA9); }
.k-text span { font-size: 14px; color: var(--muted, #6B6B6B); line-height: 1.45; }
.k-marke { grid-area: marke; justify-self: start; margin-top: 6px; padding: 2px 10px; border-radius: 10px; background: var(--soft, #F4F5F7); font-size: 12.5px; color: var(--muted, #6B6B6B); }
.start-hilfe { margin: 0; font-size: 14px; }

/* Mobile Ansicht: Infozeile über dem Hydraulikrechner nur einzeilig, Antippen zeigt den ganzen Text (assets/mobil.js) */
@media (max-width: 900px) {
  .rechner-rahmen { min-width: 0; max-width: 100%; }
  .rechner-info:not([hidden]) { position: relative; min-width: 0; max-width: 100%; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rechner-info[data-mehr] { padding-right: 38px; cursor: pointer; }
  .rechner-info[data-mehr]::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; opacity: .75; }
  .rechner-info[data-voll] { white-space: normal; overflow: visible; }
  .rechner-info[data-voll]::after { content: "▴"; top: 8px; transform: none; }
  .rechner-info[data-mehr]:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
}
