/* Yachtclub Litzelstetten Mainau e.V. – ylm.de
   Eigenständiges Stylesheet (ohne Squarespace). Layout-Raster pro Abschnitt steht inline im HTML. */

@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/anton-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:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/anton-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:'Epilogue';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/epilogue-400i-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:'Epilogue';font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/epilogue-400i-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:'Epilogue';font-style:italic;font-weight:700;font-display:swap;src:url(../fonts/epilogue-400i-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:'Epilogue';font-style:italic;font-weight:700;font-display:swap;src:url(../fonts/epilogue-400i-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:'Epilogue';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/epilogue-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:'Epilogue';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/epilogue-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:'Epilogue';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/epilogue-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:'Epilogue';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/epilogue-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;}


:root {
  --sqs-site-gutter: 4vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1500px;
  --gutter: var(--sqs-site-gutter);
  --beige: hsl(45, 11.76%, 86.67%);
  --grey: hsl(0, 0%, 68.24%);
  --green: hsl(111.19, 58.85%, 47.65%);
  --black: #000;
  --white: #fff;
  --header-h: 83px;
  --heading-font: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body-font: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fluid: calc(.012 * 100vw);
  --space: 1vmax;
  --h1: calc(3 * var(--fluid) + 1rem);
  --h2: calc(1.8 * var(--fluid) + 1rem);
  --h3: calc(1.2 * var(--fluid) + 1rem);
  --h4: calc(.6 * var(--fluid) + 1rem);
  --p-large: calc(.4 * var(--fluid) + 1rem);
  --p-small: calc(-.1 * var(--fluid) + 1rem);
  /* default (light) theme */
  --siteBackgroundColor: var(--beige);
  --text: #000;
  --link: #000;
  --primaryButtonBackgroundColor: #000;
  --primaryButtonTextColor: #fff;
  --section-divider-stroke-color: #000;
  --tweak-text-block-background-color: #fff;
  --text-highlight-color: #000;
  --black-hsl: 0, 0%, 0%;
  --white-hsl: 0, 0%, 100%;
  --accent-hsl: 0, 0%, 68.24%;
  --lightAccent-hsl: 45, 11.76%, 86.67%;
  --darkAccent-hsl: 111.19, 58.85%, 47.65%;
  --safeLightAccent-hsl: 0, 0%, 68.24%;
  --safeDarkAccent-hsl: 0, 0%, 0%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--beige);
  color: #000;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; }
iframe { max-width: 100%; border: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #000; color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ------------------------------------------------------------ themes */
.light, .light-bold, .page-section:not(.white):not(.black):not(.dark) {
  --siteBackgroundColor: var(--beige);
}
.white { --siteBackgroundColor: #fff; --tweak-text-block-background-color: var(--beige); }
.black, .dark {
  --siteBackgroundColor: #000;
  --text: #fff;
  --link: var(--grey);
  --primaryButtonBackgroundColor: var(--grey);
  --primaryButtonTextColor: #000;
  --section-divider-stroke-color: var(--grey);
  color: #fff;
}

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--beige);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 1vw var(--sqs-site-gutter);
}
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo img { height: 54px; width: auto; display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 2.92vw; }
.main-nav li { position: relative; }
.main-nav a, .nav-folder-title {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 1rem; line-height: 1.5; padding: 1.6px 0;
  color: #000; text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 1px) / 0 1px no-repeat;
  transition: background-size .2s ease;
}
.main-nav > ul > li > a:hover, .nav-folder-title:hover,
.main-nav .is-active > a, .main-nav .is-active > .nav-folder-title { background-size: 100% 1px; }
.chev { width: 13px; height: 13px; margin-top: 1px; opacity: .8; transition: transform .2s ease; }
.nav-folder.is-open .chev { transform: rotate(180deg); }
.main-nav .nav-dropdown {
  position: absolute; top: calc(100% + 6px); right: -20px;
  min-width: 190px; padding: 12px 20px 14px; text-align: right;
  background: var(--beige); border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.nav-dropdown li { display: block; }
.main-nav .nav-dropdown a { font-size: 1rem; line-height: 1.3; padding: 3px 0; display: inline-block; }
.main-nav .nav-dropdown li + li { margin-top: 2px; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { background-size: 100% 1px; }
.main-nav .nav-folder::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 8px; }
.nav-folder:hover .nav-dropdown, .nav-folder:focus-within .nav-dropdown, .nav-folder.is-open .nav-dropdown {
  opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease;
}
.burger { display: none; width: 36px; height: 36px; position: relative; }
.burger span { position: absolute; left: 6px; right: 6px; height: 1px; background: #000; transition: transform .25s ease, top .25s ease; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 21px; }
.menu-open .burger span:first-child { top: 18px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 18px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--beige); overflow-y: auto;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu[hidden] { display: none; }
.mnav-panel { width: 100%; padding: 0 6vw 10vh; text-align: center; }
.mnav-panel[hidden] { display: none; }
.mnav-panel ul { list-style: none; margin: 0; padding: 0; }
.mnav-panel li { margin: 0; }
.mnav-panel a, .mnav-folder, .mnav-back {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(26px, 8.5vw, 40px); line-height: 1.4; color: #000; text-decoration: none;
}
.mnav-back { color: rgba(0,0,0,.55); margin-bottom: 6px; }
.mchev { width: 12px; height: 22px; flex: none; }

@media (max-width: 1080px) {
  .main-nav > ul { gap: 2.2vw; }
}
@media (max-width: 899px) {
  :root { --header-h: 76px; }
  .main-nav { display: none; }
  .burger { display: block; }
}
.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ sections */
main { display: block; }
.page-section {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--text, #000);
}
main > .page-section:first-child { padding-top: var(--header-h); }
.page-section.has-divider { padding-bottom: var(--divider-height); }
.section-border {
  position: absolute; left: 0; right: 0; bottom: 0;
  top: calc(-1 * var(--previous-section-divider-offset, 0px));
  overflow: hidden; pointer-events: none;
}
.has-divider .section-border {
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--divider-height) + 2px) no-repeat,
                var(--divider-mask) bottom / 100% var(--divider-height) no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--divider-height) + 2px) no-repeat,
                var(--divider-mask) bottom / 100% var(--divider-height) no-repeat;
}
.section-background { position: absolute; inset: 0; background: var(--siteBackgroundColor); }
.section-background img, .section-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; display: block;
}
.section-background-overlay { position: absolute; inset: 0; background: var(--siteBackgroundColor); }
.ylm-divider {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--divider-height);
  z-index: 5; pointer-events: none; overflow-x: clip; overflow-y: visible;
}
.ylm-divider svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ylm-divider path {
  fill: none; stroke: var(--section-divider-stroke-color);
  stroke-width: var(--stroke-thickness, 0px); vector-effect: non-scaling-stroke; stroke-linecap: square;
}
.content-wrapper { position: relative; width: 100%; display: flex; z-index: 1; }
.content { width: 100%; }
.section-height--small { min-height: 33vh; }
.section-height--medium { min-height: 66vh; }
.section-height--large { min-height: 100vh; }
.section-height--small > .content-wrapper { padding-top: calc(3.3 * var(--space)); padding-bottom: calc(3.3 * var(--space)); }
.section-height--medium > .content-wrapper { padding-top: calc(6.6 * var(--space)); padding-bottom: calc(6.6 * var(--space)); }
.section-height--large > .content-wrapper { padding-top: calc(10 * var(--space)); padding-bottom: calc(10 * var(--space)); }
.vertical-alignment--top { align-items: flex-start; }
.vertical-alignment--bottom { align-items: flex-end; }

