/* Tonstation · September 2026
   Shared design for the static Tonstation pages.
   No external fonts or tracking. Loaded after the existing styles. */

:root {
    --ts-bg: #111315;
    --ts-bg-soft: #1a1d20;
    --ts-card: #1a1d20;
    --ts-text: #f6f4ef;
    --ts-muted: #b9bdc1;
    /* Original Tonstation red restored for labels, links and controls. */
    --ts-accent: #d73a42;
    --ts-accent-city: var(--ts-accent);
    --ts-accent-dark: #b52c33;
    --ts-accent-readable: #ef6975;
    --ts-button-red: #d73a42;
    --ts-hero-arrow: #8f3147;
    --ts-line: #34383c;
    --ts-paper: #1a1d20;
    --ts-max: 1200px;
    --ts-desktop-width: 1200px;
    color-scheme: dark;
}

html { scroll-padding-top: 88px; }
@media (min-width: 900px) {
    /* Keep centered page grids visually centered even while the page scrolls. */
    html { scrollbar-gutter: stable both-edges; }
}
body { background: var(--ts-bg); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
a { text-underline-offset: .22em; }
.page a:focus-visible, .ts-navbar a:focus-visible, .ts-mobile-menu summary:focus-visible,
.ts-footer a:focus-visible {
    outline: 3px solid var(--ts-accent) !important;
    outline-offset: 5px;
}

/* Navigation stays usable before eight desktop links become cramped. */
.ts-navbar { background: #111315; border-bottom: 1px solid var(--ts-line); }
.ts-nav-inner {
    width: min(1200px, calc(100% - 48px));
    min-height: 88px;
    gap: 28px;
}
.ts-logo { flex-shrink: 0; }
/* Logo colours are baked into the asset, including the unchanged original red. */
.ts-logo img { width: 176px; height: auto; }
.ts-nav { gap: 21px; align-items: center; }
.ts-nav a { font-size: 14px; line-height: 1.5; color: var(--ts-muted); white-space: nowrap; }
.ts-nav a[aria-current="page"] { color: var(--ts-text); }
.ts-nav a.is-desktop-current,
.ts-nav a[aria-current="page"] {
    position: relative;
    color: var(--ts-text);
    text-decoration: none;
}
/* F1 brush accents: each active top-level item gets a related, slightly curved stroke. */
.ts-nav a.is-desktop-current:nth-child(1)::after,
.ts-nav a[aria-current="page"]:nth-child(1)::after,
.ts-nav a.is-desktop-current:nth-child(2)::after,
.ts-nav a[aria-current="page"]:nth-child(2)::after,
.ts-nav a.is-desktop-current:nth-child(3)::after,
.ts-nav a[aria-current="page"]:nth-child(3)::after,
.ts-nav a.is-desktop-current:nth-child(4)::after,
.ts-nav a[aria-current="page"]:nth-child(4)::after,
.ts-nav a.is-desktop-current:nth-child(5)::after,
.ts-nav a[aria-current="page"]:nth-child(5)::after,
.ts-nav a.is-desktop-current:nth-child(6)::after,
.ts-nav a[aria-current="page"]:nth-child(6)::after {
    position: absolute;
    bottom: -5px;
    left: 50%;
    display: block;
    width: 70%;
    height: 3px;
    content: "";
    border-radius: 100%;
    background: linear-gradient(90deg, var(--ts-accent-dark), #ed4b57 50%, var(--ts-accent-dark));
    box-shadow: 0 2px 8px #d73a4252;
    clip-path: polygon(0 58%, 14% 42%, 28% 52%, 44% 26%, 60% 40%, 77% 22%, 100% 42%, 94% 78%, 78% 62%, 61% 90%, 44% 67%, 27% 86%, 10% 66%);
    transform: translateX(-50%) rotate(-.8deg);
}
.ts-nav a.is-desktop-current:nth-child(2)::after,
.ts-nav a[aria-current="page"]:nth-child(2)::after { transform: translateX(-50%) rotate(-1.4deg); width: 76%; }
.ts-nav a.is-desktop-current:nth-child(3)::after,
.ts-nav a[aria-current="page"]:nth-child(3)::after { transform: translateX(-50%) rotate(.2deg); width: 64%; height: 2px; }
.ts-nav a.is-desktop-current:nth-child(4)::after,
.ts-nav a[aria-current="page"]:nth-child(4)::after { transform: translateX(-50%) rotate(-1.8deg); width: 78%; }
.ts-nav a.is-desktop-current:nth-child(5)::after,
.ts-nav a[aria-current="page"]:nth-child(5)::after { transform: translateX(-50%) rotate(.6deg); width: 72%; }
.ts-nav a.is-desktop-current:nth-child(6)::after,
.ts-nav a[aria-current="page"]:nth-child(6)::after { transform: translateX(-50%) rotate(1.1deg); width: 70%; }

/* A hash navigation state must replace the page state, never stack on top of it. */
body:has(#proberaeume:target) .ts-nav a.is-desktop-current:first-child::after,
body:has(#proberaeume:target) .ts-nav a[aria-current="page"]:first-child::after,
body:has(#music-lessons:target) .ts-nav a.is-desktop-current:first-child::after,
body:has(#music-lessons:target) .ts-nav a[aria-current="page"]:first-child::after {
    display: none;
}
body:has(#proberaeume:target) .ts-nav a[aria-current="page"]:first-child,
body:has(#music-lessons:target) .ts-nav a[aria-current="page"]:first-child {
    color: var(--ts-muted);
}
body:has(#proberaeume:target) .ts-nav a[href*="#proberaeume"],
body:has(#music-lessons:target) .ts-nav a[href*="#music-lessons"] {
    position: relative;
    color: var(--ts-text);
}
body:has(#proberaeume:target) .ts-nav a[href*="#proberaeume"]::after,
body:has(#music-lessons:target) .ts-nav a[href*="#music-lessons"]::after {
    position: absolute;
    bottom: -5px;
    left: 50%;
    display: block;
    width: 70%;
    height: 3px;
    content: "";
    border-radius: 100%;
    background: linear-gradient(90deg, var(--ts-accent-dark), #ed4b57 50%, var(--ts-accent-dark));
    box-shadow: 0 2px 8px #d73a4252;
    clip-path: polygon(0 58%, 14% 42%, 28% 52%, 44% 26%, 60% 40%, 77% 22%, 100% 42%, 94% 78%, 78% 62%, 61% 90%, 44% 67%, 27% 86%, 10% 66%);
    transform: translateX(-50%) rotate(-.8deg);
}
body:has(#proberaeume:target) .ts-nav a[href*="#proberaeume"]::after { transform: translateX(-50%) rotate(-1.4deg); width: 76%; }
body:has(#music-lessons:target) .ts-nav a[href*="#music-lessons"]::after { transform: translateX(-50%) rotate(-1.8deg); width: 78%; }
body:has(#proberaeume:target) .ts-mobile-menu nav a[aria-current="page"],
body:has(#music-lessons:target) .ts-mobile-menu nav a[aria-current="page"] { background: transparent; color: var(--ts-text); }
body:has(#proberaeume:target) .ts-mobile-menu nav a[href*="#proberaeume"],
body:has(#music-lessons:target) .ts-mobile-menu nav a[href*="#music-lessons"] { background: #2b3035; color: #fff; }

/* Kontakt/Contact uses the same plain desktop navigation treatment as the
   other top-level links. The active state remains the red brush underline. */

/* Keep in-page music navigation clear of the sticky header. */
:is(#musikunterricht, #music-lessons) { scroll-margin-top: 112px; }

/* Consistent actions across home, prices, services and contact. */
.page .content__entry a.ts-button, .page .content__entry a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    max-width: 100%;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease;
}
.page .content__entry a.ts-button-primary, .page .content__entry a.button {
    background: var(--ts-button-red); color: #fff !important;
}
.page .content__entry a.ts-button-primary:hover, .page .content__entry a.button:hover {
    background: var(--ts-accent-dark); color: #fff !important; transform: none;
}
.page .content__entry a.ts-button-secondary {
    background: transparent; border-color: #61656a; color: var(--ts-text) !important;
}
.page .content__entry a.ts-button-secondary:hover {
    background: #25292d; border-color: #8b8e91; color: #fff !important; transform: none;
}

/* Mobile-first. The dedicated ID prevents inherited spacing conflicts. */
#tonstation-home {
    display: block;
    width: min(1200px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 44px 0 64px;
    font-size: 17px;
    line-height: 1.7;
    isolation: isolate;
}
#tonstation-home > * { grid-area: auto; min-width: 0; max-width: none; margin: 0; }
#tonstation-home::after { content: none; }
#tonstation-home > .ts-kicker {
    color: var(--ts-accent);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1.6;
    text-transform: uppercase;
}
#tonstation-home > .ts-home-block { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
#tonstation-home > .ts-home-block::before { content: ""; width: 30px; height: 2px; background: var(--ts-accent); }
#tonstation-home > .ts-hero-title {
    font-size: clamp(38px, 8.6vw, 68px);
    font-weight: 750;
    font-variation-settings: "wght" 750;
    letter-spacing: -.055em;
    line-height: 1.07;
    text-wrap: balance;
}
#tonstation-home .ts-city { color: var(--ts-text); }
#tonstation-home > .ts-lead { max-width: 49ch; margin-top: 24px; color: var(--ts-muted); font-size: 18px; line-height: 1.65; }
#tonstation-home .ts-home-proof { display: block; margin-top: 22px; font-size: 14px; line-height: 1.6; letter-spacing: .015em; }
#tonstation-home .ts-home-proof strong { color: var(--ts-accent); font-weight: 650; }
#tonstation-home > .ts-actions-block { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
#tonstation-home > .ts-hero-image {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--ts-line);
    border-radius: 16px;
    background: var(--ts-card);
}
#tonstation-home > .ts-hero-image img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
}
#tonstation-home > .ts-hero-image figcaption { display: none; }
#tonstation-home > :is(.ts-section-title, .ts-feature-title, .ts-faq-title, .ts-partnership-title) {
    margin-top: 12px;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.18;
    text-wrap: balance;
}
#tonstation-home > .ts-partnership-kicker {
    margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--ts-line); scroll-margin-top: 110px;
}

#tonstation-home > .ts-section-title {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--ts-line);
    scroll-margin-top: 110px;
}
#tonstation-home > .ts-section-intro-text { max-width: 72ch; margin: 18px 0 30px; color: var(--ts-muted); }

/* Adjacent home blocks form one continuous, equal-height card. */
#tonstation-home > [class*="ts-room-1-"],
#tonstation-home > [class*="ts-room-2-"],
#tonstation-home > [class*="ts-room-3-"] {
    background: var(--ts-card);
    border-left: 1px solid var(--ts-line);
    border-right: 1px solid var(--ts-line);
}
#tonstation-home > .ts-room-number {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 24px 0 0;
    padding: 18px 20px;
    border-top: 1px solid var(--ts-line);
    border-radius: 16px 16px 0 0;
    color: var(--ts-accent);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: .12em;
}
#tonstation-home .ts-room-label { color: #c8cacf; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
#tonstation-home > .ts-room-image { display: block; width: 100%; padding: 0 18px; overflow: hidden; border-radius: 0; align-self: stretch; }
#tonstation-home > .ts-room-image img { display: block; width: 100%; height: auto; aspect-ratio: 425 / 293; object-fit: cover; border-radius: 8px; }
#tonstation-home > :is(.ts-room-1-title, .ts-room-2-title, .ts-room-3-title) {
    padding: 22px 22px 10px;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}
#tonstation-home > .ts-room-text { display: flex; flex-direction: column; padding: 0 22px 24px; color: var(--ts-muted); font-size: 15px; line-height: 1.7; }
#tonstation-home .ts-room-description { display: block; flex: 1; }
#tonstation-home .ts-room-price { display: block; margin-top: 24px; color: var(--ts-text); font-size: 14px; }
#tonstation-home .ts-room-price strong { font-size: 32px; font-weight: 750; letter-spacing: -.035em; }
#tonstation-home .ts-room-price small { display: block; margin-top: 1px; color: var(--ts-muted); font-size: 14px; line-height: 1.6; }
#tonstation-home .ts-room-price .ts-room-price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}
#tonstation-home .ts-room-price .ts-room-frequency {
    display: inline-block;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid rgba(215, 58, 66, .24);
    border-radius: 6px;
    background: #000;
    color: var(--ts-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
}
#tonstation-home .ts-room-price.ts-coming-soon strong { font-size: 20px; letter-spacing: -.015em; }
#tonstation-home > :is(.ts-room-1-link, .ts-room-2-link, .ts-room-3-link) {
    display: flex; align-items: flex-end; padding: 0 22px 22px;
    border-bottom: 1px solid var(--ts-line); border-radius: 0 0 16px 16px;
}
#tonstation-home > :is(.ts-room-1-link, .ts-room-2-link, .ts-room-3-link) a {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 48px; padding: 11px 15px;
    border: 1px solid #545a60; border-radius: 8px;
    color: var(--ts-text) !important;
    font-size: 14px; font-weight: 650; line-height: 1.5; text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease;
}
#tonstation-home > :is(.ts-room-1-link, .ts-room-2-link, .ts-room-3-link) a:hover {
    background: var(--ts-button-red); border-color: var(--ts-button-red); color: #fff !important;
}
/* Room 3 offers information while reservations are paused. */
#tonstation-home > .ts-room-3-link a {
    border-color: var(--ts-line);
    color: var(--ts-muted) !important;
    font-weight: 600;
}
#tonstation-home > .ts-room-3-link a:is(:hover, :focus-visible) {
    background: #25292d;
    border-color: #7b838b;
    color: var(--ts-text) !important;
}
#tonstation-home > .ts-note-block {
    margin-top: 24px; padding: 18px 22px; border-left: 2px solid var(--ts-accent);
    background: transparent; color: var(--ts-muted); font-size: 14px; line-height: 1.7;
}
#tonstation-home > .ts-note-block strong { display: block; margin-bottom: 4px; color: var(--ts-text); }
#tonstation-home > .ts-note-block > span { display: block; max-width: 72ch; }

