/* Fonts served from this site (no request to Google): latin and latin-ext subsets,
   downloaded from Google Fonts, SIL Open Font License. */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alegreya-italic-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alegreya-italic-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/alegreya-italic-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/alegreya-italic-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alegreya-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alegreya-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/alegreya-normal-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/alegreya-normal-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-800-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/alegreya-sans-normal-800-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kaushan-script-normal-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kaushan-script-normal-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
 | Design "Waldgasthaus" – a Thuringian inn, the way the house sees
 | itself: the green script sign, the arnica flower beside it, the
 | printed menus framed in green.
 |
 | Forest green, cream and arnica yellow. Kaushan Script only where a
 | sign painter would use it (the name, a greeting, a caption written
 | on a photo border), Alegreya for headings and text, Alegreya Sans
 | for the small print. Raster only: photographs, the parchment and
 | wood textures, the arnica photo as the emblem.
 | Pages: /waldgasthaus and /waldgasthaus-speisekarte.
 |
 | Everything is scoped to pages carrying .d-wald (the green service
 | bar at the top), so the three designs can be loaded together.
 */

:root:has(.d-wald) {
  --forest: #1d4a2b;
  --deep: #12301c;
  --leaf: #2f6b36;
  --cream: #fbf6e8;
  --paper: #f5ecd5;
  --sand: #e6d8b4;
  --gold: #e4b22c;
  --gold-d: #b2841a;
  --wood: #6a4526;
  --ink: #26301f;
  --muted: #5e6654;
  --rust: #a8402b;
  --serif: "Alegreya", "Palatino Linotype", Georgia, serif;
  --sans: "Alegreya Sans", "Trebuchet MS", sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --wrap: 74rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h, 6rem) + 1rem);
  overflow-anchor: none; /* the header grows back at the top: keep the page where it is */
  -webkit-text-size-adjust: 100%;

  & body {
    margin: 0;
    background: var(--paper) radial-gradient(ellipse 120% 60% at 50% 0, #fbf4e1, var(--paper) 70%) no-repeat;
    color: var(--ink);
    font: 400 1.125rem/1.65 var(--serif);
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
  }
  & ::selection { background: var(--gold); color: var(--deep); }
  & :is(h1, h2, h3, h4) { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; color: var(--forest); letter-spacing: 0; }
  & p { margin: 0 0 1em; }
  & a { color: inherit; }
  & :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

  /* Article blocks are full-bleed sections here */
  & .article {
    width: 100%; max-width: none; margin: 0; padding: 0; border-radius: 0;
    box-shadow: none; background: none; overflow: visible; color: inherit; font-family: inherit;
  }
  & .article .article__grid, & .article .article__content { display: block; min-width: 0; }
  & .article .article__body { max-width: none; font-size: inherit; line-height: inherit; color: inherit; }
  & .article .article__body > * + * { margin-top: 0; }
  & .article__body a { background: none; border: 0; color: inherit; text-decoration: none; }

  /* --- Shared pieces ------------------------------------------------- */
  & .wg-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); box-sizing: content-box; }
  & .wg-eyebrow { margin: 0 0 .6rem; font: 800 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
  & .wg-h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.2rem; }
  & .wg-lead { font-size: 1.25rem; color: var(--ink); }
  & .wg-note { margin-top: 1.6rem; text-align: center; font: 400 .85rem var(--sans); color: var(--muted); }
  & .wg-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
  & .wg-head__text { color: var(--muted); margin: 0; }

  /* A rule with the arnica in the middle, like a stamp on a menu */
  & .wg-divider { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: .4rem 0 1.4rem; }
  & .wg-divider::before, & .wg-divider::after { content: ""; width: 4.5rem; height: 2px; background: var(--gold); border-radius: 2px; }
  & .wg-divider span { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: url("../img/icon-512.png") center / 160%; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--gold); }

  & .article__body .wg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.8rem; border-radius: 999px;
    font: 800 .92rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase;
    transition: transform .15s, box-shadow .15s, background .2s, color .2s;
  }
  & .article__body .wg-btn--gold { background: var(--gold); color: var(--deep); box-shadow: 0 5px 0 var(--gold-d), 0 12px 20px -10px rgba(18,48,28,.5); }
  & .article__body .wg-btn--gold:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--gold-d), 0 8px 14px -8px rgba(18,48,28,.5); }
  & .article__body .wg-btn--gold:active { transform: translateY(5px); box-shadow: 0 0 0 var(--gold-d); }
  & .article__body .wg-btn--line { border: 2px solid var(--forest); color: var(--forest); }
  & .article__body .wg-btn--line:hover { background: var(--forest); color: var(--cream); }

  & .article__body .wg-more {
    display: inline-flex; align-items: center; gap: .5rem; font: 800 .88rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--forest);
    text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .35em;
  }
  & .article__body .wg-more::after { content: "›"; font-size: 1.3em; line-height: 0; transition: transform .2s; }
  & .article__body .wg-more:hover::after { transform: translateX(.25rem); }

  & .wg-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--sand); flex: none; }
  & [data-state="open"] .wg-dot { background: #7bd389; box-shadow: 0 0 0 3px rgba(123,211,137,.25); }
  & [data-state="closed"] .wg-dot { background: #e8907b; }

  &.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  &.js [data-reveal].is-in { opacity: 1; transform: none; }

  & .wg-img-huette { background-image: url("../img/huette-sommer.webp"); }
  & .wg-img-team { background-image: url("../img/huette-1932.webp"); filter: grayscale(1) sepia(.35); }
  & .wg-img-rostbraetel { background-image: url("../img/essen-rostbraetel.webp"); }
  & .wg-img-kloesse { background-image: url("../img/essen-kloesse.webp"); }
  & .wg-img-schnitzel { background-image: url("../img/essen-schnitzel.webp"); }
  & .wg-img-kaiserschmarrn { background-image: url("../img/essen-kaiserschmarrn.webp"); }
  & .wg-img-greifen { background-image: url("../img/greifenwarte.webp"); }
  & .wg-img-inselsberg { background-image: url("../img/inselsberg.webp"); }
  & .wg-img-winterwald { background-image: url("../img/huette-schnee.webp"); }
  & .wg-img-pilze { background-image: url("../img/essen-pilzschnitzel.webp"); }
  & .wg-img-wegweiser { background-image: url("../img/rennsteig-abend.webp"); }
  & :is(.wg-photo__img, .wg-dish__img, .wg-place__img, .wg-pagehead__photos span) { background-size: cover; background-position: center; background-color: var(--sand); }

  /* Design switcher: small pills */
  & .wg-designs { display: flex; align-items: center; gap: .3rem; font: 500 .8rem var(--sans); }
  & .wg-designs > span { margin-right: .3rem; opacity: .7; }
  & .article__body .wg-designs a { padding: .2rem .7rem; border-radius: 999px; transition: background .2s, color .2s; }
  & .article__body .wg-designs a:hover { background: rgba(251,246,232,.12); }
  & .article__body .wg-designs a[aria-current="page"] { background: var(--gold); color: var(--deep); font-weight: 800; }

  /* --- Service bar ---------------------------------------------------- */
  & .wg-topbar {
    display: flex; align-items: center; gap: 1.5rem; padding: .45rem var(--gutter);
    background: var(--deep); color: #e9e2c9; font: 500 .84rem/1.3 var(--sans);
  }
  & .wg-topbar p { margin: 0; display: flex; align-items: center; gap: .55rem; white-space: nowrap; }
  & .wg-topbar__contact { margin-left: auto !important; gap: 1.3rem !important; }
  & .article__body .wg-topbar__contact a:hover { color: var(--gold); }

  /* --- Header: the name in the middle, like a sign -------------------- */
  & #wg-top { position: sticky; top: 0; z-index: 60; }
  & .wg-header {
    position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
    min-height: 6.4rem; padding: .5rem var(--gutter);
    background: linear-gradient(rgba(251,246,232,.93), rgba(251,246,232,.93)), url("../img/pergament.webp") center / 700px;
    border-bottom: 3px solid var(--forest); box-shadow: 0 3px 0 var(--gold);
    transition: min-height .3s var(--ease), box-shadow .3s;
  }
  &[data-scrolled] .wg-header { min-height: 4.8rem; box-shadow: 0 3px 0 var(--gold), 0 14px 24px -14px rgba(18,48,28,.45); }
  & .wg-nav { display: flex; align-items: center; gap: 1.8rem; white-space: nowrap; }
  & .wg-nav--left { justify-content: flex-end; }
  & .article__body .wg-nav > a:not(.wg-nav__cta) {
    font: 700 1.02rem var(--sans); color: var(--forest); padding: .4rem 0;
    text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: .45em;
    transition: text-decoration-color .2s;
  }
  & .article__body .wg-nav > a:hover, & .article__body .wg-nav > a[aria-current="page"] { text-decoration-color: var(--gold); }
  & .article__body .wg-nav__cta { padding: .7rem 1.3rem; border-radius: 999px; background: var(--forest); color: var(--cream); font: 800 .85rem var(--sans); letter-spacing: .06em; text-transform: uppercase; transition: background .2s; }
  & .article__body .wg-nav__cta:hover { background: var(--leaf); }
  & .wg-nav .wg-designs { display: none; }
  & .article__body .wg-logo { display: flex; align-items: center; gap: .9rem; }
  & .wg-logo__flower {
    display: block; flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: url("../img/icon-512.png") center / 150%;
    box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--gold), 0 6px 14px rgba(18,48,28,.35); transition: width .3s var(--ease), height .3s var(--ease);
  }
  & .wg-logo__text { display: grid; line-height: 1; }
  & .wg-logo__text small { font: 800 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); margin-bottom: .35rem; }
  & .wg-logo__text b { font: 400 2.2rem/1 var(--script); color: var(--forest); transition: font-size .3s var(--ease); }
  &[data-scrolled] .wg-logo__flower { width: 3rem; height: 3rem; }
  &[data-scrolled] .wg-logo__text b { font-size: 1.85rem; }
  & .wg-header__toggle, & .wg-header__burger, & .wg-header__call { display: none; }

  /* --- Hero: a welcome on paper, snapshots falling onto the table ------- */
  & .wg-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); min-height: min(calc(100svh - var(--topbar-h, 6.4rem) - 2.2rem), 54rem); padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(3.5rem, 6vw, 5rem); overflow: hidden; }
  & .wg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 78% 50%, rgba(47,107,54,.12), transparent 70%), radial-gradient(ellipse 50% 60% at 10% 90%, rgba(228,178,44,.14), transparent 70%); }
  & .wg-hero__text { position: relative; z-index: 3; max-width: 38rem; justify-self: end; transform: translateY(calc(var(--p, 0) * -6vh)); }
  & .wg-hero__hello { margin: 0 0 .3rem; font: 400 clamp(1.8rem, 3.2vw, 2.6rem)/1.1 var(--script); color: var(--gold-d); animation: wg-in 1s .1s var(--ease) both; }
  & .wg-hero__title { font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em; animation: wg-in 1s .2s var(--ease) both; }
  & .wg-hero__title em { display: block; font: 400 1.2em/1.05 var(--script); color: var(--forest); margin-top: .05em; }
  & .wg-divider--left { justify-content: flex-start; margin: 1.2rem 0 1.4rem; }
  & .wg-divider--left::before { width: 2.5rem; }
  & .wg-hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; animation: wg-in 1s .35s var(--ease) both; }
  & .wg-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; animation: wg-in 1s .45s var(--ease) both; }
  & .wg-hero__status { display: inline-flex; align-items: center; gap: .6rem; margin: 1.8rem 0 0; font: 700 .92rem var(--sans); color: var(--forest); }

  /* The medal: the arnica photo with the house's motto turning around it */
  & #wg-hero { overflow: clip; }
  & .wg-medal { position: absolute; z-index: 6; top: -3.2rem; right: -10.5rem; width: 8.6rem; height: 8.6rem; display: grid; place-items: center; animation: wg-in 1s .6s var(--ease) both; }
  & .wg-medal__flower { width: 4.8rem; height: 4.8rem; border-radius: 50%; background: url("../img/icon-512.png") center / 150%; box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--gold), 0 10px 22px rgba(18,48,28,.35); }
  & .wg-medal__ring { position: absolute; inset: 0; animation: wg-turn 28s linear infinite; font: 800 .64rem/1 var(--sans); letter-spacing: 0; text-transform: uppercase; color: var(--forest); }
  & .wg-medal__ring .ch { position: absolute; left: 50%; top: 0; height: 50%; width: 1em; margin-left: -.5em; text-align: center; transform-origin: 50% 100%; transform: rotate(calc(var(--i) * 10deg)); }
  & .wg-medal__ring .sp { display: none; }
  & .wg-medal__ring .w { display: contents; }

  /* Four snapshots, dropped one after another */
  & .wg-hero__collage { position: relative; height: min(70vh, 40rem); transform: translateY(calc(var(--p, 0) * 6vh)); }
  & .wg-snap { position: absolute; margin: 0; padding: .65rem .65rem 0; background: #fffdf7; border-radius: 4px; box-shadow: 0 2px 3px rgba(38,48,31,.15), 0 26px 40px -14px rgba(38,48,31,.5); animation: wg-drop 1.1s var(--ease) both; transition: transform .5s var(--ease), box-shadow .5s; }
  & .wg-snap:hover { z-index: 5; transform: rotate(0deg) scale(1.04); box-shadow: 0 2px 3px rgba(38,48,31,.15), 0 36px 60px -16px rgba(38,48,31,.6); }
  & .wg-snap__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
  & .wg-snap figcaption { padding: .45rem 0 .5rem; text-align: center; font: 400 1.05rem var(--script); color: var(--forest); }
  & .wg-snap--1 { width: 58%; left: 4%; top: 6%; transform: rotate(-4deg); animation-delay: .25s; z-index: 2; }
  & .wg-snap--2 { width: 46%; right: 0; top: 0; transform: rotate(5deg); animation-delay: .45s; z-index: 1; }
  & .wg-snap--3 { width: 44%; right: 6%; bottom: 2%; transform: rotate(-2.5deg); animation-delay: .65s; z-index: 3; }
  & .wg-snap--4 { width: 40%; left: 0; bottom: 0; transform: rotate(3deg); animation-delay: .85s; z-index: 2; }
  & .wg-snap--1::before, & .wg-snap--4::before { content: ""; position: absolute; z-index: 1; top: -.7rem; left: 50%; width: 5rem; height: 1.4rem; margin-left: -2.5rem; background: rgba(228,178,44,.55); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
  & .wg-snap--1::before { left: 22%; background: rgba(251,246,232,.8); transform: rotate(4deg); }

  /* A green ribbon with the house's dishes running past */
  & .wg-ribbon { position: relative; z-index: 2; overflow: hidden; margin: -.4rem -1rem 0; padding: 1rem 0; background: var(--forest); border-block: 3px solid var(--gold); transform: rotate(-1deg); box-shadow: 0 12px 30px -16px rgba(18,48,28,.6); }
  & .wg-ribbon__row { display: flex; width: max-content; align-items: center; gap: 2.4rem; animation: wg-ribbon 40s linear infinite; }
  & .wg-ribbon span { font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.2 var(--script); color: var(--cream); white-space: nowrap; }
  & .wg-ribbon span:nth-of-type(even) { color: var(--gold); }
  & .wg-ribbon i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: url("../img/icon-512.png") center / 160%; box-shadow: 0 0 0 2px var(--gold); flex: none; }

  /* The script greeting on the menu page */
  & .wg-sign__hello { margin: 0 0 .2rem; font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--script); color: var(--gold-d); }

  /* --- Today band ----------------------------------------------------- */
  & .wg-today { list-style: none; margin: 0; padding: 0 var(--gutter); background: var(--forest); color: var(--cream); display: grid; grid-template-columns: repeat(3, 1fr); }
  & .wg-today li { display: grid; gap: .15rem; padding: 1.7rem clamp(1rem, 3vw, 2.4rem); border-left: 1px dashed rgba(251,246,232,.25); }
  & .wg-today li:first-child { border-left: 0; }
  & .wg-today__label { font: 800 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  & .wg-today strong { font: 700 1.35rem/1.3 var(--serif); display: flex; align-items: center; gap: .55rem; }
  & .wg-today strong[data-state]::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #e8907b; }
  & .wg-today strong[data-state="open"]::before { background: #7bd389; box-shadow: 0 0 0 4px rgba(123,211,137,.25); }
  & .wg-today li > span:last-child { font: 400 .92rem var(--sans); opacity: .8; }

  /* --- Willkommen --------------------------------------------------- */
  & #willkommen, & #kueche, & #umgebung, & #anfahrt { padding-block: clamp(4rem, 9vw, 7rem); }
  & .wg-welcome { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
  & .wg-welcome__photos { position: relative; padding-bottom: 3rem; }
  & .wg-photo { margin: 0; background: #fffdf7; padding: .7rem .7rem 0; border-radius: 4px; box-shadow: 0 18px 36px -12px rgba(38,48,31,.45); }
  & .wg-photo__img { aspect-ratio: 4 / 3; }
  & .wg-photo figcaption { padding: .45rem 0 .55rem; text-align: center; font: 400 1.15rem var(--script); color: var(--forest); }
  & .wg-photo--main { transform: rotate(-1.6deg); width: 88%; }
  & .wg-photo--old { position: absolute; right: 0; bottom: 0; width: 48%; transform: rotate(3.5deg); }
  & .wg-checks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.6rem; font: 500 1rem/1.4 var(--sans); }
  & .wg-checks li { display: flex; gap: .7rem; align-items: flex-start; }
  & .wg-checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--forest); color: var(--gold); font-weight: 800; font-size: .85rem; }

  /* --- Küche ----------------------------------------------------------- */
  & #kueche { background: rgba(255,253,246,.55); border-block: 1px solid var(--sand); }
  & .wg-dishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  & .wg-dish { display: flex; flex-direction: column; background: #fffdf6; border: 1px solid var(--sand); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 26px -16px rgba(38,48,31,.35); transition: transform .3s var(--ease), box-shadow .3s; }
  & .wg-dish:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -18px rgba(38,48,31,.45); }
  & .wg-dish__img { position: relative; aspect-ratio: 4 / 3; }
  & .wg-dish__badge { position: absolute; top: .8rem; left: .8rem; padding: .3rem .7rem; border-radius: 5px; background: var(--forest); color: var(--cream); font: 800 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
  & .wg-dish__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.4rem; }
  & .wg-dish h3 { font-size: 1.28rem; margin-bottom: .4rem; }
  & .wg-dish__body p { font: 400 .95rem/1.5 var(--sans); color: var(--muted); }
  & .wg-dish .wg-dish__price { margin: auto 0 0; align-self: flex-start; padding: .3rem .9rem; border-radius: 999px; background: var(--gold); color: var(--deep); font: 800 .95rem var(--sans); }
  & .wg-menulinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.8rem; }
  & .article__body .wg-menulinks a { display: grid; justify-items: center; padding: .8rem 1.8rem; border: 2px solid var(--forest); border-radius: 14px; background: var(--cream); color: var(--forest); transition: background .2s, color .2s, transform .2s; }
  & .article__body .wg-menulinks a:hover { background: var(--forest); color: var(--cream); transform: translateY(-2px); }
  & .wg-menulinks b { font: 700 1.15rem var(--serif); }
  & .wg-menulinks span { font: 500 .82rem var(--sans); opacity: .75; }

  /* --- Küche as a story: the big photo changes as the dishes scroll by -- */
  & .wg-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  & .wg-story__media { position: sticky; top: calc(var(--topbar-h, 5rem) + 2rem); }
  & .wg-story__frame { position: relative; aspect-ratio: 4 / 3.4; border-radius: 22px; overflow: hidden; border: 10px solid #fffdf7; box-shadow: 0 34px 60px -26px rgba(38,48,31,.55); background: var(--sand); transform: rotate(-1.2deg); }
  & .wg-story__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
  & .wg-story__img.is-active { opacity: 1; transform: none; }
  & .wg-story__note { position: absolute; right: .8rem; bottom: .7rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(18,48,28,.7); color: var(--cream); font: 700 .66rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  & .wg-story__steps { list-style: none; margin: 0; padding: 0; counter-reset: dish; }
  & .wg-step { position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0 2rem 4.6rem; opacity: .32; transition: opacity .6s var(--ease); counter-increment: dish; }
  & .wg-step.is-active { opacity: 1; }
  & .wg-step::before { content: counter(dish, decimal-leading-zero); position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--forest); font: 700 1.1rem var(--serif); color: var(--forest); transition: background .4s, color .4s; }
  & .wg-step.is-active::before { background: var(--forest); color: var(--gold); }
  & .wg-step__badge { align-self: flex-start; margin-bottom: .7rem; padding: .25rem .7rem; border-radius: 5px; background: var(--forest); color: var(--cream); font: 800 .66rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
  & .wg-step h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .6rem; }
  & .wg-step p { font: 400 1.05rem/1.6 var(--sans); color: var(--muted); max-width: 30rem; }
  & .wg-step .wg-step__price { align-self: flex-start; margin: .4rem 0 0; padding: .35rem 1rem; border-radius: 999px; background: var(--gold); color: var(--deep); font: 800 1rem var(--sans); box-shadow: 0 4px 0 var(--gold-d); }

  /* --- Feiern -------------------------------------------------------- */
  & #feiern { background: linear-gradient(rgba(18,48,28,.93), rgba(18,48,28,.88)), url("../img/biergarten-ski.webp") center 35% / cover; color: var(--cream); }
  & .wg-feiern__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; padding-block: clamp(4rem, 9vw, 7rem); }
  & #feiern .wg-h2 { color: var(--cream); max-width: 18ch; }
  & #feiern .wg-eyebrow { color: var(--gold); }
  & .wg-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin: 2rem 0 2.4rem; }
  & .wg-offers div { padding-left: 1rem; border-left: 3px solid var(--gold); }
  & .wg-offers dt { font: 700 1.2rem var(--serif); color: var(--gold); margin-bottom: .2rem; }
  & .wg-offers dd { margin: 0; font: 400 .98rem/1.5 var(--sans); opacity: .88; }
  & .wg-groupcard {
    position: relative; padding: 2.2rem 2rem 2rem; color: var(--ink); transform: rotate(1.2deg);
    background: linear-gradient(rgba(251,246,232,.96), rgba(251,246,232,.96)), url("../img/pergament.webp") center / 500px;
    border: 5px solid var(--leaf); border-radius: 18px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
  }
  & .wg-groupcard__title { margin: 0; text-align: center; font: 400 2rem/1.1 var(--script); color: var(--forest); }
  & .wg-groupcard__sub { margin: .3rem 0 1.2rem; text-align: center; font-style: italic; color: var(--muted); font-size: .95rem; }
  & .wg-groupcard ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
  & .wg-groupcard li { display: flex; align-items: baseline; gap: .5rem; padding: .5rem 0; font-size: 1rem; }
  & .wg-groupcard li span { flex: 1; display: flex; gap: .5rem; }
  & .wg-groupcard li span::after { content: ""; flex: 1; border-bottom: 2px dotted var(--sand); transform: translateY(-.3em); }
  & .wg-groupcard li b { font: 800 .98rem var(--sans); color: var(--forest); }
  & .wg-groupcard .wg-more { display: flex; justify-content: center; }

  /* --- Umgebung ------------------------------------------------------ */
  & .wg-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
  & .wg-place__img { aspect-ratio: 4 / 3; border-radius: 14px; border: 6px solid #fffdf7; box-shadow: 0 16px 30px -18px rgba(38,48,31,.6); margin-bottom: 1.2rem; }
  & .wg-place h3 { font-size: 1.4rem; margin-bottom: .35rem; }
  & .wg-place p { font: 400 1rem/1.55 var(--sans); color: var(--muted); }

  /* --- Anfahrt & the green board ------------------------------------- */
  & #anfahrt { background: rgba(255,253,246,.55); border-top: 1px solid var(--sand); }
  & .wg-visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
  & .wg-visit__address { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: 1.2rem; }
  & .wg-visit__info p:not(.wg-eyebrow) { font: 400 1.02rem/1.6 var(--sans); color: var(--muted); }
  & .wg-visit__pay { font-weight: 500 !important; color: var(--ink) !important; }
  & .wg-board {
    padding: 2rem clamp(1.4rem, 3vw, 2.4rem) 1.6rem; color: var(--cream); border-radius: 12px;
    background: linear-gradient(rgba(18,48,28,.92), rgba(18,48,28,.92)), url("../img/holz-dunkel.webp") center / 700px;
    border: 10px solid var(--wood); box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), inset 0 0 30px rgba(0,0,0,.35), 0 24px 40px -18px rgba(38,48,31,.65);
  }
  & .wg-board__title { margin: 0 0 1rem; text-align: center; font: 400 2rem/1 var(--script); color: var(--gold); }
  & .wg-board table { width: 100%; border-collapse: collapse; font: 500 1.05rem var(--sans); }
  & .wg-board th { text-align: left; font-weight: 500; padding: .55rem 0; }
  & .wg-board td { text-align: right; font-variant-numeric: tabular-nums; }
  & .wg-board tr + tr { border-top: 1px dashed rgba(251,246,232,.22); }
  & .wg-board .is-closed { color: #eaa792; font-style: italic; }
  & .wg-board tr.is-today { color: var(--gold); font-weight: 800; }
  & .wg-board tr.is-today th::after { content: "heute"; margin-left: .6rem; padding: .1rem .5rem; border-radius: 999px; background: var(--gold); color: var(--deep); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; vertical-align: .1em; }
  & .wg-board__foot { margin: 1rem 0 0; text-align: center; font: 700 .95rem var(--sans); color: var(--gold); }

  /* --- Reservieren ----------------------------------------------------- */
  & #reservieren { background: radial-gradient(ellipse 80% 140% at 20% 0, #f0c64d, var(--gold) 60%, #d9a521); color: var(--deep); box-shadow: inset 0 4px 0 var(--forest); }
  & .wg-reserve__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem 4rem; align-items: center; padding-block: clamp(3rem, 7vw, 5rem); }
  & .wg-reserve .wg-eyebrow { color: var(--deep); opacity: .75; }
  & .wg-reserve__title { font-size: clamp(2rem, 3.8vw, 3rem); color: var(--deep); margin-bottom: .8rem; }
  & .wg-reserve__text p:not(.wg-eyebrow) { margin: 0; font: 500 1.05rem/1.55 var(--sans); max-width: 34rem; }
  & .wg-reserve__actions { display: grid; gap: 1rem; justify-items: stretch; }
  & .article__body .wg-reserve__tel { display: grid; padding: 1.1rem 1.6rem; border-radius: 16px; background: var(--forest); color: var(--cream); font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--serif); text-align: center; box-shadow: 0 6px 0 var(--deep); transition: transform .15s, box-shadow .15s; }
  & .article__body .wg-reserve__tel:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--deep); }
  & .wg-reserve__tel small { font: 800 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }

  /* --- Footer ---------------------------------------------------------- */
  & .wg-footer { background: var(--deep); color: #d9d3bb; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font: 400 .98rem/1.6 var(--sans); }
  & .wg-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr; gap: 2.4rem; }
  & .wg-footer__brand .wg-logo__flower { width: 3.4rem; height: 3.4rem; margin-bottom: 1rem; box-shadow: 0 0 0 3px var(--deep), 0 0 0 5px var(--gold); }
  & .wg-footer__name { margin: 0 0 .5rem; font: 400 2rem/1 var(--script); color: var(--cream); }
  & .wg-footer__h { margin-bottom: .7rem; font: 800 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  & .wg-footer address { font-style: normal; }
  & .article__body .wg-footer a:hover { color: var(--gold); }
  & .wg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(251,246,232,.12); font-size: .85rem; }
  & .wg-footer__bottom p { margin: 0; }
  & .wg-footer__credits { margin-top: 1.4rem; font-size: .72rem; line-height: 1.55; opacity: .55; }

  /* --- Menu page ------------------------------------------------------- */
  & .wg-pagehead { position: relative; padding-bottom: 2rem; }
  & .wg-pagehead__photos { display: grid; grid-template-columns: repeat(3, 1fr); height: clamp(14rem, 34vw, 24rem); }
  & .wg-pagehead__photos span { filter: brightness(.8) saturate(.95); }
  & .wg-pagehead__sign {
    position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), 42rem); margin: -8rem auto 0; padding: 2.4rem clamp(1.4rem, 4vw, 3rem) 2.2rem; box-sizing: border-box; text-align: center;
    background: linear-gradient(rgba(251,246,232,.96), rgba(251,246,232,.96)), url("../img/pergament.webp") center / 600px;
    border: 3px solid var(--forest); border-radius: 18px; box-shadow: inset 0 0 0 6px var(--cream), inset 0 0 0 8px var(--gold), 0 24px 50px -16px rgba(0,0,0,.45);
  }
  & .wg-pagehead__title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
  & .wg-pagehead__text { margin: 0 auto; max-width: 32rem; color: var(--muted); font-size: 1.05rem; }

  & .rmm {
    --rmm-ink: var(--ink); --rmm-muted: var(--muted); --rmm-line: var(--sand);
    --rmm-accent: var(--forest); --rmm-accent-ink: var(--cream);
    --rmm-tag-bg: rgba(47,107,54,.12); --rmm-tag-ink: var(--leaf);
    --rmm-bar-bg: var(--cream); --rmm-sticky-top: var(--topbar-h, 4.8rem);
    --rmm-font-display: var(--serif); --rmm-font-hand: var(--serif);
    padding: 1.5rem 0 clamp(3rem, 7vw, 5rem); font-family: var(--serif);
  }
  & .rmm p { margin: 0; }
  & .rmm :is(.rmm__desc, .rmm__variants, .rmm__allergens) { margin-top: .25rem; }
  & .rmm__wrap {
    width: min(100% - 2 * var(--gutter), var(--wrap)); box-sizing: border-box; padding: clamp(1.4rem, 4vw, 3rem);
    background: linear-gradient(rgba(251,246,232,.97), rgba(251,246,232,.97)), url("../img/pergament.webp") center / 700px;
    border: 6px solid var(--leaf); border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(38,48,31,.55);
  }
  & .rmm__tabs { justify-content: center; gap: .7rem; margin: 0; padding: .7rem 0; border-radius: 0 0 14px 14px; scroll-padding-inline: 1rem; }
  & .rmm__tab { border: 2px solid var(--forest); border-radius: 12px; background: #fffdf6; color: var(--forest); font: 700 1.15rem/1.15 var(--serif); padding: .55rem 1.3rem; }
  & .rmm__tab-hours { font: 500 .78rem var(--sans); opacity: .8; }
  & .rmm__now { background: var(--gold); color: var(--deep); font: 800 .62rem/1.4 var(--sans); letter-spacing: .12em; top: -.6rem; right: -.4rem; padding: .1rem .5rem; }
  & .rmm__tools { justify-content: center; margin-top: 1rem; }
  & .rmm__chip { border: 2px solid var(--forest); color: var(--forest); background: #fffdf6; font: 800 .82rem var(--sans); letter-spacing: .04em; }
  & .rmm__allergen-toggle { font: 700 .95rem var(--sans); color: var(--forest); }
  & .rmm__allergen-toggle::before { border: 2px solid var(--forest); border-radius: 5px; }
  & .rmm__allergen-switch:checked ~ .rmm__tools .rmm__allergen-toggle::before { background-color: var(--forest); box-shadow: inset 0 0 0 3px #fff; }
  & .rmm__panel-head { text-align: center; }
  & .rmm__menu-desc { font: italic 400 1.3rem var(--serif); color: var(--muted); }
  & .rmm__jump { justify-content: center; flex-wrap: wrap; }
  & .rmm__jump a { background: #fffdf6; border: 1px solid var(--sand); color: var(--forest); font: 700 .88rem var(--sans); }
  & .rmm__jump a:hover { border-color: var(--forest); }
  & .rmm__cats { gap: 2.6rem 3.4rem; margin-top: 2.4rem; }
  & .rmm__cat { border-top: 3px solid var(--leaf); padding-top: 1.2rem; }
  & .rmm__cat h3 {
    border: 0; padding: 0; margin-bottom: .5rem; color: var(--ink); font: italic 700 1.55rem/1.2 var(--serif);
    text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .3em;
  }
  & .rmm__cat-desc { font: italic 400 1.08rem var(--serif); color: var(--muted); }
  & .rmm__item { padding: .85rem 0; border-bottom: 2px dotted var(--sand); }
  & .rmm__line h4 { font: 700 1.14rem/1.3 var(--serif); }
  & .rmm__dots { border-bottom: 2px dotted var(--sand); }
  & .rmm__price { font: 800 1.05rem var(--sans); color: var(--forest); }
  & .rmm__desc, & .rmm__variants { font: 400 .98rem/1.5 var(--sans); }
  & .rmm__variants b { font: 800 .95rem var(--sans); color: var(--forest); }
  & .rmm__tag { font: 800 .62rem var(--sans); }
  & .rmm__soldout { background: var(--rust); color: #fff; }
  & .rmm__al { border-radius: 5px; color: var(--leaf); font-family: var(--sans); }
  & .rmm__al[title]:focus::after { background: var(--forest); font-family: var(--sans); }
  & .rmm__notes { margin-top: 2.4rem; padding: 1.4rem 1.6rem; border: 2px dashed var(--leaf); border-radius: 14px; background: #fffdf6; text-align: center; font: italic 400 1.05rem/1.55 var(--serif); }
  & .rmm__legend { border-top: 3px solid var(--leaf); }
  & .rmm__legend h3 { font: 700 1.3rem var(--serif); color: var(--forest); text-align: center; }
  & .rmm__legend dt { color: var(--forest); font-family: var(--sans); }
  & .rmm__updated { text-align: center; font: italic 400 .95rem var(--serif); }

  /* --- Impressum and Datenschutz: a sheet of paper on the guest table --- */
  & .wg-pagehead--legal { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; }
  & .wg-pagehead--legal .wg-pagehead__sign { margin-top: 0; }
  & #wg-recht { padding: 1.5rem var(--gutter) clamp(4rem, 8vw, 6rem); }
  & .wg-legal {
    max-width: 50rem; margin: 0 auto; padding: clamp(1.6rem, 5vw, 3.4rem); box-sizing: border-box; overflow-wrap: anywhere;
    background: var(--cream); border: 2px solid var(--sand); border-radius: 18px; box-shadow: 0 20px 44px -26px rgba(18,48,28,.5);
    font-size: 1.08rem; line-height: 1.65;
  }
  & .wg-legal section + section { margin-top: 2rem; padding-top: 1.8rem; border-top: 2px dotted var(--sand); }
  & .wg-legal h2 { display: flex; align-items: center; gap: .7rem; margin: 0 0 .7rem; font-size: clamp(1.35rem, 2.4vw, 1.65rem); color: var(--forest); }
  & .wg-legal h2::before { content: ""; flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(228,178,44,.25); }
  & .wg-legal p { margin: 0 0 .8rem; }
  & .wg-legal p:last-child { margin-bottom: 0; }
  & .article__body .wg-legal a { color: var(--leaf); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }
  & .article__body .wg-legal a:hover { color: var(--forest); }
  & .wg-legal .legal__lead { margin: 0 0 2rem; padding: 1.1rem 1.3rem; border-radius: 12px; background: rgba(47,107,54,.08); color: var(--forest); font-style: italic; }
  & .wg-legal .legal__table { width: 100%; margin: .4rem 0 1rem; border-collapse: collapse; font-size: .98rem; }
  & .wg-legal .legal__table :is(th, td) { padding: .55rem .8rem .55rem 0; border-bottom: 1px solid var(--sand); text-align: left; vertical-align: top; }
  & .wg-legal .legal__table th { font: 800 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
  & .wg-legal code { padding: .05em .4em; border-radius: 6px; background: rgba(47,107,54,.1); color: var(--forest); font-size: .9em; }
  & .wg-legal .legal__credits { columns: 2 16rem; column-gap: 2.4rem; margin: .8rem 0 1rem; padding: 0; list-style: none; font-size: .95rem; line-height: 1.45; }
  & .wg-legal .legal__credits li { break-inside: avoid; margin-bottom: .45rem; }
  & .wg-legal .legal__credits span { font-weight: 700; }
  & .wg-legal .legal__note { font-size: .9rem; color: var(--muted); }
  & .wg-legal mark.todo { padding: .05em .35em; border-radius: 4px; background: #ffe58a; color: #5a3b00; box-shadow: 0 0 0 1px var(--gold-d); }

  /* --- Smaller screens --------------------------------------------------- */
  @media (max-width: 78rem) {
    & .wg-nav { gap: 1.2rem; }
    & .article__body .wg-nav > a:not(.wg-nav__cta) { font-size: .95rem; }
    & .wg-topbar__contact a:nth-child(n+2) { display: none; }
  }
  @media (max-width: 68rem) {
    & .wg-header { grid-template-columns: auto 1fr auto; gap: .8rem; min-height: 4.6rem; }
    & .wg-logo { grid-column: 2; grid-row: 1; justify-self: center; }
    & .wg-logo__flower { width: 2.9rem; height: 2.9rem; }
    & .wg-logo__text b { font-size: 1.7rem; }
    &[data-scrolled] .wg-logo__text b { font-size: 1.55rem; }
    & .wg-logo__text small { font-size: .52rem; }
    & .wg-header__burger { grid-column: 1; grid-row: 1; display: grid; gap: 5px; padding: .7rem .4rem; cursor: pointer; }
    & .wg-header__burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--forest); transition: transform .3s var(--ease), opacity .2s; }
    & .wg-header__toggle:checked + .wg-header__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    & .wg-header__toggle:checked + .wg-header__burger span:nth-child(2) { opacity: 0; }
    & .wg-header__toggle:checked + .wg-header__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
    & .article__body .wg-header__call { grid-column: 3; grid-row: 1; display: inline-flex; align-items: center; padding: .55rem .9rem; border-radius: 999px; background: var(--forest); color: var(--cream); font: 800 .78rem var(--sans); letter-spacing: .06em; text-transform: uppercase; }
    & .wg-nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 0; }
    & .wg-header__toggle:checked ~ .wg-nav { display: flex; }
    & .wg-nav--left { grid-row: 2; padding-top: .6rem; }
    & .wg-nav--right { grid-row: 3; padding-bottom: 1.2rem; }
    & .article__body .wg-nav > a:not(.wg-nav__cta) { padding: .85rem .2rem; font: 700 1.35rem var(--serif); border-bottom: 2px dotted var(--sand); text-decoration: none; }
    & .article__body .wg-nav__cta { margin-top: 1.2rem; text-align: center; padding: 1rem; }
    & .wg-nav .wg-designs { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 1.2rem; padding: .6rem; border-radius: 14px; background: var(--forest); color: var(--cream); }
    & .wg-topbar .wg-designs { display: none; }
    & .wg-header:has(.wg-header__toggle:checked) { max-height: calc(100svh - 1rem); overflow: auto; }
    & .wg-welcome { grid-template-columns: 1fr; }
    & .wg-hero { grid-template-columns: 1fr; min-height: 0; }
    & .wg-hero__text { justify-self: start; }
    & .wg-medal { top: -1.5rem; right: -1rem; }
    & .wg-hero__collage { height: min(60vw, 30rem); }
    & .wg-story { grid-template-columns: 1fr; }
    & .wg-story__media { top: calc(var(--topbar-h, 4.6rem) + .6rem); z-index: 2; }
    & .wg-story__frame { aspect-ratio: 16 / 9; max-height: 34vh; width: 100%; border-width: 6px; }
    & .wg-step { min-height: 52vh; }
    & .wg-dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & .wg-feiern__grid, & .wg-visit, & .wg-reserve__inner { grid-template-columns: 1fr; }
    & .wg-groupcard { transform: none; }
    & .wg-footer__grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 40rem) {
    & body { font-size: 1.06rem; }
    & .wg-topbar { justify-content: center; font-size: .8rem; }
    & .wg-topbar__contact { display: none !important; }
    & .wg-logo__text small { display: none; }
    & .wg-logo__flower { width: 2.4rem; height: 2.4rem; }
    & .wg-logo { gap: .6rem; }
    & .wg-logo__text b { font-size: 1.45rem; }
    & .wg-hero { padding-top: 2.5rem; }
    & .wg-medal { display: none; }
    & .wg-hero__hello { font-size: 1.6rem; }
    & .wg-medal__flower { width: 3.4rem; height: 3.4rem; }
    & .wg-hero__title { font-size: 2.6rem; }
    & .article__body .wg-hero__actions .wg-btn { flex: 1 1 100%; }
    & .wg-hero__collage { height: 22rem; }
    & .wg-snap figcaption { font-size: .9rem; }
    & .wg-step { padding-left: 3.8rem; min-height: 0; }
    & .wg-step::before { width: 2.8rem; height: 2.8rem; font-size: .95rem; }
    & .wg-today { grid-template-columns: 1fr; padding: 0; }
    & .wg-today li { border-left: 0; border-top: 1px dashed rgba(251,246,232,.25); padding: 1.2rem var(--gutter); }
    & .wg-today li:first-child { border-top: 0; }
    & .wg-checks { grid-template-columns: 1fr; }
    & .wg-dishes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: .4rem var(--gutter) 1.2rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
    & .wg-dishes::-webkit-scrollbar { display: none; }
    & .wg-dish { scroll-snap-align: start; }
    & .wg-dish:hover { transform: none; }
    & .article__body .wg-menulinks a { flex: 1 1 100%; }
    & .wg-offers { grid-template-columns: 1fr; }
    & .wg-places { grid-template-columns: 1fr; }
    & .wg-footer__grid { grid-template-columns: 1fr; }
    & .wg-pagehead__photos { grid-template-columns: 1fr 1fr; }
    & .wg-pagehead__photos span:last-child { display: none; }
    & .rmm__wrap { width: calc(100% - 1rem); border-width: 4px; border-radius: 18px; padding: 1.2rem .9rem; }
    & .rmm__tabs { justify-content: flex-start; margin: 0 -.9rem; padding: .7rem .9rem; scroll-padding-inline: .9rem; }
    & .rmm__tab { font-size: 1rem; padding: .45rem .9rem; }
    & .rmm__jump { flex-wrap: nowrap; justify-content: flex-start; margin: 1rem -.9rem 0; padding: 0 .9rem .2rem; scroll-padding-inline: .9rem; }
    & .rmm__cat h3 { font-size: 1.35rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    & { scroll-behavior: auto; }
    &.js [data-reveal] { opacity: 1; transform: none; transition: none; }
    & .wg-hero__hello, & .wg-hero__title, & .wg-hero__lead, & .wg-hero__actions, & .wg-medal, & .wg-snap { animation: none; }
    & .wg-medal__ring, & .wg-ribbon__row { animation: none; }
    & .wg-story__img { transition: none; }
  }
  @media print {
    & .wg-topbar, & #wg-top, & .wg-reserve, & .wg-footer, & .wg-pagehead__photos { display: none; }
  }
}

@keyframes wg-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wg-drop { from { opacity: 0; translate: 0 -70px; scale: 1.12; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes wg-turn { to { transform: rotate(360deg); } }
@keyframes wg-ribbon { to { transform: translateX(-50%); } }


/* --- The inn's logo instead of the typed name ------------------------------- */
:root:has(.d-wald) {
  & .wg-logo__img { display: block; height: 3.6rem; width: auto; transition: height .3s var(--ease); }
  &[data-scrolled] .wg-logo__img { height: 3rem; }
  & .wg-hero__title--logo { margin: .2rem 0 .4rem; line-height: 0; }
  & .wg-hero__title--logo img { display: block; width: min(100%, 30rem); height: auto; }
  @media (max-width: 68rem) {
    & .wg-logo__img { height: 3rem; }
    &[data-scrolled] .wg-logo__img { height: 2.7rem; }
  }
  @media (max-width: 40rem) {
    & .wg-logo__img, &[data-scrolled] .wg-logo__img { height: 2.4rem; }
    & .wg-hero__title--logo img { width: min(100%, 20rem); }
  }
}

/* --- Closures (OpeningHours plugin): a notice pinned to the hours board -------- */
:root:has(.d-wald) {
  & .wg-notice { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: 10px; background: var(--gold); color: var(--deep); font: 700 1rem/1.4 var(--sans); transform: rotate(-1deg); box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); }
  & .wg-notice[hidden] { display: none; }
}

/* --- Veranstaltungen (EventCalendar plugin): snapshots with a calendar leaf ------ */
:root:has(.d-wald) {
  & #veranstaltungen {
    --evc-ink: var(--ink); --evc-muted: var(--muted); --evc-line: var(--sand); --evc-accent: var(--forest); --evc-accent-ink: var(--cream); --evc-font-display: var(--serif);
    --evc-card: #fffdf6; --evc-seal-bg: #fff; --evc-seal-ink: var(--forest); --evc-radius: 16px;
    padding-block: clamp(4rem, 9vw, 7rem); font-family: var(--serif);
  }
  & .evc__wrap { width: auto; max-width: var(--wrap); padding-inline: var(--gutter); box-sizing: content-box; }
  & .evc__head { text-align: center; max-width: 44rem; margin: 0 auto; }
  & .evc__eyebrow { font: 800 .78rem/1.2 var(--sans); letter-spacing: .2em; color: var(--gold-d); }
  & .evc__title { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; color: var(--forest); margin-bottom: .8rem; }
  & .evc__intro { margin-inline: auto; font-size: 1.15rem; color: var(--muted); }
  & :is(.evc-feature, .evc-card) { border: 1px solid var(--sand); box-shadow: 0 14px 28px -18px rgba(38,48,31,.45); }
  & .evc-feature { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
  & .evc-card { transition: transform .3s var(--ease), box-shadow .3s; }
  & .evc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -18px rgba(38,48,31,.5); }
  & :is(.evc-feature__media, .evc-card__media) { background: var(--leaf); }
  /* the seal: a leaf from the inn's wall calendar, green head, two rings */
  & .evc-seal { overflow: visible; padding: 0 0 .45rem; border-radius: 6px; transform: rotate(-3deg); box-shadow: 0 1px 0 var(--sand), 0 8px 16px -6px rgba(38,48,31,.55); }
  & .evc-seal::before, & .evc-seal::after { content: ""; position: absolute; top: -.35rem; width: .45rem; height: .85rem; border-radius: 99px; background: linear-gradient(90deg, #8a8f86, #e9ebe6 45%, #8a8f86); box-shadow: 0 1px 2px rgba(0,0,0,.35); }
  & .evc-seal::before { left: 1rem; }
  & .evc-seal::after { right: 1rem; }
  & .evc-seal__wd { width: 100%; padding: .32rem 0 .2rem; border-radius: 6px 6px 0 0; background: var(--forest); color: var(--gold); opacity: 1; font: 800 .66rem var(--sans); letter-spacing: .2em; }
  & .evc-seal__day { font: 700 2.1rem/1 var(--serif); color: var(--forest); }
  & .evc-feature .evc-seal__day { font-size: 3rem; }
  & .evc-seal { min-width: 4.6rem; }
  & .evc-seal__month { padding: 0 .55rem; font: 400 .85rem var(--script); color: var(--rust); }
  & .is-highlight .evc-seal { background: var(--gold); }
  & .is-highlight .evc-seal__wd { background: var(--rust); color: var(--cream); }
  & .is-highlight :is(.evc-seal__day, .evc-seal__month) { color: var(--deep); }
  & .evc-feature__kicker { font: 800 .74rem var(--sans); letter-spacing: .16em; color: var(--gold-d); }
  & .evc-feature__title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.1; font-weight: 700; color: var(--forest); }
  & .evc-when { font: 500 .98rem var(--sans); }
  & .evc-feature__text { font-size: 1.08rem; line-height: 1.6; }
  & .evc-card__cat { font: 800 .72rem var(--sans); letter-spacing: .16em; color: var(--gold-d); }
  & .evc-card__title { font-weight: 700; font-size: 1.4rem; color: var(--forest); }
  & .evc-card__more summary { font: 700 .92rem var(--sans); color: var(--forest); }
  & .evc-card__text { font-size: 1rem; line-height: 1.55; }
  & .evc-actions { font: 500 .98rem var(--sans); }
  & .evc-price { font-weight: 800; }
  & .evc-book { background: var(--gold); color: var(--deep); font: 800 .92rem var(--sans); box-shadow: 0 4px 0 var(--gold-d); }
  & .evc-ics { color: var(--muted); }
  & .evc__subscribe { text-align: center; margin-top: 2.4rem; font: 500 1rem var(--sans); color: var(--muted); }
  & .evc__subscribe a { color: var(--forest); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
  & .evc__empty { text-align: center; font: 400 1.4rem var(--script); color: var(--forest); }
}

/* --- Partners: badges pinned to the wooden board ------------------------------- */
:root:has(.d-wald) {
  & .wg-partners { padding-block: clamp(3.5rem, 8vw, 6rem); background: rgba(255,253,246,.55); border-top: 1px solid var(--sand); }
  & .wg-partners__inner { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); box-sizing: content-box; text-align: center; }
  & .wg-partners__kicker { margin: 0 0 .6rem; font: 800 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
  & .wg-partners__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 2rem; }
  & .wg-partners__list { list-style: none; margin: 0 auto; padding: 0; max-width: 64rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.8rem; }
  & .wg-partners__list li { display: grid; gap: .8rem; justify-items: center; }
  & .wg-partners__list li:nth-child(odd) .wg-partners__logo { transform: rotate(-1.2deg); }
  & .wg-partners__list li:nth-child(even) .wg-partners__logo { transform: rotate(1deg); }
  & .wg-partners__logo { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 9rem; padding: 1.4rem 1.8rem; border-radius: 14px; background: #fff; border: 1px solid var(--sand); box-shadow: 0 14px 26px -16px rgba(38,48,31,.5); box-sizing: border-box; }
  & .wg-partners__logo::before { content: ""; position: absolute; top: -.6rem; left: 50%; width: 3.2rem; height: 1.1rem; margin-left: -1.6rem; background: rgba(228,178,44,.55); transform: rotate(-2deg); }
  & .wg-partners__logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  & .wg-partners__what { font: 400 1.25rem var(--script); color: var(--forest); }
}

/* --- Gästestimmen (GoogleReviews plugin): postcards from our guests ----------- */
:root:has(.d-wald) {
  & #bewertungen {
    --grv-ink: var(--ink); --grv-muted: var(--muted); --grv-accent: var(--forest); --grv-star: var(--gold); --grv-font-display: var(--serif);
    --grv-card: #fffdf6; --grv-radius: 16px;
    padding-block: clamp(4rem, 9vw, 7rem); background: linear-gradient(rgba(18,48,28,.94), rgba(18,48,28,.9)), url("../img/huette-sommer.webp") center / cover; color: var(--cream); font-family: var(--serif);
  }
  & .grv__wrap { width: auto; max-width: var(--wrap); padding-inline: var(--gutter); box-sizing: content-box; }
  & .grv__head { text-align: center; max-width: 44rem; margin: 0 auto; }
  & .grv__eyebrow { font: 800 .78rem/1.2 var(--sans); letter-spacing: .2em; color: var(--gold); }
  & .grv__title { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--cream); }
  & .grv__intro { margin-inline: auto; color: color-mix(in srgb, var(--cream) 80%, transparent); }
  & .grv__summary { justify-content: center; text-align: center; }
  & .grv__score b { font-size: 3.4rem; color: var(--gold); }
  & .grv__count { color: color-mix(in srgb, var(--cream) 80%, transparent); font-family: var(--sans); }
  & .grv__links { margin: 0; flex-basis: 100%; justify-content: center; }
  & .grv__links a { display: inline-flex; padding: .55rem 1.2rem; border-radius: 999px; background: var(--gold); color: var(--deep); font: 800 .9rem var(--sans); text-decoration: none; box-shadow: 0 4px 0 var(--gold-d); }
  & .grv__links a + a { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--gold); }
  & .grv__card { color: var(--ink); border: 1px solid var(--sand); }
  & .grv__list li:nth-child(odd) .grv__card, & .grv__card:nth-child(odd) { transform: rotate(-.8deg); }
  & .grv__card:nth-child(even) { transform: rotate(.7deg); }
  & .grv__text { font-size: 1.05rem; }
  & .grv__who b { color: var(--forest); font-family: var(--sans); }
  & .grv__more { font-family: var(--sans); font-weight: 700; }
  & .grv__attribution { text-align: center; color: color-mix(in srgb, var(--cream) 70%, transparent); font-family: var(--sans); }
}

/* --- Das sind wir: snapshots on the table ------------------------------------- */
:root:has(.d-wald) {
  & #team { padding-block: clamp(4rem, 9vw, 7rem); background: rgba(255,253,246,.55); border-block: 1px solid var(--sand); }
  & .wg-team__head { text-align: center; max-width: 44rem; margin: 0 auto 2.4rem; }
  & .wg-team__head p:last-child { font-size: 1.12rem; color: var(--muted); }
  & .wg-team__photos { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.4rem; align-items: start; }
  & .wg-team__photos figure { margin: 0; background: #fffdf7; padding: .6rem .6rem 0; border-radius: 4px; box-shadow: 0 18px 36px -14px rgba(38,48,31,.45); }
  & #team .wg-team__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  & .wg-team__photos figcaption { padding: .45rem 0 .55rem; text-align: center; font: 400 1.15rem var(--script); color: var(--forest); }
  & .wg-team__main { grid-row: 1 / span 2; transform: rotate(-1.4deg); }
  & #team .wg-team__main img { aspect-ratio: 4 / 3.2; object-position: center 30%; }
  & .wg-team__pic:nth-child(2) { transform: rotate(2deg); }
  & .wg-team__pic:nth-child(3) { transform: rotate(-2.2deg); }
  & .wg-team__pic:nth-child(4) { grid-column: 2 / span 2; transform: rotate(1deg); }
  & #team .wg-team__pic:nth-child(4) img { aspect-ratio: 16 / 7; }
  @media (max-width: 52rem) {
    & .wg-team__photos { grid-template-columns: 1fr 1fr; }
    & .wg-team__main { grid-column: 1 / -1; grid-row: auto; }
    & .wg-team__pic:nth-child(4) { grid-column: 1 / -1; }
  }
}
:root:has(.d-wald) {
  /* The circle photo is upright: a column of its own, shown whole. */
  & .wg-team__photos { grid-template-columns: 1.5fr 1fr .9fr; }
  & .wg-team__pic:nth-child(2) { grid-column: 2; grid-row: 1; }
  & .wg-team__pic:nth-child(3) { grid-column: 2; grid-row: 2; }
  & .wg-team__pic:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
  & #team .wg-team__pic:nth-child(4) img { aspect-ratio: 3 / 4; }
  @media (max-width: 52rem) {
    & .wg-team__photos { grid-template-columns: 1fr 1fr; }
    & .wg-team__pic:nth-child(2), & .wg-team__pic:nth-child(3) { grid-row: auto; grid-column: auto; }
    & .wg-team__pic:nth-child(4) { grid-column: 1 / -1; grid-row: auto; justify-self: center; width: min(100%, 22rem); }
  }
}
