/* Aus source/src/hotel-template/ag-theme.css (Designer, unverändert) + _werkzeug/farben/ag-theme-ergaenzungen.css. Erzeugt von _werkzeug/farben/gruen.mjs – nicht von Hand bearbeiten. */
/* Alpen-Guide hotel skin. Layout stays in the reference modules.
   All normal and comparison button roles are defined together here.
   Approved 04.11.2026, same rule set as Schneehoehen and Wellness:
   Buchungsbutton Tannengrün (--conversion), Zweitbutton Lichtgrün (--secondary), Kontur white with green outline (--green).
   On dark surfaces (Top-Angebot) the Buchungsbutton turns Lichtgrün (--conversion-on-dark).
   Apricot (--apricot) is an accent only: Top-Angebot badge, eyebrows on dark. Never a button.
   Rating stars are Kupfer #C97A3A (--rating), a darker apricot with enough contrast on white.
   Colours live in tokens only, so a later darkmode can redefine the tokens without touching the rules. */
.ag-hotel{
 --deep:#132016;--ink:#132016;--green:#174F37;--accent:#7FA873;--accent-light:#A9C99A;
 --muted:#657169;--line:#DCE4DD;--tint:#F3F6F1;--white:#FFFFFF;
 --hotel-subnav:#05280D;--surface-active:#DCECAA;
 --conversion:#174F37;--conversion-text:#FFFFFF;--conversion-hover:#132016;--conversion-border:#174F37;--conversion-ink:#FFFFFF;
 --secondary:#DCECAA;--secondary-text:#132016;--secondary-hover:#E1EFB7;--secondary-border:#174F37;
 --action:var(--secondary);--action-hover:var(--secondary-hover);
 --outline-bg:#FFFFFF;--outline-text:var(--green);--outline-border:var(--green);--outline-hover:var(--tint);
 --conversion-on-dark:#DCECAA;--conversion-on-dark-text:#132016;--conversion-on-dark-hover:#E1EFB7;--focus-dark:#DCECAA;
 --secondary-on-dark:#2E6B50;--secondary-on-dark-text:#F4F8EC;--secondary-on-dark-hover:#327656;--outline-on-dark:#123F2C;--outline-on-dark-text:#DCECAA;--outline-on-dark-hover:#0E3324;--border-on-dark:#A9C99A;
 --apricot:#F5B880;--apricot-text:#132016;--rating:#C97A3A;
 --font-sans:Arial,Helvetica,sans-serif;--cta-font-size:14px;--cta-radius:5px;--cta-height:48px;
 --cta-shadow:none;color:var(--deep);font-family:var(--font-sans);
 /* Shared portal token names (same as Schneehoehen and Wellness); the older names above stay as the source values. */
 --brand-deep:var(--deep);--brand:var(--green);--field-border:var(--green);--highlight:var(--apricot);--highlight-ink:var(--apricot-text)
}
/* Top-Angebot: soft glow like Schneehoehen and Wellness (28 px blur, 65 % opacity from the reference module).
   The colour map turns both reference colours into Tannengrün, which made the glow invisible; shimmer Mittelgrün top left, shade Subnav-Grün bottom right. */