/* Existing studio and lesson photography carries the second offer area. */
#tonstation-home > .ts-feature-title { margin: 48px 0 22px; font-size: 32px; }
#tonstation-home > .ts-feature-image { display: block; width: 100%; max-width: none; margin-bottom: 20px; overflow: hidden; border-radius: 12px; }
#tonstation-home > .ts-feature-image img { display: block; width: 100%; height: auto; aspect-ratio: 425 / 293; object-fit: cover; }
#tonstation-home > .ts-feature-text { max-width: 52ch; color: var(--ts-muted); }
#tonstation-home > .ts-button-line:not([class*="ts-room-"]) { margin-top: 12px; font-size: 15px; font-weight: 650; }
#tonstation-home > .ts-button-line:not([class*="ts-room-"]) a { display: inline-flex; align-items: center; min-height: 44px; }
#tonstation-home > .ts-button-line.ts-feature-action a.ts-button { width: auto; min-height: 52px; }

/* Answers remain visible without scripts. */
#tonstation-home > .ts-faq-title {
    margin: 64px 0 8px;
    padding-top: 28px;
    border-top: 1px solid var(--ts-line);
    scroll-margin-top: 110px;
}
#tonstation-home > .ts-faq-title > #haeufige-fragen { scroll-margin-top: 110px; }
#tonstation-home > .ts-faq-question { margin-top: 24px; font-size: 18px; font-weight: 650; line-height: 1.5; }
#tonstation-home > .ts-faq-answer { margin-top: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--ts-line); color: var(--ts-muted); font-size: 16px; line-height: 1.75; }
#tonstation-home > .ts-faq-answer > .ts-faq-answer-text { display: block; max-width: 72ch; }
#tonstation-home > .ts-partnership-text { max-width: 67ch; margin-top: 16px; color: var(--ts-muted); }
#tonstation-home > .ts-partnership-card { display: block; margin-top: 20px; padding: 26px; border: 1px solid var(--ts-line); border-radius: 12px; background: var(--ts-bg-soft); color: var(--ts-text) !important; text-decoration: none !important; transition: background-color .18s ease, border-color .18s ease; }
#tonstation-home > .ts-partnership-card strong { display: block; margin-bottom: 10px; font-size: 21px; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
#tonstation-home > .ts-partnership-card:is(:hover, :focus-visible) { background: #23282c; border-color: #7b838b; color: #fff !important; }
#tonstation-home > .ts-partnership-card span { color: var(--ts-muted); font-size: 15px; }
#tonstation-home > .ts-partnership-action { margin-top: 20px; }

