/* ==========================================================================
   Goldnetz · template `goldnetz/v1` — CSS bundle
   --------------------------------------------------------------------------
   Reproduction of goldnetz-berlin.org (Mosaic theme1 + its Bootstrap 3 grid)
   with every class prefixed `gn-` and every bare-element rule scoped under the
   template root class `.goldnetz-template` (stamped on <html> by base.html).
   Values (sizes, colours, spacing, breakpoints) are taken from the live theme
   stylesheet. Owner rulings applied: RecklessNeue -> Newsreader (D1), Muli ->
   Mulish (open licence), Font Awesome Pro light -> Lucide inline SVG (D9).
   ========================================================================== */

:root {
  --gn-accent: #f58238;
  --gn-accent-hover: #e87d36;
  --gn-accent-soft: #fca26a;
  --gn-ink: #000000;
  --gn-ink-2: #2e363a;
  --gn-ink-3: #636363;
  --gn-ink-quote: #666666;
  --gn-muted: #888888;
  --gn-teal: #608fa3;
  --gn-topbar: #42474d;
  --gn-social: #555a5f;
  --gn-menubar: #dadbdd;
  --gn-search: #f2f2f2;
  --gn-line: rgba(0, 0, 0, 0.1);
  --gn-grey-box: #f0f0f0;
  --gn-grey-band: #f4f4f4;
  --gn-hero-panel: #fef1e4;
  --gn-band-pink: #f6b1a4;
  --gn-band-lilac: #dfd4ea;
  --gn-band-peach: #fff2e5;
  --gn-tile-1: #6bbfa3;
  --gn-tile-2: #f8ad44;
  --gn-tile-3: #608fa3;
  --gn-crumb: #7e9fb4;
  --gn-crumb-strong: #00436a;
  --gn-font: 'Mulish', 'Muli', Arial, Helvetica, sans-serif;
  --gn-font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --gn-font-hand: 'Kalam', cursive;
}

