/* GedankenSpiel - Fusszeile im Design des Flyers (Welle in Gold, Verlauf Rot-Orange) */
.site-footer { background: linear-gradient(90deg, #ef4b2b, #f58412); color: #fff; margin-top: 40px; }
.gs-flyer-footer { background: #fff; }
.gs-ff-wave { display: block; width: 100%; height: 90px; margin-bottom: -1px; }
.site-footer .footer--row, .site-footer .footer--row-inner { background: transparent !important; border: 0 !important; color: #fff !important; }
.site-footer .footer--row-inner p { color: #fff !important; }
.site-footer .hfg_footer a { color: #fff !important; text-decoration: underline; }
.site-footer .footer-top .container { padding-top: 12px; padding-bottom: 4px; }
.site-footer .footer-bottom .container { padding-bottom: 12px; }
@media (max-width: 600px) {
  .gs-ff-wave { height: 48px; }
}

/* Logo in der Kopfzeile groesser */
.site-header .builder-item--logo { --maxwidth: min(290px, 70vw) !important; }
@media (min-width: 601px) {
  .site-header .builder-item--logo { --maxwidth: 340px !important; }
}
@media (min-width: 960px) {
  .site-header .builder-item--logo { --maxwidth: 370px !important; }
}
@media (min-width: 1024px) {
  .site-header .builder-item--logo { --maxwidth: 420px !important; }
}
@media (min-width: 1200px) {
  .site-header .builder-item--logo { --maxwidth: 540px !important; }
}
@media (min-width: 1440px) {
  .site-header .builder-item--logo { --maxwidth: 560px !important; }
}
/* Startseite: Portrait groesser */
/* Startseite ab 601px Breite (iPhone quer, Tablet, Desktop): Portrait oben rechts neben der Ueberschrift */
@media (min-width: 601px) {
  .elementor-308 .elementor-widget-text-editor > .elementor-widget-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 34%); column-gap: 48px; padding-top: 32px; }
  .elementor-308 .elementor-widget-container > .wp-block-columns,
  .elementor-308 .elementor-widget-container > .wp-block-columns > .wp-block-column:first-of-type { display: contents; }
  .elementor-308 .elementor-widget-container > *,
  .elementor-308 .elementor-widget-container > .wp-block-columns > .wp-block-column:first-of-type > * { grid-column: 1; min-width: 0; }
  .elementor-308 .elementor-widget-container > .wp-block-columns > .wp-block-column:last-of-type { grid-column: 2; grid-row: 1 / span 60; align-self: start; min-width: 0; }
  .elementor-308 .elementor-widget-container p:empty,
  .elementor-308 .elementor-widget-container > .wp-block-spacer { display: none; }
  .elementor-308 .wp-block-columns figure.wp-block-image { float: none; margin: 0 0 8px; text-align: right; }
  .elementor-308 .wp-block-columns figure.wp-block-image img { width: 100%; max-width: 515px; height: auto; }
  .elementor-308 .elementor-widget-container ul { margin: 0 0 6px !important; }
  .elementor-308 .elementor-widget-container li { margin: 0 !important; }
  .elementor-308 .elementor-widget-container h3 { margin-top: 16px; }
}
@media (min-width: 601px) and (max-width: 1250px) {
  .elementor-308 .elementor-widget-text-editor > .elementor-widget-container { padding-right: 52px; }
}
@media (max-width: 600px) {
  .elementor-308 .elementor-widget-container figure.wp-block-image img { max-width: 300px; }
}

/* ===== Kopfzeile und Fusszeile beim Scrollen fixiert; Schnellzugriff (Adresse, E-Mail, Telefon) in der Fusszeile ===== */
html { scroll-padding-top: calc(var(--gs-h, 160px) + 12px); scroll-padding-bottom: calc(var(--gs-f, 90px) + 12px); }
body { padding-top: var(--gs-h, 160px) !important; padding-bottom: var(--gs-f, 90px) !important; }
header.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.12); }
.site-header .site-logo img { transition: max-width .25s ease; }
html.gs-measuring .site-header .site-logo img { transition: none !important; }
html.gs-scrolled .site-header .builder-item--logo { --maxwidth: 170px !important; }
@media (min-width: 601px) { html.gs-scrolled .site-header .builder-item--logo { --maxwidth: 210px !important; } }
@media (min-width: 960px) { html.gs-scrolled .site-header .builder-item--logo { --maxwidth: 250px !important; } }

.site-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; margin: 0 !important; background: transparent !important; padding-bottom: 0; }
.gs-flyer-footer { background: transparent !important; pointer-events: none; }
.gs-ff-wave { height: 26px !important; }
.gs-quick, .site-footer .hfg_footer { background: linear-gradient(90deg, #ef4b2b, #f58412); }
.gs-quick { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; padding: 6px 16px 2px; }
.gs-quick a { display: inline-flex; align-items: center; gap: 9px; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 15px; line-height: 1.2; padding: 4px 2px; }
.gs-quick a:hover span, .gs-quick a:focus span { text-decoration: underline; }
.gs-quick i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #c5a330; font-size: 14px; flex: none; }
.site-footer .hfg_footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-footer .footer-top .container { padding-top: 0 !important; padding-bottom: 5px !important; }
.site-footer .footer--row .hfg-slot { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 18px; width: 100%; }
.site-footer .footer--row .builder-item { margin: 0 !important; width: auto !important; max-width: none !important; flex: none !important; }
.site-footer .footer--row .item--inner, .site-footer .footer--row .widget { margin: 0 !important; padding: 0 !important; }
.site-footer .footer-menu { display: flex; gap: 0 16px; margin: 0 !important; }
.site-footer .footer-menu li { margin: 0 !important; }
.site-footer .footer-menu a, .site-footer .copy-bottom { font-size: 12px !important; line-height: 1.5 !important; margin: 0 !important; min-height: 0 !important; padding: 0 !important; }
#wpfront-scroll-top-container { bottom: calc(var(--gs-f, 90px) + 12px) !important; }
@media (max-width: 600px) {
  .gs-ff-wave { height: 14px !important; }
  .gs-quick { gap: 0; padding: 4px 0 0; flex-wrap: nowrap; }
  .gs-quick a { flex: 1 1 0; justify-content: center; padding: 3px 0; }
  .gs-quick a + a { border-left: 1px solid rgba(255,255,255,.35); }
  .gs-quick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gs-quick i { width: 36px; height: 36px; font-size: 17px; }
  .site-footer .footer--row .hfg-slot { gap: 0 12px; }
  .site-footer .footer-menu a, .site-footer .copy-bottom { font-size: 11px !important; }
  #wpfront-scroll-top-container { right: 12px !important; }
}
@media (max-height: 480px) {
  .gs-ff-wave { height: 10px !important; }
  .site-footer .hfg_footer { display: none; }
  .gs-quick { padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)); }
  html.gs-scrolled .site-header .builder-item--logo { --maxwidth: 150px !important; }
}
@media print { header.header, .site-footer { position: static; } body { padding: 0 !important; } }
.site-footer .footer--row .hfg-slot { flex-direction: row !important; }
.site-footer .footer--row .builder-item, .site-footer .footer--row .nv-footer-content { min-height: 0 !important; }
.site-footer .footer-menu li, .site-footer .footer-menu li > *, .site-footer .footer--row .builder-item > *, .site-footer .component-wrap, .site-footer .nav-menu-footer, .site-footer .widget-area { padding: 0 !important; margin: 0 !important; min-height: 0 !important; line-height: 1.5 !important; }
.site-footer .footer-menu li { height: 18px !important; display: flex !important; align-items: center; }
.site-footer .footer-menu li a { display: inline !important; }
@media (min-width: 601px) and (max-width: 959px) {
  .gs-quick { gap: 0; padding: 4px 0 0; flex-wrap: nowrap; }
  .gs-quick a { flex: 1 1 0; justify-content: center; padding: 3px 0; }
  .gs-quick a + a { border-left: 1px solid rgba(255,255,255,.35); }
  .gs-quick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gs-quick i { width: 36px; height: 36px; font-size: 17px; }
}

/* ===== Handy-Menue im Flyer-Stil ===== */
#header-menu-sidebar { width: min(82vw, 330px) !important; max-width: none !important; box-shadow: 4px 0 28px rgba(0,0,0,.28); }
#header-menu-sidebar-bg { display: flex !important; flex-direction: column; height: 100%; min-height: 0; padding: 0 !important; background: #fff !important; overflow: hidden; position: relative; }
#header-menu-sidebar .close-sidebar-panel { position: absolute; top: 10px; right: 10px; margin: 0; padding: 0; z-index: 2; }
#header-menu-sidebar .close-sidebar-panel .navbar-toggle { border: 0 !important; background: transparent !important; color: #b5952c !important; padding: 10px !important; }
.gs-menu-logo { display: block; flex: none; padding: 22px 56px 14px 22px; border-bottom: 2px solid #c5a330; }
.gs-menu-logo img { display: block; width: 100%; max-width: 210px; height: auto; }
#header-menu-sidebar-inner { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 22px 10px !important; -webkit-overflow-scrolling: touch; }
#header-menu-sidebar .builder-item, #header-menu-sidebar .item--inner { padding: 0 !important; margin: 0 !important; width: 100%; }
#nv-primary-navigation-sidebar { display: block !important; width: 100%; margin: 0 !important; }
#nv-primary-navigation-sidebar > li { display: block; width: 100%; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid #efe6c8; }
#nv-primary-navigation-sidebar > li:last-child { border-bottom: 0; }
#nv-primary-navigation-sidebar > li > a, #nv-primary-navigation-sidebar > li > .wrap > a { display: block; flex: 1 1 auto; padding: 14px 0 !important; font-size: 19px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: .05em; color: #b5952c !important; text-decoration: none !important; }
#nv-primary-navigation-sidebar > li > a::after, #nv-primary-navigation-sidebar > li > .wrap > a::after { display: none !important; }
#nv-primary-navigation-sidebar > li > .wrap { display: flex !important; align-items: center; padding: 0 !important; }
#nv-primary-navigation-sidebar .caret-wrap { flex: none; width: 44px; height: 44px; margin: 0 -10px 0 0 !important; padding: 0 !important; display: flex; align-items: center; justify-content: center; border: 0 !important; background: transparent !important; color: #c5a330 !important; }
#nv-primary-navigation-sidebar .caret-wrap svg { width: 15px; height: 15px; fill: #c5a330; }
#nv-primary-navigation-sidebar > li.current-menu-item > a, #nv-primary-navigation-sidebar > li.current-menu-ancestor > .wrap > a, #nv-primary-navigation-sidebar > li.current-menu-parent > .wrap > a { color: #ef4b2b !important; }
#nv-primary-navigation-sidebar .sub-menu { margin: 0 0 10px !important; padding: 0 0 0 14px !important; border-left: 2px solid #c5a330; background: transparent !important; box-shadow: none !important; }
#nv-primary-navigation-sidebar .sub-menu li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
#nv-primary-navigation-sidebar .sub-menu a { display: block; padding: 9px 0 !important; font-size: 16px !important; line-height: 1.25 !important; font-weight: 400 !important; letter-spacing: 0; text-transform: none; color: #2b2b2b !important; text-decoration: none !important; }
#nv-primary-navigation-sidebar .sub-menu li.current-menu-item > a { color: #ef4b2b !important; font-weight: 700 !important; }
.gs-menu-foot { flex: none; }
.gs-menu-cta { display: block; margin: 8px 22px 14px; padding: 13px 16px; background: #c5a330; color: #2b2b2b !important; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none !important; }
.gs-menu-wave { display: block; width: 100%; height: 34px; margin-bottom: -1px; }
.gs-menu-contact { background: linear-gradient(90deg, #ef4b2b, #f58412); padding: 8px 22px calc(16px + env(safe-area-inset-bottom, 0px)); }
.gs-menu-contact a { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #fff !important; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none !important; word-break: break-word; }
.gs-menu-contact i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #c5a330; font-size: 14px; }
.header-menu-sidebar-overlay { background: rgba(30,20,10,.5) !important; }
@keyframes gsMenuIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li, body.is-menu-sidebar .gs-menu-cta { animation: gsMenuIn .38s ease both; }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li:nth-child(1) { animation-delay: .08s; }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li:nth-child(2) { animation-delay: .13s; }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li:nth-child(3) { animation-delay: .18s; }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li:nth-child(4) { animation-delay: .23s; }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li:nth-child(5) { animation-delay: .28s; }
body.is-menu-sidebar #nv-primary-navigation-sidebar > li:nth-child(6) { animation-delay: .33s; }
body.is-menu-sidebar .gs-menu-cta { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) { body.is-menu-sidebar #nv-primary-navigation-sidebar > li, body.is-menu-sidebar .gs-menu-cta { animation: none; } }
@media (max-height: 520px) { .gs-menu-logo { padding: 10px 56px 8px 22px; } .gs-menu-logo img { max-width: 130px; } .gs-menu-wave { height: 14px; } .gs-menu-cta { display: none; } .gs-menu-contact { display: flex; flex-wrap: wrap; gap: 0 18px; padding-bottom: 8px; } .gs-menu-contact span { font-size: 12px; } #nv-primary-navigation-sidebar > li > a, #nv-primary-navigation-sidebar > li > .wrap > a { padding: 9px 0 !important; font-size: 16px !important; } }
#nv-primary-navigation-sidebar > li > a, #nv-primary-navigation-sidebar > li > .wrap > a { font-size: 17px !important; padding: 12px 0 !important; }
#nv-primary-navigation-sidebar .sub-menu a { font-size: 15px !important; padding: 7px 0 !important; }
.gs-menu-contact a { font-size: 13px; gap: 10px; word-break: normal; white-space: nowrap; }
.gs-menu-contact { padding-left: 18px; padding-right: 10px; }

/* Startseite: Hauptueberschrift ist jetzt h1 (fuer Suchmaschinen), Aussehen wie bisher */
.elementor-308 h1.wp-block-heading { font-size: 46px; line-height: 1.3; font-weight: 600; color: #b5952c; margin: 0 0 30px; }
@media (max-width: 959px) { .elementor-308 h1.wp-block-heading { font-size: 34px; } }
@media (max-width: 600px) { .elementor-308 h1.wp-block-heading { font-size: 23px; -webkit-hyphens: auto; hyphens: auto; } }

/* Kopfzeile: eine einzige goldene Linie ueber die volle Bildschirmbreite, kein grauer Schatten */
header.header { box-shadow: none !important; border-bottom: 1px solid #b5952c; }
header.header .hfg_header.site-header { box-shadow: none !important; }
header.header .header--row, header.header .header--row-inner, header.header .header--row .container { border-bottom: 0 !important; box-shadow: none !important; }

/* Handy hochkant: Menue ueber die volle Breite, Schliessen-Kreuz an der Stelle des Menue-Knopfs */
@media (max-width: 600px) and (orientation: portrait) {
  #header-menu-sidebar { width: 100vw !important; box-shadow: none; }
  #header-menu-sidebar .close-sidebar-panel { top: var(--gs-ty, 30px); right: var(--gs-tr, 15px); }
  #header-menu-sidebar .close-sidebar-panel .navbar-toggle { width: var(--gs-tw, 47px); height: var(--gs-th, 40px); padding: 0 !important; display: flex; align-items: center; justify-content: center; border: 2px solid #b5952c !important; border-radius: 3px; }
  .gs-menu-logo { padding-right: 84px; }
  .gs-menu-contact a { font-size: 15px; }
}
