:root {
  --primary-color:        #b6916d;
  --white-color:          #FFFFFF;
  --dark-color:           #333333;
  --about-bg-color:       #fbece7;

  --gray-color:           #fbece7;
  --link-color:           #b6916d;
  --p-color:              #333333;

  --base-font-family:     'Poppins', sans-serif;
  --h-font-family:        'Philosopher', sans-serif;
  --font-weight-bold:     bold;
  --font-weight-normal:   400;
  --font-weight-light:    300;
  --font-weight-thin:     100;

  --h1-font-size:         28px;
  --h2-font-size:         26px;
  --h3-font-size:         24px;
  --h4-font-size:         22px;
  --h5-font-size:         18px;
  --h6-font-size:         16px;
  --p-font-size:          16px;
  --base-font-size:       16px;
  --menu-font-size:       16px;

  --border-radius-large:  100%;
  --border-radius-small:  2px;
}


body {
  background: var(--white-color);
  font-family: var(--base-font-family);
  font-weight: var(--font-weight-light);
  font-size: var(--p-font-size);
  color: var(--p-color);
}


/*---------------------------------------
    TYPOGRAPHY              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-weight: var(--font-weight-light);
  line-height: normal;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-normal);
  margin: 20px 0;
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-normal);
  margin: 0.5rem 0;
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-normal);
  margin: 0.5rem 0;
}

h4 {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-normal);
  margin: 0.5rem 0;
}

h5 {
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-normal);
  margin: 0.5rem 0;
}

h6 {
  color: var(--gray-color);
  font-size: var(--h6-font-size);
  line-height: inherit;
  margin: 0;
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  line-height: 1.6em;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

li {
  color: var(--p-color);
  font-weight: var(--font-weight-light);
  line-height: 1.6em;
  margin-bottom: 0.3em;
}

b, 
strong {
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
}

.section {
  padding: 5rem 0;
}


/* BUTTON */

.custom-btn {
  background: transparent;
  border-radius: var(--border-radius-small);
  padding: 14px 24px;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  color: var(--primary-color);
}

.custom-btn:focus {
  box-shadow: none;
}

.custom-btn.bordered:hover,
.custom-btn.bordered:focus,
.custom-btn.bg-color:hover,
.custom-btn.bg-color:focus {
  background: var(--white-color);
  border-color: transparent;
  color: var(--primary-color);
}