/* ---- scoped base ---------------------------------------------------------- */
.goldnetz-template body {
  margin: 0;
  background: #fff;
  color: var(--gn-ink);
  font-family: var(--gn-font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.goldnetz-template *, .goldnetz-template *::before, .goldnetz-template *::after { box-sizing: border-box; }
.goldnetz-template .gn-page p { margin: 0 0 .5em; }
.goldnetz-template .gn-page h1, .goldnetz-template .gn-page h2, .goldnetz-template .gn-page h3,
.goldnetz-template .gn-page h4, .goldnetz-template .gn-page h5 { font-weight: 300; line-height: 1.2; margin: 20px 0 10px; }
.goldnetz-template .gn-page h1 { font-size: 2.074rem; margin-top: 0; }
.goldnetz-template .gn-page h2 { font-size: 1.728rem; }
.goldnetz-template .gn-page h3 { font-size: 1.44rem; }
.goldnetz-template .gn-page h4 { font-size: 1.2rem; }
.goldnetz-template .gn-page a { color: var(--gn-accent); text-decoration: underline; }
.goldnetz-template .gn-page ul { margin: 0 0 10px; }
.goldnetz-template .gn-page img { max-width: 100%; }
.goldnetz-template .gn-page strong, .goldnetz-template .gn-page b { font-weight: 700; }
.goldnetz-template .gn-page blockquote {
  margin: 0 0 20px; font-size: 1em; line-height: 1.45833333; font-style: italic;
  color: var(--gn-ink-quote); padding: 0 0 0 35px; border: 0; position: relative;
}
.goldnetz-template .gn-page blockquote::before {
  position: absolute; content: '"'; top: 0; left: 0; font-size: 50px; font-family: 'Times New Roman', serif;
}

.gn-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gn-skip { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #000; padding: 8px 12px; }
.gn-skip:focus { left: 8px; top: 8px; }

/* ---- grid (Bootstrap 3 breakpoints, Mosaic container widths) ------------- */
.gn-container { margin-inline: auto; padding-inline: 15px; width: 100%; }
@media (min-width: 768px) { .gn-container { width: 760px; } }
@media (min-width: 992px) { .gn-container { width: 970px; } }
@media (min-width: 1200px) { .gn-container { width: 1150px; } }
@media (min-width: 1290px) { .gn-container { width: 1280px; } }
.gn-row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.gn-row > * { padding-inline: 15px; width: 100%; }
@media (min-width: 768px) {
  .gn-col-3 { width: 25% !important; }
  .gn-col-4 { width: 33.3333% !important; }
  .gn-col-6 { width: 50% !important; }
  .gn-col-8 { width: 66.6667% !important; }
  .gn-col-9 { width: 75% !important; }
}
.gn-fullwidth { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.gn-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---- header: topbar ------------------------------------------------------- */
.gn-header { position: relative; background: #fff; z-index: 600; }
.gn-topbar { height: 50px; line-height: 50px; background: var(--gn-topbar); color: #fff; }
.gn-topbar .gn-container { display: flex; align-items: center; }
.gn-topbar__intro { font-size: 14px; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gn-topmenu { display: flex; list-style: none; margin: 0; padding: 0; }
.gn-topmenu li { padding-left: 30px; }
.gn-topmenu a { text-decoration: none; color: #fff; display: inline-flex; align-items: center; }
.gn-topmenu a .gn-icon { color: var(--gn-accent); width: 26px; height: 26px; margin-right: 10px; }
.gn-topmenu a span { font-size: 14px; }
.gn-topmenu li.is-active a span { color: var(--gn-accent); }
.gn-social { display: flex; list-style: none; margin: 0 0 0 15px; padding: 0; gap: 4px; }
.gn-social a { display: block; width: 26px; height: 26px; line-height: 26px; text-align: center; font-size: 12px; color: #fff; background: var(--gn-social); text-decoration: none; transition: all .2s ease-in-out; }
.gn-social a:hover { color: var(--gn-accent); }

/* ---- header: logo + info row ---------------------------------------------- */
.gn-infoheader { padding-block: 45px; }
.gn-infoheader .gn-container { display: flex; align-items: center; justify-content: space-between; }
.gn-logo { display: block; height: 135px; margin: -40px 25px -50px 0; }
.gn-logo img { height: 100%; width: auto; display: block; }
.gn-logo__text { font-weight: 700; font-size: 28px; color: #555; text-decoration: none; display: flex; align-items: center; height: 100%; }
.gn-infoelements { display: flex; margin-right: 20px; }
.gn-infoelement { display: flex; margin-right: 15px; }
.gn-infoelement__icon { width: 40px; height: 50px; display: flex; align-items: center; justify-content: center; margin-right: 5px; color: #3c3c3c; }
.gn-infoelement__icon .gn-icon { width: 30px; height: 30px; stroke-width: 1; }
.gn-infoelement__text { font-size: 14px; line-height: 30px; }
.gn-infoelement__text span { display: block; }
.gn-infoelement__text span + span { font-size: 12px; color: var(--gn-muted); line-height: 1; }

/* ---- header: main menu ---------------------------------------------------- */
.gn-menubar { border-top: 1px solid #efefef; background: var(--gn-menubar); }
.gn-menubar .gn-container { display: flex; align-items: stretch; }
.gn-mainmenu { flex: 1 1 auto; display: flex; }
.gn-mainmenu > ul { display: flex; flex: 1 1 auto; list-style: none; margin: 0; padding: 0; }
.gn-mainmenu > ul > li { position: relative; margin-right: 20px; }
@media (min-width: 1280px) { .gn-mainmenu > ul > li { margin-right: 24px; } }
.gn-mainmenu > ul > li.gn-push { margin-left: auto; margin-right: 24px; }
.gn-mainmenu > ul > li > a { display: block; line-height: 64px; color: var(--gn-ink-2); font-size: 1.125rem; font-weight: 400; text-decoration: none; white-space: nowrap; }
.gn-mainmenu > ul > li > a .gn-caret { font-size: .8rem; margin-left: 2px; }
.gn-mainmenu > ul > li > a .gn-home { color: var(--gn-accent); font-size: 1.125rem; }
.gn-mainmenu li:hover > a, .gn-mainmenu li.is-active > a { color: var(--gn-accent); }
.gn-mainmenu ul ul { position: absolute; left: 0; top: 100%; min-width: 100%; list-style: none; margin: 0; padding: 0; z-index: 499;
  background: rgba(255, 255, 255, .8); box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .2); border-radius: 0 0 3px 3px;
  visibility: hidden; opacity: 0; transition: visibility 0s, opacity .2s ease-in-out; }
.gn-mainmenu ul ul ul { left: 100%; top: 0; }
.gn-mainmenu li:hover > ul, .gn-mainmenu li:focus-within > ul { visibility: visible; opacity: 1; }
.gn-mainmenu ul ul li { position: relative; display: block; }
.gn-mainmenu ul ul li a { display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; text-decoration: none; padding: 15px; font-size: 1rem; line-height: 30px; font-weight: 600; color: #000; border-bottom: 1px solid #e3e3e3; }
.gn-mainmenu ul ul li:last-child > a { border: 0; }
.gn-mainmenu ul ul li a:hover { color: var(--gn-accent); }
/* D3 — language switcher, desktop: grey menu bar, left of search */
.gn-lang { display: flex; align-items: center; gap: 10px; padding: 0 20px; border-left: 1px solid #c9cacc; font-size: 1.125rem; font-weight: 400; }
.gn-lang a { color: var(--gn-ink-2); text-decoration: none; }
.gn-lang a.is-current { color: var(--gn-accent); }
.gn-lang .gn-lang__sep { color: var(--gn-accent); font-weight: 300; }
.gn-searchbtn { width: 50px; display: flex; align-items: center; justify-content: center; background: var(--gn-search); color: #000; text-decoration: none; }
.gn-searchbtn .gn-icon { width: 20px; height: 20px; stroke-width: 2; }

/* ---- sticky compact header ------------------------------------------------ */
.gn-scrollheader { position: fixed; z-index: 9998; top: -390px; left: 0; width: 100%; background: #fff; transition: top 500ms ease; }
.gn-scrolled .gn-scrollheader { top: 0; box-shadow: 0 0 43px rgba(0, 0, 0, .2); }
.gn-scrollheader .gn-mainmenu > ul > li > a { font-size: 1rem; }

/* ---- phone header + menu panel -------------------------------------------- */
.gn-phonebar { display: none; }
.gn-tabletmenu { display: none; }
@media (max-width: 991px) {
  .gn-topbar, .gn-infoheader, .gn-menubar, .gn-scrollheader { display: none; }
  .gn-phonebar { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 12px; background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 12px 24px -12px rgba(0, 0, 0, .25); position: sticky; top: 0; z-index: 1300; }
  .gn-phonebar__logo { height: 46px; display: block; }
  .gn-phonebar__logo img { height: 100%; width: auto; display: block; }
  .gn-phonebar__right { display: flex; align-items: center; gap: 20px; }
  .gn-phonebar .gn-lang { border: 0; padding: 0; font-size: 1.25rem; gap: 8px; }
  .gn-phonebar .gn-lang .gn-lang__sep { color: #999; }
  .gn-burger { background: none; border: 0; padding: 4px; cursor: pointer; color: #000; }
  .gn-burger span { display: block; width: 30px; height: 3px; margin: 6px 0; background: #000; border-radius: 1px; transition: all .2s cubic-bezier(.85, .07, .06, .87); }
  .gn-menu-open .gn-burger span:nth-child(1) { transform: translateY(9px) rotate(135deg); }
  .gn-menu-open .gn-burger span:nth-child(2) { transform: scaleX(0); opacity: 0; }
  .gn-menu-open .gn-burger span:nth-child(3) { transform: translateY(-9px) rotate(-135deg); }
  .gn-tabletmenu { display: block; position: fixed; z-index: 1200; top: 56px; left: 0; right: 0; width: 80%; margin: 0 auto; background: #fdfeff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .18), 0 10px 40px -20px rgba(0, 0, 0, .3), 0 0 100px 0 rgba(0, 0, 0, .3); border-radius: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .5s cubic-bezier(.85, .07, .06, .87); max-height: 90vh; overflow-y: auto; }
  .gn-menu-open .gn-tabletmenu { opacity: 1; visibility: visible; transform: translateY(0); }
  .gn-tabletmenu ul { list-style: none; margin: 0; padding: 0; }
  .gn-tabletmenu > ul > li { border-bottom: 1px solid rgba(0, 0, 0, .1); position: relative; }
  .gn-tabletmenu > ul > li:last-child { border-bottom: 0; }
  .gn-tabletmenu a { display: block; padding: 5px 10px 5px 20px; margin-right: 40px; font-size: 1.3rem; line-height: 2.3rem; font-weight: 600; color: var(--gn-ink-2); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gn-tabletmenu .gn-home { color: var(--gn-accent); }
  .gn-tabletmenu details > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    padding: 5px 20px; font-size: 1.3rem; line-height: 2.3rem; font-weight: 600; color: var(--gn-ink-2); }
  .gn-tabletmenu details > summary::-webkit-details-marker { display: none; }
  .gn-tabletmenu details > summary .gn-caret { transition: transform .2s ease; }
  .gn-tabletmenu details[open] > summary .gn-caret { transform: rotate(180deg); }
  .gn-tabletmenu details ul { margin-left: 1em; padding-bottom: 8px; }
  .gn-tabletmenu details ul a { font-size: 1.1rem; line-height: 1.2rem; padding: 10px; font-weight: 400; }
  .gn-tabletmenu .gn-tabletmenu__top a { font-size: 1rem; font-weight: 400; display: flex; align-items: center; gap: 10px; }
  .gn-tabletmenu .gn-tabletmenu__top a .gn-icon { width: 18px; height: 18px; color: #555; }
}

/* ---- page frame + generic section rhythm ---------------------------------- */
.gn-page { display: block; }
.gn-section { position: relative; }
.gn-pad050 { padding: 50px 0; }
.gn-band { padding: 40px 0; background-size: cover; background-position: center; }
.gn-columns { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.gn-columns > .gn-col-main, .gn-columns > .gn-col-side { padding-inline: 15px; width: 100%; }
@media (min-width: 768px) {
  .gn-columns > .gn-col-main { width: 75%; }
  .gn-columns > .gn-col-side { width: 25%; }
  .gn-columns.gn-columns--8-4 > .gn-col-main { width: 66.6667%; }
  .gn-columns.gn-columns--8-4 > .gn-col-side { width: 33.3333%; }
}
.gn-main-pad { padding-top: 40px; }

/* ---- headings (D1: Newsreader) -------------------------------------------- */
.gn-script, .goldnetz-template .gn-page .gn-script { font-family: var(--gn-font-display); font-style: italic; font-weight: 300; font-size: 47px; line-height: 1.2; margin: 0; color: #000; }
.gn-heading { padding: 50px 0; }
.gn-heading.is-centered { text-align: center; }
.gn-pagetitle { padding: 10px 0 20px; }
.goldnetz-template .gn-page .gn-pagetitle .gn-script { font-size: 2.6rem; }
@media (max-width: 767px) { .goldnetz-template .gn-page .gn-script { font-size: 36px; } }

/* ---- breadcrumb ----------------------------------------------------------- */
.gn-breadcrumb { list-style: none; padding: 8px 15px; margin: 30px 0 20px; display: flex; flex-wrap: wrap; align-items: center; }
.gn-breadcrumb li { display: inline-flex; align-items: center; font-size: .722em; }
.gn-breadcrumb li + li::before { padding: 0 8px; color: #ccc; content: "/"; }
.gn-breadcrumb .gn-crumb-info { color: var(--gn-crumb-strong); font-weight: 300; }
.gn-breadcrumb .gn-crumb-info i { margin-left: 4px; }
.gn-breadcrumb a { color: var(--gn-crumb) !important; text-decoration: none !important; text-transform: uppercase; font-weight: 300; }
.gn-breadcrumb .gn-crumb-current { color: var(--gn-crumb-strong); font-weight: 600; text-transform: uppercase; }

/* ---- boxes (mBox) --------------------------------------------------------- */
.gn-box { position: relative; margin-bottom: 30px; }
.gn-box--bordered { border: 1px solid var(--gn-line); padding: 15px; }
.gn-box__header { padding-bottom: 15px; }
.gn-hl { position: relative; display: inline-block; padding-bottom: 8px; margin: 0 !important; font-weight: 300; }
.gn-hl::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gn-accent); }
h2.gn-hl { font-size: 1.728rem; }
.gn-box__body { line-height: 1.5em; }
.gn-box__body ul { padding-left: 0; list-style: none; }
.gn-box__body ul li { position: relative; padding-left: 15px; }
.gn-box__body ul li::before { content: "\f105"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; font-size: .85em; }
.gn-text { padding-bottom: 10px; }

/* ---- hero slider (hp_wrapper.kam) ----------------------------------------- */
.gn-hero { position: relative; width: 100%; overflow: hidden; }
.gn-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gn-hero__track::-webkit-scrollbar { display: none; }
.gn-hero__slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr; }
.gn-hero__panel { background: var(--gn-hero-panel); color: var(--gn-teal); position: relative; padding: 30px; line-height: 1; text-align: left; }
.gn-hero__eyebrow, .gn-hero__sub, .gn-hero__text { font-size: 1rem; line-height: 1.2; margin: 0; }
@media (min-width: 650px) { .gn-hero__eyebrow, .gn-hero__sub, .gn-hero__text { font-size: 1.15rem; line-height: 1.25; } }
.gn-hero__eyebrow { margin-bottom: 1.4em; }
.gn-hero__title { font-family: var(--gn-font-display); font-style: italic; font-weight: 500; font-size: 4rem; line-height: 1; display: block; margin: 0 0 .5em; }
.gn-hero__sub { font-weight: 700; margin-bottom: 1em; }
.gn-hero__text { white-space: pre-line; }
.gn-hero__media img { display: block; width: 100%; height: auto; }
@media (min-width: 650px) {
  .gn-hero__slide { grid-template-columns: 40% auto; }
  .gn-hero__panel { padding: 0; }
  .gn-hero__item { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 80%; max-width: 100%; }
  .gn-hero__eyebrow, .gn-hero__sub, .gn-hero__text { font-size: .8vw; line-height: 1.1vw; }
  .gn-hero__title { font-size: 4vw; }
}
.gn-hero__dots { position: absolute; left: 40%; right: 0; bottom: 4%; display: flex; justify-content: center; gap: 4px; }
@media (max-width: 649px) { .gn-hero__dots { position: static; left: 0; padding: 12px 0; } }

/* ---- carousels (owl replacement) ------------------------------------------ */
.gn-carousel { position: relative; padding-bottom: 50px; }
.gn-carousel__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gn-carousel__track::-webkit-scrollbar { display: none; }
.gn-carousel__track > * { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 768px) { .gn-carousel--3 .gn-carousel__track > * { flex-basis: calc((100% - 20px) / 3); } }
.gn-carousel__nav { position: absolute; top: 50%; margin-top: -45px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #efefef;
  background: rgba(255, 255, 255, .5); color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .9; transition: .4s; z-index: 2; }
.gn-carousel__nav:hover { color: #fff; background: var(--gn-accent); border-color: var(--gn-accent); opacity: 1; }
.gn-carousel__nav .gn-icon { width: 22px; height: 22px; stroke-width: 2.5; }
.gn-carousel__nav--prev { left: -5%; }
.gn-carousel__nav--next { right: -5%; }
@media (max-width: 1290px) { .gn-carousel__nav--prev { left: -10px; } .gn-carousel__nav--next { right: -10px; } }
.gn-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.gn-dot { width: 10px; height: 10px; margin: 5px 7px; border-radius: 30px; background: #b4b4b4; border: 1px solid #b4b4b4; padding: 0; cursor: pointer; }
.gn-dot.is-active, .gn-dot:hover { background: var(--gn-accent); border-color: #fff; }

/* ---- newsbox cards -------------------------------------------------------- */
.gn-newsbox { background: #fff; border: 1px solid var(--gn-line); cursor: pointer; overflow: hidden; display: block; color: #000 !important; text-decoration: none !important; transition: border-color .2s ease-in-out; }
.gn-newsbox:hover { border-color: #ddd; }
.gn-newsbox__header { position: relative; padding-bottom: 50%; background: #f7f7f7; overflow: hidden; display: block; }
.gn-newsbox__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease-in-out; }
.gn-newsbox:hover .gn-newsbox__img { transform: scale(1.1); }
.gn-newsbox__over { position: absolute; inset: 0; opacity: 0; z-index: 1; transition: all .2s ease; background: rgba(61, 86, 96, .6); color: #fff; }
.gn-newsbox__over span { position: absolute; right: 0; bottom: 0; margin: 0 5% 5% 0; border: 2px solid #fff; padding: 10px 20px; }
.gn-newsbox:hover .gn-newsbox__over { opacity: 1; }
.gn-newsbox__body { padding: 10px 5px; display: block; }
@media (min-width: 600px) { .gn-newsbox__body { padding: 10px; } }
.gn-newsbox__title { font-weight: 600 !important; font-size: 1rem !important; margin: 0 !important; padding: 0; line-height: 1.3; }
@media (min-width: 600px) { .gn-newsbox__title { font-size: 1.125rem !important; } }
.gn-newsbox__text { display: none; border-top: 1px solid #f1f1f1; padding: 10px 0 .5em; margin-top: 10px; font-weight: 300; font-size: 1rem; line-height: 1.3rem; }
@media (min-width: 600px) { .gn-newsbox__text { display: block; } }
.gn-newsbox__more { color: var(--gn-accent); text-decoration: underline; font-size: .85rem; }
.gn-newsbox__date { font-size: .75rem; font-weight: 300; padding-bottom: .5em; display: block; }
.gn-newsgrid { display: grid; gap: 15px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 991px) { .gn-newsgrid { grid-template-columns: 1fr 1fr 1fr; } }

/* ---- news list (archive) -------------------------------------------------- */
.gn-newslist { list-style: none; margin: 0; padding: 0; }
.gn-newslist.gn-newsgrid { margin-top: 10px; }
.gn-newslist li { margin-bottom: 10px; padding-left: 10px; }
.gn-newslist li:hover, .gn-newslist li.is-active { box-shadow: -5px 0 0 0 var(--gn-accent); }
.gn-newslist a { display: grid; grid-template-columns: 25% 1fr; gap: 15px; text-decoration: none !important; color: #000 !important; }
.gn-newslist__img { width: 100%; padding-bottom: 100%; position: relative; border-radius: 2px; overflow: hidden; background-size: cover; background-position: center; background-color: var(--gn-accent); display: block; }
.gn-newslist__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gn-newslist__img.is-empty::after { content: "G"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.6rem; }
.gn-newslist__title { font-weight: 400 !important; font-size: 1rem !important; margin: 0 !important; padding-bottom: .5em; line-height: 1.3; }
.gn-newslist__date { font-size: .75rem; font-weight: 300; }
.gn-newslist__img:not(.is-empty) { background-color: #f7f7f7; }
.gn-subhead { font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .5px; padding: 5px 0 20px; margin: 0; }
.gn-kicker { text-align: center; font-size: 1.728rem; padding: 0 0 20px; }

/* ---- news detail ---------------------------------------------------------- */
.gn-newsdetail { padding: 25px 25px 10px; border: 1px solid var(--gn-line); margin-bottom: 30px; }
.gn-newsdetail h1 { font-weight: 600; font-size: 1.2rem; line-height: 1.2; margin: 0 0 8px; }
.gn-newsdetail__date { font-size: 1rem; font-weight: 300; padding-bottom: .5em; }
.gn-newsdetail__img img { width: 100%; height: auto; display: block; }
@media (min-width: 800px) { .gn-newsdetail__img { float: left; width: 50%; margin: 0 20px 20px 0; } }
.gn-newsdetail__body::after { content: ""; display: block; clear: both; }

/* ---- testimonials --------------------------------------------------------- */
.gn-testis { background-color: var(--gn-band-pink); background-size: cover; background-position: center; padding: 40px 0 20px; }
.gn-testis .gn-carousel__track > * { padding: 10px 0; }
.gn-testis blockquote { color: var(--gn-ink-quote); margin: 0 !important; }
.gn-testis .gn-carousel__nav { margin-top: -35px; }
.gn-testis__author { text-align: right; font-weight: 700; font-style: normal; margin-top: 10px; color: #000; }
.gn-testi-inline { margin: 20px 0 40px; }
.gn-testi-inline .gn-carousel__track > * { padding: 20px 0; }

/* ---- coaching tiles ------------------------------------------------------- */
.gn-tiles { padding-bottom: 30px; }
.gn-tile span { display: block; }
.gn-tile { border: 1px solid var(--gn-line); display: block; height: 100%; color: #000 !important; text-decoration: none !important; }
.gn-tile__img { position: relative; padding-bottom: 50%; background-size: cover; background-repeat: no-repeat; }
.gn-tile__hl { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, .5); }
.gn-tile__hl h3 { font-size: 1.25em !important; margin: 0 !important; padding: 10px; text-align: center; color: #000; }
.gn-tile__body { padding: 15px; text-align: center; }
.gn-tile__body p { margin: 0 0 .5em; }
.gn-tiles .gn-row > * { margin-bottom: 30px; }

/* ---- stats band ----------------------------------------------------------- */
.gn-stats { background-color: var(--gn-band-lilac); background-size: cover; background-position: center; padding: 50px 0; color: #fff; text-align: center; }
.gn-stat__value { font-size: 5em; font-weight: 200; line-height: 1; display: block; margin: 20px 0 10px; }
.gn-stat__label { text-transform: uppercase; font-weight: 300; display: block; }

/* ---- feature pair --------------------------------------------------------- */
.gn-features { margin: 30px 0; }
.gn-feature h2, .gn-feature h3 { font-size: 1.728rem !important; margin: 0 0 15px !important; }

/* ---- forms ---------------------------------------------------------------- */
.gn-formband { background-color: var(--gn-band-peach); background-size: cover; background-position: center; padding: 30px 0; }
.gn-form { margin: 0; }
.gn-form .gn-row { margin-bottom: 15px; }
.gn-form label.gn-label { display: block; font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.gn-form .gn-input { display: block; width: 100%; height: 34px; padding: 6px 12px; font: inherit; font-size: 14px; color: #555; background: #fff;
  border: 1px solid #ccc; border-radius: 2px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); }
.gn-form textarea.gn-input { height: auto; resize: vertical; }
.gn-form .gn-check { font-size: 1rem; display: flex; gap: 6px; align-items: baseline; }
.gn-btn { display: inline-block; padding: 10px 16px; font: inherit; font-size: 18px; line-height: 1.333; border-radius: 2px; border: 1px solid var(--gn-accent);
  background: var(--gn-accent); color: #fff !important; text-decoration: none !important; cursor: pointer; }
.gn-btn:hover { background: var(--gn-accent-hover); }
.gn-btn--sm { font-size: 14px; padding: 6px 12px; }
.gn-form__note { font-size: .85rem; color: var(--gn-ink-3); }
.gn-request .gn-input { border-width: 0 0 1px; box-shadow: none; padding-left: 0; }
.gn-request .gn-input--boxed { border-width: 1px; padding-left: 12px; }

/* ---- logo row (D2) -------------------------------------------------------- */
.gn-logos { margin: 50px 0 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }
.gn-logos a, .gn-logos span { display: inline-flex; align-items: center; }
.gn-logos img { display: block; max-height: 70px; width: auto; max-width: 210px; }

/* ---- icon cards (course facts / reasons) ---------------------------------- */
.gn-iconbox { background: var(--gn-grey-box); padding: 15px; margin-bottom: 30px; }
.gn-iconbox__cards { display: grid; gap: 15px; grid-template-columns: 1fr; margin-top: 15px; }
@media (min-width: 992px) { .gn-iconbox__cards { gap: 30px; } }
@media (min-width: 768px) { .gn-iconbox__cards { grid-template-columns: repeat(4, 1fr); } .gn-iconbox__cards--3 { grid-template-columns: repeat(3, 1fr); } }
.gn-iconbox--plain { background: none; padding: 0; }
.gn-iconcard { background: #fff; border: 1px solid var(--gn-line); padding: 20px 30px 40px; text-align: center; min-height: 100%; color: #000 !important; text-decoration: none !important; display: block; }
.gn-iconcard__icon { width: 60px; height: 60px; border: 1px solid #ddd; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gn-accent); margin-bottom: 20px; }
.gn-iconcard__icon .gn-icon { width: 30px; height: 30px; stroke-width: 1.5; }
.gn-iconcard__icon i { color: #000; font-size: 14px; }
.gn-iconcard__title { font-size: 1.2rem !important; margin: 0 0 20px !important; }
.gn-iconcard__text { font-size: .95rem; line-height: 1.2em; }
.gn-coursefacts { background: var(--gn-grey-band); padding: 2em 0; }

/* ---- CTA with round portrait ---------------------------------------------- */
.gn-cta { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; margin: 40px 0; }
@media (min-width: 768px) { .gn-cta { grid-template-columns: 33.333% 1fr; } }
.gn-cta__img { border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; max-width: 300px; }
.gn-cta__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- side boxes ----------------------------------------------------------- */
.gn-sidebox { border: 1px solid var(--gn-line); padding: 15px; margin-bottom: 15px; }
.gn-sidebox h4.gn-hl, .gn-sidebox h3.gn-hl { font-size: 1.2rem; text-transform: none; }
.gn-sidebox__body { margin-top: 15px; }
.gn-sidebox__img { padding-bottom: 50%; background-size: cover; background-position: center; margin-bottom: 15px; }
.gn-sidebox .gn-progs__head { position: relative; padding-bottom: 50%; background-size: cover; background-position: center; margin: -15px -15px 15px; }
.gn-sidebox .gn-progs__head span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .5); padding: 6px 10px; font-size: 1.2rem; }
.gn-progs { list-style: none; margin: 0; padding: 0; }
.gn-progs li { padding: 6px 0; }
.gn-progs a { color: #000 !important; text-decoration: none !important; display: block; }
.gn-progs small { display: block; font-size: .7rem; padding-left: 10px; }

/* ---- locations ------------------------------------------------------------ */
.gn-map { margin-top: 0; }
.gn-map .kms-map__canvas { min-height: 260px !important; height: 30vw; }
.gn-map .kms-map__list { display: none; }
.gn-map .kms-map:not(:has(.leaflet-container)) .kms-map__list { display: block; padding: 10px 15px; }
@media (max-width: 767px) { .gn-map .kms-map__canvas { height: 70vw; } }
.gn-locs h2 { text-align: center; margin: 15px 0 10px !important; }
.gn-loccard { border: 1px solid var(--gn-line); background: #fff; margin-bottom: 15px; height: calc(100% - 15px); }
.gn-loccard__img { position: relative; padding-bottom: 50%; background: #f5f5f5 center / cover no-repeat; }
.gn-loccard__img.is-empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70px; height: 95px; transform: translate(-50%, -50%);
  background: #cfcfcf; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.gn-loccard__info { padding: 16px 24px 30px; }
.gn-loccard__name { font-weight: 700; letter-spacing: .5px; line-height: 1.5; }
.gn-loccard__addr { margin-top: 20px; letter-spacing: .5px; line-height: 1.5; }
.gn-loccard__addr i { width: 1.1em; }
.gn-loccard .gn-btn { margin-top: 20px; font-size: 1rem; padding: 4px 12px; }

/* ---- contact banner (round photo + handwriting) --------------------------- */
.gn-bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: 90%; max-width: 834px; margin: 20px auto 40px; }
.gn-bubble { position: relative; border-radius: 50%; padding-top: 100%; overflow: hidden; background: #fff center / cover no-repeat; }
.gn-bubble__text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 85%; text-align: center; font-family: var(--gn-font-hand); font-size: 1.2rem; line-height: 1em; }
@media (min-width: 768px) { .gn-bubble__text { font-size: 48px; } }

/* ---- FAQ accordion -------------------------------------------------------- */
.gn-faq details { margin-left: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.gn-faq summary { list-style: none; display: block; padding: 10px 22px 10px 40px; position: relative; font-size: 1.1rem; line-height: 1.8rem; font-weight: 600; cursor: pointer; color: #000; }
@media (min-width: 991px) { .gn-faq summary { font-size: 1.2rem; } }
.gn-faq summary::-webkit-details-marker { display: none; }
.gn-faq summary::before { content: "\f105"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 10px; top: 10px; transition: transform .2s ease; }
.gn-faq details[open] > summary { color: var(--gn-accent); }
.gn-faq details[open] > summary::before { transform: rotate(90deg); }
.gn-faq summary:hover { color: var(--gn-accent); }
.gn-faq__answer { padding: 5px 40px 15px; }

/* ---- rounded image -------------------------------------------------------- */
.gn-roundimg { border-radius: 2px; overflow: hidden; margin-bottom: 30px; }
.gn-roundimg img { width: 100%; height: auto; display: block; }

/* ---- course + location detail -------------------------------------------- */
.gn-course h1 { font-size: 1.728rem !important; margin: 40px 0 30px !important; }
.gn-course__cols { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 30px 0; }
@media (min-width: 768px) { .gn-course__cols { grid-template-columns: 75% 1fr; } .gn-course__main { border-right: 1px solid #eee; padding-right: 15px; } }
.gn-linelist { list-style: none; margin: 0; padding: 0; }
.gn-linelist > li { border-bottom: 1px solid rgba(0, 0, 0, .05); padding: 15px 0; }
.gn-linelist strong { display: block; font-size: 1.1rem; }
.gn-alloffers { text-align: center; padding: 20px 0 40px; }
.gn-locdetail h1 { margin: 30px 0 20px !important; font-size: 1.728rem !important; }

/* ---- footer --------------------------------------------------------------- */
.gn-footer { background: var(--gn-topbar); color: #aaa; font-size: 14px; position: relative; overflow: hidden; }
.gn-footer .gn-container { padding-top: 46px; }
.gn-footer h3 { color: #fff; font-weight: 300; margin: 9px 0 25px; font-size: 1.44rem; }
.gn-footer__logo { display: block; width: 200px; }
.gn-footer__logo img { height: 80px; width: auto; display: block; }
.gn-footer__links { list-style: none; columns: 2; padding: 0; margin: 15px 0 0 60px; }
.gn-footer__links li { position: relative; padding-left: 20px; }
.gn-footer__links li::before { content: "\f105"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0; font-size: 14px; color: #e5e5e5; }
.gn-footer__links a { color: #e5e5e5; text-decoration: none; transition: all .2s ease-in-out; }
.gn-footer__links a:hover { color: var(--gn-accent); }
.gn-footer__contact { list-style: none; margin: 0; padding: 0; line-height: 1.4em; }
.gn-footer__contact li { position: relative; padding: 0 0 5px 10px; font-size: 13px; white-space: pre-line; }
.gn-footer__contact li::before { content: "\f0da"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 0; left: 0; font-size: 10px; }
.gn-footer__contact a { color: inherit; text-decoration: none; }
.gn-footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 15px; }
.gn-footer__social a { display: block; width: 32px; height: 32px; line-height: 32px; text-align: center; font-size: 1.3rem; color: #fff; background: var(--gn-social); border-radius: 2px; text-decoration: none; }
.gn-footer__social a:hover { color: var(--gn-accent); }
.gn-footer__badges { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 15px; gap: 10px; }
.gn-footer__badges img { display: block; max-width: 130px; height: auto; }
.gn-footer hr { border: 0; height: 1px; background: #333; margin: 20px 0; }
.gn-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-bottom: 15px; }
.gn-footer__copy { line-height: 53px; color: #aaa; }
.gn-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 40px; }
.gn-footer__legal a { color: #fff; text-decoration: none; line-height: 53px; }
.gn-footer__legal a:hover { color: var(--gn-accent); }
@media (max-width: 767px) {
  .gn-footer { text-align: center; }
  .gn-footer__logo { margin: auto; }
  .gn-footer__logo img { margin: auto; }
  .gn-footer__links { margin-left: 0; columns: 1; display: inline-block; text-align: left; }
  .gn-footer__social { justify-content: center; }
  .gn-footer__contact { display: inline-block; text-align: left; }
  .gn-footer__bottom { flex-direction: column; }
  .gn-footer__legal { flex-direction: column; align-items: center; }
  .gn-footer__legal a, .gn-footer__copy { line-height: 2.2; }
}

/* ---- search page ---------------------------------------------------------- */
.gn-search { padding: 40px 0; }
.gn-search form { display: flex; gap: 10px; margin-bottom: 30px; }
.gn-search form .gn-input { flex: 1 1 auto; height: 44px; border: 1px solid #ccc; padding: 6px 12px; font: inherit; }

/* ---- D6: Loracta consent banner, styled to match -------------------------- */
.goldnetz-template .cc-banner, .goldnetz-template .cc-modal, .goldnetz-template #vc-cookie-banner {
  --vc-primary: var(--gn-accent);
  --vc-primary-hov: var(--gn-accent-hover);
  --vc-on-primary: #ffffff;
  --vc-accent: var(--gn-accent);
  --vc-surface: #ffffff;
  --vc-ink: #333333;
  --vc-sans: var(--gn-font);
  --vc-serif: var(--gn-font);
  --vc-mono: var(--gn-font);
  --vc-banner-radius: 2px;
  --vc-control-radius: 2px;
}
.goldnetz-template #vc-cookie-banner { border-top: 1px solid var(--gn-accent); }
.goldnetz-template #vc-cookie-banner .cc-eyebrow { text-transform: none; letter-spacing: 0; }

/* ---- reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .goldnetz-template * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---- blocks placed inside the derived 9/3 row ----------------------------- */
.gn-columns .gn-container { width: auto; padding-inline: 0; }
.gn-columns .gn-fullwidth { width: auto; left: auto; margin-left: 0; }
.gn-columns .gn-heading { padding: 20px 0; }
.gn-columns .gn-formband { background: none; padding: 0; }
.gn-columns .gn-bubbles { width: 100%; }
.gn-hero__track { align-items: flex-start; }

/* Course side panel + contact people (course page, location page). */
.gn-courseside__strong { font-weight: 700; display: block; }
.gn-contacts { display: grid; grid-template-columns: 1fr; gap: 15px 30px; }
@media (min-width: 768px) { .gn-contacts { grid-template-columns: repeat(3, 1fr); } }
.gn-contacts--stack, .gn-courseside .gn-contacts { grid-template-columns: 1fr !important; gap: 10px; }
.gn-contact { line-height: 1.6; }
.gn-contact i { width: 1.1em; color: #000; }
.gn-contact__name { font-weight: 700; }
.gn-courseside .gn-contact__name { font-weight: 400; }
.gn-locdetail__people { border-top: 1px solid #eee; margin-top: 20px; padding-top: 10px; }
.gn-locdetail__people h3 { font-size: 1.44rem !important; margin: 0 0 20px !important; }
.gn-gridbtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px; border: 1px solid rgba(239, 125, 77, .35); border-radius: 3px; color: var(--gn-accent) !important; text-decoration: none !important; }
/* Course body: plain lists keep round bullets (live course pages); lists
   marked Arrow_list / arrowlist keep the chevrons. */
.gn-course__main ul:not(.Arrow_list):not(.arrowlist) { list-style: disc; padding-left: 40px; }
.gn-course__main ul:not(.Arrow_list):not(.arrowlist) li { padding-left: 0; }
.gn-course__main ul:not(.Arrow_list):not(.arrowlist) li::before { content: none; }
.gn-locdetail .gn-loccard__info { font-size: .8rem; padding: 12px 12px 20px; }
/* Phone: the live fact cards keep the 60px ring but draw a small glyph and
   slightly larger text. */
@media (max-width: 767px) {
  .gn-iconcard__icon .gn-icon { width: 14px; height: 14px; }
  .gn-iconcard__text { font-size: 1rem; line-height: 1.5; }
}
/* Phone: the live location page shows a short map strip. */
@media (max-width: 767px) { .gn-locdetail .kms-map__canvas { min-height: 110px !important; height: 110px; } }
.gn-contact__address .gn-icon { width: 1.1em; height: 1.1em; vertical-align: -2px; }

/* Phone fidelity (live phone layout, iPhone 13): page titles at 33px; the
   heading right under the home page's slider is not shown; the Blog carousel and
   "Weitere Kurse" show two cards per view. */
@media (max-width: 767px) {
  .goldnetz-template .gn-page .gn-pagetitle .gn-script { font-size: 2.074rem; }
  .site-section[data-section-type="hero"] + .site-section[data-section-type="heading"] { display: none; }
  .gn-carousel--phone2 .gn-carousel__track > * { flex-basis: calc((100% - 10px) / 2); }
  .gn-carousel--phone2 .gn-carousel__nav { display: none; }  /* swiped, as live */
}
/* Icons kept in imported text (contact boxes: pin, phone, person). */
.gn-mdicon { display: inline-block; width: 1.1em; margin-right: .25em; text-align: center; color: #000; font-size: .9em; }
/* Sidebar box text as on the live boxes: 19px light sub-heading, address /
   transit lines without gaps between them. */
.gn-sidebox__body h4 { font-size: 1.2rem !important; font-weight: 300 !important; margin: 0 0 .3em !important; }
.gn-sidebox__body p { margin: 0; }
/* News item: the page-wide heading sizes must not override the item title
   (19px semibold) and the "Letzte Einträge" / "Weitere News" heads (18px bold). */
.goldnetz-template .gn-page .gn-newsdetail h1 { font-size: 1.2rem; font-weight: 600; line-height: 1.2; margin: 0 0 8px; }
.goldnetz-template .gn-page h3.gn-subhead { font-size: 18px; font-weight: 700; line-height: 1.5; margin: 0; }

/* ==========================================================================
   Parity pass 2026-11-25 (owner review of goldnetz-berlin.org vs Loracta)
   ========================================================================== */

/* ---- spacing model (Mosaic): every element (.mosaic_el) ends 15px above
   the next; its own inline margins / boxpad padding come from the importer
   (style.gn_space → inline style on .site-section). Blocks carry no outer
   margins of their own any more. The page column starts 50px under the
   header, the breadcrumb sits flush at the top. ------------------------- */
.gn-page .site-section { margin-bottom: 15px; }
.gn-page .gn-col-main > .site-section:last-child,
.gn-page .gn-col-side > .site-section:last-child { margin-bottom: 0; }
.gn-page > .site-section:first-child:not([data-section-type="hero"]):not([data-section-type="banner"]) { margin-top: 50px; }
.gn-main-pad { padding-top: 50px; }
.gn-breadcrumb { margin: 0 0 20px; }
.gn-pagetitle { padding: 0; }
.goldnetz-template .gn-page .gn-pagetitle h1 { margin: 0 0 10px; }
.gn-pagetitle.is-centered { text-align: center; }
.goldnetz-template .gn-page .gn-pagetitle .gn-pagetitle__plain { font-family: var(--gn-font); font-style: normal; font-weight: 400; font-size: 32px; line-height: 1; }
.gn-box, .gn-iconbox, .gn-sidebox:last-child { margin-bottom: 0; }
.gn-text { padding-bottom: 0; }
.gn-cta { margin: 0; }
.gn-testi-inline { margin: 0; }
.gn-features { margin: 0; }
.gn-padded .gn-heading, .site-section[style*="padding-top"] > .gn-heading { padding: 0; }
.gn-box.is-centered, .gn-text.is-centered { text-align: center; }

/* ---- lists: round bullets by default; Mosaic's arrow lists keep the
   chevron (importer marks their items with .gn-li-arrow) ---------------- */
.gn-box__body ul { list-style: disc; padding-left: 40px; }
.gn-box__body ul li { padding-left: 0; }
.gn-box__body ul li::before { content: none; }
.gn-box__body ul:has(> li > .gn-li-arrow) { list-style: none; padding-left: 0; }
.gn-box__body ul li:has(> .gn-li-arrow) { padding-left: 15px; }
.gn-box__body li > .gn-li-arrow { display: none; }
.gn-box__body ul li:has(> .gn-li-arrow)::before { content: "\f105"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; font-size: .85em; }
.gn-sidebox ul, .gn-progs { list-style: none; padding-left: 0; }

/* ---- button links (Mosaic a.btn.btn-orange; importer marks them) ------- */
.goldnetz-template .gn-page a:has(> .gn-btn-mark) { display: inline-block; padding: 1px 8px; font-size: 14px; line-height: 1.5; border-radius: 2px;
  background: var(--gn-accent); border: 1px solid var(--gn-accent); color: #fff; text-decoration: underline; }
.goldnetz-template .gn-page a:has(> .gn-btn-mark):hover { background: var(--gn-accent-hover); }
.gn-btn-mark { display: none; }
.goldnetz-template .gn-page hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }

/* ---- note 8: fact box — four equal cards inside the grey box ----------- */
@media (min-width: 768px) {
  .gn-iconbox__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gn-iconbox__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gn-iconbox .gn-iconcard { padding: 15px; overflow-wrap: anywhere; }

/* ---- note 9: portrait call-to-action — text column starts at the 1/3
   line as on the live 4/8 row ------------------------------------------ */
@media (min-width: 768px) { .gn-cta { grid-template-columns: calc(33.333% + 10px) 1fr; gap: 0; } }
.gn-cta .gn-box__body { margin-top: 15px !important; }
.gn-cta .gn-box__body p { margin: 0 0 8px; }

/* ---- note 10: course carousels — the live strip leaves room under the
   cards before its dots; the home Blog strip has neither arrows nor dots -- */
.gn-carousel--programs { padding-bottom: 235px; }
.gn-carousel--programs .gn-carousel__nav { margin-top: -137px; }
.gn-carousel--blog .gn-carousel__nav, .gn-carousel--blog .gn-dots { display: none; }
.gn-carousel--blog { padding-bottom: 50px; }

/* ---- note 2: hero arrows — hidden until the slider is hovered, then they
   slide in from 10% to 2% (owl #headerpix nav) ------------------------- */
.gn-hero__nav { position: absolute; top: 50%; margin-top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #fff;
  background: rgba(255, 255, 255, .5); color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transition: .4s; z-index: 2; padding: 0; }
.gn-hero__nav .gn-icon { width: 22px; height: 22px; stroke-width: 2.5; }
.gn-hero__nav--prev { left: 10%; }
.gn-hero__nav--next { right: 10%; }
.gn-hero:hover .gn-hero__nav--prev, .gn-hero:focus-within .gn-hero__nav--prev { left: 2%; opacity: 1; }
.gn-hero:hover .gn-hero__nav--next, .gn-hero:focus-within .gn-hero__nav--next { right: 2%; opacity: 1; }
.gn-hero .gn-hero__nav:hover { color: #fff; background: var(--gn-accent); border-color: var(--gn-accent); }
.gn-hero__dots { top: 90%; bottom: auto; }
@media (max-width: 649px) { .gn-hero__nav { display: none; } }

/* ---- note 11: back-to-top (Mosaic a.back-to-top): orange square at the
   right edge, shown after scrolling ------------------------------------ */
.gn-totop { position: fixed; right: 0; bottom: 6em; z-index: 99; width: 30px; height: 30px; border-radius: 2px; border: 1px solid var(--gn-accent);
  background: var(--gn-accent); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: all .2s ease; text-decoration: none; margin-right: 15px; }
.gn-totop .gn-icon { width: 20px; height: 20px; stroke-width: 2; }
.gn-show-totop .gn-totop { opacity: 1; visibility: visible; }
.gn-totop:hover { transform: scale(1.2); }
.gn-totop:active { transform: scale(1); background: #000; border-color: #000; }

/* ---- note 1: page-load cover with the bouncing G (Mosaic #fakeLoader).
   Only drawn when scripts run (html.gn-loading is set by an inline script
   and cleared on load, with a time-out) ------------------------------- */
.gn-loader { display: none; }
.gn-loading .gn-loader, .gn-loader.is-fading { display: block; position: fixed; inset: 0; background: #fff; z-index: 10001; transition: opacity .5s; }
.gn-loader.is-fading { opacity: 0; pointer-events: none; }
.gn-loader__spin { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; }
.gn-loader__spin svg { position: absolute; inset: 0; width: 90px; height: 90px; opacity: .6; animation: gn-bounce 2s infinite ease-in-out; }
.gn-loader__spin svg + svg { animation-delay: -1s; }
@keyframes gn-bounce { 0%, 100% { transform: scale(0); } 50% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .gn-loader__spin svg { animation: none; transform: scale(1); } .gn-loader__spin svg + svg { display: none; } }

/* ---- note 18: FAQ — orange chevrons -------------------------------------- */
.gn-faq summary::before { color: var(--gn-accent); }

/* ---- note 12: contact lines in imported text keep only the icons the
   source drew --------------------------------------------------------- */
.gn-box__body p:has(> .gn-mdicon) { margin: 0; }
.gn-box__body p:has(> .gn-mdicon.fa-user) { font-size: 1.2rem; margin: 0 0 .5em; }
/* Failsafe: the cover never outlives 6 s, even if runtime.js does not load. */
.gn-loading .gn-loader { animation: gn-loader-out .5s 6s forwards; }
@keyframes gn-loader-out { to { opacity: 0; visibility: hidden; } }

/* ---- note 13: photo slideshow (Mosaic swiper gallery) -------------------- */
.gn-gallery { position: relative; overflow: hidden; }
.gn-gallery .gn-carousel__track { gap: 0; }
.gn-gallery .gn-carousel__track > * { flex: 0 0 100%; }
.gn-gallery__slide { position: relative; margin: 0; height: 0; overflow: hidden; background: #f7f7f7; }
.gn-gallery__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gn-gallery__nav { position: absolute; top: 50%; margin-top: -22px; width: 27px; height: 44px; border: 0; background: none; color: var(--gn-accent);
  display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .3s; z-index: 2; padding: 0; }
.gn-gallery__nav .gn-icon { width: 34px; height: 34px; stroke-width: 2; }
.gn-gallery__nav--prev { left: 10px; }
.gn-gallery__nav--next { right: 10px; }
.gn-gallery:hover .gn-gallery__nav, .gn-gallery:focus-within .gn-gallery__nav { opacity: 1; }

/* ---- side boxes: frameless variant, image header with the heading on a
   white veil, and the section sub-navigation (Mosaic ul.subnav) --------- */
.gn-sidebox.is-plain { border: 0; padding: 0; }
.gn-sidebox.has-img { padding: 0; }
.gn-sidebox.has-img .gn-sidebox__body { margin: 0; padding: 15px; }
.gn-sidebox__imghead { position: relative; padding-bottom: 50%; background-size: cover; background-position: center; }
.gn-sidebox__imghead h4 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 6px 10px; font-size: 1.2rem !important;
  font-weight: 300; background: rgba(255, 255, 255, .5); color: #000; }
.gn-sidebox__body ul { list-style: none; padding-left: 0; margin: 0; }
.gn-sidebox__body ul li { padding: 0; border-bottom: 1px solid #eee; }
.gn-sidebox__body ul li:last-child { border-bottom: 0; }
.gn-sidebox__body ul ul { padding-left: 10px; }
.gn-sidebox__body ul ul li { border: 0; }
.gn-sidebox__body ul a { display: block; padding: 5px 0; color: #000 !important; text-decoration: none !important; font-size: .9rem; }
.gn-sidebox__body ul ul a { padding: 2px 0; font-size: .8rem; }
.gn-sidebox__body ul a:hover, .gn-sidebox__body ul a.is-current { color: var(--gn-accent) !important; }

/* ---- note 14: all offers grid (Mosaic #kursfilter + #kursgridcontent) ---- */
.goldnetz-template .gn-page .gn-grid__heading { text-align: center; font-size: 1.728rem; margin: 0 0 10px; }
.gn-grid__filter { width: 33.333%; margin: 0 auto 30px; padding: 0 15px; border-bottom: 1px solid #eee; }
@media (max-width: 767px) { .gn-grid__filter { width: 100%; } }
.gn-grid__filterlabel { display: block; font-weight: 700; font-size: 1rem; }
.gn-grid__select { width: 100%; border: 0; background: transparent; font: inherit; font-size: .9rem; color: #999; padding: 6px 0; cursor: pointer; }
.gn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 15px 30px; }
@media (min-width: 768px) { .gn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gn-grid > li { display: flex; }
.gn-grid .gn-newsbox { width: 100%; }

/* ---- image beside text: Mosaic .roundedimage is a small corner radius, not
   a circle; 6/6 rows for the podcast -------------------------------------- */
.gn-cta__img { border-radius: 2px; aspect-ratio: auto; max-width: none; }
.gn-cta__img img { height: auto; }
@media (min-width: 768px) { .gn-cta.gn-cta--half { grid-template-columns: calc(50% + 15px) 1fr; } }
.gn-cta > div:last-child { padding-right: 15px; }

/* ---- side-by-side text columns (Mosaic nested 6/6, 4/8 … text rows; the
   Impressum): one flex row, the template opens it around the run --------- */
.gn-colrow { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.gn-colrow > .gn-colspan { width: 100%; padding-inline: 15px; }
.gn-colrow .gn-container { width: auto; padding-inline: 0; }
.gn-page > .gn-colrow-wrap:first-child { margin-top: 50px; }
@media (min-width: 768px) {
  .gn-colrow > .gn-colspan-3 { width: 25%; } .gn-colrow > .gn-colspan-4 { width: 33.333%; } .gn-colrow > .gn-colspan-6 { width: 50%; }
  .gn-colrow > .gn-colspan-8 { width: 66.667%; } .gn-colrow > .gn-colspan-9 { width: 75%; }
}
.gn-hl.gn-hl--plain::after { content: none; }