/* The contact panel provides a clear visual destination. */
#tonstation-home > :is(.ts-location-kicker, .ts-location-title, .ts-location-text, .ts-contact-block,
    .ts-cta-kicker, .ts-cta-title, .ts-cta-text, .ts-cta-button) {
    margin: 0; padding-right: 24px; padding-left: 24px; background: var(--ts-paper); color: var(--ts-muted);
}
#tonstation-home > :is(.ts-location-kicker, .ts-cta-kicker) { padding-top: 28px; color: var(--ts-accent); }
#tonstation-home > .ts-location-kicker { margin-top: 64px; border-radius: 16px 16px 0 0; }
#tonstation-home > :is(.ts-location-title, .ts-cta-title) {
    padding-top: 12px; color: var(--ts-text) !important; font-size: 30px; line-height: 1.2;
    letter-spacing: -.035em; text-wrap: balance;
}
#tonstation-home > :is(.ts-location-text, .ts-cta-text) { padding-top: 18px; font-size: 16px; line-height: 1.7; }
#tonstation-home > .ts-contact-block { padding-top: 20px; padding-bottom: 12px; font-size: 15px; line-height: 2; }
#tonstation-home > .ts-contact-block a { display: inline-block; min-height: 44px; color: var(--ts-accent) !important; text-decoration: underline; }
#tonstation-home > .ts-contact-block a[href^="tel:"] { color: var(--ts-text) !important; font-size: 23px; font-weight: 750; letter-spacing: -.02em; }
#tonstation-home > .ts-contact-block a:hover { color: #fff !important; }
#tonstation-home > .ts-cta-button { padding-top: 26px; padding-bottom: 32px; border-radius: 0 0 16px 16px; }
#tonstation-home > .ts-cta-button a { background: #171b1e; color: #fff !important; }
#tonstation-home > .ts-cta-button a:hover { background: var(--ts-button-red); }