/* ------------------------------------------------------------ fluid engine grid */
.fluid-engine { position: relative; }
.fe-block { position: relative; min-width: 0; }
.fe-block > .sqs-block { height: 100%; display: flex; flex-direction: column; width: 100%; }
.sqs-block-content { width: 100%; }
.fe-block .sqs-block.html-block > .sqs-block-content,
.fe-block .sqs-block.code-block > .sqs-block-content { flex: var(--sqs-block-content-flex, 0 1 auto); }

/* text */
.sqs-html-content { color: var(--text, inherit); overflow-wrap: break-word; }
.sqs-html-content > *:first-child { margin-top: 0; }
.sqs-html-content > *:last-child { margin-bottom: 0; }
.sqs-html-content p { margin: 1rem 0; }
h1, h2, h3, h4 {
  font-family: var(--heading-font); font-weight: 400; text-transform: uppercase; letter-spacing: 0;
  margin: 2rem 0; color: inherit;
}
h1 { font-size: var(--h1); line-height: 1.056; }
h2 { font-size: var(--h2); line-height: 1.1136; }
h3 { font-size: var(--h3); line-height: 1.1424; }
h4 { font-size: var(--h4); line-height: 1.1712; }
.sqs-html-content h1, .sqs-html-content h2, .sqs-html-content h3, .sqs-html-content h4 { white-space: pre-wrap; }
.sqsrte-large { font-size: var(--p-large); line-height: 1.5; }
.sqsrte-small { font-size: var(--p-small); line-height: 1.5; }
.sqs-html-content a, .sqs-code-container a:not([class]) {
  color: var(--link, currentColor);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.sqs-html-content a:hover { text-decoration-thickness: 2px; }
.sqsrte-text-color--accent { color: hsl(var(--accent-hsl)); }
.sqsrte-text-color--lightAccent { color: hsl(var(--lightAccent-hsl)); }
.sqsrte-text-color--darkAccent { color: hsl(var(--darkAccent-hsl)); }
.sqsrte-text-color--white { color: #fff; }
.sqsrte-text-color--black { color: #000; }
.sqsrte-text-highlight { position: relative; display: inline-block; }
.sqsrte-text-highlight::after {
  content: ""; position: absolute; left: -2%; right: 0; bottom: -.32em; height: .38em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 46 204 11' preserveAspectRatio='none'%3E%3Cpath d='M1,54.45c25.4-1.5 50.75-4.67 101.5-6.05c50.75-1.38 77.14,0 101.5.55c4.87.11-3.86 1.57-4.06 1.65' fill='none' stroke='black' stroke-opacity='.85' stroke-width='3.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sqs-html-content ul, .sqs-html-content ol { margin: 1rem 0; padding-left: 40px; }
.sqs-html-content ul { list-style: none; }
.sqs-html-content li > p { margin: .5rem 0; }
.sqs-html-content li > h1, .sqs-html-content li > h2, .sqs-html-content li > h3, .sqs-html-content li > h4 { margin: .5em 0; }
.sqs-html-content li > ul, .sqs-html-content li > ol { margin: .5rem 0; }
[data-rte-preserve-empty]:empty::before { content: "\200B"; }
.sqs-html-content ul > li > *:first-child::before {
  content: "•"; display: inline-block; width: 40px; margin-left: -40px; text-align: center; font-size: 1rem;
}
.sqs-html-content blockquote { margin: 1rem 0; padding-left: 1.5rem; border-left: 2px solid currentColor; }
.sqs-html-content hr { border: 0; border-top: 1px solid currentColor; opacity: .3; margin: 2rem 0; }
/* text block with background (e.g. hero caption) */
.html-block.sqs-background-enabled { background: var(--tweak-text-block-background-color); }
.html-block.sqs-background-enabled .sqs-html-content { padding: var(--tweak-text-block-padding, 6%); }
.sqsrte-scaled-text-container { display: block; }
.sqsrte-scaled-text { display: inline-block; width: 100%; }
.sqsrte-scaled-text > * { margin: 0 !important; white-space: nowrap !important; }

/* images */
.image-block .sqs-block-content { height: 100%; container-type: size; }
.fluid-image-component-root, .fluid-image-animation-wrapper { width: 100%; height: 100%; display: flex; }
.image-position-center .fluid-image-animation-wrapper { align-items: center; justify-content: center; }
.image-position-left .fluid-image-animation-wrapper { justify-content: flex-start; }
.image-position-right .fluid-image-animation-wrapper { justify-content: flex-end; }
.fluid-image-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.image-component-container-fit .fluid-image-container {
  aspect-ratio: var(--image-component-native-aspect-ratio, auto);
  width: min(100cqw, calc(100cqh * var(--image-component-native-aspect-ratio, 1.5)));
  height: auto; max-height: 100cqh;
}
.js-content-mode-element-wrapper, .js-content-mode-element { position: relative; width: 100%; height: 100%; display: block; }
.fluid-image-container img {
  display: block; width: 100%; height: 100%;
  object-fit: var(--image-component-object-fit, cover);
  object-position: var(--image-component-focal-point, 50% 50%);
}
.image-component-container-fit .fluid-image-container img { object-fit: cover; }
.fluidImageOverlay { position: absolute; inset: 0; pointer-events: none; background: #000; opacity: var(--image-component-overlay-opacity, 0); }
.fluid-image-container a { display: block; width: 100%; height: 100%; }

/* buttons */
.button-block .sqs-block-content { height: 100%; display: flex; }
.sqs-block-button-container { display: flex; width: 100%; align-items: center; }
.sqs-block-button-container--center { justify-content: center; text-align: center; }
.sqs-block-button-container--left { justify-content: flex-start; }
.sqs-block-button-container--right { justify-content: flex-end; }
.sqs-stretched { height: 100%; }
.sqs-block-button-element {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--body-font); font-size: 1rem; line-height: normal; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: opacity .15s ease, background-color .15s ease;
}
.sqs-stretched .sqs-block-button-element { width: 100%; height: 100%; }
.sqs-button-element--primary {
  background: var(--primaryButtonBackgroundColor); color: var(--primaryButtonTextColor);
  border-radius: 300px; padding: 0 2.2rem;
}
.sqs-button-element--primary:hover { opacity: .8; }
.sqs-button-element--secondary {
  background: transparent; color: var(--text); border: 2px solid currentColor; border-radius: 300px; padding: 1.2rem 2.2rem;
}
.sqs-button-element--tertiary {
  background: transparent; color: var(--text, #000);
  border-bottom: 2px solid currentColor; padding: 0 2.2rem; border-radius: 0; line-height: normal;
}
.sqs-button-element--tertiary:hover { opacity: .65; }

/* code / embed */
.sqs-code-container, .sqs-embed-container { width: 100%; }
.sqs-code-container p { margin: 1rem 0; }
@media (min-width: 768px) { .sqs-embed-container iframe, .sqs-code-container iframe { max-width: none; } }
p { line-height: 1.5em; }
.code-block .sqs-code-container img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------ galleries */
.gallery-section { min-height: 0 !important; }
.gallery-section > .content-wrapper { padding: 0; }
.ylm-slideshow { width: 100%; max-width: 2000px; margin: 0 auto; height: calc(75vh + 8vw); padding: 4vw; display: flex; flex-direction: column; gap: 10px; }
.ss-stage { position: relative; flex: 1; min-height: 0; }
.ss-slides { position: absolute; inset: 0 3.5vw; }
.ss-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .45s ease; }
.ss-slide.is-active { opacity: 1; z-index: 1; }
.ss-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ss-prev, .ss-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 60px; display: flex; align-items: center; justify-content: center; color: #000; opacity: .7; }
.ss-prev:hover, .ss-next:hover { opacity: 1; }
.ss-prev { left: 0; } .ss-next { right: 0; }
.ss-prev svg, .ss-next svg { width: 12px; height: 22px; }
.ss-thumbs { flex: none; display: flex; justify-content: center; gap: 8px; height: 100px; overflow-x: auto; scrollbar-width: none; }
.ss-thumb { flex: none; width: 105px; height: 100%; opacity: .55; transition: opacity .2s ease; }
.ss-thumb.is-active, .ss-thumb:hover { opacity: 1; }
.ss-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ylm-gallery-grid { width: 100%; padding: 4vw; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1vw; }
.gg-item { margin: 0; }
.gg-img { aspect-ratio: 4 / 3; overflow: hidden; }
.gg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gg-item figcaption { padding: 15px 0; font-size: .875rem; line-height: 1.5; }
@media (max-width: 767px) {
  .ylm-slideshow { height: 100vw; padding: 6vw; }
  .ss-slides { inset: 0 28px; }
  .ss-thumbs { display: none; }
  .ylm-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1vw; padding: 4vw; }
}

/* webcam that the owner no longer allows to embed -> link card */
.webcam-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  aspect-ratio: 16 / 9; width: 100%; padding: 24px; text-align: center; text-decoration: none; color: #000;
  background: rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.12); border-radius: 12px; transition: background .2s ease; }
.webcam-link:hover { background: rgba(0,0,0,.1); }
.webcam-link strong { font-family: var(--heading-font); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; }
.webcam-link span { font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }

/* ------------------------------------------------------------ footer */
.site-footer .page-section { --previous-section-divider-offset: 0px; }

/* ------------------------------------------------------------ members login */
.gate { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 6vw) 6vw 8vw; }
.gate-box { width: 100%; max-width: 420px; text-align: center; }
.gate-lock { width: 54px; height: 54px; border: 1.5px solid #000; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.gate h1 { font-size: var(--h2); margin: 0 0 .6rem; }
.gate p { margin: 0 0 1.6rem; }
.gate form { display: flex; gap: 0; border: 1.5px solid #000; border-radius: 300px; overflow: hidden; background: #fff; }
.gate input[type=password] { flex: 1; min-width: 0; border: 0; padding: 14px 20px; font: inherit; background: transparent; outline: none; }
.gate button { background: #000; color: #fff; padding: 0 22px; text-transform: uppercase; font-size: .9rem; }
.gate .err { color: #b00020; margin-top: 1rem; }
.gate form.gate-form-mehr { display: grid; gap: 12px; border: 0; border-radius: 0; overflow: visible; background: none; text-align: left; }
.gate-form-mehr label { display: grid; gap: 5px; font-size: .9rem; }
.gate-form-mehr input[type=password] { border: 1.5px solid #000; border-radius: 300px; background: #fff; padding: 12px 18px; }
.gate-form-mehr button { border-radius: 300px; padding: 14px 22px; margin-top: 6px; }
.logout { position: fixed; right: 16px; bottom: 16px; z-index: 50; background: #000; color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 300px; font-size: .8rem; opacity: .85; }

/* ------------------------------------------------------------ mobile */
@media (max-width: 767px) {
  :root { --gutter: var(--sqs-mobile-site-gutter); --fluid: calc(.012 * min(100vh, 900px)); }
  .header-inner { padding: 5.2vw var(--sqs-mobile-site-gutter); }
  .site-logo { height: 54px; display: flex; align-items: center; }
  .site-logo img { height: 50px; }
  .burger { width: 50px; height: 37px; margin-right: -7px; }
  .burger span { left: 9px; right: 9px; }
  .burger span:first-child { top: 14px; } .burger span:last-child { top: 22px; }
  .menu-open .burger span:first-child, .menu-open .burger span:last-child { top: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .site-header, .ylm-divider, .site-footer { display: none; }
  main > .page-section:first-child { padding-top: 0; }
}

/* ---------- Regatta-Kalender (regatta-events, Daten vom BSVb) ---------- */
.rg { text-align: left; }
.rg-intro { margin: 0 0 1.4rem; max-width: 62em; }
.rg-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 .7rem; }
.rg-tools input[type=search], .rg-tools select, .rg-tools button {
  font: inherit; font-size: .95rem; height: 46px; padding: 0 18px; color: #000;
  border: 1px solid rgba(0,0,0,.28); border-radius: 300px; background: #fff;
}
.rg-tools input[type=search] { flex: 1 1 260px; min-width: 0; }
.rg-tools select {
  flex: 0 1 210px; min-width: 0; -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 8l8 8 8-8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center / 13px;
}
.rg-tools button { cursor: pointer; background: transparent; }
.rg-tools button:hover { background: rgba(0,0,0,.06); }
.rg-tools :focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.rg-check { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 6px; cursor: pointer; white-space: nowrap; }
.rg-check input { width: 18px; height: 18px; margin: 0; accent-color: #000; }
.rg-count { margin: 0 0 .3rem; font-size: .9rem; opacity: .7; }
.rg-table { width: 100%; border-collapse: collapse; }
.rg-table thead th {
  text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 12px; border-bottom: 2px solid #000;
}
.rg-table td { padding: 14px 12px; border-bottom: 1px solid rgba(0,0,0,.15); vertical-align: top; line-height: 1.4; }
.rg-table tr[hidden] { display: none !important; }
.rg-month th {
  text-align: left; font-family: var(--heading-font); font-weight: 400; text-transform: uppercase;
  font-size: 1.55rem; line-height: 1.1; padding: 34px 12px 8px; border-bottom: 2px solid #000;
}
.rg-date { white-space: nowrap; font-variant-numeric: tabular-nums; width: 1%; }
.rg-name { font-weight: 600; }
.rg-org { min-width: 12em; }
.rg-org a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.rg-cls { font-size: .92rem; }
.rg-cal { width: 1%; text-align: right; padding-top: 8px !important; padding-bottom: 8px !important; }
.rg-cal a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; }
.rg-cal a:hover { background: rgba(0,0,0,.08); }
.rg-cal svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rg-ev:hover td { background: rgba(255,255,255,.4); }
.rg-ev.is-past td { opacity: .45; }
.rg--archive .rg-ev.is-past td { opacity: 1; }
.rg-empty { padding: 24px 0; margin: 0; }
.rg-foot { margin-top: 2.2rem; }
.rg-sub { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 .7rem; }
.rg-btn {
  display: inline-flex; align-items: center; height: 50px; padding: 0 2rem; border-radius: 300px;
  background: #000; color: #fff; text-decoration: none; text-transform: uppercase; font-size: .9rem; transition: opacity .15s ease;
}
.rg-btn:hover { opacity: .8; }
.rg-btn--line { background: transparent; color: #000; box-shadow: inset 0 0 0 2px #000; }
.rg-note { font-size: .88rem; line-height: 1.5; opacity: .75; margin: .3rem 0; max-width: 62em; }
.rg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) {
  .rg-tools input[type=search] { flex-basis: 100%; }
  .rg-tools select { flex: 1 1 calc(50% - 5px); }
  .rg-table thead { display: none; }
  .rg-table, .rg-table tbody, .rg-table tr, .rg-table td, .rg-table th { display: block; width: auto; }
  .rg-month th { padding: 28px 0 6px; font-size: 1.4rem; }
  .rg-ev { position: relative; padding: 14px 50px 14px 0; border-bottom: 1px solid rgba(0,0,0,.15); }
  .rg-ev td { padding: 0; border: 0; }
  .rg-ev:hover td { background: none; }
  .rg-date { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
  .rg-name { font-size: 1.05rem; margin-bottom: 3px; }
  .rg-org { min-width: 0; font-size: .92rem; }
  .rg-cls { font-size: .88rem; opacity: .75; }
  .rg-ev.is-past .rg-cls { opacity: .35; }
  .rg--archive .rg-ev.is-past .rg-cls { opacity: .75; }
  .rg-cls:empty, .rg-cls > span[aria-hidden]:only-child { display: none; }
  .rg-cal { position: absolute; top: 8px; right: 0; padding: 0 !important; }
  .rg-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- eigene App-Seiten (Segelwetter, Admin, Windlicht, Patent-Trainer) ---------- */
.app-page { padding: calc(var(--header-h) + 2.2rem) var(--sqs-site-gutter) 3rem; }
@media (max-width: 767px) { .app-page { padding: calc(var(--header-h) + 1.2rem) 16px 2rem; } }
/* NEU-Badge: klein, Clubgrün, nur umrandet; Schrift optisch mittig (Sperrung rechts ausgeglichen, Ober-/Unterlänge abgeschnitten) */
.badge-neu { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 1.75em;
  font-family: var(--body-font); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: #1f7a2e; background: transparent; box-shadow: inset 0 0 0 1px currentColor; border-radius: 300px;
  padding: 0 .62em 0 calc(.62em + .14em); vertical-align: middle; text-box: trim-both cap alphabetic; white-space: nowrap; }

/* ---------- Startseite: „Neu beim YLM“ ---------- */
.neu-section { display: block; position: relative; z-index: 3; padding: 1.5vw var(--sqs-site-gutter) 3.5vw; }
.neu-wrap { max-width: 980px; margin: 0 auto; }
.neu-section .neu-h { font-family: var(--body-font); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #52514e; margin: 0 0 .8rem; line-height: 1; }
.neu-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(0,0,0,.2); border-bottom: 1px solid rgba(0,0,0,.2); }
.neu-item { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; row-gap: 3px; align-content: start; padding: 18px 22px 18px 0; color: inherit; text-decoration: none !important; }
.neu-item + .neu-item { border-left: 1px solid rgba(0,0,0,.2); padding-left: 26px; }
.neu-t { grid-column: 1; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.neu-d { grid-column: 1; font-size: .88rem; line-height: 1.45; color: #52514e; }
.neu-live { grid-column: 1; display: flex; align-items: center; gap: 7px; font-size: .8rem; color: #52514e; margin-top: 2px; }
.neu-live:empty { display: none; }
.neu-arrow { grid-column: 2; grid-row: 1; align-self: center; font-size: 1.05rem; transition: transform .2s ease; }
.neu-item:hover .neu-arrow, .neu-item:focus-visible .neu-arrow { transform: translateX(4px); }
.neu-item:hover .neu-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.neu-dot { width: 7px; height: 7px; border-radius: 50%; background: #2f9a3a; flex: none; }
.neu-dot.lv1 { background: #fab219; } .neu-dot.lv2 { background: #d03b3b; }
@media (max-width: 767px) { .neu-section { padding: 4vw 16px 9vw; } .neu-list { grid-template-columns: 1fr; } .neu-item + .neu-item { border-left: 0; border-top: 1px solid rgba(0,0,0,.2); padding-left: 0; } }
