@charset "UTF-8";

/*
Wird jetzt per WP eingebunden – NUR STARTSEITE:
@import "viebahn-startseite.css";
*/




/* CSS Document */
/* COLORS */
/*
        helles hellgrau =#F4F4F4
            hellgrau = #B1B2B4
            dunkelrot =#590B22
            textgrau = #63656A
        */
/*
        
        Font Minion, jetzt lokal statt via  <link href="https://fonts.cdnfonts.com/css/minion-pro?styles=30098,15237,15240,15238" rel="stylesheet">
        
        */
@font-face {
  font-family: 'Minion Pro';
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/MinionPro-Regular.otf");
}
@font-face {
  font-family: 'Minion Pro';
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/MinionPro-Semibold.otf");
}
@font-face {
  font-family: 'Minion Pro';
  font-weight: 400;
  font-style: italic;
  src: url("../fonts/MinionPro-It.otf");
}
@font-face {
  font-family: 'Minion Pro';
  font-weight: 600;
  font-style: italic;
  src: url("../fonts/MinionPro-SemiboldIt.otf");
}
/* BASIS */
html {
	scroll-behavior: smooth;
}
header.pageheader {
  position: sticky;
  top: 0;
  z-index: 800;
  background-color: #FFF;
  text-align: center;
}
nav, article, main, nav .menu-container {
  margin: auto;
}
 #logo img {
      margin-top: 2rem;
      height: 3.5rem;
      margin-bottom: 1.5rem;

}