/* Subpage headings must also remain visible on phones. */
.page .content:not(:is([data-ts-page-id="7"], [data-ts-page-id="20"], [data-ts-page-id="21"])) > .hero {
    display: block; width: min(840px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 28px;
}
.page .content[data-ts-page-id] > .hero::after { display: none; }
.page .content[data-ts-page-id] > .hero .hero__content { padding: 0; text-align: left; }
.page .content[data-ts-page-id] > .hero .wrapper { max-width: none; padding: 0; }
.page .content[data-ts-page-id] > .hero h1 { margin: 18px 0 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.14; letter-spacing: -.04em; color: var(--ts-text); }
.ts-page-path { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 1.7; color: var(--ts-muted); }
.ts-page-path a { color: var(--ts-muted); }
.page .content[data-ts-page-id] > .content__entry:not([id="tonstation-home"]) { width: min(840px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 0 0 64px; overflow-wrap: break-word; }
.page .content__entry .ts-room-pricing { padding: 26px; border: 1px solid var(--ts-line); border-radius: 14px; background: var(--ts-card); }
.page .content__entry .ts-price-table { width: 100%; font-size: 15px; line-height: 1.65; }
.page .content__entry .ts-price-table th, .page .content__entry .ts-price-table td { padding: 12px; border-color: var(--ts-line); }
.page .content__entry .ts-price-table th { background: #262a2f; }
.page .content__entry .ts-price-table tbody tr:nth-child(even) { background: #202428; }
.page .content__entry .ts-room-equipment { padding-left: 22px; }
.page .content__entry .ts-room-equipment li::marker { color: var(--ts-accent); }

/* Footer icon sizing applies on every screen, including mobile. */
.ts-footer { padding: 42px 0 24px; }
.ts-footer-inner, .ts-footer-bottom { width: min(1200px, calc(100% - 40px)); }
.ts-footer-links { gap: 4px 24px; }
.ts-footer-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
.ts-footer p { color: var(--ts-muted); font-size: 14px; }
.ts-footer .ts-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.ts-footer .ts-footer-social :is(a, span) { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ts-line); border-radius: 50%; }
.ts-footer .ts-footer-social svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.ts-footer-bottom { color: var(--ts-muted); font-size: 14px; flex-wrap: wrap; gap: 12px; }

@media (min-width: 900px) {
    #tonstation-home { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 28px; width: min(1200px, calc(100% - 64px)); padding: 70px 0 80px; }
    #tonstation-home > * { grid-column: 1 / -1; }
    #tonstation-home > .ts-home-block { grid-area: 1 / 1 / 2 / 4; align-self: start; margin: 0 0 20px; }
    #tonstation-home > .ts-hero-title { grid-area: 2 / 1 / 3 / 4; font-size: clamp(48px, 5vw, 68px); }
    #tonstation-home > .ts-lead { grid-area: 3 / 1 / 4 / 4; margin-top: 24px; padding-right: 24px; }
    #tonstation-home > .ts-actions-block { grid-area: 4 / 1 / 5 / 4; align-items: center; margin-top: 26px; }
    /* The image ends exactly on the lower edge of the CTA row. */
    #tonstation-home > .ts-hero-image { grid-area: 1 / 4 / 5 / 7; align-self: end; margin: 0 0 0; border-radius: 18px; box-shadow: 0 20px 60px #0003; }
    #tonstation-home > .ts-section-title { grid-row: 5; }
    #tonstation-home > .ts-section-intro-text { grid-row: 7; }
    #tonstation-home > [class*="ts-room-1-"] { grid-column: 1 / 3; }
    #tonstation-home > [class*="ts-room-2-"] { grid-column: 3 / 5; }
    #tonstation-home > [class*="ts-room-3-"] { grid-column: 5 / 7; }
    #tonstation-home > .ts-room-number { grid-row: 8; margin: 0; }
    #tonstation-home > .ts-room-image { grid-row: 9; }
    #tonstation-home > :is(.ts-room-1-title, .ts-room-2-title, .ts-room-3-title) { grid-row: 10; }
    #tonstation-home > .ts-room-text { grid-row: 11; }
    #tonstation-home > :is(.ts-room-1-link, .ts-room-2-link, .ts-room-3-link) { grid-row: 12; }
    #tonstation-home > .ts-note-block { grid-row: 13; }
    #tonstation-home > #tonstudio-in-bielefeld,
    #tonstation-home > #tonstudio-in-bielefeld + .ts-feature-image,
    #tonstation-home > .ts-feature-text:has(~ :is(#musikunterricht, #music-lessons)),
    #tonstation-home > .ts-button-line:not([class*="ts-room-"]):has(~ :is(#musikunterricht, #music-lessons)) { grid-column: 1 / 4; }
    #tonstation-home > :is(#musikunterricht, #music-lessons),
    #tonstation-home > :is(#musikunterricht, #music-lessons) + .ts-feature-image,
    #tonstation-home > :is(#musikunterricht, #music-lessons) ~ .ts-feature-text,
    #tonstation-home > :is(#musikunterricht, #music-lessons) ~ .ts-button-line:not([class*="ts-room-"]) { grid-column: 4 / 7; }
    #tonstation-home > .ts-feature-title { grid-row: 14; margin-top: 64px; font-size: 34px; }
    #tonstation-home > .ts-feature-image { grid-row: 15; }
    #tonstation-home > .ts-feature-text { grid-row: 16; }
    #tonstation-home > .ts-button-line:not([class*="ts-room-"]) { grid-row: 17; }
    #tonstation-home:has(> .ts-faq-title)::before {
        content: "";
        grid-area: 19 / 1 / 20 / 7;
        margin: 64px 0 28px;
        border-top: 1px solid var(--ts-line);
        pointer-events: none;
    }
    #tonstation-home > .ts-faq-title { grid-area: 20 / 1 / 28 / 3; max-width: 13ch; margin-top: 0; padding-top: 0; border-top: 0; font-size: 34px; }
    #tonstation-home > :is(.ts-faq-question, .ts-faq-answer) { grid-column: 3 / 7; }
    #tonstation-home > .ts-faq-q1 { grid-row: 20; margin-top: 0; }
    #tonstation-home > .ts-faq-a1 { grid-row: 21; }
    #tonstation-home > .ts-faq-q2 { grid-row: 22; }
    #tonstation-home > .ts-faq-a2 { grid-row: 23; }
    #tonstation-home > .ts-faq-q3 { grid-row: 24; }
    #tonstation-home > .ts-faq-a3 { grid-row: 25; }
    #tonstation-home > .ts-faq-q4 { grid-row: 26; }
    #tonstation-home > .ts-faq-a4 { grid-row: 27; }
    #tonstation-home > .ts-partnership-kicker { grid-row: 34; margin-top: 88px; padding-top: 36px; }
    #tonstation-home > .ts-partnership-title { grid-row: 35; }
    #tonstation-home > .ts-partnership-text { grid-row: 36; }
    #tonstation-home > .ts-partnership-card { grid-row: 37; }
    #tonstation-home > .ts-partnership-school { grid-column: 1 / 4; }
    #tonstation-home > .ts-partnership-shop { grid-column: 4 / 7; }
    #tonstation-home > .ts-partnership-action { grid-row: 38; }
    #tonstation-home:has(> .ts-contact-block)::after { content: ""; grid-area: 29 / 1 / 33 / 7; margin-top: 88px; border: 1px solid var(--ts-line); border-radius: 18px; background: var(--ts-bg-soft); z-index: -1; pointer-events: none; }
    #tonstation-home > :is(.ts-location-kicker, .ts-location-title, .ts-location-text, .ts-contact-block) { grid-column: 1 / 4; padding-left: 38px; padding-right: 12px; background: transparent; }
    #tonstation-home > :is(.ts-cta-kicker, .ts-cta-title, .ts-cta-text, .ts-cta-button) { grid-column: 4 / 7; padding-left: 12px; padding-right: 38px; background: transparent; }
    #tonstation-home > :is(.ts-location-kicker, .ts-cta-kicker) { grid-row: 29; margin: 88px 0 0; padding-top: 38px; border-radius: 0; }
    #tonstation-home > :is(.ts-location-title, .ts-cta-title) { grid-row: 30; font-size: 34px; }
    #tonstation-home > :is(.ts-location-text, .ts-cta-text) { grid-row: 31; }
    #tonstation-home > :is(.ts-contact-block, .ts-cta-button) { grid-row: 32; padding-top: 24px; padding-bottom: 38px; }
    #tonstation-home > .ts-cta-button { align-self: start; }
}

@media (max-width: 1099px) {
    .ts-nav { display: none; }
    .ts-mobile-menu { display: block; position: relative; z-index: 2; }
    .ts-mobile-menu summary { list-style: none; min-height: 44px; padding: 10px 14px; border: 1px solid #545a60; border-radius: 8px; color: var(--ts-text); cursor: pointer; font-size: 14px; font-weight: 650; line-height: 1.5; }
    .ts-mobile-menu summary::-webkit-details-marker { display: none; }
    .ts-mobile-menu summary::after { content: "☰"; margin-left: 10px; color: var(--ts-accent); font-size: 16px; }
    .ts-mobile-menu[open] summary::after { content: "×"; }
    .ts-mobile-menu nav { position: absolute; top: calc(100% + 12px); right: 0; width: min(310px, calc(100vw - 40px)); max-height: calc(100dvh - 106px); overflow-y: auto; padding: 10px; border: 1px solid var(--ts-line); border-radius: 12px; background: #1a1d20; box-shadow: 0 16px 38px #0006; }
    .ts-mobile-menu nav a { display: flex; align-items: center; min-height: 46px; padding: 11px 14px; border-radius: 7px; color: var(--ts-text); font-size: 15px; font-weight: 500; line-height: 1.5; text-decoration: none; }
    .ts-mobile-menu nav a:hover, .ts-mobile-menu nav a[aria-current="page"] { background: #2b3035; color: #fff; }
    /* Contact should use the same neutral mobile-menu treatment as every
       other navigation item; no red button styling in the menu. */
    .ts-mobile-menu nav a[href$="/kontakt/"], .ts-mobile-menu nav a[href$="/contact/"] {
        background: transparent;
        color: var(--ts-text);
        margin-top: 0;
        border: 0;
    }
    .ts-mobile-menu nav a[href$="/kontakt/"]:is(:hover, :focus-visible),
    .ts-mobile-menu nav a[href$="/contact/"]:is(:hover, :focus-visible),
    .ts-mobile-menu nav a[href$="/kontakt/"][aria-current="page"],
    .ts-mobile-menu nav a[href$="/contact/"][aria-current="page"] {
        background: #2b3035;
        color: #fff;
    }
}
@media (max-width: 599px) {
    .ts-nav-inner { width: calc(100% - 40px); min-height: 76px; }
    .ts-logo img { width: 151px; }
    #tonstation-home { padding-top: 32px; }
    #tonstation-home > .ts-home-block { margin-bottom: 14px; }
    #tonstation-home > .ts-hero-title { font-size: clamp(36px, 10.1vw, 54px); }
    #tonstation-home > .ts-lead { margin-top: 18px; }
    #tonstation-home .ts-home-proof { margin-top: 16px; }
    #tonstation-home > .ts-actions-block { flex-direction: column; align-items: stretch; }
    #tonstation-home > .ts-actions-block { margin-top: 20px; }
    #tonstation-home > .ts-actions-block a { width: 100%; }
    #tonstation-home > .ts-hero-image { margin-top: 24px; }
    #tonstation-home > .ts-section-title { margin-top: 48px; }
    #tonstation-home > .ts-contact-block a:not([href^="tel:"]) { color: var(--ts-accent-readable) !important; }
    .page .content__entry .ts-room-pricing { padding: 18px; }
    .page .content__entry .ts-price-table { font-size: 13px; }
    .page .content__entry .ts-price-table th, .page .content__entry .ts-price-table td { padding: 10px 6px; }
    .ts-footer-inner { grid-template-columns: 1fr; gap: 26px; }
    .ts-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
    .ts-footer-bottom { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .page a { transition: none !important; }
}

/* Photo frames reserve their space before loading. Legacy feature photos
   retain their crop; the new room photographs are displayed without zoom. */
#tonstation-home > :is(.ts-hero-image, .ts-room-image, .ts-feature-image) {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
#tonstation-home > .ts-hero-image img { aspect-ratio: 16 / 9; object-fit: cover; }
#tonstation-home > .ts-room-image {
    padding: 0 16px;
    border-inline: 1px solid var(--ts-line);
    background: var(--ts-card);
}
#tonstation-home > .ts-room-image .ts-photo-frame {
    aspect-ratio: 1672 / 941;
}
.page .content__entry .ts-photo-frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: var(--ts-card);
    isolation: isolate;
}
#tonstation-home .ts-photo-frame > img,
.page .content__entry .ts-photo-frame > img {
    position: absolute;
    display: block;
    top: var(--ts-photo-top, 50%);
    left: 50%;
    width: var(--ts-photo-width, 109%);
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate(-50%, var(--ts-photo-shift, -50%));
}
.page .content__entry .ts-photo-frame.ts-photo-room-wide {
    aspect-ratio: 1672 / 941;
}
#tonstation-home .ts-photo-frame.ts-photo-room-wide > img,
.page .content__entry .ts-photo-frame.ts-photo-room-wide > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
    transform: none;
}
/* The new music photograph stays fully visible, without zoom or side bars. */
#tonstation-home .ts-photo-frame.ts-photo-music-wide {
    aspect-ratio: 1672 / 941;
}
#tonstation-home .ts-photo-frame.ts-photo-music-wide > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
}
.ts-photo-room-3 {
    --ts-photo-width: 100%;
    --ts-photo-top: 0;
    --ts-photo-shift: 0;
}
/* Room 3 keeps the photograph's natural ratio, without cropping or side fill. */
.page .content__entry .ts-room-photo .ts-photo-frame.ts-photo-room-3 {
    aspect-ratio: 1537 / 1023;
}
#tonstation-home .ts-photo-frame.ts-photo-room-3 > img,
.page .content__entry .ts-photo-frame.ts-photo-room-3 > img {
    top: 0;
    width: 100%;
    height: auto;
    transform: translate(-50%, 0);
}
@media (min-width: 900px) {
    #tonstation-home > .ts-room-image .ts-photo-frame {
        height: var(--ts-room-image-height, auto);
    }
    /* Keep the construction notice and its caption at the bottom visible
       while matching the overview row's image height. */
    #tonstation-home .ts-photo-frame.ts-photo-room-3 > img {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
        transform: none;
    }
}
@media (max-width: 899px) {
    #tonstation-home > .ts-room-text { font-size: 16px; }
    #tonstation-home > .ts-room-image .ts-photo-frame.ts-photo-room-3 {
        aspect-ratio: 1537 / 1023;
    }
}
#tonstation-home > .ts-kicker,
#tonstation-home > .ts-room-number,
.ts-room-intro .ts-kicker {
    color: var(--ts-accent-readable) !important;
}