.bordered {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.bg-color {
  background-color: var(--primary-color);
}

.small-btn,
.small-btn:focus {
  background: var(--primary-color);
  color: var(--white-color);
}

.small-btn:hover {
  background: var(--primary-color);
  color: var(--p-color);
}

/*---------------------------------------
    GENERAL               
-----------------------------------------*/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: var(--link-color);
  font-weight: normal;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, 
a:active, 
a:focus {
  color: var(--primary-color);
  outline: none;
  text-decoration: none;
}


/* BG OVERLAY */

.bg-overlay {
  background: var(--dark-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

img.float-left {
  max-width: 30%;
  margin-right: 20px;
  margin-bottom: 20px;
}

img.float-right {
  max-width: 30%;
  margin-left: 20px;
  margin-bottom: 20px;
}

img.float-left.landscape,
img.float-right.landscape {
  max-width: 50%;
}

/*---------------------------------------
    MODAL              
-----------------------------------------*/

.modal-content {
  padding: 2rem 3rem;
}

.modal-header,
.modal-body,
.modal-footer {
  border: 0;
  padding: 0;
}

.membership-form a {
  color: var(--primary-color);
}


/*---------------------------------------
  FEATURE          
-----------------------------------------*/

.feature {
  background: var(--dark-color);
  padding: 5rem 0;
}


/*---------------------------------------
    MENU             
-----------------------------------------*/

.navbar {
  background: white;
  padding: 1rem;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}

.navbar-brand {
  color: var(--p-color);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  padding-top: 0;
}

.navbar-brand .logo {
  height: 40px;
}

.nav-item .nav-link {
  display: block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
  text-transform: uppercase;
  padding: 2px 6px;
}

.nav-item .nav-link.active,
.nav-item .nav-link:hover {
  color: var(--primary-color);
}

.navbar .social-icon li a {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0 10px 0 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: white;
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--primary-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
    HERO              
-----------------------------------------*/

.hero {
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: relative;
  min-height: 50vh;
  margin-top: 77px;
}

.hero.angebot {
  background-image: url('../images/hero2.jpg');
  background-position: top center;
}

.hero.kontakt {
  background-image: url('../images/hero1.jpg');
  background-position: center center;
}

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
  text-shadow: rgba(0, 0, 0, 0.7) 0px 3px 8px;
}

.text-shadow {
  text-shadow: rgba(0, 0, 0, 0.7) 0px 2px 6px;
}

.box-shadow {
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/*---------------------------------------
    ABOUT             
-----------------------------------------*/

h3.instructor-name {
  line-height: 80%;
  margin: 0;
  margin-bottom: 0.5rem;
}

/*---------------------------------------
    PROGRAM             
-----------------------------------------*/

ul.program-list {
  margin-top: 0.5rem;
  padding-inline-start: 22px;
}

/*---------------------------------------
    LOCATION             
-----------------------------------------*/

.location {
  background-image: url('../images/location-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  vertical-align: middle;
  position: relative;
}

.location h2 {
  color: var(--white-color);
}

.location p {
  color: var(--white-color);
}

.photos {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-auto-rows: min-content;
  gap: 0.2em;
  padding: 0.2em 0;
}

.photos img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.photos img.large {
  grid-column: span 3;
}

@media screen and (max-width: 767px) {
  .photos {
    grid-template-columns: auto;
  }

  .photos img.large {
    grid-column: span 1;
  }
}

/*---------------------------------------
    CLASS               
-----------------------------------------*/

.class-info {
  background: var(--white-color);
  box-shadow: 6px 0 38px rgba(20,20,20,0.10);
  border-radius: 0 0 2px 2px;
  padding: 1rem 2rem;
  position: relative;
}

.class-info img {
  border-radius: 2px 2px 0 0;
}

.class-info strong {
  color: var(--gray-color);
}

.class-price {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  display: block;
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  line-height: 3.5rem;
  text-align: center;
}


/*---------------------------------------
    SCHEDULE             
-----------------------------------------*/

.schedule {
  background: var(--dark-color);
}

.schedule-table {
  display: table;
  border: 0;
  text-align: center;
}

.schedule-table strong,
.schedule-table span {
  display: block;
  text-align: center;
}

.schedule-table strong {
  color: var(--white-color);
}

.schedule-table span {
  color: var(--gray-color);
}

.schedule-table span,
.schedule-table small {
  font-size: var(--menu-font-size);
  text-transform: uppercase;
}

.schedule-table small {
  position: relative;
  top: 10px;
}

.table .thead-light th,
.schedule-table tr td:first-child {
  background: var(--primary-color);
  border: 1px solid #212122;
  color: var(--white-color);
}

.schedule-table .thead-light th {
  border-bottom: 0;
  text-transform: uppercase;
}

.table-bordered td, 
.table-bordered th {
  border: 1px solid #212122;
}

.table-bordered td {
  padding-bottom: 22px;
}

.table td, .table th {
  padding: 1rem;
}


/*---------------------------------------
    ABOUT & TEAM            
-----------------------------------------*/

.about {
  background: var(--about-bg-color);
}

.about-working-hours {
  border-left: 2px solid;
  padding-left: 3.5rem;
}

.about-working-hours strong {
  color: var(--white-color);
  opacity: 0.85;
}

.team-thumb {
  position: relative;
}

.team-info {
  background: var(--white-color);
  border-radius: 0 0 2px 2px;
  box-shadow: 6px 0 38px rgba(20,20,20,0.10);
  padding: 20px;
  position: relative;
}

.team-info span {
  font-weight: var(--font-weight-light);
  opacity: 0.85;
}

.team-info .social-icon {
  position: absolute;
  top: 10px;
  right: 20px;
}

.team-info .social-icon li {
  display: block;
}


/*---------------------------------------
    CONTACT              
-----------------------------------------*/

.webform input,
button#submit-button {
  height: calc(2.25rem + 20px);
}

.form-control {
  border-radius: var(--border-radius-small);
  margin: 1.3rem 0;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--dark-color);
}

button#submit-button {
  background: var(--dark-color);
  border-color: transparent;
  color: var(--white-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

button#submit-button:hover {
  background: var(--primary-color);
}

.contact h2 + p {
  max-width: 90%;
}

.google-map {
  margin-top: 1.5rem;
}

.google-map iframe {
  width: 100%;
}

/*---------------------------------------
    PREISE              
-----------------------------------------*/

table.preise {
  width: 100%;
  margin-bottom: 50px;
}

table.preise td {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

table.preise td.angebot {
  width: 80%;
  vertical-align: top;
}

table.preise td.preis {
  text-align: right;
  vertical-align: top;
  font-weight: bold;
  white-space: nowrap;
}

/*---------------------------------------
    FOOTER              
-----------------------------------------*/

.site-footer {
  padding: 2rem 0;
  background-color: var(--white-color);
}

.site-footer a {
  color: var(--p-color);
  font-weight: var(--font-weight-light);
}

.site-footer p {
  font-size: var(--base-font-size);
}

.contact .fa,
.site-footer .fa {
  color: var(--p-color);
}


/*---------------------------------------
    SOCIAL ICON              
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 5px 0 0 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  text-decoration: none;
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  margin: 5px 10px;
  text-align: center;
}

.social-icon li a:hover {
  color: var(--primary-color);
}


/*---------------------------------------
    RESPONSIVE STYLES              
-----------------------------------------*/

@media screen and (max-width: 992px) {

  .section {
    padding: 5rem 0;
  }

  .nav-item .nav-link {
    padding: 6px;
  }

  .navbar .social-icon {
    margin-top: 22px;
  }

  .navbar-collapse,
  .site-footer {
    text-align: center;
  }

  .schedule-table {
    display: block;
  }

  .modal-content {
    padding: 2rem;
  }

  img.float-left,
  img.float-right {
    max-width: 50%;
  }
  
  img.float-left.landscape,
  img.float-right.landscape {
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {

  h1 {
    font-size: 38px;
  }

  .about-working-hours {
    border-left: 0;
    padding: 22px 0 0 0;
  }

  .contact h2 span {
    display: block;
  }

  .location-img {
    padding-bottom: 70% !important;
  }

  img.float-left,
  img.float-right {
    max-width: 100%;
  }

  img.float-left.landscape,
  img.float-right.landscape {
    max-width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .location-img.large-img {
    padding-bottom: 70% !important;
  }
}