main > article {
  margin-top: 3rem;
}
main {
  margin-bottom: 4rem;
}
article.objekt {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
article.objekt header {
  text-align: left;
}
article.objekt hr {
  color: white;
  border-top: 1px dotted #B1B2B4;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
article.objekt hr:nth-of-type(2) {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
section.beschreibung {
  margin-top: 2rem;
}
a:hover {
 cursor:pointer;
}

a, a:visited {
  color: #63656A;
}
a:hover {
  color: #590B22;
}
/* Speziell Objektlisten*/
article.objektliste section {
  display: flex;
  flex-flow: wrap;
  align-items: flex-start;
}
article.objektliste section div.objekt {
  margin-top: 3rem;
}
article.objektliste section div.objekt {
  transform: scale(1);
  transition: all 0.2s ease-in;
} /* für den mouseover-effekt*/
article.objektliste section div.objekt:hover {
  transform: scale(1.03);
} /* für den mouseover-effekt*/
article.objektliste section div.objekt h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}
article.objektliste section div.objekt a {
  display: block;
  line-height: 0;
  text-decoration: none;
}
article.objektliste section div.objekt a p {
  color: #63656A;
}
article.objektliste section div.objekt img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border-top-left-radius: 0.4rem;
  border-top-right-radius: 0.4rem;
}
article.objektliste section div.objekt .caption {
  text-align: center;
  margin-top: 0;
  padding: 0.4rem;
  border-bottom: 1px solid #B1B2B4;
}
/* overflow */
article.objektliste section div.objekt {
  overflow: hidden;
}
article.objektliste section div.objekt .caption {}
article.objektliste section div.objekt .caption h2 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}
article.objektliste section div.objekt .caption p {
  font-family: Arial, "sans-serif";
  font-size: 0.7rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Sold */
article.objekt .soldfahne {
  display: none;
}
.soldfahne {
  display: none;
}
.objekt.sold .soldfahne {
  display: block;
}
.objektliste .objekt.sold img {
  opacity: 0.5;
  filter: grayscale(100%);
}
.objektliste .kategoriebeschreibung {
    text-align: center;
}
.term-438 .objektliste .objekt.sold img, .term-436 .objektliste .objekt.sold img {
  opacity: 1;
  filter: none;
}
article.objektliste .objekt.sold .soldfahne {
  position: relative;
  margin-top: 1rem;
  margin-bottom: -3rem;
  margin-right: 1rem;
  z-index: 9999;
}
article.objektliste .objekt.sold .soldfahne span {
  background-color: #590B22;
}
article.objekt section .soldfahne span {
  position: relative;
  margin-bottom: -3rem;
  margin-right: 0rem;
  background-color: #590B22;
}
.soldfahne span {
  display: block;
  color: #FFF;
  text-transform: uppercase;
  width: 6rem;
  height: 2rem;
  border-radius: 0.25rem;
  font-family: Arial, "sans-serif";
  font-size: 0.75rem;
  margin-left: auto;
  margin-right: 0;
  line-height: 2rem;
  letter-spacing: 0.1rem;
  text-align: center;
  font-weight: bold;
}
/* Galerie GLEICHE HÖHE */
.bildgalerie {
  display: flex;
  flex-wrap: wrap;
}
.bildgalerie a:first-of-type {
  flex-basis: 100%;
}
.bildgalerie a:first-of-type img {
  width: 100%;
  height: auto;
}
.bildgalerie a {
  margin-left: 0.2rem;
  margin-top: 0.2rem;
  line-height: 0;
}
.bildgalerie a img {
  height: 20vw;
  border-radius: 7px;
}
.bildgalerie a:nth-of-type(1), .bildgalerie a:nth-of-type(2) {
  margin-left: 0;
}
@media all and (min-width: 800px) {
  .bildgalerie a img {
    height: 7vw;
  }
}
/* 


Navi 


*/
/* 


Navi allgemein


*/
nav ul {
  margin: 0;
  padding: 0;
}
nav li {
  list-style-type: none;
  display: block;
}
nav li a {
  display: flex;
  transition: color 0.2s;
}
nav li a:hover {
  color: #921345;
}
nav a {
  text-decoration: none;
  color: #63656A;
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
nav .current_page_item a {
  color: #590B22;
}
nav li a:not(:only-child):after {
  padding-left: 0.4rem;
  content: ' ▾';
}
nav ul ul.sub-menu {
  backdrop-filter: blur(10px);
}
ul.sub-menu li {
  border-bottom: 1px solid white;
}
/* Navi Sprache */
/*
nav.sprach-navigation ul.menu {
  justify-content: flex-end;
}
nav.sprach-navigation .menu-container {
  text-align: right;
  margin-top: -6rem;
  margin-bottom: 6rem;
  height: 0;
}
nav.sprach-navigation li {
  margin-left: 0.3rem;
}
*/
nav.sprach-navigation {
    position:absolute;
    display: block;
    text-align: right;
    width:4rem;
    height:2rem;
    top:1rem;
    right:1.5rem;
}


/*
        Navi Anpassungen Mobil – switch zum Hamburger
        
        */
@media all and (max-width: 799px) {
  .menu-open {
    display: block;
  }
  .menu-closed {
    display: none;
  }
  main {
    margin-top: 8rem;
  }
  header.pageheader {
    position: static;
    background: none;
  }
  /* Sprachmenü */
  nav.sprach-navigation li.current-lang {
    display: none;
  }
  nav.sprach-navigation .menu-container {
    width: 2rem;
    height: 2rem;
    position: fixed;
    top: 1rem;
    right: 1rem;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 800;
    text-align: center;
    vertical-align: top;
  }
  /* Variante Shrink Logo */
   #logo img {
       height:3rem;
    }
   
      
      header.pageheader.shrink #logo img {
    margin-top: 1.5rem;
    height: 2rem;
    margin-bottom: 0.5rem;
  }
    
  header.pageheader #logo {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
  }
  header.pageheader {
    position: fixed;
    width: 100%;
  }
  header.pageheader #logo img {
    transition: all 1s ease;
  }

  header.pageheader .menubackground {
    margin-top: 7rem;
  }
  header.pageheader.shrink .menubackground {
    margin-top: 4.5rem;
    transition: all 1s ease;
  }
  /* Hamburger- und Hauptmenü*/
  .menubackground {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    margin-top: 6rem;
  }
  .main-navigation.menubackground {
    position: fixed;
    z-index: 9999;
    top: 0rem;
  }
  .closehamburger {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40px' height='40px' viewbox='0 0 40 40'%3E%3Cpath d='M 10,10 L 30,30 M 30,10 L 10,30' stroke='black' stroke-width='2' stroke-linecap='butt' /%3E%3C/svg%3E");
    display: none;
  }
  .openhamburger {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40px' height='40px' viewbox='0 0 40 40'%3E%3Cpath d='M 5,10 L 35,10 M 5,20 L 35,20 M 5,30 L 35,30' stroke='black' stroke-width='2' stroke-linecap='butt' /%3E%3C/svg%3E");
  }
  .hamburgericon {
    background-size: 100%;
    width: 2rem;
    height: 2rem;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
  }
  nav.main-navigation {
    position: absolute;
    top: 0.5rem;
    left: 0;
    right: 0;
    bottom: 0;
  }
  nav.main-navigation li a {
    padding-left: 1rem;
    width: 100%;
  }
  nav.main-navigation ul li {
    border-bottom: 1px solid white;
  }
  .main-navigation ul.sub-menu li:last-of-type {
    border-bottom: 0;
  }
  .main-navigation ul.sub-menu li {
    margin-left: 1rem;
  }
  nav.main-navigation .sub-menu li a {
    padding-left: 0.5rem;
    padding-right: 0rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  nav.main-navigation ul.menu {
    flex-direction: column;
  }
  nav ul.sub-menu.menu-open {
    display: block;
    position: relative;
    margin-left: 1rem;
    margin-top: 0px;
  }
    /*   Footer menü */
    footer.site-footer { border-top: 1px solid #B1B2B4;}
    footer.site-footer nav.footer-navigation { width:90%;margin-left:auto;margin-right:auto;letter-spacing:0.05rem;padding-top:0.5rem;padding-bottom:0.2rem;}
   footer.site-footer nav.footer-navigation .menu {display:flex;flex-wrap: wrap;justify-content:center;row-gap: 0rem;  column-gap: 0.5rem; } 
   footer.site-footer nav.footer-navigation .menu-item {} 
   footer.site-footer nav.footer-navigation .menu-item a {padding-top:0.1rem;padding-bottom:0.1rem;white-space: nowrap;} 
}

/* 


        Navi Anpassungen Desktop 
       

*/
@media all and (min-width: 800px) {
  .menu-closed {
    display: block;
  }
  .hamburgericons {
    display: none;
  }
  nav.main-navigation, nav.footer-navigation {
    border-top: 1px solid #590B22;
    border-bottom: 1px solid #590B22;
  }
  nav ul.menu {
    text-align: justify;
    display: flex;
    justify-content: space-between;
    padding: 0;
  }
  nav .sub-menu li a {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
  nav .sub-menu li a:first-of-type {
    padding-top: 0.7rem;
  }
  nav .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 1);
  }
  nav .sub-menu li a {
    transition: background-color 0.5s;
  }
  nav ul li > ul.sub-menu {
    position: absolute;
    margin-left: -2rem;
    margin-top: 1px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.75);
  }
  /* Sprachmenü */
  nav.sprach-navigation li:not(.current-lang) a {
    color: #CCC;
  }
  nav.sprach-navigation li:not(.current-lang) a:hover {
    color: #921345;
  }
  nav.sprach-navigation li:first-child a:after {
    padding-left: 0.4rem;
    content: ' | ';
  }
  /* Transitions */
  /*   nav ul li > ul.sub-menu  {transition: opacity 1s ease; transition: max-height 0.5s linear;}*/
  nav ul li > ul.sub-menu {
    transition: all 0.5s ease;
  }
  /* Geschlossen: Normalzustand */
  nav ul li:not(:hover) > ul.sub-menu.menu-closed, nav ul li > ul.sub-menu, nav ul li > ul.sub-menu.menu-closed {
    overflow: hidden;
    height: auto;
    max-height:0rem;
    opacity: 0.5;
  }
  /* Offen: Mouseover ODER Klassenwechsel */
  nav ul li:hover > ul.sub-menu {
    height: auto;
    max-height: 30rem;
    min-height: 2rem;
    opacity: 1;
  } /* evtl. wieder raus da JS sicher läuft? */
  nav ul li:hover > ul.sub-menu.menu-closed, nav ul li > ul.sub-menu.menu-open {
    height: auto;
    max-height: 30rem;
    min-height: 2rem;
    opacity: 1;
  }
}
/* Navi anpasssungen Blätternavigation (post-navigation) */
.post-navigation {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-family: Arial, "sans-serif";
  font-size: 0.75rem;
  line-height: 1rem;
}
.post-navigation .nav-links div {
  display: inline-block;
}
.post-navigation a {
  margin-left: 1rem;
  margin-right: 1rem;
  transition: color 0.2s;
}
.post-navigation a:hover {
  color: #921345;
}
.post-navigation * {
  background-repeat: no-repeat;
  background-size: 0.7rem 0.7rem;
}
.post-navigation .nav-previous {
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" baseProfile="tiny" version="1.2" viewBox="0 0 50 50"><polygon points="10.7 25 39.3 44.1 39.3 5.9 10.7 25" fill="%2363656a"/></svg>');
  background-position: left 1rem center;
  padding-left: 1rem;
}
.post-navigation .nav-up {
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" baseProfile="tiny" version="1.2" viewBox="0 0 50 50"> <polygon points="25 10.8 5.9 39.2 44.1 39.2 25 10.8" fill="%2363656a"/></svg>');
  background-position: left 1rem center;
  padding-left: 1rem;
}
.post-navigation .nav-next {
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" baseProfile="tiny" version="1.2" viewBox="0 0 50 50"><polygon points="39.3 25 10.7 5.9 10.7 44.1 39.3 25" fill="%2363656a"/></svg>');
  background-position: right 1rem center;
  padding-right: 1rem;
}