/* Room pages: introduction and photograph first, equipment and prices below. */
.page .content.ts-room-detail > .hero,
.page .content.ts-room-detail > .content__entry.ts-room-layout {
    width: min(1200px, calc(100% - 40px));
    max-width: none;
    padding-inline: 0;
}
.page .content.ts-room-detail > .hero .wrapper { width: 100%; margin: 0; }
.page .content.ts-room-detail > .content__entry.ts-room-layout {
    display: block;
    font-size: 17px;
    line-height: 1.7;
}
.ts-room-overview { display: grid; gap: 28px; align-items: center; }
.ts-room-layout .ts-room-photo { width: 100%; margin: 0; }
.ts-room-photo figcaption { margin: 12px 0 0; color: var(--ts-muted); font-size: 14px; line-height: 1.55; }
.page .content__entry.ts-room-layout .ts-room-equipment-panel > .ts-room-equipment-note {
    margin: 20px 0 0;
    color: var(--ts-muted);
    font-size: 13px;
    line-height: 1.6;
}
.page .content__entry .ts-room-photo-link {
    color: var(--ts-text) !important;
    text-decoration: none !important;
    cursor: zoom-in;
}
.ts-room-photo-link:focus-visible { outline: 2px solid var(--ts-text); outline-offset: 4px; }
.ts-room-photo .ts-room-photo-caption-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}
.page .content__entry .ts-room-photo-enlarge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #555e65;
    border-radius: 7px;
    background: transparent;
    color: var(--ts-muted) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease;
}
.ts-room-photo-enlarge svg { flex: 0 0 18px; }
.page .content__entry .ts-room-photo-enlarge:is(:hover, :focus-visible) {
    background: #1a1d20;
    border-color: #929ba3;
    color: var(--ts-text) !important;
}
.ts-room-photo-enlarge:focus-visible { outline: 2px solid var(--ts-text); outline-offset: 3px; }
@media (max-width: 600px) {
    .ts-room-photo .ts-room-photo-caption-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .page .content__entry .ts-room-photo-caption-row > .ts-room-photo-enlarge { justify-self: end; min-height: 44px; }
}
html.ts-photo-lightbox-open { overflow: hidden; scrollbar-gutter: stable; }
.ts-photo-lightbox {
    box-sizing: border-box;
    width: fit-content;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 12px;
    border: 1px solid var(--ts-line);
    border-radius: 12px;
    background: #111315;
    color: #f5f4f0;
    overflow: auto;
}
.ts-photo-lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.ts-photo-lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}
.ts-photo-lightbox-toolbar p { margin: 0; padding-left: 4px; font-size: 15px; line-height: 1.4; }
.ts-photo-lightbox-close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #555e65;
    border-radius: 7px;
    background: #1a1d20;
    color: #f5f4f0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}
