/* CSS RESET */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
   Modified by Johann Regenit
*/
* {
	box-sizing: border-box;
}
html, body {
	margin: 0;
	padding: 0;
}
a {
color: inherit;
}
figure {
    overflow: hidden;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a, button {
	cursor: pointer;
}

form :is(*, legend, label.gform-field-label) {
    font-family: "Montserrat" !important;
}

.gform_heading .gform_required_legend {
    font-size: 14px !important;
    line-height: 1.43 !important;
}

/* //CSS RESET */

:root {
    --clr-neutral-300: #353839;
    --clr-accent-400: #E4BB71;

    --clr-txt: #353839;

    --fixed-size: 1125px;
    --section-padding: 75px;

    color: var(--clr-txt);
}


/* TYPOGRAPHY */

@font-face {
    font-family: "Montserrat";
    src: url("/wp-content/bandf-files/fonts/Montserrat/Montserrat-VariableFont_wght.ttf");
    font-weight: 100 900;
    font-display: swap;
}

p, h1, h2, h3, h4, h5, h6, table {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.4px;
}

a {
    font-family: "Montserrat" !important;
    text-decoration: none;
}

p > a {
    text-decoration: underline;
}

.h1 {
font-family: "Montserrat", sans-serif;
  font-size: 43px;
  font-style: normal;
  font-weight: 450;
  line-height: 1.3;
}

.h2,
.gform_title {
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.54px;
}

.h4,
.wp-block-navigation-item__label,
.header__social a {
    font-family: Montserrat;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

[class*="--uppercase"] {
    text-transform: uppercase;
}

.wp-block-button a,
input.button[type="submit"] {
    font-family: "Montserrat", sans-serif;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    letter-spacing: -0.36px !important;
}

/* //TYPOGRAPHY */



/* UTILITY */

main {
    margin-top: 0;
}

section {
    margin-top: var(--section-padding) !important;
}

.fixed-size {
    width: var(--fixed-size);
    max-width: 90%;
    margin-inline: auto;
}

.banner {
    padding-block: 75px;
}

.banner__inner {
    width: var(--fixed-size);
    max-width: 90%;
    margin-inline: auto;
}

.has-background[style="background-color:#353839"] * {
    color: white;
}

.wp-block-buttons {
    margin-top: 50px
}

.wp-block-button a,
input.button[type="submit"] {
    background-color: var(--clr-accent-400) !important;
    color: var(--clr-txt) !important;
    
    padding: 15px 25px !important;
    border-radius: 5px !important;
}

.columns {
    column-count: 2;
    column-gap: 50px;
}

/* //UTILITY */



/* SECTIONS */

/* Header */
header {
    background-color: var(--clr-neutral-300);
    padding: 25px;
}

header .wp-block-columns {
    gap: 50px;
}

header .wp-block-column {
    display: grid;
    align-content: center;
    flex-basis: unset !important;
}

.header__nav {
    flex-grow: 1 !important;
    justify-content: center;
}

.header__logo,
.header__social {
    flex-shrink: 1 !important;
    flex-grow: 0 !important;
    width: fit-content !important;
}

.header__social {
    justify-content: flex-end;
}

.header__list-social {
    display: flex;
    width: fit-content;
    padding: 0;
}

.social__phone a::before {
    content: "\f095";
    display: inline-block;
    color: var(--clr-accent-400);

    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    
    transform: scale(-1, 1);
}

/* Header Image*/

.header-image {
    min-height: 830px;
    justify-content: flex-start;
}

.wp-block-cover__inner-container {
    --_max-width: 550px;
    max-width: var(--_max-width);
    margin-left: max(calc(((100vw / 2) - var(--_max-width)) / 2), 25px);
}

.underheader {
    margin-top: 0;
}


/* Form */
form .gform_fields {
    grid-row-gap: 25px !important;
}

/* Öffnungszeiten */
tr:not(:first-child) td {
  padding-top: 20px;
}

td:nth-child(2n+1) {
  font-weight: 500;
}


/* Gallery */



/* Footer */
footer {
    --_padding: 75px;
    --_pre-footer-width: min(650px, 90vw);
    --_pre-footer-height: calc(var(--_pre-footer-width) / 3.5714);
    --_pre-footer-hide: 0.63;

    background-color: var(--clr-neutral-300);

    padding-block: var(--_padding);
    margin-top: calc((var(--_pre-footer-height) * var(--_pre-footer-hide)) + var(--section-padding));
}

footer::before {
    content: "";
    
    position: absolute;
    top: calc(var(--_pre-footer-height) * (var(--_pre-footer-hide) * -1));
    left: 50%;
    transform: translateX(-50%);

    height: var(--_pre-footer-height) !important;
    width: var(--_pre-footer-width) !important;

    background-image: url("/wp-content/uploads/2026/03/bildmarke_anschnitt.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    z-index: -1;
}

.footer__logo svg {
    width: 100%;
    height: fit-content;
}

.footer__oeffnungszeiten .wp-block-table {
    margin: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    margin-top: 24px !important;
}

.footer__oeffnungszeiten table {
    width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed;
}

.footer__oeffnungszeiten tbody,
.footer__oeffnungszeiten tr,
.footer__oeffnungszeiten td {
    border: 0 !important;
}

.footer__oeffnungszeiten td:nth-child(2n+1) {
  font-weight: 500 !important;
}

.footer__oeffnungszeiten td {
    padding: 2px 0 !important;
    line-height: 1.15 !important;
    vertical-align: top;
}

.footer__oeffnungszeiten td:first-child {
    white-space: nowrap;
}

.footer__oeffnungszeiten td:last-child {
    white-space: nowrap;
}

/* //SECTIONS */



/* RESPONSIVE */

@media (max-width: 959px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 859px) {
    .columns {
        column-count: 1;
    }
}

@media (max-width: 781px) {
  .header__social {
    justify-content: center;
  }

.wp-block-site-logo {
  margin-inline: auto;
}

.header-image {
  height: 100vh!important;
	min-height: auto!important;
}
.wp-block-cover .wp-block-cover__inner-container {
  top: -225px;
}
.h1 {
  font-size: 30px;
}
  footer .wp-block-columns {
    gap: 18px;
  }

  footer p,
  footer td,
  footer a,
  footer li {
    font-size: 16px;
  }

  footer .h4,
  footer h4 {
    font-size: 26px;
  }

  footer .footer_logo {
    margin-bottom: 10px;
  }

  footer .wp-block-navigation__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  footer .wp-block-navigation-item__label {
    font-size: 14px;
  }
  p {
    font-size: 16px;
line-height: 1.8;
letter-spacing:0px;
  }
}

@media (max-width: 399px) {
    .gallery {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* //RESPONSIVE */

/* AUSBLENDEN */


/* Header Navigation */
.header__nav {
    display: none !important;
}

.header__social {
    flex-grow: 1 !important;
}

/* //AUSBLENDEN */