.ag-hotel .portal-offer-card-featured:before{background:radial-gradient(ellipse at 8% 20%,#2E6B50 0,transparent 60%),radial-gradient(ellipse at 95% 100%,#05280D 0,transparent 65%)}
/* Sticky offsets: modules/scroll.js updates --main-nav-height and --active-nav-height on <html> while scrolling.
   The CSS scoping turns the :root defaults into fixed values on .ag-hotel, which hid those updates (booking card stuck at 165 + 24 px).
   Inherit them again so "Deine Reise planen" moves up under the chapter bar exactly as on Schneehoehen and Wellness. */
html body .ag-hotel{--main-nav-height:inherit;--active-nav-height:inherit}
/* Calendar focus in the brand colour (approved 05.11.2026): Tannengrün #174F37 (9.50:1 on white, ≥ 7:1 on free/booked days).
   Each portal uses its own brand tone here: Schneehoehen Portalblau, Wellness dark turquoise. */
.ag-hotel .occupancy-day:focus-visible{outline-color:#174F37}
/* Zweitbutton: every button without a role (host booking with IBE, functional actions, dialog steps). */
html:root body .ag-hotel .button,
html:root body .ag-hotel .button.button-host{--cta-bg:var(--secondary);--cta-fg:var(--secondary-text);--cta-border:var(--secondary-border);--cta-hover-bg:var(--secondary-hover);--cta-hover-fg:var(--secondary-text);--cta-hover-border:var(--secondary-border)}
/* Kontur: outlines and inquiries before an inquiry has started. */
html:root body .ag-hotel .button.button-outline:not(.button-host),html:root body .ag-hotel .button:is(.booking-inquiry,.room-inquiry,.offer-inquire,.mobile-inquiry-link,[data-occupancy-apply]){--cta-bg:var(--outline-bg);--cta-fg:var(--outline-text);--cta-border:var(--outline-border);--cta-hover-bg:var(--outline-hover);--cta-hover-fg:var(--outline-text);--cta-hover-border:var(--outline-border)}
/* Buchungsbutton: direct booking, offer booking, host booking without IBE, the mobile CTA with IBE and sending the inquiry.
   --preview-* stays as the hook of the opt-in colour comparison (/color-variants.js); without it the tokens apply. */
html:root body .ag-hotel .button.button-conversion,html:root body .ag-hotel .button.button-host.portal-offer-action,html:root[data-booking-mode="website"] body .ag-hotel .button.button-host,html:root:not([data-booking-mode="website"]) body .ag-hotel .button.mobile-booking-cta,html:root body .ag-hotel #inquiry-form button[type="submit"]{--cta-bg:var(--preview-primary,var(--conversion));--cta-fg:var(--preview-ink,var(--conversion-text));--cta-border:var(--preview-primary,var(--conversion-border));--cta-hover-bg:var(--preview-hover,var(--conversion-hover));--cta-hover-fg:var(--preview-ink,var(--conversion-text));--cta-hover-border:var(--preview-hover,var(--conversion-hover))}

/* Started inquiry (modules/inquiry-lead.js sets html[data-inquiry-started]): only the inquiry carries room, offer,
   treatments and wishes, so it becomes the Buchungsbutton in every booking group, the room calendar and room details included.
   Every booking button drops exactly one rank: direct booking → Zweitbutton, host booking with IBE → Kontur,
   host booking without IBE and offer bookings → Zweitbutton. Order and number of buttons stay; disabled keeps its look. */
html:root[data-inquiry-started] body .ag-hotel :is(.booking-card,.room-conversion,.room-modal-actions,.offer-actions,.mobile-booking-actions,.occupancy-selection-actions) .button:is(.booking-inquiry,.room-inquiry,.offer-inquire,.mobile-inquiry-link,[data-occupancy-apply]){--cta-bg:var(--conversion);--cta-fg:var(--conversion-text);--cta-border:var(--conversion-border);--cta-hover-bg:var(--conversion-hover);--cta-hover-fg:var(--conversion-text);--cta-hover-border:var(--conversion-hover)}
html:root[data-inquiry-started] body .ag-hotel :is(.booking-card,.room-conversion,.room-modal-actions,.offer-actions,.mobile-booking-actions,.occupancy-selection-actions) .button:is(.button-conversion,.button-host.portal-offer-action),
html:root[data-inquiry-started][data-booking-mode="website"] body .ag-hotel :is(.booking-card,.room-conversion,.room-modal-actions,.offer-actions,.mobile-booking-actions,.occupancy-selection-actions) .button.button-host{--cta-bg:var(--secondary);--cta-fg:var(--secondary-text);--cta-border:var(--secondary-border);--cta-hover-bg:var(--secondary-hover);--cta-hover-fg:var(--secondary-text);--cta-hover-border:var(--secondary-border)}
html:root[data-inquiry-started]:not([data-booking-mode="website"]) body .ag-hotel :is(.booking-card,.room-conversion,.room-modal-actions,.offer-actions,.mobile-booking-actions,.occupancy-selection-actions) .button.button-host:not(.portal-offer-action){--cta-bg:var(--outline-bg);--cta-fg:var(--outline-text);--cta-border:var(--outline-border);--cta-hover-bg:var(--outline-hover);--cta-hover-fg:var(--outline-text);--cta-hover-border:var(--outline-border)}

/* Dark surface (Top-Angebot on Tannengrün): the Buchungsbutton is Lichtgrün. After the start the inquiry takes it,
   the offer booking steps down to the white Kontur look, because Lichtgrün is already the Buchungsbutton here. */
html:root body .ag-hotel .portal-offer-card-featured .button.button-host.portal-offer-action,
html:root[data-inquiry-started] body .ag-hotel .portal-offer-card-featured .offer-actions .button.offer-inquire{--cta-bg:var(--conversion-on-dark);--cta-fg:var(--conversion-on-dark-text);--cta-border:var(--conversion-on-dark);--cta-hover-bg:var(--conversion-on-dark-hover);--cta-hover-fg:var(--conversion-on-dark-text);--cta-hover-border:var(--conversion-on-dark-hover)}
/* Dark Top-Angebot card, same three ranks as Schneehoehen and Wellness: Lichtgrün fill, mid-green Zweitbutton, dark Kontur. */
html:root body .ag-hotel .portal-offer-card-featured .offer-actions .button.offer-inquire{--cta-bg:var(--outline-on-dark);--cta-fg:var(--outline-on-dark-text);--cta-border:var(--border-on-dark);--cta-hover-bg:var(--outline-on-dark-hover);--cta-hover-fg:var(--outline-on-dark-text);--cta-hover-border:var(--border-on-dark)}
html:root[data-inquiry-started] body .ag-hotel .portal-offer-card-featured .offer-actions .button.button-host.portal-offer-action{--cta-bg:var(--secondary-on-dark);--cta-fg:var(--secondary-on-dark-text);--cta-border:var(--border-on-dark);--cta-hover-bg:var(--secondary-on-dark-hover);--cta-hover-fg:var(--secondary-on-dark-text);--cta-hover-border:var(--border-on-dark)}
html:root body .ag-hotel .portal-offer-card-featured .button:focus-visible{outline-color:var(--focus-dark)!important}
.ag-hotel .portal-offer-card-featured .portal-offer-badge{background:var(--apricot);color:var(--apricot-text)}

/* Rating: four stars plus half a star for Superior (markup from hotel-adapter.mjs, as Schneehoehen). */
.ag-hotel .entity-rating{color:var(--rating)}
.ag-hotel .entity-rating .star-half{position:relative;display:inline-block}
.ag-hotel .entity-rating .star-half::after{content:"★";position:absolute;inset:0;color:var(--white);-webkit-text-stroke:1.2px var(--rating);clip-path:inset(0 0 0 50%)}

/* Screen-reader hint and icon from modules/link-semantics.js; the hint is also used in the portal header and footer. */
.ag-new-tab{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ag-hotel .ag-link-icon{width:18px;height:18px;vertical-align:-3px;margin-left:5px;flex-shrink:0}

.ag-hotel .button{--cta-rest-shadow:none}
.ag-hotel .hotel-chapters{background:var(--hotel-subnav)}
.ag-hotel .hotel-chapters.subnav-fixed{top:0}
.ag-hotel :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--green);outline-offset:3px}
.ag-hotel :is(.hotel-chapters,.gallery-dialog,.portal-offer-card-featured) :focus-visible{outline-color:var(--accent-light)}
/* Field + button stacked on phones (≤ 600 px, e.g. search dialog): 16 px between the rows (05.11.2026).
   The field's focus ring (3 px + 4 px offset) used 7 of the former 10 px; 16 px leaves 9 px of air. Side by side stays 10 px. */
@media(max-width:600px){body:has(.ag-hotel) .input-action{row-gap:12px}}
/* Footer accordion like Wellness (05.11.2026): plus when closed, minus when open (quarter turn, the vertical stroke disappears). */
body:has(.ag-hotel) .site-footer .footer-group[open] > summary .icon-plus{transform:none!important}
body:has(.ag-hotel) .site-footer .footer-group[open] > summary .icon-plus .icon-vertical{display:none}
/* Footer above the mobile booking bar like Schneehoehen (05.11.2026): no extra space at the footer end, copyright 5 px above the bar
   (bar height + 5 px = 96 px on phones). Reserved once, so there is no large empty gap between copyright and "Verfügbarkeit prüfen". */
@media(max-width:1000px){body:has(.ag-hotel) .site-footer{padding-bottom:0}body:has(.ag-hotel) .site-footer .footer-bottom{padding-bottom:calc(var(--mobile-booking-height,91px) + 5px)}}
/* "Nach oben" like Schneehoehen (10.11.2026): from 761 px the legal row keeps 80 px free on the right for the fixed button,
   and without the mobile booking bar (from 1001 px) 30 px at the bottom, so the row sits at the height of the button. */
@media(min-width:761px){body:has(.ag-hotel) .site-footer .footer-bottom{padding-right:80px}}
@media(min-width:1001px){body:has(.ag-hotel) .site-footer .footer-bottom{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){.ag-hotel *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Same rules as Schneehoehen and Wellness, found by the contrast scan of 04.11.2026 (light mode):
   "Alle Bilder" scrim identical in all three portals (11.11.2026): Schneehoehen deep blue rgba(16,41,54,.65) – the green
   Waldschatten scrim looked greenish; white text 4.85:1 even over a white image area,
   future form step number in Waldschatten, small helper texts on tinted surfaces ≥ 4.5:1, form fields in dialogs
   with the functional Tannengrün outline, portal dialog buttons as Zweitbutton (Apricot is never a button). */
.ag-hotel{--scrim:rgba(16,41,54,.65);--muted-strong:#56615A}
.ag-hotel .media-all::after{background:var(--scrim)}
.ag-hotel .inquiry-progress li:not([aria-current="step"]) b{color:var(--deep)}
.ag-hotel .mobile-booking small{color:var(--deep)}
.ag-hotel :is(#guests-form select,#share-url){border-color:var(--green)}
body:has(.ag-hotel) .menu-partner .ad-label{color:#56615A}
body:has(.ag-hotel) #search-dialog input{border-color:#174F37}
/* Portal dialogs (Suche, Konto, Winter, Sprache) are not bookings: Zweitbutton like Schneehoehen and Wellness; "Hier bleiben" is a Kontur. */
body:has(.ag-hotel) :is(#search-dialog,#account-dialog,#winter-dialog,#language-dialog) .button:not(.button-light){background:#DCECAA;border-color:#174F37;color:#132016}
body:has(.ag-hotel) :is(#search-dialog,#account-dialog,#winter-dialog,#language-dialog) .button:not(.button-light):hover{background:#E1EFB7;border-color:#174F37;color:#132016}
body:has(.ag-hotel) :is(#search-dialog,#account-dialog,#winter-dialog,#language-dialog) .button.button-outline{background:#FFFFFF;border-color:#174F37;color:#174F37}
body:has(.ag-hotel) :is(#search-dialog,#account-dialog,#winter-dialog,#language-dialog) .button.button-outline:hover{background:#F3F6F1;border-color:#174F37;color:#174F37}
body:has(.ag-hotel) .site-footer summary:focus-visible{outline-color:#DCECAA}
/* Partner link in the mega menu: hover in the main text colour like Schneehoehen and Wellness (10.11.2026). */
.menu-partner a.menu-ad-link:hover{color:var(--deep)}
/* Partner card title in the mega menu like Schneehoehen and Wellness (11.11.2026): Georgia italic 28 px / 1.12, weight 400;
   25 px where the mega menu gets narrow (1025–1150 px). */
.menu-partner h3{font:italic 400 28px/1.12 var(--font-serif);letter-spacing:-.6px;text-wrap:balance}
@media (min-width:1025px) and (max-width:1150px){.menu-partner h3{font-size:25px}}
/* Mega-menu ad like Wellness and Schneehoehen (11.11.2026): same card, only the colours are Alpen-Guide's.
   "Anzeige" top right, topic line in capitals, Georgia italic headline, text, link with arrow below a fine line. */
.menu-partner{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-self:start;padding:14px 20px 18px;border:1px solid #ecf2ea;border-radius:10px;background:#ecf2ea;text-align:left}
.menu-partner .menu-ad-label{align-self:flex-end;margin:0 -6px 20px 0;font:12px/1.4 var(--font-sans);letter-spacing:0;text-transform:none;color:#56615a}
.menu-partner .menu-ad-kicker{margin-bottom:12px;font:11px/1.5 var(--font-sans);letter-spacing:.7px;text-transform:uppercase;color:#56615a}
.menu-partner h3,.menu-partner p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
.menu-partner h3{-webkit-line-clamp:2;line-clamp:2;margin:0 0 16px;color:var(--green)}
.menu-partner p{-webkit-line-clamp:3;line-clamp:3;margin:0 0 14px;font:14px/1.5 var(--font-sans);color:var(--deep)}
.menu-partner a.menu-ad-link{display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:8px 0;border-top:1px solid color-mix(in srgb,var(--green) 25%,transparent);font:600 13px/1.4 var(--font-sans);color:var(--green);text-decoration:none}
.menu-partner a.menu-ad-link .icon{width:18px;height:18px;flex:none}
.menu-partner a.menu-ad-link:hover{color:var(--deep);text-decoration:underline;text-underline-offset:4px}
@media (min-width:1025px) and (max-width:1150px){.menu-partner{padding:16px}}


/* ===== Ergänzungen Alpen-Guide (nach Designer-Stand 10.11.) – Elemente, die es erst seit Schneehoehen 20.11. gibt =====
   Wird von gruen.mjs an ag-theme.css gehängt. */

/* Galerie mit nur 2–4 Bildern (27.11.2026): leere rechte Kacheln werden mit „Bild folgt“-Platzhaltern aufgefüllt,
   Optik wie .room-photo-placeholder (Zimmer ohne Bild). Mobil (≤760px) ausgeblendet – dort zeigt die Galerie ohnehin nur 1–2 Kacheln. */
.ag-hotel .media-gallery .gallery-tile.gallery-tile-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:var(--tint,#f3f6f1);color:#7fa873;cursor:default}
.ag-hotel .gallery-tile-placeholder .icon{width:40px;height:40px}
.ag-hotel .gallery-tile-placeholder span{color:#657169;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
/* Galerie-Hintergrund transparent, damit die Abstände zwischen den Platzhaltern sichtbar sind (sonst eine durchgehende Fläche) */
.ag-hotel .hotel-gallery:has(.gallery-tile-placeholder){background:transparent}
@media (max-width:760px){.ag-hotel .media-gallery .gallery-tile.gallery-tile-placeholder{display:none}}