.ts-photo-lightbox-close:is(:hover, :focus-visible) { background: #292f32; border-color: #929ba3; }
.ts-photo-lightbox-close:focus-visible { outline: 2px solid #f5f4f0; outline-offset: 2px; }
.ts-photo-lightbox .ts-photo-lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 50px);
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    margin: 0 auto;
    border-radius: 5px;
    object-fit: contain;
}
.ts-room-layout :is(h2, h3) { font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.ts-room-layout h2 { font-size: clamp(25px, 2.5vw, 30px); }
.ts-room-layout h3 { font-size: 20px; }
.ts-room-intro .ts-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .13em; }
.ts-room-intro .lead { margin: 0; font-size: 19px; color: var(--ts-text); line-height: 1.65; }
.ts-room-intro h2 { margin: 24px 0 12px; }
.ts-room-intro .ts-kicker + h2 { margin-top: 0; }
.ts-room-intro p { margin: 14px 0 0; color: var(--ts-muted); }
.page .content__entry .ts-room-intro .ts-room-schedule { margin-top: 14px; }
.ts-room-intro .ts-room-example { font-size: 14px; }
.ts-room-intro .ts-room-action { margin-top: 22px; }
.ts-room-intro .ts-room-availability {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid var(--ts-line);
    border-radius: 10px;
    background: var(--ts-card);
}
.page .content__entry .ts-room-intro .ts-room-availability > h3 {
    margin: 0;
    color: var(--ts-text);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
}
.page .content__entry .ts-room-intro .ts-room-availability > p {
    margin: 10px 0 0;
    color: var(--ts-muted);
    font-size: 14px;
    line-height: 1.65;
}
.ts-room-facts { display: grid; grid-template-areas: "prices" "equipment"; gap: 24px; margin-top: 48px; align-items: start; }
.ts-room-facts > .ts-room-pricing { grid-area: prices; }
.ts-room-facts > .ts-room-equipment-panel { grid-area: equipment; }
.page .content__entry.ts-room-layout .ts-room-equipment-panel,
.page .content__entry.ts-room-layout .ts-room-pricing {
    margin: 0;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--ts-line);
    border-radius: 14px;
    background: var(--ts-card);
}
.ts-room-facts h2 { margin: 0 0 22px; }
.page .content__entry.ts-room-layout .ts-room-equipment { margin: 0; padding: 0; }
.page .content__entry.ts-room-layout .ts-room-equipment li {
    position: relative;
    list-style: none;
    padding: 12px 0 12px 22px;
    border-bottom: 1px solid var(--ts-line);
    color: var(--ts-muted);
    font-size: 16px;
    line-height: 1.6;
}
.ts-room-layout .ts-room-equipment li:last-child { border-bottom: 0; }
.ts-room-layout .ts-room-equipment li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 23px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ts-accent-readable);
}
.ts-room-layout .ts-detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.ts-detail-price strong { font-size: 38px; line-height: 1.15; font-weight: 750; letter-spacing: -.04em; }
.ts-detail-price span { color: var(--ts-muted); font-size: 15px; }
.ts-room-layout .ts-detail-price-note { margin: 8px 0 24px; color: var(--ts-muted); font-size: 14px; }
.page .content__entry.ts-room-layout .ts-price-table { margin: 0 0 28px; }
.page .content__entry.ts-room-layout .ts-price-examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 16px 0 0;
    padding: 0;
    font-size: 14px;
    color: var(--ts-muted);
}
.ts-room-layout .ts-price-examples li { list-style: none; padding: 0; }
.page .content__entry.ts-room-layout .ts-price-examples strong { display: block; font-size: 20px; color: var(--ts-text); }
.ts-price-examples-graphic { margin: 28px 0 0; }
.ts-price-examples-graphic img { display: block; width: 100%; height: auto; border: 1px solid var(--ts-line); border-radius: 10px; }
.page .content__entry.ts-room-layout .ts-room-price-examples {
    margin: 28px 0 0;
    padding: 16px 16px 40px;
    border: 1px solid var(--ts-line);
    border-radius: 10px;
    background: var(--ts-card);
}
.page .content__entry.ts-room-layout .ts-room-price-examples h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: -.025em;
}
.page .content__entry.ts-room-layout .ts-room-price-examples .ts-price-examples {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 22px 20px;
    margin-top: 20px;
    line-height: 1.5;
}
.page .content__entry.ts-room-layout .ts-room-price-examples .ts-price-examples strong {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}
.ts-visually-hidden,
.ts-price-examples--accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ts-room-next-step {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--ts-line);
}
.ts-room-next-step > div:first-child { flex: 1 1 320px; }
.ts-room-next-step p { margin: 12px 0 0; max-width: 53ch; color: var(--ts-muted); }
.ts-room-next-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 248px;
    max-width: 100%;
}
/* A quieter companion to the enquiry button: three rooms, one overview. */
.page .content__entry .ts-room-next-actions > a.ts-room-overview-link {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--ts-line);
    border-radius: 8px;
    background: transparent;
    color: var(--ts-muted) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.ts-room-overview-link__icon {
    display: block;
    width: 20px;
    height: 20px;
    color: #929ba3;
    transition: color .18s ease;
}
.ts-room-overview-link__arrow { display: block; width: 16px; height: 16px; }
.page .content__entry .ts-room-next-actions > a.ts-room-overview-link:is(:hover, :focus-visible) {
    border-color: #7b454b;
    background: var(--ts-bg-soft);
    color: var(--ts-text) !important;
}
.page .content__entry .ts-room-next-actions > a.ts-room-overview-link:is(:hover, :focus-visible) .ts-room-overview-link__icon {
    color: #d2d6d9;
}
@media (min-width: 900px) {
    .page .content.ts-room-detail > .hero,
    .page .content.ts-room-detail > .content__entry.ts-room-layout { width: min(1200px, calc(100% - 64px)); }
    .ts-room-overview { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; }
    .ts-room-overview:has(.ts-photo-room-wide) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
    .ts-room-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "equipment prices"; }
}
@media (max-width: 599px) {
    .page .content__entry.ts-room-layout .ts-price-table { display: table; font-size: 14px; }
    .ts-room-layout .ts-room-equipment li { font-size: 15px; }
    .ts-room-facts { margin-top: 32px; }
    .ts-room-next-actions { width: 100%; }
    .ts-room-next-actions > .button { width: 100%; }
}
@media (max-width: 360px) {
    .page .content__entry.ts-room-layout .ts-room-price-examples {
        padding: 14px;
    }
    .page .content__entry.ts-room-layout .ts-room-price-examples .ts-price-examples {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 16px;
    }
}