/*
body.home article.objektliste.kompakt section div.objekt { flex-basis: 24%; }
body.home article.objektliste.kompakt section div.objekt {margin-top:1rem;}
body.home nav.sprach-navigation .menu-container {postition:absolute;display:block;width:10rem;height:1rem;background-color:blue;margin-top:0rem;margin-bottom:0rem;top:1rem;right:1rem;}
*/

/* Objekt */
/* Breakpoints */

/* Mobile screens */
@media all and (max-width: 799px) {
    article.objekt > * {
  flex: 1 100%;
}
html {
  font-size: 17px;
}
article.objektliste section {
  display: flex;
  grid-gap: 0%;
}
article.objektliste section div.objekt {
  flex-basis: 100%;
}
main {
  width: 90%;
}
}
/* Medium screens */
@media all and (min-width: 800px) {
    h1 {font-size: 2rem;}
    h2 {  font-size: 1.66rem;}
  article.objekt section {
    flex: 1 50%;
  }
  article.objekt section:first-of-type {
    padding-right: 2rem;
  }
  article.objekt section:nth-of-type(2) {
    padding-left: 2rem;
  }
    article.objektliste .kategoriebeschreibung {
    padding-left:15%;    padding-right:15%;

}
  main, nav .menu-container {
    width: 95%;
  }
  html {
    font-size: 18px;
  }
  article.objektliste section {
    display: flex;
    grid-gap: 6%;
  }
  article.objektliste section div.objekt {
    flex-basis: 47%;
  }
}
/* Large screens */
@media all and (min-width: 1200px) {
  main, nav#site-navigation .menu-container, nav#footer-navigation .menu-container {
    width: 1200px;
  }
  html {
    font-size: 19px;
  }
  article.objektliste section {
    grid-gap: 4.25%;
  }
  article.objektliste section div.objekt {
    flex-basis: 30.5%;
  }
}
/* Very Large screens */
@media all and (min-width: 1700px) {
  main, nav#site-navigation .menu-container, nav#footer-navigation .menu-container {
    width: 1500px;
  }
  html {
    font-size: 21px;
  }
}
/*
    
  Überschreibt  /wp-includes/css/dist/block-library/
    */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  font-family: Arial, "sans-serif";
  font-size: 0.9rem;
  line-height: 1rem;
}
/* Typographie
--------------------------------------------- */
body, button, input, select, optgroup, textarea {
  color: #63656A;
  font-family: 'Minion Pro', "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.5;
}
nav.main-navigation {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 1rem;
  font-weight: 400;
}
nav.footer-navigation {
  letter-spacing: 0.1rem;
  font-size: 0.8rem;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  clear: both;
}
h1 {
  font-size: 1.7rem;
  line-height: 2.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: #590B22;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.665rem;
  margin-top: 1rem;
  margin-bottom: 0rem;
  font-weight: 400;
  color: #590B22;
}
.page-template-default h2 {
  font-size: 2rem;
  margin-top: 2rem;
}
.page-template-default h1 {
  margin-bottom: 2rem;

}
h3 {
  font-size: 1.33rem;
  line-height: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0rem;
  font-weight: 400;
  font-style: italic;
  color: #590B22;
}
h4 {
  font-size: 1rem;
  line-height: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0rem;
  font-weight: bold;
  color: #590B22;
}
p {}
/* 
figure {
  background-color: #F4F4F4;
  border-radius: 7px;
}
    */
