/* =========================================================
   café Tassilo – Stylesheet
   Kaffeehaus-Stil: Espresso, Creme, Bordeaux (Sitzbänke), Eiche
   Schriften lokal: Fraunces (Titel), Manrope (Text), Caveat (Kreidetafel)
   ========================================================= */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
    --espresso: #330a0a;
    --espresso-2: #4a1712;
    --bordeaux: #9b2a24;
    --bordeaux-2: #b5352e;
    --cream: #fbf5ec;
    --paper: #fffaf3;
    --latte: #f2e6d4;
    --oak: #d8b48a;
    --gold: #c8964f;
    --ink: #2b1a16;
    --muted: #7d675d;
    --line: #ead9c2;
    --slate: #2c312e;
    --chalk: #f4f0e6;
    --chalk-gold: #f1d48f;
    --ok: #2f7a4b;
    --radius: 22px;
    --radius-sm: 12px;
    --shadow: 0 24px 50px -24px rgba(51, 10, 10, .38);
    --shadow-sm: 0 8px 22px -10px rgba(51, 10, 10, .28);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
    --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 115px; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--cream);
    background-image: url("../img/paper.png");
    overflow-x: hidden;   /* ältere Browser */
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
a:hover { color: var(--espresso); }
h1, h2, h3 {
    font-family: var(--serif); color: var(--espresso); line-height: 1.08; margin: 0 0 .55em;
    font-weight: 600; letter-spacing: -.02em; font-variation-settings: "SOFT" 60, "opsz" 96;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--bordeaux); }
.h-lg { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow-text { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hand { font-family: var(--hand); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--bordeaux); line-height: 1.1; margin-bottom: .3em; transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .95em 1.7em; border-radius: 999px; border: 2px solid transparent;
    font: 700 .98rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; text-align: center;
    transition: transform .25s, background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: var(--espresso); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--espresso-2); color: var(--cream); }
.btn-accent { background: var(--bordeaux); color: #fff; box-shadow: 0 10px 24px -10px rgba(155, 42, 36, .7); }
.btn-accent:hover { background: var(--bordeaux-2); color: #fff; }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-small { padding: .65em 1.25em; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--espresso); color: #e9d9c6; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #e3a39d; }
.topbar-status.is-open .dot { background: #7fdc9d; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 220, 157, .7); } 70% { box-shadow: 0 0 0 8px rgba(127, 220, 157, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 220, 157, 0); } }
.topbar-info { display: flex; gap: 22px; }
.topbar a { color: var(--oak); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 245, 236, .97); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(51, 10, 10, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 96px; }
.brand { display: block; width: 200px; flex-shrink: 0; position: relative; z-index: 2; transition: transform .3s; }
.brand:hover { transform: rotate(-2deg) scale(1.03); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) {
    color: var(--espresso); text-decoration: none; font-weight: 600; font-size: .95rem;
    padding: .5em .85em; border-radius: 999px; position: relative; transition: color .2s;
}
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: .85em; right: .85em; bottom: .25em; height: 2px; background: var(--bordeaux); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:not(.btn):hover { color: var(--bordeaux); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav .btn { margin-left: 10px; }

/* Abschluss unter dem Header: weiche Milchschaum-Welle */
.awning, .site-footer::before {
    --hw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v10c-120 34-260 38-400 16S760-6 600 18 300 44 160 30 40 14 0 22z'/%3E%3C/svg%3E");
    position: absolute; left: 0; right: 0; height: 44px; pointer-events: none;
    background: rgba(251, 245, 236, .97);
    -webkit-mask: var(--hw) center / 100% 100% no-repeat; mask: var(--hw) center / 100% 100% no-repeat;
}
.awning { top: calc(100% - 1px); filter: drop-shadow(0 8px 8px rgba(51, 10, 10, .16)); }
.awning::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bordeaux); transform: translateY(5px);
    -webkit-mask: var(--hw) center / 100% 100% no-repeat; mask: var(--hw) center / 100% 100% no-repeat; }
.awning { -webkit-mask: none; mask: none; background: none; }
.awning::after { content: ""; position: absolute; inset: 0; background: rgba(251, 245, 236, 1);
    -webkit-mask: var(--hw) center / 100% 100% no-repeat; mask: var(--hw) center / 100% 100% no-repeat; }
.site-footer::before { top: -43px; background: #220605; transform: scaleY(-1); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; background: var(--espresso); margin: 6px 0; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.nav-open .nav-toggle .bar { background: var(--cream); }
.nav-open .nav-toggle .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 540px; color: #5a463e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0; max-width: 560px; border-top: 1px solid var(--line); }
.hero-facts div { padding: 16px 18px 0 0; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; color: var(--espresso); white-space: nowrap; }

.hero-media { position: relative; max-width: 520px; width: 100%; justify-self: end; }
.arch { position: relative; aspect-ratio: 4 / 5; }
.arch::before { content: ""; position: absolute; inset: -14px; border: 2px solid var(--oak); border-radius: 999px 999px 30px 30px; }
.arch-clip { position: relative; height: 100%; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: var(--shadow); }
.arch-clip img { width: 100%; height: 100%; object-fit: cover; }
.hero-bubble { position: absolute; left: -48px; bottom: 36px; width: clamp(120px, 15vw, 170px); aspect-ratio: 1; border-radius: 50%; border: 7px solid var(--cream); overflow: hidden; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hero-bubble img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 50% { transform: translateY(-10px); } }
.badge-rotate { position: absolute; right: -26px; top: 12%; width: clamp(108px, 12vw, 134px); aspect-ratio: 1; border-radius: 50%; background: var(--bordeaux); color: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow); }
.badge-rotate svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-rotate text { fill: var(--cream); font: 700 11.2px var(--sans); letter-spacing: 1.9px; text-transform: uppercase; }
.badge-cup svg { width: 38px; height: 38px; fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: static; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--bordeaux); color: var(--cream); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); width: 104%; margin: 10px -2% 0; box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 45s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); white-space: nowrap; }
.ticker i { font-style: normal; color: var(--oak); font-size: .9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.notice-bar { background: var(--espresso); color: var(--cream); padding: 16px 0; text-align: center; font-weight: 500; margin-top: 30px; }
.notice-bar strong { color: var(--oak); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-tint { background-color: var(--latte); }
.section-dark { background: var(--espresso); color: #ecdccb; }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark h2 em { color: var(--oak); }
.section-dark .eyebrow { color: var(--oak); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p:last-child { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero-grid > *, .split > *, .breakfast > *, .lunch-grid > *, .contact-grid > *, .cake-head > * { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }

/* About */
.about-media { position: relative; padding-bottom: 70px; max-width: 520px; }
.about-main { width: 82%; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow); overflow: hidden; }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-float { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow); }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; transition: transform .25s, box-shadow .25s; }
.feature-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.feature-list .fi { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--latte); display: grid; place-items: center; }
.feature-list .fi svg { width: 24px; height: 24px; fill: none; stroke: var(--bordeaux); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-list strong { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--espresso); font-weight: 600; }
.feature-list div { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* Wohlfühl-Leiste */
.amenities { position: relative; overflow: hidden; background: var(--espresso); color: #ecdccb; padding: clamp(56px, 8vw, 90px) 0; }
.amenities-deco { position: absolute; right: -6%; top: 50%; width: clamp(320px, 42vw, 560px); height: auto; transform: translateY(-50%) rotate(-12deg); fill: none; stroke: var(--oak); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; opacity: .15; pointer-events: none; }
.amenities .container { position: relative; z-index: 1; }
.amen-title { color: var(--cream); text-align: center; font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: clamp(30px, 4vw, 46px); }
.amen-title .hand { display: block; color: var(--oak); transform: rotate(-3deg); transform-origin: center; margin: 0 auto .25em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.amen-title em { color: var(--oak); }
.amenity-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.amenity-list li { flex: 1 1 170px; max-width: 230px; text-align: center; padding: 24px 12px; border-radius: var(--radius); background: rgba(251, 245, 236, .05); border: 1px solid rgba(251, 245, 236, .1); transition: transform .3s, background .3s; }
.amenity-list li:hover { transform: translateY(-6px); background: rgba(251, 245, 236, .1); }
.am-icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: var(--bordeaux); display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .6); }
.am-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.amenity-list strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--cream); line-height: 1.25; }
.amenity-list small { display: block; margin-top: 4px; color: #c9b5a1; font-size: .86rem; line-height: 1.4; }

/* Breakfast */
.breakfast { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.time-big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; color: var(--bordeaux); line-height: 1; margin: -.1em 0 .45em; }
.time-big small { font-family: var(--hand); font-size: .55em; color: var(--muted); font-weight: 500; }
.chips { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--espresso); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 14px; }
.mosaic .mz { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-tall { grid-row: span 2; border-radius: 999px 999px var(--radius) var(--radius); }
.mosaic .m-wide { grid-column: span 2; }

/* ---------- Lunch / Chalkboard ---------- */
.lunch-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.lunch-intro p { color: #5a463e; }
.lunch-preview { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0 28px; }
.lunch-preview h3 { font-size: 1.05rem; margin-bottom: .6em; }
.lunch-preview ul { list-style: none; margin: 0; padding: 0; }
.lunch-preview li { display: flex; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--line); line-height: 1.45; }
.lunch-preview li span { flex-shrink: 0; font-weight: 800; color: var(--bordeaux); min-width: 52px; }

.chalkboard {
    padding: 16px; border-radius: 16px; transform: rotate(-1deg);
    background: linear-gradient(135deg, #b9895a 0%, #8a5a33 30%, #a8784a 55%, #7a4d2a 80%, #9c6d40 100%);
    box-shadow: 0 30px 60px -25px rgba(51, 10, 10, .6), inset 0 0 0 2px rgba(255, 255, 255, .15);
    transition: transform .4s;
}
.chalkboard:hover { transform: rotate(0); }
.chalk-inner {
    position: relative; border-radius: 6px; padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4.5vw, 54px);
    background-color: var(--slate); color: var(--chalk); font-family: var(--hand); text-align: center;
    background-image:
        radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, .09), transparent 55%),
        radial-gradient(ellipse at 85% 85%, rgba(255, 255, 255, .06), transparent 50%),
        url("../img/chalk.png");
    box-shadow: inset 0 0 40px rgba(0, 0, 0, .45);
    overflow: hidden;
}
.chalk-kicker { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--chalk-gold); margin: 0; }
.chalk-title { font-family: var(--hand); font-size: clamp(3rem, 6vw, 4.4rem); color: var(--chalk); font-weight: 700; letter-spacing: 0; margin: 0; line-height: 1.05; font-variation-settings: normal; text-shadow: 0 0 2px rgba(255, 255, 255, .3); }
.chalk-time { display: inline-block; margin: 6px 0 0; padding: 2px 16px 4px; border: 2px solid var(--chalk-gold); border-radius: 999px; font-size: 1.45rem; font-weight: 700; color: var(--chalk-gold); line-height: 1.2; transform: rotate(-2deg); }
.chalk-rule { height: 10px; margin: 10px auto 20px; width: 70%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 Q 25 2 50 5 T 100 5 T 150 4 T 198 6' fill='none' stroke='%23f4f0e6' stroke-opacity='.55' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.chalk-course { padding: 10px 0; }
.chalk-label { display: block; font-size: 1.35rem; color: var(--chalk-gold); line-height: 1.1; }
.chalk-course p { margin: 0; font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.2; }
.chalk-main { padding: 14px 0 16px; }
.chalk-main .chalk-label { font-size: 1.5rem; }
.chalk-main p { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.1; text-shadow: 0 0 3px rgba(255, 255, 255, .25); }
.chalk-main::before, .chalk-main::after { content: "~"; display: block; color: rgba(244, 240, 230, .35); font-size: 1.4rem; line-height: .8; }
.chalk-prices { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.chalk-prices div { border: 2px dashed rgba(244, 240, 230, .45); border-radius: 14px; padding: 6px 20px 8px; min-width: 140px; }
.chalk-prices span { display: block; font-size: 1.2rem; color: var(--chalk-gold); line-height: 1.2; }
.chalk-prices strong { font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.1; white-space: nowrap; }
.chalk-note { margin: 18px 0 0; font-size: 1.35rem; color: rgba(244, 240, 230, .85); }
.chalk-empty { font-size: 1.9rem; line-height: 1.3; margin: 10px 0; }
.chalk-doodle { position: absolute; right: 18px; bottom: 14px; width: 54px; height: 54px; fill: none; stroke: rgba(244, 240, 230, .32); stroke-width: 2; stroke-linecap: round; }

/* Newsletter */
.newsletter-card { background: var(--espresso); color: #ecdccb; border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin: 0 0 26px; box-shadow: var(--shadow); }
.nl-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.nl-head h3 { color: var(--cream); margin: 0 0 .2em; font-size: 1.35rem; }
.nl-head p { margin: 0; color: #e2d0bd; font-size: .95rem; line-height: 1.5; }
.nl-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--bordeaux); display: grid; place-items: center; }
.nl-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-row input { flex: 1 1 220px; border-color: transparent; }
.nl-row .btn { flex: 1 0 auto; }
.newsletter-card .check { color: #cdb9a5; margin: 12px 0 0; font-size: .82rem; }
.newsletter-card .check a { color: var(--oak); }

/* ---------- Cakes ---------- */
.cake-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.cake-head h2 { margin-bottom: 0; }
.cake-head p { color: #e2d0bd; }
.cake-togo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.cake-togo span { background: var(--oak); color: var(--espresso); font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.cake-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.cake-card { margin: 0; }
.cake-img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 18px 18px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transition: transform .5s; }
.cake-img img { width: 100%; height: 100%; object-fit: cover; }
.cake-card:hover .cake-img { transform: translateY(-8px); }
.cake-card:nth-child(even) { margin-top: 36px; }
.cake-card figcaption { margin-top: 14px; font-family: var(--serif); font-size: 1.2rem; color: var(--cream); line-height: 1.25; }
.cake-wall-head { text-align: center; margin: clamp(56px, 7vw, 90px) 0 clamp(22px, 3vw, 32px); }
.cake-wall-head .hand { display: inline-block; font-family: var(--hand); font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--oak); transform: rotate(-2deg); }
.cake-wall-head p { margin: 4px 0 0; color: #e2d0bd; }
.cake-wall { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); gap: clamp(10px, 1.4vw, 16px); }
.cake-photo { position: relative; display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .7); }
.cake-photo:first-child { grid-row: span 2; }
.cake-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cake-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-family: var(--serif); font-size: 1.1rem; color: #fff; background: linear-gradient(transparent, rgba(30, 8, 6, .82)); }
.cake-photo:hover img { transform: scale(1.08); }
.cake-photo:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
.cake-card small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--oak); margin-bottom: 2px; }

