/*
Theme Name: Goldschmiede Meissen 2022
Version: 1.0
Theme URI: https://diegoldschmiede-meissen.de/
Description: Theme für die Firma Goldschmiede Meissen
Author: Tempus Webdesign
Author URI: https://tempus-webdesign.de
*/
body {
  background: #fff;
  color: #494949;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300;
  font-size: 19px;
}

/*------Utility-Klassen------*/
.one {
  width: 100%;
}
img.one,
img {
  height: auto;
  max-width: 100%;
}
.relative {
  position: relative;
}
.flex-content {
  display: flex;
  flex-wrap: wrap;
}
.flex-two > .item {
  flex: 1 1 300px;
}
.flex-three > .item,
.flex-three > picture {
  flex: 1 1 250px;
}
.flex-four > .item {
  flex: 1 1 200px;
}
.flex-center {
  justify-content: center;
}
.grid-content {
  display: grid;
}
.grid-three {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.pd-1 {
  padding: 1em;
}
.pd-2 {
  padding: 2em;
}
.txt-up {
  text-transform: uppercase;
}
.txt-center {
  text-align: center;
}
.bg-white {
  background: #fff;
}
.border-orange-top {
  border-top: 1px solid #bb944e;
}
p,
li {
  line-height: 1.5em;
}
h2,
h3,
h4,
h5 {
  font-weight: normal;
  color: #bb944e;
}

.header-container,
.bg-darkgrey {
  background: #494949;
  color: #bb944e;
}
.bg-grey {
  background: #cacaca;
}
.bg-gelb {
  background: #bb944e;
  color: #fff;
}
.txt-white h2,
.txt-white h3,
.bg-gelb h2,
.bg-gelb h3 {
  color: #fff;
}
.txt-white,
.font-white {
  color: #fff;
}

a:link,
a:visited {
  color: #bb944e;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}
.container.small {
  max-width: 800px;
}
.container.big {
  max-width: 1900px;
}
.liste-none {
  list-style: none;
  padding-left: 0;
}
.grid-four {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gap-1 {
  gap: 1em !important;
}
.gap-2 {
  gap: 2em !important;
}
.gap-3 {
  gap: 3em !important;
}

/*---Button----*/
.wp-block-button {
  padding: 0.5em 0.5em 0.5em 0;
}
a.wp-block-button__link:link,
a.wp-block-button__link:visited {
  background: #bb944e;
  padding: 1em 1.5em;
  color: #fff;
  border-radius: 0;
  font-size: 1em;
  border: 1px solid #bb944e;
}
a.wp-block-button__link:hover,
.bg-blau a.wp-block-button__link:hover {
  color: #bb944e;
  background: transparent;
  border: 1px solid #bb944e;
}
a.wp-block-button__link.bg-pink:hover {
  color: #000;
}

/*------Header----*/

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.slider-container {
  overflow: hidden;
  line-height: 0;
}
.logo {
  display: block;
  max-width: 250px;
}
.logo img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  z-index: 600;
}
.icon-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] .icon-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .icon-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .icon-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.main-nav .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}
.main-nav .menu.is-open {
  display: block;
}
.main-nav li {
  list-style-type: none;
  position: relative;
}
.main-nav a {
  display: block;
  padding: 0.5em 1em;
  color: #bb944e;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85em;
}
.main-nav li.current_page_item > a,
.main-nav li.current-menu-item > a,
.main-nav li.current-menu-ancestor > a {
  color: #fff;
  background: rgb(255 255 255 / 10%);
}
/* Submenu – standardmäßig versteckt */
.main-nav .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Mobil: Submenu per Klick öffnen */
.main-nav .sub-menu.is-open {
  display: block;
}
.main-nav .sub-menu a {
  padding-left: 2em;
  font-size: 0.8em;
}
/* Submenu-Toggle-Pfeil */
.main-nav .menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sub-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25em 0.5em;
  margin-left: 0.25em;
  font-size: 0.7em;
  transition: transform 0.2s;
}
.sub-menu-toggle.is-active {
  transform: rotate(180deg);
}
/*------Main----*/
#nav-innen a {
  border: 1px solid #bb944e;
  display: inline-block;
  margin: 0.5em;
}
#nav-innen a:hover {
  background: #bb944e;
  color: #fff;
}
/* Flickity überschreibt Grid-Layout */
.flickity-enabled.grid-content {
  display: block;
}
.produkt-liste .gallery-cell {
  width: 80%;
  margin-right: 10px;
}
.produkt-liste .item img,
.produkt-liste .item picture {
  display: block;
  width: 100%;
  height: auto;
}
.grid-gallerie .item {
  max-width: 250px;
}
.grid-gallerie img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-cell picture,
.gallery-cell img {
  display: block;
  width: 100%;
  height: auto;
}
.cat-list li {
  display: inline-block;
  padding: 0 0em;
  margin: .2em;
}
.cat-list_item {
  padding: 0 1em;
  position: relative;
  background: none;
  border: 1px solid #bb944e;
  color: #bb944e;
}
.cat-list_item.active {
  font-weight: bold;
}
/* FAQ Accordion */
.faq-accordion {
  margin-top: 1.5em;
}
.faq-item {
  border-bottom: 1px solid rgba(187, 148, 78, 0.3);
}
.faq-item:first-child {
  border-top: 1px solid rgba(187, 148, 78, 0.3);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1em 0.5em;
  font-size: 1.05em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #bb944e;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.4em;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 1em;
  transition: transform 0.3s;
}
.faq-item[open] > .faq-question::after {
  content: "\2212";
}
.faq-item[open] > .faq-question {
  color: #fff;
}
.faq-answer {
  padding: 0 0.5em 1.5em;
  line-height: 1.7;
}
.faq-answer p {
  margin-bottom: 0.75em;
}
.faq-answer ul {
  padding-left: 1.5em;
  margin-bottom: 0.75em;
}
.faq-answer li {
  margin-bottom: 0.3em;
}
/*------Footer-----*/
.footer-container {
  font-size: 0.9em;
}