/* Hero actions: continuous red arrow and softly divided surface (2026-10-13). */
#tonstation-home > .ts-actions-block :is(.ts-button-primary, .ts-button-secondary) {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 206px;
    max-width: 100%;
    height: auto;
    min-height: 52px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
#tonstation-home > .ts-actions-block .ts-button-primary {
    padding: 12px 66px 12px 20px;
    overflow: hidden;
    border: 1px solid #5e666e;
    background: #34383d !important;
    color: #f8f7f5 !important;
    font-weight: 700;
}
#tonstation-home > .ts-actions-block .ts-hero-action-symbol {
    position: absolute;
    inset: 0 0 0 auto;
    width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--ts-accent);
    pointer-events: none;
}
#tonstation-home > .ts-actions-block .ts-hero-action-symbol::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 24px;
    border-radius: 1px;
    background: #4e555c;
    transform: translateY(-50%);
}
#tonstation-home > .ts-actions-block .ts-hero-action-arrow {
    display: block;
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}
#tonstation-home > .ts-actions-block .ts-button-primary:is(:hover, :focus-visible) {
    background: #3e444b !important;
    border-color: #818891;
    transform: none;
}
#tonstation-home > .ts-actions-block .ts-button-secondary {
    padding: 12px 20px;
    border: 1px solid #484e54;
    background: transparent !important;
    color: #c9cdd1 !important;
    font-weight: 650;
}
#tonstation-home > .ts-actions-block .ts-button-secondary:is(:hover, :focus-visible) {
    border-color: #777e85;
    background: #1a1e21 !important;
    color: #f6f4ef !important;
    transform: none;
}
@media (max-width: 899px) {
    #tonstation-home > .ts-actions-block { gap: 12px; }
    #tonstation-home > .ts-actions-block :is(.ts-button-primary, .ts-button-secondary) {
        width: 100%;
        min-width: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    #tonstation-home > .ts-actions-block :is(.ts-button-primary, .ts-button-secondary) { transition: none; }
}