/* ---------- Getränke ---------- */
.drinks { background-color: var(--latte); overflow: hidden; }
.drinks-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; pointer-events: none; }
.drinks-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.drinks-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--latte) 0%, rgba(242, 230, 212, .55) 55%, rgba(242, 230, 212, .25) 100%); }
.drinks .container { position: relative; z-index: 1; }
.drinks-head { max-width: 560px; margin-bottom: clamp(32px, 5vw, 50px); }
.drinks-head p:last-child { color: #5a463e; }
.drinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.drink-card { position: relative; background: rgba(255, 250, 243, .94); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow); transition: transform .35s; }
.drink-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.drink-card.dc-accent { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.drink-card.dc-accent h3 { color: #fff; }
.drink-card.dc-accent li { border-color: rgba(255, 255, 255, .25); }
.drink-card.dc-accent li::before { color: var(--oak); }
.drink-card.dc-accent .dc-more { color: #f3d9c9; }
.drink-card.dc-accent .dc-icon { background: rgba(255, 255, 255, .15); }
.drink-card.dc-accent .dc-icon svg { stroke: #fff; }
.dc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--latte); display: grid; place-items: center; margin-bottom: 16px; }
.dc-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--bordeaux); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drink-card h3 { font-size: 1.5rem; margin-bottom: .5em; }
.drink-card ul { list-style: none; margin: 0; padding: 0; }
.drink-card li { font-family: var(--serif); font-size: 1.18rem; padding: 9px 0 9px 24px; border-bottom: 1px dashed var(--line); position: relative; }
.drink-card li::before { content: "✦"; position: absolute; left: 0; top: 11px; font-size: .75rem; color: var(--bordeaux); }
.dc-more { margin: 14px 0 0; font-family: var(--hand); font-size: 1.45rem; color: var(--muted); line-height: 1.1; }

/* Logo als Wasserzeichen */
.section-dark { overflow: hidden; }
.bg-logo { position: absolute; right: -6%; bottom: -10%; width: clamp(420px, 62vw, 900px); max-width: none; opacity: .05; pointer-events: none; transform: rotate(-8deg); }
.section-dark > .container { position: relative; z-index: 1; }

/* ---------- Catering ---------- */
.catering-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(50px, 7vw, 80px); }
.catering-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.catering-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.catering-grid figure { transition: transform .4s; }
.catering-grid figure:hover { transform: translateY(-6px); }
.catering-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 50px 18px 16px; color: #fff; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; background: linear-gradient(transparent, rgba(40, 8, 6, .88)); }
.catering-form-wrap { align-items: start; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 22px; }
.steps li { counter-increment: s; padding-left: 64px; position: relative; color: var(--muted); }
.steps li strong { display: block; color: var(--espresso); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--bordeaux); color: #fff; font: 600 1.25rem/46px var(--serif); text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: -18px; border-left: 2px dashed var(--line); }
.hint-card { background: var(--latte); border-radius: var(--radius); padding: 22px 24px; }
.hint-card p { margin-bottom: .4em; }
.phone-link { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-decoration: none; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); color: var(--ink); border: 1px solid var(--line); min-width: 0; }
.form-card h3 { margin-bottom: 1em; }
.form-card.narrow { max-width: 620px; margin: 24px auto 0; text-align: left; }
.field { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--espresso); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
    width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23330a0a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
/* Datumsfeld: iPhone/Safari gibt dem Feld sonst eine eigene Mindestbreite und Höhe */
input[type="date"] {
    -webkit-appearance: none; appearance: none; display: block; max-width: 100%; min-height: 54px; line-height: 1.4; text-align: left;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23330a0a' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
    padding-right: 44px;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 150, 79, .2); }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 20px; cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--bordeaux); padding: 0; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; }
