/* Set the global variables for everything. Change these to use your own fonts/colours. */
:root {

    /* Set sans-serif & mono fonts */
    --sans-font: "Oswald"
    --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  
    /* Body font size. By default, effectively 18.4px, based on 16px as 'root em' */
    --base-fontsize: 1rem;
  
    /* Major third scale progression - see https://type-scale.com/ */
    --header-scale: 1.25;
  
    /* Line height is set to the "Golden ratio" for optimal legibility */
    --line-height: 1.618;
  
    /* Formular*/
    --inputs-font-size: 1rem;
    --inputs-height: 2.8rem;
    --inputs-padding: 0.8rem;
    --inputs-border-width: 0px;
    --inputs-text-color: #931419;

    /* Default (light) theme */
    --bg: #FFF;
    --primary: #931419;
    --secondary: #bbbbbb;
    --gruen:#626940;
    --text: #212121;
    --text-light: #585858;
    --border: #D8DAE1;
  }
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/oswald.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Aclonica';
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/aclonica.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Kotta One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/kotta_one.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    src: url(/fonts/material.woff2) format('woff2');
  }  
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html{
    scroll-behavior: smooth;
}
a{
    color: inherit;
    text-decoration: none;
}

body, html{
    height: 100vh;
}
h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6{
    font-family: 'Aclonica', sans-serif;
    transition: 0.3s;
}
h1{
    font-size: clamp(1.8rem, 10vw, 4.4rem);
    text-align: center;
    text-shadow: 1px 1px 1px #fff,
               1px -1px 1px #fff,
               -1px 1px 1px #fff,
               -1px -1px 1px #fff;
}
h2{
    font-size: clamp(1.3rem, 6vw, 2.1rem);
    text-align: center;
}
h4{
    text-align: center;
    margin-bottom: 20px;
}

.preise h2, .haeuser h2 {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
}

p{
    font-family: 'Kotta One';
}

/* Fließtext im Hauptbereich im Blocksatz, außer innerhalb der Accordion-Komponenten */
main p,
main li{
    text-align: justify;
}
.accordion p,
.accordion li{
    text-align: left;
}
ul.aufzaehlung {
    margin: 1rem 1.5rem
}

.scroll-up {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 7px 14px;
  background: #333;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 18px;
}

/* Make the body a nice central block */
body {
    color: var(--text);
    background: var(--bg);
    font-family: 'Kotta One', serif;
    font-size: var(--base-fontsize);
    line-height: var(--line-height);
    /* display: flex; */
    min-height: 100vh;
    flex-direction: column;
    flex: 1;
    margin: 0 auto 0;
    max-width: 100%;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
  }

.block{
    text-align: justify;
}


/* Hover für back to top */
rect:hover {
    fill: rgb(255, 217, 47);
    transition: 0.3s;
}

.cookie-banner{
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    background: #ffffff;
    color: var(--text);
    padding: 14px 16px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    border-radius: 10px;
    display: none;
    gap: 12px;
    align-items: center;
    width: min(960px, calc(100% - 16px));
    z-index: 1200;
    font-family: 'Kotta One', serif;
}
.cookie-banner.show{
    display: flex;
}
.cookie-text a{
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner button{
    background: var(--gruen);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    white-space: nowrap;
}
.cookie-banner button:hover{
    background: #556037;
}
@media (max-width: 640px){
    .cookie-banner{
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner button{
        width: 100%;
        text-align: center;
    }
}

/* Make the header bg full width, but the content inline with body */
header {
    background: var(--primary);
    text-align: center;
    width: 100vw;
    height: 60px;
    box-shadow: 0px 2px 8px rgba(58, 34, 34, 0.5);
    position:fixed;
    top: 0;
    transition: all 0.4s;
    z-index: 1000;
  }

.header{
    justify-content: space-between;
    align-items:center;
}

.container {
    max-width: 80rem;
    padding: 0 clamp(1rem, 5vw, 4rem);
    margin-left: auto;
    margin-right: auto;
}
/* @media screen and (max-width: 400px){
    .container {
        padding-left: 0;
        padding-right: 0;
    }
 } */

.menu-container {
    max-width: 80rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.flex-container{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}


section{
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 60px 0;
}



#unserhaus{
    background-image: url(/images/layout/dahme-panorama-sw.jpg); 
    transition: all 0.6s;
    color:var(--primary)
}
#unserhaus li{
    margin-left: 20px;
}

.flex-2-3{
    flex-grow: 2;
	flex-basis: 25rem;
	flex-shrink: 1;
    padding: 2rem 1rem;
} 
.flex-1-3{
    flex-grow: 1;
	flex-basis: 33%;
	flex-shrink: 1;
    padding: 2rem 1rem;
}
.flex-3-3 {
    flex-basis: 100%;
    padding: 1rem;
}

@media screen and (max-width: 1120px){    
    #unserhaus .flex-container
    {
        flex-direction: column;
    }
    #unserhaus .flex-container h2{
        text-align: center;
    }
}

#haeuser{
    background-image: url(/images/layout/dahme-haeuser.jpg); 
    transition: all 0.6s;
    color:var(--primary)
}

img.lightbox-img {
    max-width: 100%;
}
a.image-link {
    display: flex;
    justify-content: center;
}

#preise{
    background-image: url(/images/layout/rechnung-bg.jpg); 
    transition: all 0.6s;
    color:var(--gruen);
}


.link-weiss{
    color: #ffffff;
    text-transform: uppercase;
}
.link-gruen{
    color: var(--gruen);
    text-transform: uppercase;
}

#anfahrt{
    background-image: url(/images/layout/karte-bg.jpg); 
    transition: all 0.6s;
    color:var(--gruen);
}
.anfahrt{
    background-color: #ffffff;
    padding: 2rem;
    margin-bottom: 1rem;
}
.bahnauskunft{
    margin-left: 2rem;
}

/* ####### Captcha ######## */
.refresh-captcha{
    cursor: pointer;
    width: 30px;
    transition: 250ms ease-in-out;
}
.refresh-captcha:hover{
    width: 32px;
    transform: rotate(-90deg);
}