/* Standard CTA buttons: match the approved "Kooperationen entdecken" style
   everywhere, while leaving both homepage hero buttons as designed. */
.page .content__entry a.ts-button-primary:not(#tonstation-home > .ts-actions-block .ts-button-primary),
.page .content__entry a.ts-button-secondary:not(#tonstation-home > .ts-actions-block .ts-button-secondary),
.page .content__entry a.ts-button:not(.ts-button-primary):not(.ts-button-secondary),
.page .content__entry a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    max-width: 100%;
    padding: 13px 28px;
    border: 1px solid #61656a;
    border-radius: 8px;
    background: #1a1e21 !important;
    color: #f3f4f2 !important;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.page .content__entry a.ts-button-primary:not(#tonstation-home > .ts-actions-block .ts-button-primary):is(:hover, :focus-visible),
.page .content__entry a.ts-button-secondary:not(#tonstation-home > .ts-actions-block .ts-button-secondary):is(:hover, :focus-visible),
.page .content__entry a.ts-button:not(.ts-button-primary):not(.ts-button-secondary):is(:hover, :focus-visible),
.page .content__entry a.button:is(:hover, :focus-visible) {
    background: #272c30 !important;
    border-color: #90969c;
    color: #fff !important;
    transform: none;
}

/* Room-card links are buttons too; give them the same standard treatment on
   both the home page and the rehearsal-room overview, including English. */
.page .content__entry:has(.ts-home-block) > :is(
    .ts-room-1-link, .ts-room-2-link, .ts-room-3-link
) a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 13px 28px;
    border: 1px solid #61656a;
    border-radius: 8px;
    background: #1a1e21;
    color: #f3f4f2 !important;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.page .content__entry:has(.ts-home-block) > :is(
    .ts-room-1-link, .ts-room-2-link, .ts-room-3-link
) a:is(:hover, :focus-visible) {
    background: #272c30 !important;
    border-color: #90969c !important;
    color: #fff !important;
}

/* Higher-specificity legacy rules used red hover fills. Keep every normal
   button neutral on hover; the two hero buttons remain outside these rules. */
#tonstation-home > :is(.ts-room-1-link, .ts-room-2-link, .ts-room-3-link) a:is(:hover, :focus-visible),
#tonstation-home > .ts-cta-button a:is(:hover, :focus-visible) {
    background: #272c30 !important;
    border-color: #90969c !important;
    color: #fff !important;
    transform: none;
}

/* Final color accents for the approved homepage hero. */
#tonstation-home > .ts-hero-title .ts-city { color: #f6f4ef !important; }
#tonstation-home > .ts-lead .ts-home-proof strong { color: var(--ts-accent) !important; }

/* Music lessons secondary page: two calm, equal-size instrument images. */
.page .content__entry .ts-music-lesson-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 880px;
    margin: 30px 0 42px;
}
.page .content__entry .ts-music-lesson-image {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ts-line);
    border-radius: 12px;
    background: var(--ts-card);
}
@media (max-width: 680px) {
    .page .content__entry .ts-music-lesson-images {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 24px 0 34px;
    }
}