img {
  border-radius: 7px;
}
figure:has(figcaption) img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
figcaption {
  font-family: Arial, "sans-serif";
  font-size: 0.7rem;
  line-height: 0.9rem;
  padding: 0.5rem;
  padding-top: 0;
}
h1 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}
.objekt h1 {
  text-transform: none;
  letter-spacing: 0;
  padding-right: 6.5rem;
} /* padding-right, damit es nicht mit der Soldfahne kollidieren kann */
.objektliste h1 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  text-align: center;
}
.objektliste .kategorie h2 {
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}
em, i {
  font-style: italic;
}
ul {
  padding: 1rem 1rem 0rem 1rem;
}
ul li::marker {
  color: #590B22;
}
/* Speziell Objektdetails-typo */
div.masse, p.material, p.invnr, p.herkunft, p.entstehungszeit, p.provenienz, p.preis {
  font-family: Arial, "sans-serif";
  font-size: 0.8rem;
  line-height: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
p.preis span {
  font-size: 0.5rem;
}
div.masse {
  display: flex;
  flex-wrap: wrap;
}
div.masse p {
  padding-right: 0.5rem;
  border-right: 1px solid #B1B2B4;
  margin-right: 0.5rem;
  white-space: nowrap;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
div.masse p:last-of-type {
  border-right: none;
}
p.invnr {
  text-align: right;
  font-size: 0.7rem;
}
p.verkaufshinweis {
  font-weight: bold;
}
