:root {
    color-scheme: light;
    --hsg-bg: #efe8dc;
    --hsg-paper: #fffaf2;
    --hsg-ink: #35291c;
    --hsg-muted: #6c5b45;
    --hsg-gold: #835d23;
    --hsg-green: #5b6c30;
    --hsg-border: #ded3bf;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--hsg-ink);
    background: var(--hsg-bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 15px; line-height: 1.55; background: radial-gradient(circle at top left, #fff7ea, transparent 55%), var(--hsg-bg); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: #66491e; }
img { max-width: 100%; }
:is(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--hsg-green); outline-offset: 3px; }
.hsg-skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); z-index: 2000; padding: 12px 18px; border-radius: 10px; background: #fff; font-weight: 700; }
.hsg-skip-link:focus { transform: none; }
.hsg-app { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
.hsg-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: 28px 16px; background: #f7f0e5; border-right: 1px solid var(--hsg-border); }
.hsg-sidebar-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 12px 6px 4px; text-align: center; font: 700 15px/1.35 Georgia, "Times New Roman", serif; color: #57401d; text-decoration: none; text-transform: none; }
/* Vollstaendiger Vereins-Eigenname bleibt unveraendert, das Wappen steht darueber. */
.hsg-brand-wordmark { display: block; min-width: 0; max-width: 190px; white-space: normal; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
.hsg-wappen { display: block; flex: 0 0 auto; object-fit: contain; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.hsg-wappen-sidebar { width: 72px; height: 82px; }
.hsg-desktop-nav { display: flex; flex-direction: column; gap: 5px; }
.hsg-nav-link { width: 100%; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: var(--hsg-ink); border: 0; border-radius: 12px; background: transparent; text-align: left; text-decoration: none; font-size: 15px; font-weight: 550; }
.hsg-nav-link:hover { background: #ede2d0; }
.hsg-nav-link.is-active { background: #e7dac3; color: #563c13; font-weight: 750; }
.hsg-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.hsg-content { min-width: 0; width: 100%; max-width: 1450px; padding: 22px 26px; margin: 0 auto; }
.hsg-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 54px; margin: 0 0 18px; }
.hsg-header-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; font: 700 19px/1.2 Georgia, "Times New Roman", serif; color: #60451e; text-decoration: none; text-transform: none; }
.hsg-header-brand span { min-width: 0; overflow-wrap: anywhere; }
.hsg-wappen-header { width: 40px; height: 45px; }
.hsg-header-section { font-size: 14px; font-weight: 650; color: var(--hsg-muted); }
.hsg-global-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.hsg-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 9px 13px; border: 1px solid #d4bea0; border-radius: 10px; background: #fffdf9; color: #69491f; font-size: 14px; font-weight: 650; line-height: 1.35; text-decoration: none; }
.hsg-action .hsg-icon { width: 19px; height: 19px; }
.hsg-action.is-disabled { color: #786a56; opacity: .7; }
.hsg-member-access { margin-left: auto; }
.hsg-member-access span { min-width: 0; overflow-wrap: anywhere; }
.hsg-panel { min-width: 0; min-height: 480px; border: 1px solid var(--hsg-border); border-radius: 18px; background: rgba(255, 251, 244, .95); padding: 28px; box-shadow: 0 6px 24px rgba(54, 40, 26, .05); }
.hd-intro { margin: 0 0 22px; }
.hd-eyebrow { color: var(--hsg-gold); letter-spacing: normal; text-transform: none; font-size: 13px; font-weight: 650; line-height: 1.5; margin: 0 0 8px; overflow-wrap: anywhere; }
h1 { margin: 0 0 8px; font: 700 32px/1.22 Georgia, "Times New Roman", serif; color: #50381b; overflow-wrap: anywhere; }
h2 { margin: 0; color: var(--hsg-ink); font-size: 17px; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
h3 { margin: 0; font-size: 16px; line-height: 1.4; }
.hd-lead { margin: 0; color: var(--hsg-muted); font-size: 15px; line-height: 1.55; }
.hd-quick-actions { display: flex; gap: 9px; margin: 18px 0 23px; flex-wrap: wrap; }
.hd-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; max-width: 100%; min-height: 48px; border-radius: 11px; padding: 12px 16px; font-weight: 700; font-size: 14px; line-height: 1.3; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.hd-button-primary { background: #79541d; color: white; border: 1px solid #79541d; }
.hd-button-primary:hover { background: #684719; }
.hd-button-outline { background: white; border: 1px solid #ae946c; color: #60451e; }
.hd-button-outline:hover { background: #fbf7ef; }
.hd-button:disabled { cursor: default; opacity: .65; }
.hd-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hd-card { min-width: 0; background: white; border: 1px solid var(--hsg-border); border-radius: 14px; padding: 17px; }
.hd-card p { margin: 9px 0 12px; font-size: 14px; line-height: 1.5; color: var(--hsg-muted); }
.hd-card-link { display: inline-flex; align-items: center; min-height: 44px; padding: 3px 0; color: #66491e; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; font-weight: 700; text-align: left; }
.hd-heading-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #66491e; font: inherit; text-decoration: underline; text-underline-offset: 4px; text-align: left; }
.hd-heading-link .hsg-icon { width: 18px; height: 18px; }
.hsg-build-note { margin: 14px 0 18px; padding: 13px 15px; border: 1px solid var(--hsg-border); border-radius: 10px; background: #f6efdf; color: var(--hsg-muted); font-size: 14px; line-height: 1.55; }
.hsg-build-note p { margin: 7px 0 0; }
.hsg-build-badge { display: inline-block; align-self: flex-start; padding: 3px 9px; border-radius: 7px; background: #e7dac3; color: #60451e; font-size: 12px; line-height: 1.5; font-weight: 700; }
.hsg-address { margin: 10px 0 15px; font-style: normal; font-size: 14px; line-height: 1.65; color: var(--hsg-muted); overflow-wrap: anywhere; }
.hsg-text-link { color: #66491e; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.hd-upcoming { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 18px; margin: 0 0 22px; padding: 20px; border: 1px solid #cfbd9e; border-left: 4px solid #835d23; border-radius: 14px; background: #f6efdf; }
.hd-upcoming-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #69491f; font-size: 13px; line-height: 1.4; font-weight: 700; text-align: center; }
.hd-upcoming-mark .hsg-icon { width: 28px; height: 28px; }
.hd-upcoming-copy { min-width: 0; }
.hd-upcoming-kicker { margin: 0 0 7px; color: #79541d; font-size: 12px; line-height: 1.4; font-weight: 750; }
.hd-upcoming h2 { font-size: 19px; }
.hd-upcoming-text { margin: 8px 0 0; color: var(--hsg-muted); font-size: 14px; line-height: 1.55; }
.hd-notice { margin: 18px 0 0; padding: 13px 15px; border: 1px solid var(--hsg-border); border-radius: 10px; background: #fbf7ef; color: var(--hsg-muted); font-size: 13px; line-height: 1.55; }
.hd-contact { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--hsg-border); }
.hd-contact p { color: var(--hsg-muted); font-size: 14px; line-height: 1.6; margin: 7px 0 0; overflow-wrap: anywhere; }
.hsg-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.hsg-link-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 100px; padding: 18px; border: 1px solid var(--hsg-border); border-radius: 14px; background: white; text-decoration: none; color: var(--hsg-ink); text-align: left; overflow-wrap: anywhere; }
.hsg-link-card strong { font-size: 16px; }
.hsg-link-card span { font-size: 14px; line-height: 1.5; color: var(--hsg-muted); }
.hsg-link-card .hsg-build-badge { font-size: 12px; color: #60451e; }
.hsg-link-card:hover { border-color: #b09b74; background: #fffdf9; }
.hsg-subnav { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0 0 17px; border-bottom: 1px solid var(--hsg-border); }
.hsg-subnav-link { min-width: 0; max-width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--hsg-border); border-radius: 9px; background: white; color: #60451e; font-size: 13px; font-weight: 600; line-height: 1.4; text-align: left; text-decoration: none; overflow-wrap: anywhere; }
.hsg-subnav-link.is-active { background: #e7dac3; border-color: #bda47b; color: #563c13; font-weight: 750; }
.hsg-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.hsg-news-preview { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hsg-border); }
.hsg-news-preview p { margin: 10px 0 4px; color: var(--hsg-muted); font-size: 14px; line-height: 1.55; }
.hsg-footer { margin: 18px 0 0; padding: 8px 0 12px; color: var(--hsg-muted); font-size: 12px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.hsg-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 3px 7px; color: #66491e; text-decoration: underline; text-underline-offset: 3px; }
.hsg-mobile-nav { display: none; }
.hsg-event-list { display: grid; gap: 14px; }
.hsg-event-card { padding: 18px; background: #fff; border: 1px solid var(--hsg-border); border-radius: 14px; overflow-wrap: anywhere; }
.hsg-event-date { margin: 0 0 8px; color: #79541d; font-size: 14px; font-weight: 700; }
.hsg-event-location { margin: 10px 0 0; font-size: 14px; color: var(--hsg-muted); }
.hsg-event-description { margin: 12px 0 0; color: var(--hsg-muted); white-space: pre-line; }
/* Terminseite: helles Vereinslayout mit eindeutig unterscheidbaren Statusfarben. */
.hsg-cal-page {
    --cal-free-bg: #f0f9f3;
    --cal-free-border: #a9d2b8;
    --cal-free-ink: #24543a;
    --cal-arrange-bg: #fff9eb;
    --cal-arrange-border: #e4cc98;
    --cal-arrange-ink: #704e1e;
    --cal-partial-bg: #fff3e8;
    --cal-partial-border: #dfb28c;
    --cal-partial-ink: #81481f;
    --cal-full-bg: #fff0ee;
    --cal-full-border: #d8a9a3;
    --cal-full-ink: #833c34;
    --cal-past-bg: #f5f4f1;
    --cal-past-border: #dfded9;
    --cal-past-ink: #66645f;
    color: var(--hsg-ink);
}
.cal-booking-guide { margin: 0 0 17px; background: #f9fbf8; border: 1px solid #cfddcb; border-left: 4px solid #88aa83; border-radius: 13px; overflow: hidden; }
.cal-booking-guide summary { cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 13px 16px; list-style: none; color: #2e4932; }
.cal-booking-guide summary::-webkit-details-marker { display: none; }
.cal-booking-guide summary:hover { background: #f2f8f0; }
.cal-guide-symbol { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #e4f0e2; color: #315b37; font-size: 19px; font-weight: 800; }
.cal-guide-title { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.cal-guide-title strong { font-size: 15px; }
.cal-guide-title small { font-size: 12px; color: #526d52; line-height: 1.35; }
.cal-guide-chevron { flex: 0 0 auto; margin-left: auto; font-size: 22px; line-height: 1; transition: transform .15s ease; }
.cal-booking-guide[open] .cal-guide-chevron { transform: rotate(180deg); }
.cal-guide-body { border-top: 1px solid #dce7d8; background: white; padding: 16px 18px 18px; color: #514d43; }
.cal-guide-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 25px; margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.6; }
.cal-guide-steps li { padding-left: 3px; }
.cal-guide-steps li::marker { color: #517557; font-weight: 750; }
.cal-guide-detail { margin: 15px 0 0; padding: 13px 14px; border-radius: 9px; background: #f8f6ef; border: 1px solid #e7e1d5; font-size: 13px; line-height: 1.6; }
.cal-month-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 8px; padding: 12px 14px; background: #fff; border: 1px solid #e8e0d4; border-radius: 12px; }
.cal-month-nav h2 { font-size: 20px; text-align: center; font-weight: 750; color: #54422a; }
.cal-month-nav a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; min-height: 42px; border: 1px solid #d7c9b1; background: #fffdf9; color: #694f2a; border-radius: 9px; padding: 9px 11px; font-size: 13px; font-weight: 650; text-decoration: none; }
.cal-month-nav a:hover { background: #f8f3eb; }
.cal-month-nav a:first-child { justify-self: start; }
.cal-month-nav a:last-child { justify-self: end; }
.cal-month-nav .hsg-icon { width: 17px; height: 17px; }
.cal-month-jump { margin: 0 0 13px; }
.cal-month-jump summary { display: inline-flex; align-items: center; min-height: 36px; color: #68563e; cursor: pointer; font-size: 13px; font-weight: 600; }
.cal-month-jump summary:hover { color: #463722; }
.cal-month-jump summary::before { content: '▸'; display: inline-block; margin-right: 6px; font-size: 13px; transition: transform .15s ease; }
.cal-month-jump[open] summary::before { transform: rotate(90deg); }
.cal-jump { display: flex; flex-wrap: wrap; align-items: end; gap: 9px; margin: 8px 0 4px; padding: 12px; background: #fff; border: 1px solid #e9e2d6; border-radius: 10px; }
.cal-jump label { font-size: 13px; font-weight: 650; }
.cal-jump input { display: block; min-height: 44px; margin-top: 3px; max-width: 100%; min-width: 0; padding: 7px 10px; border: 1px solid #c6b9a4; border-radius: 9px; background: #fff; color: var(--hsg-ink); }
.cal-action-note { margin: 12px 0; padding: 11px 14px; background: #f6f8f4; color: #435c46; border: 1px solid #dce8da; border-radius: 9px; font-size: 13px; line-height: 1.55; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; padding: 0; list-style: none; font-size: 12px; line-height: 1.35; }
.cal-legend li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; background: #fff; border: 1px solid #ddd; border-radius: 100px; }
.cal-legend li strong { font-weight: 700; }
.cal-legend li span { font-size: 11px; opacity: .88; }
.cal-legend .cal-legend-available { background: var(--cal-free-bg); border-color: var(--cal-free-border); color: var(--cal-free-ink); }
.cal-legend .cal-legend-arrangement { background: var(--cal-arrange-bg); border-color: var(--cal-arrange-border); color: var(--cal-arrange-ink); }
.cal-legend .cal-legend-partial { background: var(--cal-partial-bg); border-color: var(--cal-partial-border); color: var(--cal-partial-ink); }
.cal-legend .cal-legend-full { background: var(--cal-full-bg); border-color: var(--cal-full-border); color: var(--cal-full-ink); }
.cal-legend .cal-legend-past { background: var(--cal-past-bg); border-color: var(--cal-past-border); color: var(--cal-past-ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; margin: 0 0 24px; }
.cal-weekday { text-align: center; color: #696057; font-weight: 750; padding: 8px 0; font-size: 12px; }
.cal-day { min-width: 0; min-height: 101px; border: 1px solid #e6e1d8; border-left-width: 3px; border-radius: 10px; background: #fff; padding: 9px 8px; }
.cal-day-empty { border: 0; background: transparent; }
.cal-day-number { display: block; align-self: flex-start; font-size: 14px; font-weight: 750; margin-bottom: 6px; color: #393936; }
.cal-day-busy { background: var(--cal-partial-bg); border-color: var(--cal-partial-border); }
.cal-day-today { outline: 2px solid #507354; outline-offset: -2px; }
.cal-block { display: block; align-self: flex-start; padding: 4px 6px; margin-top: 2px; border-radius: 6px; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.cal-day-link { display: flex; flex-direction: column; gap: 4px; min-height: 111px; color: var(--hsg-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.cal-day-link:hover { box-shadow: 0 3px 11px rgba(59,61,50,.09); border-color: #9cae9e; }
.cal-day-available { background: var(--cal-free-bg); border-color: var(--cal-free-border); }
.cal-day-arrangement { background: var(--cal-arrange-bg); border-color: var(--cal-arrange-border); }
.cal-day-partial { background: var(--cal-partial-bg); border-color: var(--cal-partial-border); }
.cal-day-full { background: var(--cal-full-bg); border-color: var(--cal-full-border); }
.cal-day-partial .cal-block { background: #fbe1ca; color: var(--cal-partial-ink); }
.cal-day-full .cal-block { background: #f9dad6; color: var(--cal-full-ink); }
.cal-day-link:focus-visible { outline: 3px solid #507354; outline-offset: 2px; position: relative; z-index: 1; }
.cal-day-status { display: inline-block; align-self: flex-start; max-width: 100%; padding: 4px 6px; border-radius: 6px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.cal-day-available .cal-day-status { background: #dceee1; color: var(--cal-free-ink); }
.cal-day-arrangement .cal-day-status { background: #f7eacb; color: var(--cal-arrange-ink); }
.cal-day-action { display: block; margin-top: auto; padding-top: 5px; font-size: 12px; line-height: 1.35; font-weight: 750; color: #4f5547; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cal-day-compact { display: none; }
.cal-day-past { background: var(--cal-past-bg); border-color: var(--cal-past-border); color: var(--cal-past-ink); }
.cal-day-past .cal-day-status, .cal-day-past .cal-block { background: #eae9e5; color: var(--cal-past-ink); }
.cal-section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 10px; }
.cal-section-head h2 { color: #564630; font-size: 17px; }
.cal-section-head span { color: #776f65; font-size: 12px; }
.cal-list { margin: 0 0 15px; display: flex; flex-direction: column; gap: 9px; padding: 0; list-style: none; }
.cal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; border: 1px solid #eadcd5; border-left: 3px solid #d49b8a; border-radius: 10px; padding: 12px 14px; background: #fffaf8; }
.cal-row-date { font-size: 14px; font-weight: 700; color: #634a44; }
.cal-row-times { font-size: 14px; color: #79554a; line-height: 1.5; }
.cal-row-times span { display: block; }
.cal-empty { margin: 10px 0 16px; padding: 14px 16px; color: #6c6558; border-radius: 10px; background: #faf9f6; border: 1px solid #e8e2d8; font-size: 14px; line-height: 1.55; }
.cal-help { margin: 14px 0 20px; font-size: 13px; color: var(--hsg-muted); }
.hsg-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hsg-map { min-width: 0; padding: 17px; border: 1px solid var(--hsg-border); border-radius: 14px; background: #f6efdf; }
.hsg-map p { font-size: 14px; color: var(--hsg-muted); }
.hsg-map iframe { width: 100%; height: 300px; display: block; border: 0; border-radius: 10px; }
.hsg-form-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hsg-border); }
.hsg-form-section > p { font-size: 14px; color: var(--hsg-muted); }
.hsg-contact-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 17px; }
.hsg-contact-form label { font-size: 14px; font-weight: 650; color: #5b431f; display: flex; flex-direction: column; gap: 6px; }
.hsg-contact-form input, .hsg-contact-form textarea { min-width: 0; width: 100%; padding: 12px; background: white; color: var(--hsg-ink); border: 1px solid #c6b9a4; border-radius: 10px; font-size: 16px; }
.hsg-contact-form [aria-invalid="true"] { border-color: #a44030; }
.hsg-span-two { grid-column: 1 / -1; }
.hsg-contact-form textarea { min-height: 150px; resize: vertical; }
.hsg-form-submit { justify-self: start; }
.hsg-form-help { margin: 0; color: var(--hsg-muted); font-size: 13px; }
.hsg-form-message { margin: 18px 0; padding: 14px 16px; border: 1px solid #aebc99; border-radius: 10px; background: #f1f5e9; color: #345021; }
.hsg-form-errors { border-color: #c6a193; background: #fff2eb; color: #763a27; }
.hsg-form-errors ul { margin: 8px 0 0; padding-left: 20px; }
.hsg-request-fields { min-width: 0; margin: 4px 0; padding: 16px; border: 1px solid var(--hsg-border); border-radius: 12px; background: #f8f2e7; }
.hsg-request-fields legend { max-width: 100%; padding: 0 7px; color: #60451e; font-size: 16px; line-height: 1.4; font-weight: 750; overflow-wrap: anywhere; }
.hsg-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.hsg-request-grid label { min-width: 0; }
.hsg-request-fields .hsg-form-help { margin: 6px 0 0; line-height: 1.5; }
.hsg-request-prefill { margin: 14px 0; padding: 12px 14px; border: 1px solid #aebc99; border-radius: 10px; background: #f1f5e9; color: #345021; font-size: 14px; }
#kontaktformular { scroll-margin-top: 18px; }
.hsg-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hsg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
    .hsg-content { padding-inline: 20px; }
    .hsg-panel { padding: 22px; }
    .hsg-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .cal-month-nav { gap: 6px; }
    .cal-month-nav a { padding-inline: 8px; }
}
@media (max-width: 900px) {
    .hsg-app { display: block; }
    .hsg-sidebar { display: none; }
    .hsg-content { padding: 12px 14px calc(108px + env(safe-area-inset-bottom, 0px)); }
    .hsg-header { min-height: 50px; margin-bottom: 10px; }
    .hsg-header-brand { font-size: 17px; gap: 7px; }
    .hsg-wappen-header { width: 35px; height: 40px; }
    .hsg-header-section { font-size: 13px; }
    .hsg-panel { border-radius: 15px; padding: 18px 15px; min-height: 390px; }
    .hsg-mobile-nav { position: fixed; z-index: 1000; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 7px 5px calc(7px + env(safe-area-inset-bottom, 0px)); background: #fffaf3; box-shadow: 0 -4px 22px rgba(54, 40, 26, .12); border-top: 1px solid var(--hsg-border); }
    .hsg-mobile-nav .hsg-nav-link { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; padding: 4px 1px; min-height: 54px; min-width: 0; border-radius: 9px; font-size: 11px; line-height: 1.2; white-space: normal; text-align: center; }
    .hsg-mobile-nav .hsg-nav-link span { max-width: 100%; overflow-wrap: anywhere; }
    .hsg-mobile-nav .hsg-icon { width: 23px; height: 23px; }
    .cal-grid { display: grid; }
}
@media (max-width: 640px) {
    h1 { font-size: 26px; }
    .hd-panels, .hsg-link-grid, .hsg-contact-form, .hsg-request-grid { grid-template-columns: minmax(0, 1fr); }
    .hd-quick-actions { flex-direction: column; }
    .hd-quick-actions .hd-button, .hsg-form-submit { width: 100%; }
    .hd-upcoming { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
    .hd-upcoming-mark { flex-direction: row; justify-content: flex-start; text-align: left; }
    .hd-upcoming-mark .hsg-icon { width: 24px; height: 24px; }
    .hd-upcoming h2 { font-size: 18px; }
    .cal-month-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
    .cal-month-nav h2 { grid-column: 1 / -1; grid-row: 1; }
    .cal-month-nav a { font-size: 12px; }
    .cal-grid { gap: 3px; }
    .cal-day { min-height: 76px; padding: 5px 2px; border-radius: 6px; text-align: center; }
    .cal-day-link { justify-content: space-between; gap: 4px; }
    .cal-day-number { font-size: 15px; margin-bottom: 3px; }
    .cal-day .cal-day-status, .cal-day .cal-day-action, .cal-day .cal-block { display: none; }
    .cal-day-compact { display: block; font-size: clamp(9px, 2.5vw, 10px); line-height: 1.3; white-space: nowrap; }
    .cal-day-link .cal-day-compact { text-decoration: underline; text-underline-offset: 2px; font-weight: 750; }
    .cal-weekday { font-size: 11px; }
    .cal-guide-steps { grid-template-columns: minmax(0, 1fr); }
    .cal-booking-guide summary { padding: 12px; }
    .cal-month-nav { padding: 10px 8px; }
    .cal-month-nav a { font-size: 11px; padding-inline: 7px; }
    .cal-legend { gap: 6px; }
    .cal-legend li { font-size: 11px; padding: 5px 8px; }
    .cal-day { border-left-width: 2px; }
    .cal-request-help { padding: 12px; font-size: 13px; }
    .hsg-request-fields { padding: 13px 11px; }
    .hsg-request-fields legend { font-size: 15px; }
    .hsg-contact-grid { gap: 14px; }
}
@media (max-width: 420px) {
    .hsg-header-brand { font-size: 15px; }
    .hsg-wappen-header { width: 32px; height: 37px; }
    .hsg-header-section { flex-basis: 100%; }
    .hsg-global-actions { gap: 8px; }
    .hsg-action { padding: 9px 10px; gap: 6px; font-size: 13px; }
    .hsg-action .hsg-icon { width: 17px; height: 17px; }
    .hsg-subnav-link { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
    body { background: #fff; }
    .hsg-app { display: block; }
    .hsg-sidebar, .hsg-mobile-nav, .hsg-global-actions, .hsg-subnav, .cal-jump, .cal-month-nav a, .hsg-contact-form, .hsg-map button { display: none; }
    .hsg-content { padding: 0; }
    .hsg-panel { border: 0; padding: 0; box-shadow: none; }
    .hsg-footer { margin-top: 25px; }
    .hsg-event-card, .cal-row, .hd-card { break-inside: avoid; }
}