/* Breadcrumb-Leiste */
/* Breadcrumb */
.footer-breadcrumb {
  background: #cacaca;
  padding: 0.75em 1.5em;
  font-size: 0.85em;
}
#breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}
#breadcrumb a {
  color: #494949;
  text-decoration: none;
}
#breadcrumb a:hover {
  color: #bb944e;
}
.home-icon {
  display: inline-flex;
  align-items: center;
}
.home-icon img {
  width: 18px;
  height: 18px;
  display: block;
}
#breadcrumb .current {
  color: #bb944e;
}

/* Hauptbereich */
.footer-main {
  background: #494949;
  padding: 3em 1.5em 2em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5em;
}

/* Marken-Spalte */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}
.logo-footer {
  max-width: 180px;
  height: auto;
  display: block;
}
.footer-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}
.footer-address a {
  color: #bb944e;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-address a:hover {
  color: #fff;
}

/* Navigations-Spalten */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  padding: 0;
}
.footer-nav > ul > li:first-child > a {
  color: #bb944e;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.05em;
  pointer-events: none;
  padding-bottom: 0.5em;
  display: block;
  border-bottom: 1px solid rgba(187, 148, 78, 0.3);
  margin-bottom: 0.5em;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: block;
  padding: 0.3em 0;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #bb944e;
}
.footer-nav .sub-menu {
  padding: 0;
  margin: 0;
}
.footer-nav .sub-menu a {
  font-size: 0.9em;
  padding-left: 0.75em;
}

/* Bottom-Leiste */
.footer-bottom {
  background: #3a3a3a;
  padding: 1.25em 1.5em;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5em 1.5em;
  text-align: center;
}
.footer-copyright,
.footer-credit {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8em;
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover {
  color: #bb944e;
}
.footer-legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 1em;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.footer-legal li {
  list-style: none;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.8em;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: #bb944e;
}

/* Responsive: ab Tablet 2 Spalten, ab Desktop 4 */
@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .footer-bottom-inner {
    justify-content: space-between;
  }
}

@media only screen and (min-width: 600px) {
  .home-produkt .text-content {
    max-width: 850px;
  }
}

@media only screen and (min-width: 800px) {
  h2 {
    font-size: 1.789em;
  }
  h3 {
    font-size: 1.7em;
  }
  .header-container {
    position: absolute;
    top: 0;
    background: none;
  }
  .header-content .sitename {
    width: auto;
    flex-shrink: 0;
  }
  .header-content .main-nav {
    width: auto;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .home-produkt.right {
    justify-content: flex-end;
  }
  .home-produkt.right picture {
    order: 5;
  }
  .nav-toggle {
    display: none;
  }
  .sub-menu-toggle {
    display: none;
  }
  .main-nav .menu {
    display: flex;
    gap: 0;
    align-items: center;
  }
  .main-nav a {
    color: #fff;
    white-space: nowrap;
    padding: 0.75em 0.8em;
  }
  .main-nav a:hover {
    color: #bb944e;
  }
  .main-nav li.current_page_item > a,
  .main-nav li.current-menu-item > a,
  .main-nav li.current-menu-ancestor > a {
    color: #bb944e;
    background: none;
  }
  .main-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #494949;
    z-index: 500;
    padding: 0.5em 2em;
  }
  /* Submenu Desktop: Hover öffnet */
  .main-nav li:hover > .sub-menu {
    display: block;
  }
  .main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #494949;
    padding: 0.5em 0;
    z-index: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  .main-nav .sub-menu a {
    padding: 0.5em 1.25em;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
  }
  .main-nav .sub-menu a:hover {
    color: #bb944e;
    background: rgba(255, 255, 255, 0.05);
  }
  /*-----Gallery---*/
  .flickity-enabled .gallery-cell {
    width: 28%;
    margin-right: 10px;
    counter-increment: gallery-cell;
  }

}

@media only screen and (min-width: 1200px) {
  /*---------Allgemein------------*/
  .button-absolute {
    position: absolute;
    bottom: 2em;
    right: 2em;
    padding: 0;
  }

  /*---------Header------------*/

  .sitename {
    padding: 1em 0;
  }
  .logo {
    max-width: 250px;
  }
  /* Mega-Menu: li wird static, Submenu relativ zur Nav */
  .main-nav > .menu > .menu-item-has-children {
    position: static;
  }
  .main-nav {
    position: relative;
  }
  .main-nav .sub-menu {
    left: 0;
    right: 0;
    top: 100%;
    min-width: auto;
    background: #000 url(assets/img/3-navi-kollektion.jpg) left center no-repeat;
    background-size: auto 100%;
    padding: 1.25em 1.25em 1.25em 35%;
    min-height: 180px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
  .main-nav .sub-menu a {
    color: #fff;
    padding: 0.4em 1em;
  }
  .main-nav .sub-menu a:hover {
    color: #bb944e;
  }
  .main-nav .sub-menu li {
    width: 100%;
  }
  .home-produkt .small {
    width: 35%;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  .home-produkt .small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home-produkt .big {
    width: 65%;
    max-width: 1100px;
  }
}

picture {
  display: block;
  width: 100%;
}
picture img {
  display: block;
  width: 100%;
  height: auto;
}

/*------Back to Top------*/
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #bb944e;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover,
#back-to-top:focus-visible {
  background: #8b6914;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
#back-to-top:active {
  transform: translateY(-1px);
}