/* ============================================================
   barbarakainz.at – das gesamte Aussehen (Überarbeitung 24.10.2026)

   Aufbau wie philippkainz.com („Browser-Look"): klebende
   Milchglas-Leiste, System-Schrift, helle Karten, ruhiger
   Fußstreifen. Farben bleiben beim bisherigen Schema der Seite:
   Weiß, Schwarz und Grau (Theme-Grau #9e9e9e aus der alten
   w3-theme.css) – bewusst KEIN Rot wie bei philippkainz.com.
   ============================================================ */

/* ---------- Design-Tokens: hier ändern = überall geändert ---------- */
:root {
    --ink:         #333333;  /* Überschriften */
    --ink-soft:    #4a4a4a;  /* Fließtext */
    --muted:       #6b6b6b;  /* Nebentext (ca. 5,3:1 auf Weiß, WCAG AA) */
    --theme:       #9e9e9e;  /* Theme-Grau der alten Seite – nur Deko (Linien, Ringe) */
    --theme-dark:  #4f4f4f;  /* dunkles Theme-Grau (alte w3-theme-dark) – Fokusrahmen, 404 */
    --bg:          #ffffff;
    --bg-soft:     #f9f9f9;  /* alte w3-theme-l5 */
    --border:      #e6e6e6;
    --radius-card: 14px;     /* Karten */
    --maxw:        1024px;
    --font-ui:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--ink-soft);
    font-family: var(--font-ui); font-size: 17px; line-height: 1.65;
    /* Zauberstab-Cursor – war schon auf der alten Seite */
    cursor: url("/images/cursor.cur"), auto;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 700; }
a { color: var(--ink); text-decoration-color: var(--theme); text-underline-offset: 3px; }
a:hover { color: #000; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--theme-dark); outline-offset: 3px; border-radius: 4px; }

/* „Zum Inhalt springen" – nur bei Tastaturbedienung sichtbar */
.bk-skip {
    position: absolute; left: -9999px; top: 10px; z-index: 2000;
    background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18); text-decoration: none; font-weight: 600;
}
.bk-skip:focus { left: 10px; }

/* ============================================================
   LEISTE OBEN – heller Milchglas-Balken wie bei philippkainz.com,
   klebt beim Scrollen. Links der Name, rechts das Haus.
   ============================================================ */