.star-input legend { width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.3rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 3px; margin: 0; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #e0a526; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 4px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; }
.gallery-item::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 300 2.6rem var(--sans); color: #fff; background: rgba(51, 10, 10, .35); opacity: 0; transition: opacity .3s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:nth-child(1), .gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 5, 4, .95); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(251, 245, 236, .14); color: #fff; border: 0; font-size: 2rem; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(251, 245, 236, .28); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.rating-big { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--espresso); line-height: 1; }
.stars { color: var(--line); letter-spacing: 2px; font-size: 1.15rem; white-space: nowrap; }
.stars .on { color: #e0a526; }
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; align-items: flex-start; }
.review { flex: 1 1 300px; max-width: 390px; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.review::before { content: "“"; position: absolute; right: 22px; top: 6px; font: 600 5.5rem/1 var(--serif); color: var(--latte); }
.review blockquote { margin: 12px 0 18px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; position: relative; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.review figcaption strong { color: var(--espresso); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bordeaux); color: #fff; display: grid; place-items: center; font: 600 1.1rem var(--serif); flex-shrink: 0; }
.review-reply { margin-top: 16px; padding: 12px 14px; background: var(--latte); border-radius: var(--radius-sm); font-size: .92rem; border-left: 3px solid var(--bordeaux); }
.review-form-toggle { text-align: center; margin-top: 36px; }
.review-form-toggle summary { list-style: none; display: inline-flex; }
.review-form-toggle summary::-webkit-details-marker { display: none; }
.review-form-toggle[open] summary { background: var(--espresso); color: var(--cream); }

/* ---------- Reservation ---------- */
.section-image { color: var(--cream); overflow: hidden; }
.section-image-bg, .section-image-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(40, 8, 6, .94), rgba(51, 10, 10, .72)); z-index: 1; }
.section-image .container { position: relative; z-index: 2; }
.light h2 { color: var(--cream); }
.light h2 em { color: var(--oak); }
.light .eyebrow { color: var(--oak); }
.light p { color: #f0e2d2; }
.phone-big { display: inline-block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; color: var(--oak); text-decoration: none; }
.phone-big:hover { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
address { font-style: normal; font-size: 1.15rem; margin-bottom: 1em; }
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; }
.contact-list li { display: flex; gap: 12px; padding: 4px 0; flex-wrap: wrap; }
.contact-list span { min-width: 70px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hours-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.hours th, .hours td { padding: 11px 4px; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.today th, .hours tr.today td { color: var(--bordeaux); font-weight: 800; }
.hours .tag { display: inline-block; font-size: .68rem; background: var(--bordeaux); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; font-weight: 700; }

/* ---------- Legal ---------- */
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal-table { border-collapse: collapse; width: 100%; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { width: 40%; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #220605; color: #d8c6b3; padding: 80px 0 0; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; }
.site-footer h3 { color: var(--cream); font-size: 1.15rem; }
.site-footer a { color: var(--oak); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { width: 230px; height: auto; margin-bottom: 18px; }
.footer-amen { color: var(--oak); font-weight: 600; font-size: .88rem; letter-spacing: .02em; }
.footer-claim { max-width: 320px; }
.muted-light { opacity: .65; font-size: .88rem; }
.social a { margin-right: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(251, 245, 236, .1); font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #b9a28d; text-decoration: none; }
.credit { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 0 30px; border-top: 1px solid rgba(251, 245, 236, .1); color: #b9a28d; }
.credit small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.credit-logo img { display: block; width: 150px; height: auto; opacity: .85; transition: opacity .25s, transform .25s, filter .25s; }
.credit-logo:hover img, .credit-logo:focus-visible img { opacity: 1; transform: translateY(-2px); filter: drop-shadow(0 0 12px rgba(212, 165, 116, .4)); }
.credit address { font-style: normal; font-size: .78rem; line-height: 1.5; }
.credit address a { color: inherit; text-decoration: underline; text-decoration-color: rgba(251, 245, 236, .25); text-underline-offset: 3px; }
.credit address a:hover { color: #fff; }

/* ---------- Toasts ---------- */
/* Nach-oben-Pfeil */
.to-top { position: fixed; z-index: 90; right: clamp(16px, 2.5vw, 30px); bottom: clamp(16px, 2.5vw, 30px); width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center; background: var(--bordeaux); color: #fff; box-shadow: 0 12px 26px -10px rgba(51, 10, 10, .6), 0 0 0 4px rgba(251, 245, 236, .85);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: opacity .35s, transform .35s cubic-bezier(.3, 1.4, .5, 1), visibility .35s, background .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--espresso); transform: translateY(-4px); }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
@media (max-width: 640px) { .to-top { width: 46px; height: 46px; } }
.nav-open .to-top { display: none; }

.toast { position: fixed; z-index: 250; left: 50%; top: 120px; transform: translateX(-50%); width: min(640px, calc(100% - 32px)); display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); color: #fff; font-weight: 600; animation: toastIn .4s ease-out; }
.toast-success { background: var(--ok); }
.toast-error { background: var(--bordeaux); }
.toast span { flex: 1; }
.toast-close { background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .8; }
.toast.hide { opacity: 0; transform: translate(-50%, -20px); transition: .4s; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -20px); } }

/* ---------- Hintergrund-Zeichnungen ---------- */
.deco { position: absolute; z-index: 0; width: clamp(230px, 28vw, 380px); aspect-ratio: 1; pointer-events: none; }
.deco svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.deco-blob { fill: var(--oak); opacity: .32; transform-origin: center; transform: scale(.4) rotate(-30deg); transition: transform 1.3s cubic-bezier(.2, .9, .3, 1.35); }
.deco-art { fill: none; stroke: var(--bordeaux); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transform-origin: center; }
.js .deco-art * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.45, .05, .25, 1) .25s; }
.deco.drawn .deco-blob { transform: scale(1) rotate(0); }
.deco.drawn .deco-art * { stroke-dashoffset: 0; }
.deco.drawn .deco-art { animation: decoFloat 7s ease-in-out 2.6s infinite; }
@keyframes decoFloat { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(4px, -10px) rotate(3deg); } }
.deco-tr { top: 30px; right: -40px; transform: rotate(12deg); }
.deco-tl { top: 40px; left: -50px; transform: rotate(-14deg); }
.deco-bl { bottom: 10px; left: -50px; transform: rotate(-8deg); }
.deco-br { bottom: 0; right: -30px; transform: rotate(16deg); }
.deco-light .deco-blob { fill: var(--bordeaux); opacity: .45; }
.deco-light .deco-art { stroke: var(--oak); opacity: .75; }
/* Startbereich: Zeichnungen in den freien Seitenrändern breiter Bildschirme */
.deco-hero { display: none; width: min(320px, calc((100vw - 1240px) / 2)); }
.deco-hero-l { top: 70px; left: calc((100vw - 1200px) / 4); transform: translateX(-50%) rotate(-8deg); }
.deco-hero-r { bottom: 110px; right: calc((100vw - 1200px) / 4); transform: translateX(50%) rotate(10deg); }
.hero > .container { position: relative; z-index: 1; }
@media (min-width: 1480px) { .deco-hero { display: block; } }
.section-tint .deco-blob, .drinks .deco-blob { fill: #fffaf3; opacity: .7; }
.section > .container, .amenities > .container { position: relative; z-index: 1; }

/* ---------- Milchschaum-Wellen zwischen den Abschnitten ---------- */
.wave {
    --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V32C180 6 380 0 620 22s520 40 820-6v44z'/%3E%3C/svg%3E");
    position: absolute; left: 0; right: 0; top: -59px; height: 60px; z-index: 2; pointer-events: none;
    background: var(--cream) url("../img/paper.png");
    -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat;
}
.wave-b { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V14c260 34 520 46 820 22S1260 0 1440 26v34z'/%3E%3C/svg%3E"); }
.section-tint > .wave, .drinks > .wave { background: var(--latte); }
.section-dark > .wave, .amenities > .wave { background: var(--espresso); }
.section-image > .wave { background: #2d0807; }
.section-image { overflow: visible; }
.section-image-bg { overflow: hidden; }
.amenities { overflow: visible; }
.section-dark, .drinks { overflow: visible; }
.bg-logo { bottom: 0 !important; }

/* ---------- Zoom & Bewegung ---------- */
[data-zoom] { transform: scale(1.15); transform-origin: center; transition: transform 1.8s cubic-bezier(.16, .8, .24, 1); }
[data-zoom].zoom-in-view { transform: scale(1); }
.anim-paused, .anim-paused * { animation-play-state: paused !important; }
.js .hero-text > * { animation: heroIn 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-text > :nth-child(2) { animation-delay: .12s; }
.js .hero-text > :nth-child(3) { animation-delay: .24s; }
.js .hero-text > :nth-child(4) { animation-delay: .36s; }
.js .hero-text > :nth-child(5) { animation-delay: .48s; }
.js .hero-media { animation: heroZoom 1.6s cubic-bezier(.2, .7, .2, 1) both .1s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px) scale(.96); } }
@keyframes heroZoom { from { opacity: 0; transform: scale(.82); } }
.arrive { animation: arrive 1.1s cubic-bezier(.2, .9, .25, 1.15); }
@keyframes arrive { 0% { transform: scale(.7); opacity: .2; } 55% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.section-head .arrive, .section-head.arrive { transform-origin: center; }
h2.arrive { transform-origin: left center; display: block; }
.section-head h2.arrive { transform-origin: center; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 0; z-index: 1; background: var(--espresso);
        flex-direction: column; justify-content: center; gap: 6px; padding: 90px 24px 40px;
        opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
    }
    .site-nav a:not(.btn) { color: var(--cream); font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 500; }
    .site-nav a:not(.btn):hover { color: var(--oak); }
    .site-nav .btn { margin: 20px 0 0; font-size: 1.05rem; }
    .nav-open .site-nav { opacity: 1; visibility: visible; }
    .nav-open .brand img { filter: brightness(0) invert(96%) sepia(8%) saturate(400%) hue-rotate(330deg); }
    .nav-open .awning { display: none; }
    .hero-bubble { left: -20px; }
    .badge-rotate { right: -10px; }
}

@media (max-width: 1080px) {
    .drinks-grid { grid-template-columns: 1fr 1fr; }
    .drinks-grid .drink-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .drinks-bg { width: 100%; height: 340px; bottom: auto; }
    .drinks-bg img { opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
    .drinks-bg::after { background: linear-gradient(180deg, rgba(242, 230, 212, .3), var(--latte)); }
    body { font-size: 16.5px; }
    .hero-grid, .split, .breakfast, .lunch-grid, .contact-grid, .cake-head { grid-template-columns: 1fr; }
    .hero-media { justify-self: center; max-width: 440px; margin-top: 10px; }
    .about-media { margin: 0 auto; width: 100%; }
    .mosaic { grid-template-rows: 200px 200px; }
    .chalkboard { transform: none; max-width: 640px; width: 100%; margin: 0 auto; }
    .lunch-intro { text-align: left; }
    .catering-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(8) { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 16px; line-height: 1.65; }
    .topbar-info { display: none; }
    .topbar-inner { justify-content: center; }
    .header-inner { height: 78px; }
    .brand { width: 150px; }

    .hero { padding-top: 40px; }
    .awning, .site-footer::before { height: 24px; }
    .site-footer::before { top: -23px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-facts { grid-template-columns: 1fr; border-top: 0; }
    .hero-facts div, .hero-facts div + div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-left: 0; border-bottom: 1px dashed var(--line); }
    .hero-media { max-width: 330px; }
    .arch::before { inset: -9px; }
    .hero-bubble { width: 108px; left: -12px; bottom: 20px; border-width: 5px; }
    .badge-rotate { width: 96px; right: -8px; }
    .badge-rotate text { font-size: 11.2px; }
    .badge-cup svg { width: 28px; height: 28px; }
    .ticker { padding: 12px 0; }
    .about-media { padding-bottom: 50px; }
    .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px 170px; gap: 10px; }
    .mosaic .m-tall { grid-row: span 2; }
    .mosaic .m-wide { grid-column: span 2; }
    .chalkboard { padding: 10px; }
    .chalk-prices { gap: 10px; }
    .chalk-prices div { min-width: 0; flex: 1 1 0; padding: 6px 10px 8px; }
    .chalk-doodle { width: 38px; height: 38px; right: 10px; bottom: 8px; }
    .cake-showcase { grid-template-columns: repeat(2, 1fr); }
    .cake-wall { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(140px, 42vw, 240px); }
    .cake-photo span { font-size: .98rem; padding: 22px 10px 9px; }
    .cake-card:nth-child(even) { margin-top: 20px; }
    .cake-card figcaption { font-size: 1.05rem; }
    .catering-grid { gap: 10px; }
    .catering-grid figcaption { font-size: 1rem; padding: 40px 12px 12px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .nl-row { flex-direction: column; }
    .nl-row input, .nl-row .btn { flex: none; width: 100%; }
    .credit { padding-bottom: 84px; }
    .amenity-list { gap: 10px; }
    .amenity-list li { flex: 1 1 140px; max-width: calc(50% - 5px); padding: 18px 10px; }
    .am-icon { width: 52px; height: 52px; }
    .drinks-grid { grid-template-columns: 1fr; }
    .drink-card { padding: 24px 22px; }
    .nl-head { flex-direction: column; gap: 10px; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
    .steps li { padding-left: 58px; }
    .contact-actions .btn { flex: 1 1 auto; }
    .wave { top: -29px; height: 30px; }
    .deco { width: 190px; }
    .deco-art { opacity: .45; }
    .review { padding: 22px; }
    .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 2.25rem; }
    .chalk-title { font-size: 2.7rem; }
    .cake-showcase { gap: 12px; }
    .hours th, .hours td { font-size: .92rem; }
}

/* =========================================================
   Bohnen-Jagd (Spiel) & Gutschein
   ========================================================= */
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.game-intro h2 em { color: var(--bordeaux); }
.game-steps { list-style: none; counter-reset: gs; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.game-steps li { counter-increment: gs; position: relative; padding: 12px 16px 12px 58px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.45; }
.game-steps li::before { content: counter(gs); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bordeaux); color: #fff; font-weight: 800; font-size: .9rem; }
.game-keys { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.kbd { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); border-bottom-width: 3px; font-weight: 700; color: var(--espresso); }

.game-card { background: var(--espresso); border-radius: calc(var(--radius) + 6px); padding: clamp(14px, 2vw, 20px); box-shadow: var(--shadow); color: var(--cream); position: relative; }
.game-hud { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 2px 4px 14px; }
.gh-count { display: flex; align-items: baseline; gap: 6px; font-size: .95rem; color: var(--oak); }
.gh-count svg { width: 20px; height: 20px; align-self: center; fill: var(--oak); stroke: var(--espresso); stroke-width: 1.4; stroke-linecap: round; }
.gh-count strong { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.gh-bar { height: 10px; border-radius: 99px; background: rgba(251, 245, 236, .12); overflow: hidden; }
.gh-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--chalk-gold)); transition: width .35s cubic-bezier(.3, 1.4, .5, 1); }
.goal-reached .gh-bar span { background: linear-gradient(90deg, #7fdc9d, #c8f2d4); }
.gh-best { font-size: .82rem; color: #b9a28d; white-space: nowrap; }
.gh-best strong { color: var(--cream); font-variant-numeric: tabular-nums; }
.game-board { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; outline: none; box-shadow: inset 0 0 0 1px rgba(251, 245, 236, .08); }
.game-board canvas { display: block; width: 100%; height: 100%; }
.is-playing .game-board { touch-action: none; }
.game-board.shake { animation: gshake .45s; }
@keyframes gshake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.game-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; background: rgba(36, 8, 7, .72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.game-overlay.show { opacity: 1; visibility: visible; }
.go-inner { display: grid; justify-items: center; gap: 10px; max-width: 340px; transform: translateY(8px) scale(.97); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.game-overlay.show .go-inner { transform: none; }
.go-hand { font-family: var(--hand); font-size: clamp(2rem, 5vw, 2.6rem); color: var(--chalk-gold); line-height: 1; transform: rotate(-3deg); }
.go-title { font-family: var(--serif); font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; color: var(--cream); margin: 0; line-height: 1.2; }
.go-text { margin: 0 0 6px; color: #e6d3bf; font-size: .95rem; line-height: 1.5; }
.go-code { margin: 0; font-family: var(--sans); font-weight: 800; letter-spacing: .12em; font-size: 1.15rem; color: var(--espresso); background: var(--chalk-gold); padding: 6px 14px; border-radius: 8px; }
.btn-outline-light { border-color: rgba(251, 245, 236, .55); color: var(--cream); background: transparent; }
.btn-outline-light:hover { background: var(--cream); color: var(--espresso); }
.game-pad { display: none; grid-template-columns: repeat(3, 58px); grid-template-rows: repeat(2, 50px); gap: 8px; justify-content: center; margin-top: 14px; }
.game-pad button { display: grid; place-items: center; border: 0; border-radius: 14px; background: rgba(251, 245, 236, .1); color: var(--cream); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .15s, transform .1s; }
.game-pad button:active { background: var(--bordeaux); transform: scale(.94); }
.game-pad svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.game-pad [data-dir="up"] { grid-column: 2; grid-row: 1; }
.game-pad [data-dir="left"] { grid-column: 1; grid-row: 2; }
.game-pad [data-dir="down"] { grid-column: 2; grid-row: 2; }
.game-pad [data-dir="right"] { grid-column: 3; grid-row: 2; }
.game-pad .gp-pause { grid-column: 3; grid-row: 1; background: transparent; color: #b9a28d; }
.game-pad .gp-pause svg { width: 20px; height: 20px; }
@media (hover: none), (pointer: coarse), (max-width: 900px) { .game-pad { display: grid; } }
@media (max-width: 900px) {
    .game-grid { grid-template-columns: 1fr; }
    .game-card { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
    .game-steps li { padding-left: 54px; font-size: .95rem; }
    .game-card { padding: 12px; border-radius: var(--radius); }
    .game-hud { gap: 10px; }
}

/* Gutschein-Seite (gutschein.php) */
.voucher-page { min-height: 100vh; }
.vp-wrap { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) var(--gutter); }
.vp-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.vp-hint { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }
.vp-msg { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 60px 0; }
.vp-msg img { width: 180px; height: auto; margin-bottom: 20px; }
.voucher { position: relative; display: grid; grid-template-columns: 220px 1fr; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 2px dashed var(--oak); }
.v-side { background: var(--espresso); color: var(--oak); display: grid; justify-items: center; align-content: center; gap: 18px; padding: 32px 20px; text-align: center; position: relative; }
.v-side img { width: 160px; height: auto; }
.v-beans { display: flex; gap: 6px; }
.v-beans svg { width: 26px; height: 26px; fill: var(--gold); stroke: var(--espresso); stroke-width: 1.4; stroke-linecap: round; }
.v-beans svg:nth-child(2) { transform: translateY(-6px) rotate(20deg); }
.v-hand { font-family: var(--hand); font-size: 1.9rem; color: var(--chalk-gold); transform: rotate(-4deg); line-height: 1; }
.v-body { padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 44px); }
.v-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--bordeaux); margin: 0 0 6px; }
.voucher h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .35em; }
.voucher h1 em { color: var(--bordeaux); }
.v-text { margin: 0 0 18px; color: var(--muted); }
.v-code { display: inline-flex; align-items: center; gap: 14px; background: var(--latte); border-radius: 12px; padding: 10px 18px; margin-bottom: 18px; }
.v-code span { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.v-code strong { font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: .14em; color: var(--espresso); font-variant-numeric: tabular-nums; }
.v-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 16px; }
.v-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.v-facts dd { margin: 0; font-weight: 700; color: var(--espresso); }
.v-small { font-size: .78rem; line-height: 1.5; color: var(--muted); margin: 0; }
.voucher.is-void .v-body > * { opacity: .45; }
.v-stamp { position: absolute; right: 8%; top: 50%; transform: translateY(-50%) rotate(-14deg); border: 4px solid var(--bordeaux); color: var(--bordeaux); border-radius: 12px; padding: 8px 22px; font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; display: grid; justify-items: center; background: rgba(255, 250, 243, .85); }
.v-stamp small { font-family: var(--sans); font-size: .9rem; letter-spacing: .1em; }
@media (max-width: 640px) {
    .voucher { grid-template-columns: 1fr; }
    .v-side { grid-auto-flow: column; padding: 20px; gap: 14px; }
    .v-side img { width: 120px; }
    .v-beans { display: none; }
}
@media print {
    @page { size: A4 portrait; margin: 14mm; }
    .no-print { display: none !important; }
    body.voucher-page { background: #fff !important; }
    .vp-wrap { padding: 0; max-width: none; }
    .voucher { box-shadow: none; grid-template-columns: 55mm 1fr; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .v-side { grid-auto-flow: row; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .v-beans { display: flex; }
}

/* ============ Tassilo-Automat ============ */
.slot-section { background: radial-gradient(ellipse at 20% 30%, rgba(155, 42, 36, .07), transparent 60%), var(--cream); }
.slot-grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
.slot-grid .game-intro { order: 2; }
.slot-fine { font-size: .82rem; color: var(--muted); margin: 0; }
.slot {
    --on: #ffe08a; --off: #5b2a14; --glow: 0 0 6px 2px rgba(255, 214, 120, .85);
    position: relative; width: calc(100% - 24px); margin-right: 24px; padding: 30px 24px 22px; border-radius: 36px;
    background: radial-gradient(ellipse at 50% 0%, #b5352e 0%, #8a231e 45%, #5a1410 100%);
    box-shadow: inset 0 0 0 3px #d9a64f, inset 0 0 0 7px #6a1813, 0 30px 60px -24px rgba(51, 10, 10, .65);
    color: var(--cream); user-select: none; -webkit-user-select: none;
}
.slot-lights { position: absolute; inset: 0; pointer-events: none; }
.slot-lights i { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--off); animation: sl-blink 1.4s steps(1) infinite; }
.slot-lights i:nth-child(odd) { animation-delay: -.7s; }
@keyframes sl-blink { 0% { background: var(--on); box-shadow: var(--glow); } 50% { background: var(--off); box-shadow: none; } }
@keyframes sl-chase { 0% { background: var(--on); box-shadow: var(--glow); } 22% { background: var(--off); box-shadow: none; } }
.slot.is-spin .slot-lights i { animation: sl-chase .8s steps(1) infinite; animation-delay: calc(var(--k) * -.8s); }
.slot.is-win .slot-lights i { animation: sl-blink .28s steps(1) infinite; }
.slot.is-win .slot-lights i:nth-child(odd) { animation-delay: -.14s; }
.slot.is-bonus { --on: #fff3c4; --glow: 0 0 8px 3px rgba(255, 230, 150, .95); box-shadow: inset 0 0 0 3px #ffe08a, inset 0 0 0 7px #6a1813, 0 0 0 4px rgba(255, 214, 120, .3), 0 30px 60px -24px rgba(51, 10, 10, .65); }
.slot.is-bonus .slot-lights i:nth-child(3n) { --on: #ff7a5c; --glow: 0 0 8px 3px rgba(255, 110, 80, .9); }

.slot-head { position: relative; text-align: center; margin-bottom: 14px; }
.slot-head img { display: block; height: clamp(38px, 7vw, 52px); width: auto; margin: 0 auto; filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }
.slot-sub { display: inline-block; font-family: var(--hand); font-size: clamp(1.3rem, 3.4vw, 1.6rem); color: var(--chalk-gold); line-height: 1; margin-top: 2px; transform: rotate(-2deg); }
.slot.is-bonus .slot-sub { font-family: var(--sans); font-weight: 800; font-size: .95rem; letter-spacing: .3em; color: #2b1208; background: linear-gradient(#ffe9a8, #d9a64f); padding: 5px 14px 4px; border-radius: 99px; transform: none; animation: sl-pop .9s ease-in-out infinite alternate; }
@keyframes sl-pop { to { transform: scale(1.07); } }

.slot-window { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; padding: 9px; border-radius: 18px; background: #1d0605; box-shadow: 0 0 0 4px #d9a64f, 0 0 0 6px #7a4a1c, inset 0 6px 16px rgba(0,0,0,.7); }
.slot-reel { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / 2.55; background: linear-gradient(90deg, #e9dcc8, #fffaf2 30%, #fffaf2 70%, #e9dcc8); }
.slot-reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(29, 6, 5, .75), rgba(29, 6, 5, 0) 26%, rgba(29, 6, 5, 0) 74%, rgba(29, 6, 5, .75)); }
.slot.is-bonus .slot-reel { background: linear-gradient(90deg, #f3d995, #fff6d8 30%, #fff6d8 70%, #f3d995); }
.slot-strip { position: absolute; inset: 0; }
.slot-strip .slot-sym { position: absolute; left: 0; right: 0; top: 0; height: 33.334%; aspect-ratio: auto; will-change: transform; }
.slot-sym { aspect-ratio: 1 / .85; display: grid; place-items: center; }
.slot-sym svg { width: 84%; height: 84%; overflow: visible; }
.slot-reel.hit::before { content: ""; position: absolute; left: 3px; right: 3px; top: 34%; height: 32%; border-radius: 10px; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 3px #f1c35a, inset 0 0 18px rgba(241, 195, 90, .8); animation: sl-hit .45s ease-in-out infinite alternate; }
.slot-reel.hit .slot-sym.mid svg { animation: sl-bounce .45s ease-in-out infinite alternate; }
@keyframes sl-hit { from { opacity: .45; } to { opacity: 1; } }
@keyframes sl-bounce { to { transform: scale(1.1); } }
.slot-payline { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.slot-payline::before, .slot-payline::after { content: ""; position: absolute; top: -8px; border: 8px solid transparent; }
.slot-payline::before { left: -14px; border-left-color: #f1c35a; }
.slot-payline::after { right: -14px; border-right-color: #f1c35a; }

.slot-display { margin: 18px 0 14px; padding: 8px 14px; height: calc(2.6em + 16px); line-height: 1.3; overflow: hidden; display: grid; place-items: center; text-align: center; border-radius: 10px; background: #120403; box-shadow: inset 0 2px 8px rgba(0,0,0,.8), 0 0 0 2px #3b120d; font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: clamp(.82rem, 2.4vw, 1rem); letter-spacing: .08em; text-transform: uppercase; color: #ffcf6b; text-shadow: 0 0 6px rgba(255, 190, 80, .8); }
.slot-display.flash { animation: sl-led .3s steps(1) 6; }
@keyframes sl-led { 50% { color: #fff3c4; text-shadow: 0 0 12px rgba(255, 230, 150, 1); } }

.slot-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.slot-tries span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e6c7a8; margin-bottom: 6px; }
.slot-cups { display: flex; flex-wrap: wrap; gap: 5px; }
.slot-cups svg { width: 22px; height: 22px; fill: #f1c35a; color: #f1c35a; transition: opacity .3s, transform .3s; }
.slot-cups svg.used { opacity: .22; transform: scale(.85); }
.slot-cups svg.bonus { fill: #fff3c4; color: #fff3c4; filter: drop-shadow(0 0 4px rgba(255, 230, 150, .9)); }
.slot-btn { flex: none; width: clamp(92px, 22vw, 112px); aspect-ratio: 1; margin: 0 8px 10px 0; border-radius: 50%; border: 0; cursor: pointer; font: 800 clamp(.9rem, 2.6vw, 1.05rem)/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: radial-gradient(circle at 40% 30%, #e0564c, #9b2a24 60%, #6a1813); box-shadow: 0 0 0 4px #d9a64f, 0 0 0 7px #5a1410, 0 8px 0 7px #3b0d0a, 0 14px 22px 4px rgba(0,0,0,.45); transition: transform .08s, box-shadow .08s, filter .2s; }
.slot-btn:hover { filter: brightness(1.08); }
.slot-btn:active:not(:disabled) { transform: translateY(6px); box-shadow: 0 0 0 4px #d9a64f, 0 0 0 7px #5a1410, 0 2px 0 7px #3b0d0a, 0 6px 12px 4px rgba(0,0,0,.45); }
.slot-btn:focus-visible { outline: 3px solid #fff3c4; outline-offset: 10px; }
.slot-btn:disabled { cursor: default; filter: grayscale(.75) brightness(.75); }
.slot.is-bonus .slot-btn { color: #2b1208; background: radial-gradient(circle at 40% 30%, #fff1b8, #e3b04f 60%, #a8742f); }
.slot-btn span { display: inline-block; }
.slot:not(.is-spin) .slot-btn:not(:disabled) span { animation: sl-pulse 1.6s ease-in-out infinite; }
@keyframes sl-pulse { 50% { transform: scale(1.08); } }

.slot-lever { position: absolute; right: -30px; top: 30%; width: 30px; height: 150px; padding: 0; border: 0; background: none; cursor: pointer; }
.slot-lever::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 22px; height: 34px; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, #a8742f, #f6d98f 45%, #a8742f); box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.sl-stick { position: absolute; left: 9px; bottom: 10px; width: 8px; height: 125px; border-radius: 4px; background: linear-gradient(90deg, #8c8c8c, #f2f2f2 45%, #8c8c8c); transform-origin: bottom; transition: transform .16s ease-in; }
.sl-knob { position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a7a, #b5352e 55%, #6a1813); box-shadow: 0 4px 8px rgba(0,0,0,.4); transition: transform .16s ease-in; }
.slot-lever.pull .sl-stick { transform: scaleY(-.55); }
.slot-lever.pull .sl-knob { transform: translateY(205px); }
.slot-lever:disabled { cursor: default; }
.slot-lever:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }

.slot-pay { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(241, 212, 143, .35); font-size: .78rem; font-weight: 700; color: #e6c7a8; }
.slot-pay > div { display: flex; align-items: center; gap: 7px; }
.sp-syms { display: inline-flex; gap: 1px; }
.sp-syms svg { width: 19px; height: 19px; }

.slot-overlay { position: absolute; inset: 14px; z-index: 5; display: grid; place-items: center; padding: 20px; text-align: center; border-radius: 26px; background: rgba(36, 8, 7, .88); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: sl-fade .3s ease-out; }
.slot-overlay[hidden] { display: none; }
@keyframes sl-fade { from { opacity: 0; transform: scale(.96); } }
.so-inner { display: grid; justify-items: center; gap: 12px; max-width: 360px; }
.so-sym { width: 92px; height: 92px; }
.so-code { font: 800 1.25rem/1 var(--sans); letter-spacing: .12em; color: #fff3c4; background: rgba(255,255,255,.08); border: 1px dashed rgba(241, 212, 143, .6); padding: 10px 16px; border-radius: 10px; }
.so-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.slot-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: 36px; z-index: 6; }
.slot-confetti i { position: absolute; top: -14px; width: 8px; height: 13px; border-radius: 2px; animation: sl-fall linear forwards; }
@keyframes sl-fall { to { transform: translateY(900px) rotate(720deg); opacity: .5; } }

@media (max-width: 900px) {
    .slot-grid { grid-template-columns: 1fr; }
    .slot-grid .game-intro { order: 0; }
    .slot { max-width: 520px; margin: 0 auto; transform: translateX(-12px); }
}
@media (max-width: 640px) {
    .slot { padding: 26px 20px 18px; border-radius: 28px; }
    .slot-window { gap: 5px; padding: 6px; }
    .slot-display { font-size: .74rem; letter-spacing: .03em; padding: 8px 10px; }
    .slot-lever { right: -27px; height: 128px; }
    .sl-stick { height: 104px; }
    .slot-lever.pull .sl-knob { transform: translateY(170px); }
    .slot-overlay { inset: 8px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .slot-lights i, .slot-reel.hit::before, .slot-reel.hit .slot-sym.mid svg, .slot .slot-btn span, .slot.is-bonus .slot-sub { animation: none !important; }
}

/* ============ Tortenalarm (Spezialwochen) ============ */
.tg-section { background: radial-gradient(ellipse at 85% 20%, rgba(217, 74, 90, .10), transparent 55%), var(--latte); }
.tg-board { aspect-ratio: 4 / 5; cursor: crosshair; }
.tg-card .gh-count span { font-size: .8rem; }
.tg-lives { display: flex; align-items: center; gap: 4px; }
.tg-lives .js-lives { display: inline-flex; gap: 2px; }
.tg-lives svg { width: 17px; height: 17px; fill: var(--oak); color: var(--oak); transition: opacity .3s, transform .3s; }
.tg-lives svg.used { opacity: .2; transform: scale(.8); }
.tg-pad { display: none; justify-content: center; gap: 10px; margin-top: 14px; }
.tg-pad button { display: grid; place-items: center; width: 86px; height: 52px; border: 0; border-radius: 14px; background: rgba(251, 245, 236, .1); color: var(--cream); cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; transition: background .15s, transform .1s; }
.tg-pad button:active { background: var(--bordeaux); transform: scale(.95); }
.tg-pad .tg-pause { width: 52px; background: transparent; color: #b9a28d; }
.tg-pad svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-pad .tg-pause svg { width: 20px; height: 20px; }
@media (hover: none), (pointer: coarse), (max-width: 900px) { .tg-pad { display: flex; } }

/* ============ Schnapsen gegen Tassilo ============ */
.sn-section { background: radial-gradient(ellipse at 15% 80%, rgba(67, 145, 60, .10), transparent 55%), var(--latte); }
.sn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 70px); align-items: center; }
.sn-regeln { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.sn-regeln summary { cursor: pointer; font-weight: 700; color: var(--espresso); }
.sn-regeln ul { margin: 12px 0 2px; padding-left: 18px; display: grid; gap: 6px; font-size: .93rem; line-height: 1.45; }

.sn-wrap { --cw: clamp(48px, 15vw, 74px); background: var(--espresso); border-radius: calc(var(--radius) + 6px); padding: clamp(12px, 2vw, 18px); box-shadow: var(--shadow); color: var(--cream); user-select: none; -webkit-user-select: none; }
.sn-bummerl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 2px 6px 12px; }
.sn-b-seite { display: flex; align-items: baseline; gap: 8px; font-size: .9rem; color: var(--oak); }
.sn-b-seite:last-child { justify-content: flex-end; }
.sn-b-seite strong { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.sn-b-mitte { text-align: center; font-family: var(--hand); font-size: 1.35rem; color: var(--chalk-gold); line-height: 1; }
.sn-b-mitte small { font-family: var(--sans); font-size: .7rem; color: #b9a28d; letter-spacing: .08em; }
.sn-b-pips { display: flex; gap: 4px; justify-content: center; margin-top: 5px; }
.sn-b-pips i { width: 9px; height: 9px; border-radius: 50%; background: rgba(251, 245, 236, .12); }
.sn-b-pips i.sie { background: var(--chalk-gold); }
.sn-b-pips i.tas { box-shadow: inset 0 0 0 2px #c8322b; }
.sn-b-pips i.sie.tas { background: linear-gradient(90deg, var(--chalk-gold) 50%, #c8322b 50%); box-shadow: none; }

.sn-table { position: relative; overflow: hidden; border-radius: var(--radius-sm); padding: 12px 10px 12px; display: grid; gap: 8px;
    background: radial-gradient(ellipse at 50% 40%, #2d6a4c 0%, #1f4d37 60%, #163828 100%);
    box-shadow: inset 0 0 0 3px #8a5a2b, inset 0 0 0 6px #5b3a1d, inset 0 0 40px rgba(0, 0, 0, .45); }
.sn-opp { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 0; }
.sn-who { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.sn-who small { display: block; font-size: .75rem; color: #cfe3d4; }
.sn-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--cream); background: radial-gradient(circle at 40% 35%, #c6443b, #7e1f1a); box-shadow: 0 0 0 2px #e6ac3c; }
.sn-hand { display: flex; justify-content: center; gap: 5px; min-height: calc(var(--cw) * 1.5); }
.sn-hand-opp { --cw: clamp(30px, 8vw, 42px); gap: 0; min-height: calc(var(--cw) * 1.5); }
.sn-hand-opp .sk-card + .sk-card { margin-left: calc(var(--cw) * -.45); }

.sn-mid { position: relative; display: grid; grid-template-columns: calc(var(--cw) * 2) 1fr; align-items: center; min-height: calc(var(--cw) * 2.2); }
.sn-talon { position: relative; height: calc(var(--cw) * 2.2); }
.sn-trumpf { position: absolute; left: calc(var(--cw) * .55); top: calc(var(--cw) * .2); transform: rotate(90deg); transform-origin: center; }
.sn-stapel { position: absolute; left: calc(var(--cw) * .1); top: calc(var(--cw) * .2); }
.sn-stapel .sk-card { position: absolute; left: 0; top: 0; transform: translate(calc(var(--i) * -2px), calc(var(--i) * -2px)); }
.sn-talon-info { position: absolute; left: 0; top: calc(var(--cw) * 1.78); font-size: .68rem; line-height: 1.25; color: #cfe3d4; white-space: nowrap; }
.sn-tsym { width: 12px; height: 12px; vertical-align: -2px; margin: 0 2px; }
.sn-trick { position: relative; height: calc(var(--cw) * 2); }
.sn-slot { position: absolute; left: 50%; top: 50%; transition: transform .4s ease-in, opacity .4s ease-in; }
.sn-slot-tas { transform: translate(-80%, -62%) rotate(-7deg); animation: sn-in-tas .35s ease-out; }
.sn-slot-sie { transform: translate(-20%, -38%) rotate(6deg); animation: sn-in-sie .35s ease-out; }
@keyframes sn-in-tas { from { transform: translate(-80%, -160%) rotate(-7deg); opacity: 0; } }
@keyframes sn-in-sie { from { transform: translate(-20%, 60%) rotate(6deg); opacity: 0; } }
.sn-trick.nimmt-sie .sn-slot { transform: translate(-50%, 140%) scale(.8); opacity: 0; }
.sn-trick.nimmt-tas .sn-slot { transform: translate(-50%, -240%) scale(.8); opacity: 0; }
.sn-call { position: absolute; right: 4px; top: -6px; max-width: 70%; padding: 7px 12px; border-radius: 12px 12px 12px 2px; background: var(--cream); color: var(--espresso); font-size: .82rem; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; pointer-events: none; z-index: 2; }
.sn-call.show { opacity: 1; transform: none; }
.sn-msg { text-align: center; font-size: .86rem; color: #e8f1ea; min-height: 2.6em; display: grid; place-items: center; line-height: 1.3; padding: 0 6px; }
.sn-me { display: grid; gap: 8px; }
.sn-pick { padding: 0; border: 0; background: none; cursor: default; border-radius: 8px; transition: transform .15s; -webkit-tap-highlight-color: transparent; }
.sn-pick.ok { cursor: pointer; }
.sn-dran .sn-pick.ok:hover, .sn-dran .sn-pick.ok:focus-visible { transform: translateY(-8px); }
.sn-dran .sn-pick.ok .sk-card { box-shadow: 0 0 0 2px var(--chalk-gold), 0 6px 14px rgba(0, 0, 0, .35); }
.sn-pick.nein { opacity: .42; }
.sn-pick:focus-visible { outline: 2px solid var(--chalk-gold); outline-offset: 3px; }
.sn-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.sn-mine { font-size: .82rem; color: #cfe3d4; }
.sn-mine strong { color: var(--cream); font-size: 1rem; }
.sn-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.sn-act { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 99px; border: 1.5px solid var(--chalk-gold); background: rgba(0, 0, 0, .25); color: var(--cream); font: 700 .8rem/1 var(--sans); cursor: pointer; animation: sn-glow 1.6s ease-in-out infinite; }
.sn-act svg { width: 15px; height: 15px; }
.sn-act:hover { background: var(--chalk-gold); color: var(--espresso); }
.sn-act-zu { border-color: #ff9c8a; }
@keyframes sn-glow { 50% { box-shadow: 0 0 10px rgba(241, 212, 143, .6); } }
.sn-overlay { border-radius: var(--radius-sm); }

/* Karten */
.sk-card { position: relative; display: block; width: var(--cw); aspect-ratio: 2 / 3; border-radius: calc(var(--cw) * .1); background: linear-gradient(160deg, #fffdf8, #f6ecdc); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(51, 10, 10, .12); font-size: calc(var(--cw) * .2); color: #330a0a; overflow: hidden; }
.sk-card.s-herz { --kf: #c8322b; } .sk-card.s-schell { --kf: #a8721c; } .sk-card.s-laub { --kf: #2f7a2b; } .sk-card.s-eichel { --kf: #6b3f1c; }
.sk-face { position: absolute; inset: 0; width: 100%; height: 100%; }
.sk-ix { position: absolute; left: 6%; top: 4%; display: flex; flex-direction: column; align-items: center; font: 800 1em/1 var(--sans); color: var(--kf); }
.sk-ix svg { width: .95em; height: .95em; margin-top: 1px; }
.sk-ix2 { left: auto; top: auto; right: 6%; bottom: 4%; transform: rotate(180deg); }
.sk-art { position: absolute; inset: 14% 16%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%; color: var(--kf); }
.sk-letter { font: 700 2em/1 var(--serif); }
.sk-label { font: 700 .62em/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.sk-big .sk-s1 { width: calc(var(--cw) * .5); height: calc(var(--cw) * .5); }
.sk-two { display: flex; flex-direction: column; }
.sk-two svg { width: calc(var(--cw) * .33); height: calc(var(--cw) * .33); }
.sk-s2 { width: calc(var(--cw) * .3); height: calc(var(--cw) * .3); }
.sk-krone { width: calc(var(--cw) * .36); height: calc(var(--cw) * .22); }
.sk-back { background: repeating-linear-gradient(45deg, #8a231e 0 4px, #9b2a24 4px 8px); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 0 0 2px #fbf5ec, inset 0 0 0 4px #9b2a24; display: grid; place-items: center; }
.sk-back-t { width: 52%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, #f6d98f, #c8964f); color: #5a1410; font: 700 calc(var(--cw) * .3)/1 var(--serif); box-shadow: 0 0 0 2px #fbf5ec; }

.sn-konfetti { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.sn-konfetti i { position: absolute; top: -14px; width: 8px; height: 13px; border-radius: 2px; animation: sl-fall linear forwards; }

@media (max-width: 900px) {
    .sn-grid { grid-template-columns: 1fr; }
    .sn-wrap { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
    .sn-wrap { padding: 10px; border-radius: var(--radius); }
    .sn-table { padding: 10px 6px; }
    .sn-hand { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .sn-act { animation: none !important; transition: none !important; }
}

/* ============ Schnapsen online ============ */
.sn-spalte { min-width: 0; }
.sn-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.sn-tabs button { flex: 1; padding: 11px 14px; border: 0; border-radius: 14px 14px 6px 6px; background: rgba(51, 10, 10, .08); color: var(--espresso); font: 700 .92rem/1.2 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.sn-tabs button.active { background: var(--espresso); color: var(--cream); }
.sn-online-n { display: inline-block; margin-left: 4px; font-size: .72rem; font-weight: 700; color: #2f7a2b; }
.sn-tabs button.active .sn-online-n { color: #9be39a; }
.sno { background: var(--espresso); border-radius: calc(var(--radius) + 6px); padding: clamp(12px, 2vw, 18px); box-shadow: var(--shadow); color: var(--cream); --cw: clamp(48px, 15vw, 74px); }
.sno[hidden], .sn-wrap[hidden] { display: none; }
.sno-kopf { display: flex; align-items: center; gap: 12px; padding: 2px 4px 12px; flex-wrap: wrap; }
.sno-titel { font-family: var(--hand); font-size: 1.5rem; color: var(--chalk-gold); }
.sno-ich { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.sno-ich strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sno-ich small { display: block; font-size: .74rem; color: #b9a28d; }
.sno-geld { display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 99px; background: rgba(230, 172, 60, .14); }
.sno-geld strong { font-family: var(--serif); font-size: 1.25rem; color: #f6d98f; font-variant-numeric: tabular-nums; }
.sno-m { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.sno-geld .sno-m { width: 24px; height: 24px; }
.sno-link { background: none; border: 0; padding: 4px 2px; color: #e6c7a8; font: 600 .82rem var(--sans); text-decoration: underline; cursor: pointer; }
.sno-link:hover { color: var(--cream); }
.sno-body { display: grid; gap: 12px; }
.sno-laden, .sno-fehler { margin: 20px 0; text-align: center; color: #e6c7a8; }
.sno-fehler { color: #ffb4a8; }
.sno-ok { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(47, 122, 75, .3); color: #d6f5dd; font-size: .9rem; }
.sno-intro p { margin: 0; font-size: .92rem; line-height: 1.5; color: #e6d3bf; }
.sno-reiter { display: flex; gap: 4px; background: rgba(251, 245, 236, .08); border-radius: 12px; padding: 4px; }
.sno-reiter button { flex: 1; padding: 9px 8px; border: 0; border-radius: 9px; background: none; color: #e6d3bf; font: 700 .85rem var(--sans); cursor: pointer; }
.sno-reiter button.active { background: var(--cream); color: var(--espresso); }
.sno-form { display: grid; gap: 12px; }
.sno-form label, .sno-neu label { display: grid; gap: 5px; font-size: .85rem; font-weight: 700; color: #f1e4d2; }
.sno-form label small { font-weight: 400; color: #b9a28d; }
.sno input:not([type="checkbox"]), .sno select { width: 100%; padding: 11px 13px; border: 1px solid rgba(251, 245, 236, .25); border-radius: 10px; background: rgba(251, 245, 236, .08); color: var(--cream); font: 1rem var(--sans); }
.sno select option { color: #2b1a16; }
.sno input:focus, .sno select:focus { outline: 2px solid var(--chalk-gold); outline-offset: 1px; }
.sno-hinweis { margin: 0; font-size: .82rem; line-height: 1.45; color: #cdb8a3; }
.sno-meldung { margin: 0; min-height: 1.2em; font-size: .86rem; font-weight: 600; color: #ffb4a8; }
.sno-meldung.ok { color: #9be39a; }
.sno-meldung a { color: var(--chalk-gold); }
.sno-box { background: rgba(251, 245, 236, .06); border: 1px solid rgba(251, 245, 236, .1); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.sno-box h3 { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: var(--cream); }
.sno-box p { margin: 0; }
.sno-neu { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.sno-neu label:first-child { flex: 1 1 140px; }
.sno-check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 600 !important; flex: 1 1 180px; }
.sno-check input { width: 18px; height: 18px; accent-color: var(--chalk-gold); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.sno-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sno-liste li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .18); }
.sno-liste li span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.sno-einsatz { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: #f6d98f; font-variant-numeric: tabular-nums; }
.sno-code { display: flex; gap: 8px; }
.sno-code input { flex: 1; text-transform: uppercase; }
.sno-beste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sno-beste li { display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: .9rem; }
.sno-beste li:nth-child(-n+3) .sno-platz { background: var(--chalk-gold); color: var(--espresso); }
.sno-beste li.ich { background: rgba(241, 212, 143, .14); }
.sno-platz { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .78rem; background: rgba(251, 245, 236, .1); }
.sno-bname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sno-bsieg { font-size: .78rem; color: #b9a28d; }
.sno-warten { text-align: center; justify-items: center; }
.sno-linkbox { display: flex; gap: 8px; width: 100%; }
.sno-linkbox input { flex: 1; font-size: .85rem !important; }
.sno-tcode { letter-spacing: .14em; color: var(--chalk-gold); }
.sno-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(251, 245, 236, .15); border-top-color: var(--chalk-gold); animation: sno-dreh 1s linear infinite; }
@keyframes sno-dreh { to { transform: rotate(360deg); } }
.sno-einladung { border-color: var(--chalk-gold); }
.sno-bummerl { padding-top: 0; }
.sno-bummerl .sno-m { width: 14px; height: 14px; }
.sno-zeit { text-align: center; font-size: .8rem; color: #ffd9a8; min-height: 0; }
.sno-zeit:empty { display: none; }
.sno-fuss { display: flex; justify-content: flex-end; }
.sno-zeige { display: flex; justify-content: center; gap: 3px; --cw: 40px; }
.sn-pick.weg { opacity: .3; transform: translateY(-12px); }
.sn-trick.nimmt-bald-sie .sn-slot, .sn-trick.nimmt-bald-tas .sn-slot { animation: none; }
@media (max-width: 640px) {
    .sno { padding: 10px; border-radius: var(--radius); }
    .sno-beste li { grid-template-columns: 24px 1fr auto; }
    .sno-bsieg { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sno-spinner { animation: none; } }

/* ---- Schnapsen: feste Maße, damit sich beim Spielen nichts verschiebt ---- */
.sn-table { grid-template-rows: auto auto auto auto; }
.sn-opp { height: calc(var(--cw) * .63 + 8px); }
.sn-hand-opp { height: calc(var(--cw) * 1.5); min-height: 0; }
.sn-mid { height: calc(var(--cw) * 2.25); min-height: 0; }
.sn-msg { height: 2.6em; min-height: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-align: center; padding-top: 0; }
.sn-hand { height: calc(var(--cw) * 1.5 + 4px); min-height: 0; align-items: flex-end; }
.sn-bar { display: grid; grid-template-columns: 1fr; gap: 6px; height: 64px; align-content: start; }
.sn-mine { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.sn-actions { justify-content: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; height: 34px; padding: 1px 2px; }
.sn-actions::-webkit-scrollbar { display: none; }
.sn-act { flex: none; white-space: nowrap; animation: none; box-shadow: 0 0 8px rgba(241, 212, 143, .35); }
.sn-pick, .sn-act, .sn-tabs button, .sno button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sn-b-seite { min-width: 0; white-space: nowrap; }
.sn-b-seite span { overflow: hidden; text-overflow: ellipsis; }
.sno-zeit { position: absolute; left: 10px; right: 10px; bottom: 74px; z-index: 3; padding: 6px 10px; border-radius: 10px; background: rgba(36, 8, 7, .85); }
.sno-fuss { height: 28px; }
.sno-body { min-height: 470px; align-content: start; }
.sn-call { max-width: 80%; }
@media (max-width: 640px) {
    .sn-b-seite strong { font-size: 1.4rem; }
    .sn-b-seite span { max-width: 9ch; font-size: .78rem; }
    .sn-b-mitte { font-size: 1.15rem; }
    .sn-act { padding: 7px 10px; font-size: .76rem; }
    .sn-msg { font-size: .8rem; }
    .sno-kopf { gap: 8px; }
    .sno-geld strong { font-size: 1.05rem; }
}

.sk-bild { background: #fff; width: calc(var(--cw) * .9); aspect-ratio: .6; border-radius: calc(var(--cw) * .07); }
.sk-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; border-radius: inherit; user-select: none; -webkit-user-drag: none; }

/* ---- Schnapsen: beide Fenster liegen übereinander – der Rahmen hat immer dieselbe Größe ---- */
.sn-panels { display: grid; }
.sn-panels > .sn-wrap, .sn-panels > .sno { grid-area: 1 / 1; min-width: 0; }
.sn-panels > .aus { visibility: hidden; pointer-events: none; }
.sno { contain: size; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.sno-body { flex: 1 1 auto; min-height: 0 !important; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(251,245,236,.25) transparent; padding-right: 2px; }
.sno-kopf, .sn-ki-kopf { height: 52px; flex: none; flex-wrap: nowrap; padding: 0 4px 10px; }
.sn-ki-kopf .sno-ich small { text-transform: capitalize; }
.sno-geld { flex: none; }
.sno-link { flex: none; }
/* Karten in der Mitte: keine Sprung-Animation mehr, das Hereingleiten macht das Script */
.sn-slot-tas, .sn-slot-sie { animation: none; }
.sn-fly { display: block; will-change: transform; }
/* Zudrehen per Klick auf Trumpf/Talon */
.sn-talon.kann-zu { cursor: pointer; }
.sn-talon.kann-zu .sn-trumpf .sk-card, .sn-talon.kann-zu .sn-stapel .sk-card { transition: transform .2s, box-shadow .2s; }
.sn-talon.kann-zu:hover .sn-trumpf .sk-card { box-shadow: 0 0 0 2px var(--chalk-gold), 0 6px 16px rgba(0, 0, 0, .45); }
.sn-talon.kann-zu:hover .sn-stapel .sk-card { transform: translate(calc(var(--i) * -2px), calc(var(--i) * -2px - 4px)); box-shadow: 0 0 0 2px var(--chalk-gold), 0 6px 16px rgba(0, 0, 0, .45); }
.sn-zu-hint { position: absolute; left: calc(var(--cw) * .05); top: calc(var(--cw) * .75); z-index: 2; padding: 3px 8px; border-radius: 99px; background: rgba(36, 8, 7, .85); color: var(--chalk-gold); font: 800 .68rem/1.2 var(--sans); letter-spacing: .04em; border: 1px solid var(--chalk-gold); opacity: .75; transition: opacity .2s, transform .2s; pointer-events: none; }
.sn-talon.kann-zu:hover .sn-zu-hint { opacity: 1; transform: scale(1.08); }
@media (max-width: 640px) { .sno-kopf, .sn-ki-kopf { height: 46px; } }

/* ---- Wer ist am Zug? ---- */
.sn-zug { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 99px; background: var(--chalk-gold); color: var(--espresso); font: 800 .66rem/1.5 var(--sans); letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; animation: sn-zug-blink 1.6s ease-in-out infinite; }
.sn-zug-ich { background: #9be39a; color: #123d1c; }
@keyframes sn-zug-blink { 50% { opacity: .55; } }
.sn-table.geg-dran .sn-opp .sn-avatar { animation: sn-puls 1.4s ease-out infinite; }
@keyframes sn-puls { 0% { box-shadow: 0 0 0 2px #e6ac3c, 0 0 0 0 rgba(241, 212, 143, .75); } 100% { box-shadow: 0 0 0 2px #e6ac3c, 0 0 0 10px rgba(241, 212, 143, 0); } }
.sn-dran .sn-me .sn-hand { filter: drop-shadow(0 0 6px rgba(155, 227, 154, .35)); }
@media (prefers-reduced-motion: reduce) { .sn-zug, .sn-table.geg-dran .sn-opp .sn-avatar { animation: none; } }

.sn-slot { transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease-in; }
.sn-pick.weg { transition: opacity .15s, transform .15s; }

/* ---- eigenes Rückfrage-Fenster statt Browser-Popup ---- */
.sn-panels { position: relative; }
.sn-modal { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; border-radius: calc(var(--radius) + 6px); background: rgba(36, 8, 7, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.sn-modal.show { opacity: 1; }
.sn-modal-box { display: grid; justify-items: center; gap: 10px; max-width: 340px; padding: 22px 22px 20px; text-align: center; border-radius: 18px; background: var(--espresso); color: var(--cream); box-shadow: 0 0 0 1px rgba(241, 212, 143, .35), 0 20px 50px rgba(0, 0, 0, .5); transform: translateY(8px) scale(.97); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.sn-modal.show .sn-modal-box { transform: none; }
.sn-modal-box .go-text { margin: 0; }
.sn-modal-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }

/* ---- keine Spielhilfe: erlaubte Karten werden nicht hervorgehoben ---- */
.sn-dran .sn-pick:not([disabled]) { cursor: pointer; }
.sn-dran .sn-pick.ok .sk-card { box-shadow: none; }
.sn-pick.nein { opacity: 1; }
.sn-dran .sn-pick:not([disabled]):hover, .sn-dran .sn-pick:not([disabled]):focus-visible { transform: translateY(-8px); }

/* ---- Karten ziehen ---- */
.sn-dran .js-hand .sn-pick:not([disabled]) { touch-action: none; cursor: grab; }
.sn-pick.zieht { position: relative; z-index: 30; transition: none !important; cursor: grabbing; }
.sn-pick.zieht .sk-card { box-shadow: 0 14px 28px rgba(0, 0, 0, .5); }
.sn-pick.zieht.drin .sk-card { box-shadow: 0 0 0 2px var(--chalk-gold), 0 14px 28px rgba(0, 0, 0, .5); }

/* ---- verdeckte Stichstapel ---- */
.sn-stiche { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: calc(var(--cw) * .25); z-index: 3; }
.sn-st { --cw: calc(var(--cw-basis, 60px) * .5); position: relative; width: calc(var(--cw) + 10px); height: calc(var(--cw) * 1.5 + 6px); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.sn-st .sk-card { position: absolute; left: 0; top: 0; width: var(--cw); transform: translate(calc(var(--i) * 3px), calc(var(--i) * 2px)) rotate(calc(var(--i) * 4deg - 4deg)); box-shadow: 0 2px 5px rgba(0, 0, 0, .4); transition: transform .2s; }
.sn-st:hover .sk-card, .sn-st:focus-visible .sk-card { transform: translate(calc(var(--i) * 3px), calc(var(--i) * 2px - 3px)) rotate(calc(var(--i) * 4deg - 4deg)); box-shadow: 0 0 0 2px var(--chalk-gold), 0 4px 10px rgba(0, 0, 0, .45); }
.sn-st b { position: absolute; right: -2px; bottom: -4px; min-width: 18px; padding: 0 4px; border-radius: 99px; background: var(--chalk-gold); color: var(--espresso); font: 800 .66rem/1.5 var(--sans); text-align: center; }
.sn-st.leer { visibility: hidden; pointer-events: none; }
.sn-st-geg { cursor: zoom-in; }
.sn-wrap, .sno { --cw-basis: clamp(48px, 15vw, 74px); }
.sn-modal-stiche { max-width: min(460px, 100%); }
.sn-stich-liste { --cw: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; max-height: 50vh; overflow-y: auto; }
.sn-stich-paar { display: flex; align-items: flex-start; gap: 3px; }
.sn-stich-paar small { align-self: center; margin-right: 2px; color: var(--chalk-gold); font-weight: 800; }
.sn-stich-paar .sk-bild { width: var(--cw); }
.sn-stich-hinweis { font-size: .8rem; opacity: .8; }

/* ---- 20er / 40er: König und Ober mit Rahmen ---- */
.sn-pick { position: relative; }
.sn-dran .sn-pick.paar .sk-card { box-shadow: 0 0 0 3px var(--chalk-gold), 0 0 14px rgba(241, 212, 143, .55), 0 6px 14px rgba(0, 0, 0, .35); }
.sn-dran .sn-pick.paar[data-paar="40"] .sk-card { box-shadow: 0 0 0 3px #ff9d5c, 0 0 16px rgba(255, 157, 92, .65), 0 6px 14px rgba(0, 0, 0, .35); }
.sn-pick.paar::after { content: attr(data-paar); position: absolute; left: 50%; top: -9px; transform: translateX(-50%); z-index: 2; padding: 0 6px; border-radius: 99px; background: var(--chalk-gold); color: var(--espresso); font: 800 .66rem/1.5 var(--sans); pointer-events: none; }
.sn-pick.paar[data-paar="40"]::after { background: #ff9d5c; }
.sn-pick:not(.paar)::after { content: none; }
.sn-wrap:not(.sn-dran) .sn-pick.paar::after, .sno:not(.sn-dran) .sn-pick.paar::after { display: none; }

/* ---- Zudrehen-Hinweis unter dem Talon ---- */
.sn-talon-info .sn-zu-hint { position: static; display: inline-block; margin-top: 3px; padding: 2px 8px; font-size: .64rem; opacity: 1; }
.sn-talon.kann-zu:hover .sn-talon-info .sn-zu-hint { transform: scale(1.06); background: var(--chalk-gold); color: var(--espresso); }

/* ---- Vollbild ---- */
.sn-voll-leiste { display: flex; justify-content: center; margin-top: 12px; }
.sn-voll-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid rgba(51, 10, 10, .25); border-radius: 99px; background: transparent; color: var(--espresso); font: 700 .86rem/1.2 var(--sans); cursor: pointer; touch-action: manipulation; }
.sn-voll-btn span { font-size: 1.05rem; }
html.sn-voll-offen, html.sn-voll-offen body { overflow: hidden; }
html.sn-voll-offen .site-header, html.sn-voll-offen header { z-index: 1; }
.sn-spalte.sn-voll { position: fixed; inset: 0; z-index: 10000; margin: 0; width: auto; max-width: none; display: flex; flex-direction: column; justify-content: center; overflow: auto; opacity: 1; transform: none; transition: none;
  background: radial-gradient(ellipse at 50% 30%, #3a0f0c, #160403 75%);
  padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.sn-spalte.sn-voll:fullscreen { background: radial-gradient(ellipse at 50% 30%, #3a0f0c, #160403 75%); }
.sn-voll .sn-tabs, .sn-voll .sn-panels { width: 100%; max-width: 640px; margin-left: auto; margin-right: auto; }
.sn-voll .sn-tabs button { background: rgba(251, 245, 236, .1); color: var(--cream); }
.sn-voll .sn-tabs button.active { background: var(--espresso); }
.sn-voll .sn-wrap, .sn-voll .sno { max-width: none; --cw: clamp(40px, min(15vw, 90px, calc((100dvh - 330px) / 4.4)), 90px); --cw-basis: var(--cw); }
.sn-voll .sn-voll-leiste { margin-top: 8px; }
.sn-voll .sn-voll-btn { color: var(--cream); border-color: rgba(251, 245, 236, .3); padding: 6px 12px; font-size: .78rem; }

/* Querformat im Vollbild: Kopf und Bummerl-Stand links, Spieltisch rechts */
@media (orientation: landscape) and (max-height: 620px) {
  .sn-voll { justify-content: flex-start; }
  .sn-voll .sn-tabs, .sn-voll .sn-panels { max-width: 980px; }
  .sn-voll .sn-tabs { margin-bottom: 6px; }
  .sn-voll .sn-tabs button { padding: 6px 12px; font-size: .8rem; }
  .sn-voll .sn-wrap, .sn-voll .sno { --cw: clamp(34px, min(10vw, calc((100dvh - 250px) / 4.4)), 80px); padding: 8px 10px; }
  .sn-voll .sn-wrap { display: grid; grid-template-columns: minmax(150px, 24%) 1fr; grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; }
  .sn-voll .sn-wrap > .sn-ki-kopf { grid-column: 1; grid-row: 1; }
  .sn-voll .sn-wrap > .sn-bummerl { grid-column: 1; grid-row: 2; }
  .sn-voll .sn-wrap > .sn-table { grid-column: 2; grid-row: 1 / span 2; }
  .sn-voll .sno { display: grid; grid-template-columns: minmax(150px, 24%) 1fr; grid-template-rows: auto 1fr; column-gap: 12px; align-content: start; }
  .sn-voll .sno > .sno-kopf { grid-column: 1 / -1; }
  .sn-voll .sno > .sno-body { grid-column: 1 / -1; }
  .sn-voll .sno:has(.sn-table) > .sno-kopf { grid-column: 1; grid-row: 1; }
  .sn-voll .sno-body:has(> .sn-table) { display: contents; }
  .sn-voll .sno-body > .sn-bummerl { grid-column: 1; grid-row: 2; align-self: start; }
  .sn-voll .sno-body > .sn-table { grid-column: 2; grid-row: 1 / span 2; }
  .sn-voll .sn-ki-kopf, .sn-voll .sno:has(.sn-table) > .sno-kopf { height: auto; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
  .sn-voll .sn-bummerl { grid-template-columns: 1fr 1fr; row-gap: 4px; padding: 4px 0; }
  .sn-voll .sn-bummerl .sn-b-mitte { grid-column: 1 / -1; grid-row: 1; }
  .sn-voll .sn-voll-leiste { position: fixed; left: max(14px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); margin: 0; z-index: 5; }
}
html.sn-voll-offen .to-top { display: none; }
@media (orientation: landscape) and (max-height: 620px) {
  .sn-voll .sn-wrap, .sn-voll .sno { --cw: clamp(34px, min(10vw, calc((100dvh - 205px) / 4.4)), 80px); }
  .sn-voll .sn-ki-kopf, .sn-voll .sno:has(.sn-table) > .sno-kopf { flex-direction: column; align-items: flex-start; }
  .sn-voll .sn-ki-kopf .sno-link, .sn-voll .sno-kopf .sno-link { margin-left: 0; position: static; }
  .sn-voll .sn-table { gap: 4px; padding: 6px 8px; }
  .sn-voll .sn-msg { height: 1.4em; -webkit-line-clamp: 1; font-size: .78rem; }
  .sn-voll .sn-bar { grid-template-columns: auto 1fr; height: 32px; align-items: center; }
  .sn-voll .sn-actions { justify-content: flex-end; }
}

/* ---- Stichstapel: quer liegend, beim Gegner neben dem Namen, eigene rechts unten ---- */
.sn-st { --cw: calc(var(--cw-basis, 60px) * .46); width: calc(var(--cw) * 1.5 + 14px); height: calc(var(--cw) + 10px); flex: none; }
.sn-st .sk-card { left: calc(var(--cw) * .25 + 5px); top: calc(5px - var(--cw) * .25); transform: rotate(90deg) translate(calc(var(--i) * -2px), calc(var(--i) * -3px)); }
.sn-st:hover .sk-card, .sn-st:focus-visible .sk-card { transform: rotate(90deg) translate(calc(var(--i) * -2px - 3px), calc(var(--i) * -3px)); }
.sn-st b { right: -4px; bottom: -6px; }
.sn-opp .sn-st-geg { margin-right: auto; margin-left: 4px; }
.sn-me { position: relative; }
.sn-me > .sn-st-ich { position: absolute; right: 2px; bottom: 6px; z-index: 3; }

/* ---- Vollbild: Kartengröße wird per Script eingepasst ---- */
.sn-spalte.sn-voll { justify-content: safe center; }
.sn-spalte.sn-voll .sn-wrap, .sn-spalte.sn-voll .sno { --cw: var(--cw-voll, 52px); --cw-basis: var(--cw-voll, 52px); }
.sn-spalte.sn-voll .sn-hand-opp { --cw: calc(var(--cw-voll, 52px) * .58); }
.sn-spalte.sn-voll .sn-tabs, .sn-spalte.sn-voll .sn-panels { max-width: none; }
.sn-spalte.sn-voll .sn-panels { width: fit-content; min-width: min(100%, 360px); max-width: 100%; margin-left: auto; margin-right: auto; }
.sn-spalte.sn-voll .sn-tabs { width: auto; max-width: 560px; }
@media (orientation: landscape) and (max-height: 620px) {
  .sn-spalte.sn-voll .sn-panels { width: 100%; }
  .sn-spalte.sn-voll .sn-tabs { margin-bottom: 4px; }
  .sn-spalte.sn-voll .sn-tabs button { padding: 5px 10px; }
  .sn-spalte.sn-voll .sn-wrap, .sn-spalte.sn-voll .sno { padding: 6px 8px; }
  .sn-spalte.sn-voll .sn-wrap { grid-template-columns: minmax(130px, 20%) 1fr; }
}

.sn-spalte.sn-voll .sn-panels { width: 100%; max-width: 980px; min-width: 0; }
.sn-spalte.sn-voll .sn-tabs { width: 100%; max-width: 980px; }

/* Vollbild: deckend und ganz oben */
.sn-spalte.sn-voll { z-index: 2147483000; isolation: isolate; background-color: #160403; }
/* Platz für den eigenen Stichstapel rechts unten freihalten – Knöpfe rutschen nicht darunter */
.sn-me > .sn-bar .sn-actions { padding-right: calc(var(--cw-basis, 60px) * .69 + 22px); }

/* ---- „Spielen“-Knopf in der Menüleiste ---- */
.nav-spiele { position: relative; margin-left: 6px; }
.site-nav a.nav-spielen { display: inline-flex; align-items: center; gap: 6px; padding: .45em 1em; border: 2px solid var(--bordeaux); color: var(--bordeaux); }
.site-nav a.nav-spielen::after { content: none; }
.site-nav a.nav-spielen:hover { background: var(--bordeaux); color: var(--cream); }
.nav-spielen svg, .hdr-spielen svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-spielen svg .f, .hdr-spielen svg .f { fill: currentColor; stroke: none; }
.nav-spiele-menu { position: absolute; right: 0; top: calc(100% + 4px); min-width: 190px; display: grid; padding: 6px; border-radius: 14px; background: var(--cream); box-shadow: 0 12px 30px rgba(36, 8, 7, .18); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.nav-spiele:hover .nav-spiele-menu, .nav-spiele:focus-within .nav-spiele-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .nav-spiele-menu a { padding: .5em .8em; border-radius: 10px; font-size: .9rem; }
.site-nav .nav-spiele-menu a::after { content: none; }
.site-nav .nav-spiele-menu a:hover { background: rgba(122, 28, 22, .08); }
.hdr-spielen { display: none; }
@media (max-width: 1200px) {
    .hdr-spielen { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 10px; padding: 7px 14px; border-radius: 999px; background: var(--bordeaux); color: var(--cream); font: 700 .9rem/1 var(--sans); text-decoration: none; position: relative; z-index: 2; box-shadow: 0 4px 12px rgba(122, 28, 22, .25); }
    .nav-open .hdr-spielen { visibility: hidden; }
    .nav-spiele { margin: 8px 0 0; display: grid; justify-items: center; gap: 2px; }
    .site-nav a.nav-spielen { border-color: var(--oak); color: var(--cream); font-size: clamp(1.3rem, 4.5vw, 1.7rem); }
    .nav-spiele-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; min-width: 0; padding: 0; justify-items: center; }
    .site-nav .nav-spiele-menu a { font-size: 1rem; font-family: var(--sans); opacity: .8; padding: .3em .8em; }
}
@media (max-width: 340px) { .hdr-spielen span { display: none; } .hdr-spielen { padding: 8px 10px; } }
/* ---- Handy: Karten so groß, dass fünf Handkarten die Breite ausfüllen ---- */
@media (max-width: 640px) {
    .sn-wrap, .sno { --cw: clamp(48px, calc((100vw - 82px) / 5), 74px); --cw-basis: var(--cw); }
    .sn-spalte[data-kartenbilder] .sn-wrap, .sn-spalte[data-kartenbilder] .sno { --cw: clamp(48px, calc((100vw - 82px) / 4.5), 80px); }
}
.site-nav .btn { white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1440px) { .site-nav a:not(.btn) { padding: .5em .6em; font-size: .9rem; } .site-nav a:not(.btn)::after { left: .6em; right: .6em; } .nav-spiele { margin-left: 2px; } }

/* Ausgespielte Karten in der Mitte des ganzen Tisches (nicht nur der Spalte neben dem Talon) */
.sn-mid > .sn-trick { position: static; }
.sn-mid > .sn-trick .sn-slot { z-index: 2; }
/* … aber nie über den Talon schieben (schmale Handys) */
.sn-mid > .sn-trick .sn-slot { left: max(50%, calc(var(--cw) * 2.75 + 6px)); }

/* Karten ziehen am Handy: der Browser darf beim Wischen über die eigenen Karten nicht scrollen,
   sonst bricht er die Geste ab (pointercancel) – außerdem kein Markieren / iOS-Kontextmenü */
.sn-dran .js-hand .sn-pick { touch-action: none; }
.js-hand .sn-pick, .js-hand .sn-pick * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* Karten ruhiger gleiten lassen statt springen */
.sn-slot { transition: transform .8s cubic-bezier(.4,0,.2,1), opacity .8s ease-in; }
.sn-pick { transition: transform .3s cubic-bezier(.25,.6,.3,1); }
.sn-pick.zieht { transition: none; }
.sn-pick.weg { transition: opacity .35s, transform .35s; }

/* Ende eines Bummerls: Zusatzknöpfe */
.sn-end-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.sn-end-btns .btn { padding: .5em 1.1em; font-size: .9rem; }

/* Ausgeblendeter Reiter: auch dessen Hinweisfenster (Ende, Rückfragen) ausblenden – sonst liegen sie über dem anderen Reiter */
.sn-panels > .aus .show, .sn-panels > .aus .sn-modal, .sn-panels > .aus .sn-konfetti { visibility: hidden !important; pointer-events: none !important; }
.sn-panels > .aus .show, .sn-panels > .aus .game-overlay, .sn-panels > .aus .sn-konfetti { transition: none !important; opacity: 0 !important; }
.sn-panels > .aus { transition: none !important; }

/* ---- Schnapsen im eigenen Fenster (kartenspiel.php) ---- */
.sn-voll-leiste { gap: 8px; flex-wrap: wrap; }
.sn-voll .js-fenster { display: none; }
body.sn-fenster-seite { margin: 0; min-height: 100vh; background: #160403; }

/* ---- Wählbare Optik: Spieltisch (data-tisch) und Kartenrückseite (data-ruecken) an .sn-spalte ---- */
.sn-spalte[data-tisch="nuss"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="nuss"] .sn-table {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.08 0 0 0 0 0.03 1.7 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") 0 0 / 640px 420px,
        radial-gradient(ellipse at 50% 38%, rgba(255, 214, 160, .16) 0%, transparent 65%),
        linear-gradient(180deg, #7a4a28 0%, #6a3d20 55%, #5a3219 100%);
    box-shadow: inset 0 0 0 3px #3c2412, inset 0 0 0 5px rgba(255, 220, 170, .14), inset 0 0 46px rgba(0, 0, 0, .5); }
.sn-spalte[data-tisch="eiche"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="eiche"] .sn-table {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.30 0 0 0 0 0.17 0 0 0 0 0.06 1.3 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") 0 0 / 640px 420px,
        radial-gradient(ellipse at 50% 38%, rgba(255, 230, 180, .2) 0%, transparent 65%),
        linear-gradient(180deg, #a87445 0%, #956336 55%, #80522a 100%);
    box-shadow: inset 0 0 0 3px #5a3a1c, inset 0 0 0 5px rgba(255, 235, 200, .18), inset 0 0 46px rgba(40, 20, 5, .45); }
.sn-spalte[data-tisch="samt"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="samt"] .sn-table {
    background: radial-gradient(ellipse at 50% 40%, #8a2630 0%, #5e1720 60%, #3f0d14 100%);
    box-shadow: inset 0 0 0 3px #9a6a34, inset 0 0 0 6px #4a2a16, inset 0 0 44px rgba(0, 0, 0, .5); }
.sn-spalte[data-tisch="nuss"] :is(.sn-who small, .sn-talon-info, .sn-mine),
.sn-spalte[data-tisch="eiche"] :is(.sn-who small, .sn-talon-info, .sn-mine),
.sn-spalte[data-tisch="samt"] :is(.sn-who small, .sn-talon-info, .sn-mine) { color: #f3e2c8; }
.sn-spalte[data-tisch="eiche"] .sn-table, .sn-optik-wahl .sn-mini-tisch.sn-spalte[data-tisch="eiche"] .sn-table { text-shadow: 0 1px 2px rgba(40, 20, 5, .6); }

.sn-spalte[data-ruecken="gruen"] .sk-back, .sn-optik-wahl .sn-mini-karte[data-ruecken="gruen"] .sk-back { background: repeating-linear-gradient(45deg, #1e5a3a 0 4px, #24694a 4px 8px); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 0 0 2px #fbf5ec, inset 0 0 0 4px #24694a; }
.sn-spalte[data-ruecken="blau"] .sk-back, .sn-optik-wahl .sn-mini-karte[data-ruecken="blau"] .sk-back { background: repeating-linear-gradient(45deg, #1c3a6b 0 4px, #24467e 4px 8px); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 0 0 2px #fbf5ec, inset 0 0 0 4px #24467e; }
.sn-spalte[data-ruecken="blau"] .sk-back-t, .sn-optik-wahl .sn-mini-karte[data-ruecken="blau"] .sk-back-t { color: #1c3a6b; }
.sn-spalte[data-ruecken="gruen"] .sk-back-t, .sn-optik-wahl .sn-mini-karte[data-ruecken="gruen"] .sk-back-t { color: #1e5a3a; }
.sn-spalte[data-ruecken="schwarz"] .sk-back, .sn-optik-wahl .sn-mini-karte[data-ruecken="schwarz"] .sk-back { background: repeating-linear-gradient(45deg, #1b1714 0 4px, #29231e 4px 8px); box-shadow: 0 3px 8px rgba(0, 0, 0, .4), inset 0 0 0 2px #d9b15e, inset 0 0 0 4px #29231e; }
.sn-spalte[data-ruecken="schwarz"] .sk-back-t, .sn-optik-wahl .sn-mini-karte[data-ruecken="schwarz"] .sk-back-t { box-shadow: 0 0 0 2px #d9b15e; color: #2a1d10; }

/* Auswahlfenster „Optik“ */
.sn-optik-gruppe { margin: 6px 0 14px; text-align: left; }
.sn-optik-gruppe h4 { margin: 0 0 8px; font: 700 .85rem/1.2 var(--sans); color: var(--cream); opacity: .85; }
.sn-optik-wahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sn-optik-wahl button { display: grid; justify-items: center; gap: 5px; padding: 6px 4px; border: 2px solid transparent; border-radius: 12px; background: rgba(251, 245, 236, .06); color: var(--cream); font: 600 .72rem/1.2 var(--sans); cursor: pointer; }
.sn-optik-wahl button[aria-pressed="true"] { border-color: #e6ac3c; background: rgba(230, 172, 60, .12); }
.sn-optik-wahl .sn-mini-tisch { width: 100%; aspect-ratio: 1.5; border-radius: 8px; }
.sn-optik-wahl .sn-mini-tisch .sn-table { position: static; display: block; height: 100%; padding: 0; min-height: 0; }
.sn-optik-wahl .sn-mini-karte { --cw: 34px; }
.sn-optik-wahl .sn-mini-karte .sk-card { position: relative; }
/* Vorschau „Grüner Filz“ / „Rot“ unabhängig von der gerade gewählten Optik */
.sn-optik-wahl .sn-mini-tisch[data-tisch="filz"] .sn-table { background: radial-gradient(ellipse at 50% 40%, #2d6a4c 0%, #1f4d37 60%, #163828 100%); box-shadow: inset 0 0 0 3px #8a5a2b, inset 0 0 0 6px #5b3a1d, inset 0 0 40px rgba(0, 0, 0, .45); }
.sn-optik-wahl .sn-mini-karte[data-ruecken="rot"] .sk-back { background: repeating-linear-gradient(45deg, #8a231e 0 4px, #9b2a24 4px 8px); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 0 0 2px #fbf5ec, inset 0 0 0 4px #9b2a24; }
.sn-optik-wahl .sn-mini-karte[data-ruecken="rot"] .sk-back-t { color: #5a1410; box-shadow: 0 0 0 2px #fbf5ec; }

/* Ansage des Gegners: groß und mittig über dem Tisch */
.sn-call { left: 50%; right: auto; top: 2px; max-width: 92%; width: max-content; padding: 10px 18px; border: 2px solid #e6ac3c; border-radius: 16px; font: 800 clamp(1rem, 3vw, 1.25rem)/1.25 var(--sans); text-align: center; z-index: 6; transform: translate(-50%, -8px) scale(.9); box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.sn-call.show { transform: translate(-50%, 0) scale(1); animation: sn-call-pop .5s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes sn-call-pop { from { transform: translate(-50%, -8px) scale(.7); } }
/* Zugedreht: die umgedrehte Trumpfkarte liegt quer OBEN auf dem Talon */
.sn-trumpf.zu { left: calc(var(--cw) * .35); top: calc(var(--cw) * .2); z-index: 3; }
.sn-trumpf.zu { filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .45)); }   /* Schatten ohne den weißen Kartenrand zu überschreiben */

/* ---- Rustikale Tische: Holzdielen mit Fugen, Ästen und Nägeln, rundum ein Holzrahmen ---- */
.sn-spalte[data-tisch] .sn-table, .sn-optik-wahl .sn-mini-tisch .sn-table { border: 10px solid transparent; }
.sn-optik-wahl .sn-mini-tisch .sn-table { border-width: 5px; }
.sn-spalte[data-tisch="nuss"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="nuss"] .sn-table {
    background: radial-gradient(ellipse at 50% 38%, rgba(255, 210, 150, .14) 0%, transparent 60%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px padding-box,
        linear-gradient(180deg, #74462a 0%, #623a20 55%, #4f2d17 100%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px border-box,
        linear-gradient(#3b2311, #2a180b) border-box;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 2px 0 1px rgba(255, 220, 170, .1), inset 0 0 70px rgba(10, 4, 0, .62), 0 2px 0 rgba(255, 255, 255, .04); }
.sn-spalte[data-tisch="eiche"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="eiche"] .sn-table {
    background: radial-gradient(ellipse at 50% 38%, rgba(255, 228, 175, .18) 0%, transparent 60%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px padding-box,
        linear-gradient(180deg, #a3703f 0%, #8e5f33 55%, #774c27 100%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px border-box,
        linear-gradient(#5a3a1c, #432a13) border-box;
    box-shadow: inset 0 0 0 1px rgba(30, 15, 4, .7), inset 0 2px 0 1px rgba(255, 235, 200, .12), inset 0 0 70px rgba(30, 14, 3, .55); }
.sn-spalte[data-tisch="filz"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="filz"] .sn-table {
    background: radial-gradient(ellipse at 50% 40%, #2d6a4c 0%, #1f4d37 60%, #143222 100%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px border-box,
        linear-gradient(#5e3720, #432612) border-box;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .65), inset 0 3px 6px rgba(0, 0, 0, .45), inset 0 0 50px rgba(0, 0, 0, .45); }
.sn-spalte[data-tisch="samt"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="samt"] .sn-table {
    background: radial-gradient(ellipse at 50% 40%, #8a2630 0%, #5e1720 60%, #3a0b12 100%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px border-box,
        linear-gradient(#5e3720, #432612) border-box;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .65), inset 0 3px 6px rgba(0, 0, 0, .45), inset 0 0 50px rgba(0, 0, 0, .5); }
/* Partie „auf 2 Bummerl“ unter der Bummerl-Anzeige */
.sn-partie { display: block; margin-top: 3px; font: 700 .68rem/1.2 var(--sans); color: #e6c37a; letter-spacing: .02em; }
.sn-partie[hidden] { display: none; }

/* Holztische wie eine lackierte Tischplatte: Licht der Lampe in der Mitte, Glanz, dunkle Kanten */
.sn-spalte[data-tisch="nuss"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="nuss"] .sn-table {
    background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 226, 170, .2), transparent 70%) padding-box, linear-gradient(115deg, transparent 30%, rgba(255, 240, 210, .07) 45%, transparent 60%) padding-box, url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px padding-box, linear-gradient(180deg, #74462a 0%, #623a20 55%, #4f2d17 100%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px border-box, linear-gradient(#3b2311, #2a180b) border-box;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 2px 0 1px rgba(255, 220, 170, .1), inset 0 0 80px rgba(8, 3, 0, .6); }
.sn-spalte[data-tisch="eiche"] .sn-table, .sn-optik-wahl .sn-mini-tisch[data-tisch="eiche"] .sn-table {
    background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 226, 170, .2), transparent 70%) padding-box, linear-gradient(115deg, transparent 30%, rgba(255, 240, 210, .07) 45%, transparent 60%) padding-box, url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px padding-box, linear-gradient(180deg, #a3703f 0%, #8e5f33 55%, #774c27 100%) padding-box,
        url("../img/tisch-holz.svg?v=2") 0 0 / 760px 422px border-box, linear-gradient(#5a3a1c, #432a13) border-box;
    box-shadow: inset 0 0 0 1px rgba(30, 15, 4, .7), inset 0 2px 0 1px rgba(255, 235, 200, .12), inset 0 0 80px rgba(30, 14, 3, .55); }
/* Optik-Vorschau: alle vier Kästchen gleich groß und sauber eingepasst */
.sn-optik-wahl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sn-optik-wahl button { min-width: 0; align-content: start; }
.sn-optik-wahl .sn-mini-tisch { display: block; width: 100%; aspect-ratio: 1.5; overflow: hidden; border-radius: 8px; }
.sn-optik-wahl .sn-mini-tisch .sn-table { width: 100%; height: 100%; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 14px rgba(0, 0, 0, .45) !important; }

/* ---- Handy: Holzrahmen schmaler und Karten exakt eingepasst (Rahmen + Innenabstand mitgerechnet) ---- */
@media (max-width: 640px) {
    .sn-spalte[data-tisch] .sn-table { border-width: 7px; }
    .sn-wrap, .sno { --cw: clamp(44px, calc((100vw - 112px) / 5), 74px); --cw-basis: var(--cw); }
    .sn-spalte[data-kartenbilder] .sn-wrap, .sn-spalte[data-kartenbilder] .sno { --cw: clamp(44px, calc((100vw - 112px) / 4.5), 80px); }
    .sn-hand-opp { --cw: clamp(26px, 7vw, 40px); }
}
/* Vollbild: die eingepasste Kartengröße hat immer Vorrang vor der Handy-Formel */
.sn-spalte.sn-voll .sn-wrap, .sn-spalte.sn-voll .sno,
.sn-spalte.sn-voll[data-kartenbilder] .sn-wrap, .sn-spalte.sn-voll[data-kartenbilder] .sno { --cw: var(--cw-voll, 52px); --cw-basis: var(--cw-voll, 52px); }
/* Querformat-Vollbild: Knöpfe links unten untereinander, damit sie nichts am Tisch überdecken */
@media (orientation: landscape) and (max-height: 620px) {
  .sn-voll .sn-voll-leiste { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---- Querformat-Vollbild: mehr Höhe für größere Karten ----
   Reiter in die linke Spalte, Punkte/Knöpfe neben die Hand, Meldung über den Tisch, schmalerer Rahmen */
@media (orientation: landscape) and (max-height: 620px) {
  .sn-spalte.sn-voll .sn-tabs { position: fixed; left: max(14px, env(safe-area-inset-left)); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 82px); width: clamp(136px, calc(24vw - 24px), 210px); margin: 0; z-index: 5; display: grid; grid-template-columns: 1fr; gap: 4px; padding: 3px; }
  .sn-spalte.sn-voll .sn-tabs button { padding: 5px 8px; font-size: .74rem; }
  .sn-spalte.sn-voll .sn-table { border-width: 6px; padding: 4px 8px; gap: 2px; }
  .sn-spalte.sn-voll .sn-opp { padding-top: 0; }
  .sn-spalte.sn-voll .sn-msg { position: relative; z-index: 2; margin-top: -1.5em; padding-left: calc(var(--cw) * 2.1); pointer-events: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
  .sn-spalte.sn-voll .sn-me { grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 12px; }
  .sn-spalte.sn-voll .sn-me > .sn-bar { height: auto; grid-template-columns: 1fr; align-content: end; padding-bottom: 4px; }
  .sn-spalte.sn-voll .sn-me > .sn-bar .sn-mine { text-align: left; white-space: normal; }
  .sn-spalte.sn-voll .sn-me > .sn-bar .sn-actions { justify-content: flex-start; flex-wrap: wrap; height: auto; padding-right: calc(var(--cw-basis, 60px) * .69 + 14px); }
}
@media (orientation: landscape) and (max-height: 620px) {
  .sn-spalte.sn-voll .sn-tabs button.active { box-shadow: inset 0 0 0 1.5px #e6ac3c; }
}
@media (orientation: landscape) and (max-height: 620px) {
  /* Meldung rechts neben dem Stich (nicht darunter) */
  .sn-spalte.sn-voll .sn-msg { justify-self: end; width: 30%; height: 2.7em; margin-top: -2.9em; padding: 0 2px 0 0; text-align: right; -webkit-line-clamp: 2; place-items: center end; }
}
.sn-table > .game-overlay { z-index: 4; }

/* Touch-Geräte: kein „Anheben“ von Handkarten (Hover bleibt nach dem Antippen hängen und wirkt wie ein Spielvorschlag) */
@media (hover: none), (pointer: coarse) {
    .sn-dran .sn-pick:not([disabled]):hover, .sn-dran .sn-pick.ok:hover,
    .sn-dran .sn-pick:not([disabled]):focus-visible, .sn-dran .sn-pick.ok:focus-visible { transform: none; }
    .sn-pick:focus-visible { outline: none; }
}
@media (orientation: landscape) and (max-height: 620px) {
  /* eigener Stichstapel rechts unten: Punkte-Text und Knöpfe halten Abstand */
  .sn-spalte.sn-voll .sn-me > .sn-bar { padding-right: calc(var(--cw-basis, 60px) * .69 + 24px); }
  .sn-spalte.sn-voll .sn-me > .sn-bar .sn-actions { padding-right: 0; }
}

/* ---- Schnapsturniere in der Lobby ---- */
.sno-turniere { border: 1.5px solid rgba(230, 172, 60, .45); }
.sno-turnier + .sno-turnier { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(251, 245, 236, .12); }
.sno-tu-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.sno-tu-status { flex: none; padding: 2px 9px; border-radius: 99px; font: 700 .7rem/1.4 var(--sans); background: rgba(251, 245, 236, .12); }
.sno-tu-status.s-anmeldung { background: #e6ac3c; color: var(--espresso); }
.sno-tu-status.s-laeuft { background: #43913c; color: #fff; }
.sno-tu-namen { font-size: .8rem; opacity: .85; margin: 4px 0 8px; }
.sno-tu-mein { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; padding: 8px 10px; border-radius: 12px; background: rgba(230, 172, 60, .14); }
.sno-tu-baum { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: thin; }
.sno-tu-runde { flex: none; min-width: 120px; display: flex; flex-direction: column; justify-content: space-around; gap: 6px; }
.sno-tu-runde > b { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.sno-tu-spiel { display: grid; border-radius: 8px; background: rgba(251, 245, 236, .07); overflow: hidden; font-size: .8rem; }
.sno-tu-spiel span { padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sno-tu-spiel span + span { border-top: 1px solid rgba(251, 245, 236, .08); }
.sno-tu-spiel .sieg { font-weight: 800; color: #f1d48f; }
.sno-tu-spiel .raus { opacity: .5; text-decoration: line-through; }
.sno-tu-spiel .frei { opacity: .45; font-style: italic; }

.sno-tu-geld { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 8px; font-size: .84rem; }
.sno-tu-geld strong { color: #f1d48f; }
.sno-tu-geld .sno-m { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }

/* ---- Turnier-Leiste ganz oben ---- */
.turnier-leiste { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 16px; background: linear-gradient(90deg, #c8952f, #e6ac3c 50%, #c8952f); color: var(--espresso); font: 600 .88rem/1.3 var(--sans); text-decoration: none; position: relative; z-index: 101; }
.turnier-leiste:hover .tl-knopf { background: var(--espresso); color: #f1d48f; }
.tl-pokal { font-size: 1.1rem; }
.tl-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-knopf { flex: none; padding: 3px 12px; border-radius: 99px; background: rgba(51, 10, 10, .12); font-weight: 800; transition: background .2s, color .2s; }
@media (max-width: 720px) { .tl-zeit, .tl-ort { display: none; } .turnier-leiste { justify-content: space-between; font-size: .8rem; padding: 6px 12px; } }
@media (max-width: 380px) { .tl-pokal { display: none; } }
html.sn-voll-offen .turnier-leiste { display: none; }

.sno-turniere.blink { animation: sno-blink 1.5s ease-out; }
@keyframes sno-blink { 0%, 40% { box-shadow: 0 0 0 3px #e6ac3c, 0 0 24px rgba(230, 172, 60, .6); } 100% { box-shadow: none; } }

/* Hinweis: Schnapsen auf zudrehen.at */
.zd-hinweis { background: radial-gradient(ellipse at 20% 0%, #4a1712 0%, #2a0a08 60%, #1e0806 100%); color: var(--cream); }
.zd-box { display: flex; align-items: center; gap: 28px; padding: 30px 34px; border-radius: 24px; border: 1px solid rgba(226, 176, 74, .35); background: rgba(255, 255, 255, .04); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.zd-marke { flex: none; width: 110px; height: 110px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); transition: transform .6s cubic-bezier(.3, .7, .3, 1); }
.zd-box:hover .zd-marke { transform: rotate(-25deg); }
.zd-box-text { flex: 1; min-width: 0; }
.zd-box-text .eyebrow { color: #e2b04a; }
.zd-box-text h2 { margin: 4px 0 10px; color: var(--cream); }
.zd-box-text h2 em { color: #e2b04a; }
.zd-box-text p:last-child { margin: 0; color: rgba(251, 245, 236, .82); }
.zd-btn { flex: none; white-space: nowrap; }
@media (max-width: 760px) {
  .zd-box { flex-direction: column; text-align: center; gap: 18px; padding: 26px 20px; }
  .zd-marke { width: 86px; height: 86px; }
  .zd-btn { width: 100%; white-space: normal; }
}