.bk-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(249, 249, 249, .82);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.bk-nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 7px 14px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.bk-brand {
    padding: 8px 12px; border-radius: 8px;
    color: #3c4043; font-size: 15.5px; font-weight: 600; letter-spacing: .3px;
    text-decoration: none; transition: background-color .16s ease, color .16s ease;
}
.bk-nav-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 40px; border-radius: 8px; color: #5f6368;
    text-decoration: none; transition: background-color .16s ease, color .16s ease;
}
.bk-brand:hover, .bk-nav-icon:hover { background: rgba(0,0,0,.06); color: #202124; }
.bk-nav-icon[aria-current="page"] { background: rgba(0,0,0,.06); color: #202124; }

/* ============================================================
   KOPF DER STARTSEITE – Überschrift mit grauer Zierlinie,
   Einleitung. Zarter grauer Verlauf von oben.
   ============================================================ */
.bk-hero {
    text-align: center; padding: 58px 18px 38px;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, #f0f0f0 0%, rgba(255,255,255,0) 72%);
}
.bk-hero h1 { font-size: clamp(2rem, 5.4vw, 2.9rem); letter-spacing: -.4px; margin: 0 0 18px; }
.bk-hero h1::after {
    content: ""; display: block; width: 52px; height: 3px; margin: 18px auto 0;
    background: var(--theme); border-radius: 2px;
}
.bk-lead { max-width: 620px; margin: 0 auto 12px; font-size: clamp(1rem, 2.3vw, 1.1rem); }

/* ============================================================
   ZWEI KARTEN – Zauberkunst und Hocus Chokus. Oben das Logo auf
   hellgrauem Feld (klickbar), darunter der Text (beide Karten
   gleich hoch).
   Logos: Originalfarben, nur das Schwarz ist in den Dateien
   *-weich.svg zu #292929 abgemildert (wie das Logo auf
   philippkainz.com) – deshalb hier KEIN CSS-Filter.
   ============================================================ */
.bk-cards {
    max-width: var(--maxw); margin: 10px auto 0; padding: 0 18px;
    display: grid; grid-template-columns: 1fr; gap: 22px;
}
@media (min-width: 760px) { .bk-cards { grid-template-columns: 1fr 1fr; gap: 26px; } }

.bk-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
    box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 14px 14px 14px;
}
.bk-card-media {
    display: flex; align-items: center; justify-content: center;
    height: 190px; padding: 20px; margin-bottom: 22px;
    background: var(--bg-soft); border-radius: 10px;
}
.bk-card-media img { height: 100%; width: auto; transition: transform .35s ease; }
.bk-card-media:hover img { transform: scale(1.04); }
.bk-card h2 { font-size: clamp(1.25rem, 2.6vw, 1.45rem); text-align: center; margin: 0 12px 14px; }
.bk-card p { margin: 0 12px 12px; font-size: 1rem; }
.bk-card a strong { white-space: nowrap; }   /* Adresse nicht mitten im Wort umbrechen */

/* ============================================================
   TEXTSEITEN (Impressum, Datenschutz)
   ============================================================ */
.bk-page { max-width: 760px; margin: 0 auto; padding: 38px 18px 0; }
.bk-page h1 { font-size: clamp(1.7rem, 4.2vw, 2.3rem); margin: 0 0 24px; }
.bk-page h1::after {
    content: ""; display: block; width: 46px; height: 3px; margin-top: 14px;
    background: var(--theme); border-radius: 2px;
}
.bk-page h2 { font-size: 1.18rem; margin: 30px 0 8px; }
.bk-page p { margin: 0 0 14px; font-size: 1rem; overflow-wrap: anywhere; }
.bk-stand { color: var(--muted); font-size: .9rem; margin-top: 26px !important; }

/* Kontaktblock im Impressum */
.bk-box {
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
    padding: 18px 22px; margin: 0 0 22px;
}
.bk-box p:last-child { margin-bottom: 0; }

/* ============================================================
   404 – deutsch | Bild | englisch (am Handy untereinander)
   ============================================================ */
.bk-404 { max-width: var(--maxw); margin: 0 auto; padding: 38px 18px 0; text-align: center; }
.bk-404 h1 { font-size: clamp(2.6rem, 8vw, 4rem); letter-spacing: 2px; margin: 0 0 18px; color: var(--theme-dark); }
.bk-404-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
.bk-404-grid p { margin: 0 0 12px; }
.bk-404-grid img { width: 170px; }
@media (min-width: 760px) {
    .bk-404-grid { grid-template-columns: 1fr 220px 1fr; gap: 28px; }
    .bk-404-grid > div:first-child { text-align: right; }
    .bk-404-grid > div:last-child  { text-align: left; }
}

/* ============================================================
   FUSSZEILE – heller Streifen wie bei philippkainz.com
   ============================================================ */
.bk-footer {
    margin-top: 60px; padding: 26px 18px 32px;
    border-top: 1px solid var(--border); background: var(--bg-soft); text-align: center;
}
.bk-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 12px; }
.bk-footer-links a {
    color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500;
    padding: 7px 14px; border-radius: 8px; transition: background-color .15s ease, color .15s ease;
}
.bk-footer-links a:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.bk-footer-copy { margin: 0; font-size: 13px; color: var(--muted); }
.bk-footer-copy a { color: inherit; text-decoration: none; }
.bk-footer-copy a:hover { text-decoration: underline; }

/* ---------- „Nach oben" (nur Desktop, erscheint erst nach dem Scrollen) ---------- */
.bk-top {
    position: fixed; right: 16px; bottom: 16px; z-index: 100;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(249,249,249,.85);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: #7c8288; border-radius: 10px; box-shadow: 0 1px 5px rgba(0,0,0,.12);
    text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, color .2s ease;
}
.bk-top.is-sichtbar { opacity: .9; visibility: visible; transform: none; }
.bk-top:hover { opacity: 1; color: #3c4043; }
@media (max-width: 768px) { .bk-top { display: none; } }

/* Weniger Bewegung, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .bk-card-media img, .bk-top { transition: none; }
}
