@font-face {
    font-family: 'Adobe Garamond Pro Regular';
    src: url("../fonts/adobe-garamond-pro-regular/adobe-garamond-pro-regular.woff2")format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Adobe Garamond Pro Bold';
    src: url("../fonts/adobe-garamond-pro-bold/adobe-garamond-pro-bold.woff2")format("woff2");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    width: 100%;
    height: 100%;
    letter-spacing: .4px;
}

html {
    /* overflow: hidden; */
}

body {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* width: calc(100% + 1px);
    height: calc(100% + 2px);
    transform: translate(-1px, -1px);
    border: 1px solid transparent;
    overflow-y: scroll; */
}

body.no-scroll {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

.unselectable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by most browsers */
}

.blur {
    filter: blur(2px); 
}

#page-content {
    position: inherit;
    width: 100%;
    height: 100%;
    padding-top: 72px;
    /* border: 1px solid red; */
    transition: filter 0.3s;
    min-width: 1132px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 740px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 32px 11px 52px;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    z-index: 100;
    background-color: rgb(0, 0, 0);
}

#titel {
    position: relative;
    text-decoration: none;
}

#titel>h1 {
    font-size: 1px;
    width: 100%;
    height: 100%;
    position: absolute;
    color: transparent;
    margin: 0;
}

#logo {
    width: auto;
    height: 50px;
    vertical-align: bottom;
}

main {
    min-height: 100%;
    /* border: 1px solid red; */
}

section {
    /* border: 1px solid blue; */
}

article {
    /* border: 1px solid orange; */
    padding: 0 32px 12px 32px;
}

section#content {
    overflow: hidden;
    position: relative;
    min-height: calc(100vh - 72px);
    /* border: 1px solid blue; */
}

section#content > article {
    position: relative;
    width: 100%;
    height: calc(100vh - 72px);
    
    background-color: rgb(255, 255, 255);
    padding: 0;
    z-index: 3;
    /* border: 1px solid mediumseagreen; */
}

.content-article {
    min-height: 700px;
    height: calc(100vh - 72px);
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center;     /* Vertikale Zentrierung */
}

.content-scroll-button {
    position: absolute;
    cursor: pointer;
    width: 22px;
    height: 22px;
    color:rgba(0,0,0,.5);
    transition: color 0.3s ease;
    bottom: 32px;
    left: 32px;
    display: none;
}

.content-scroll-button span {
    font-size: 22px;
}

.content-scroll-button:hover {
    color:rgba(0,0,0,1);
}

.content-slider .content-scroll-button {
    color:#E30613;
}

.content-slider .content-scroll-button:hover {
    color:#E30613;
}

.content-scroll-button:first-of-type {
    top: 32px;
    left: 32px;
}

.content-scroll-button:last-of-type {
    bottom: 32px;
    left: 32px;
}

.content-center {
    display: flex;
    flex-flow: row nowrap;
    position: absolute;
    width: 1020px;
    height: 600px;
    /* border: 1px solid red; */
}

.content-text {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    flex-grow: 1;
    z-index: 1;
}

.content-text.start {
    justify-content: flex-start;
}

.content-text.end {
    justify-content: flex-end;
    text-align: start;
}

.text-center {
    width: 90%;
}

.text-center > h2 {
    margin-top: 0;
    margin-bottom: 32px;
}

.content-text.end > .text-center {
    width: auto;
}

.sliding-images {
    position: relative;
    width: 1px;
    z-index: 2;
}

.content-image-wrapper {
    position: absolute;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.content-image-wrapper > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#content-image-001 {
    top: 0;
    right: 60px;
    width: 400px;
    height: 300px;
}

#content-image-002 {
    bottom: 0;
    right: 0;
    width: 450px;
    height: 350px;
}

#content-image-003 {
    top: 0;
    left: 0;
    width: 300px;
    height: 200px;
}

#content-image-004 {
    top: 185px;
    left: 100px;
    width: 330px;
    height: 230px;
    z-index: 2;
}

#content-image-005 {
    bottom: 0;
    left: 30px;
    width: 300px;
    height: 200px;
    z-index: 1;
}

#content-image-006 {
    top: 0;
    right: 60px;
    width: 400px;
    height: 300px;
}

#content-image-007 {
    bottom: 0;
    right: 0;
    width: 450px;
    height: 350px;
}

#side {
    width: 100%;
    /* border: 1px solid red; */
}

#side > article {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    /* height: calc(100vh - 72px); */
    height: auto;
    padding: 64px 52px 0 52px;
    /* border: 1px solid blue; */
}

#side > article > div {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    min-width: 1028px;
    height: auto;
    background-color: #fbf9f8;
    /* border: 1px solid green; */
    
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

/* Contact Form */
#contact-form {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    width: 100%;
    height: auto;
    padding: 44px;
    /* border: 1px solid red; */
}

#contact-form label {
    display: block;
    padding-bottom: 8px;
}

#contact-form label + input {
    width: 100%;
    height: 38.4px;
    background-color: #ffffff;
    border: 0;
    border-radius: 6px;
    /* outline: 1px solid #b6b6b5; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    padding: 0 8px;
}

#contact-form label + input:focus {
    outline: 1px solid #b6b6b5;
}

#contact-form label + textarea {
    width: 100%;
    height: 228px;
    background-color: #ffffff;
    border: 0;
    border-radius: 6px;
    /* outline: 1px solid #b6b6b5; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    padding: 8px 8px;
    resize: none;
}

#contact-form label + textarea:focus {
    outline: 1px solid #b6b6b5;
}

#contact-form > div {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    min-width: 470px;
    max-width: 470px;
    /* border: 1px solid cyan; */
}

#contact-form > div > div {
    width: 100%;
    padding-right: 24px;
    /* border: 1px solid blue; */
}

#contact-form > div > div:not(:last-of-type) {
    padding-bottom: 24px;
}

#contact-form > div:first-of-type > div:not(:last-of-type) {
    padding-bottom: 30px;
    /* border: 1px solid red; */
}

/* Map */
#map {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

footer {
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    background-color: black;
    color: #ffffff;
    /* border: 1px solid green; */
}

footer > div {
    flex: 0 0 auto;
}

footer > div:first-of-type {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-end;
    padding: 64px 0 64px 52px;
}

footer > div:last-of-type {
    padding: 64px 52px 64px 0;
}

footer > div:last-of-type > p {
    padding: 0;
}

#footer-menu {
    display: flex;
    list-style-type: none;  /* Entfernt Aufzählungszeichen */
    padding: 0;  /* Entfernt Standard-Padding */
    margin: 0;  /* Entfernt Standard-Margin */
}

#footer-menu li {
    margin-right: 20px;  /* Abstand zwischen den Listenelementen */
}

#footer-menu li:last-child {
    margin-right: 0;  /* Kein Abstand für das letzte Element */
}

/* Grundlegende Stile */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Adobe Garamond Pro Bold', sans-serif;
    font-weight: 400;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2;  /* Ein Zeilenabstand, der für Lesbarkeit sorgt */
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5em;  /* Beispielgröße; kannst du nach Bedarf anpassen */
}

h2 {
    font-size: 2em;
}

section > h2 {
    margin-left: 32px;
}

h3 {
    font-size: 1.75em;
}

footer h3 {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    font-size: 20px;
    margin-bottom: 1em;
    /* font-weight: 600; */
}

h4 {
    font-size: 1.5em;
}

h5 {
    font-size: 1.25em;
}

h6 {
    font-size: 1em;
}

p {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    font-size: 18px;
    padding: 0 0 24px 0;
}

p + h2,
p + h3,
p + h4,
p + h5,
p + h6 {
    margin-top: 4px;
}

p:last-of-type {
    padding: 0;
}

/* Normalzustand */
a,
a:active {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    color: #E30613;
    text-decoration: none; /* Entfernt den Unterstrich */
    transition: color 0.3s ease; /* Weiche Übergangsanimation */
}

/* Highlighting beim Überfahren mit der Maus (Hover) */
a:hover {
    color: #A8181A;
}

/* Footer Links */
footer a,
footer a:active {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    color: #ffffff;
    text-decoration: none; /* Entfernt den Unterstrich */
    transition: color 0.3s ease; /* Weiche Übergangsanimation */
}

/* Highlighting beim Überfahren mit der Maus (Hover) */
footer a:hover {
    color: #A8181A;
}

/* Termin Button */

#termin-btn {
    margin-top: 64px;
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    background-color: #000000;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    padding: 8px 16px;
    text-align: center;
    cursor: pointer;
}

/* Thin Text */
.thin-text {

}

.thin-text h1, .thin-text h2, .thin-text h3, .thin-text h4, .thin-text h5, .thin-text h6 {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    font-weight: 400;
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2;  /* Ein Zeilenabstand, der für Lesbarkeit sorgt */
    letter-spacing: 1px;
}

.thin-text h1 {
    font-size: 2.5em;  /* Beispielgröße; kannst du nach Bedarf anpassen */
}

.thin-text h2 {
    font-size: 1.8em;
}

.thin-text h3 {
    font-size: 1.4em;
}

.thin-text h4 {
    font-size: 1.2em;
}

.thin-text h5 {
    font-size: 1.2em;
}

.thin-text h6 {
    font-size: 1em;
}

.thin-text p {
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
    font-size: 1em;
    padding: 0 0 24px 0;
}

.thin-text p + h2,
.thin-text p + h3,
.thin-text p + h4,
.thin-text p + h5,
.thin-text p + h6 {
    margin-top: 4px;
}

.thin-text p:last-of-type {
    padding: 0;
}

/* Button */
.btn {
    border: none;              /* Kein Rand */
    padding: 0;                /* Kein Innenabstand, Standardwert; kann von Unterklassen überschrieben werden */
    margin: 0;                 /* Kein Außenabstand */
    font-family: inherit;      /* Schriftart wie beim umgebenden Text */
    font-size: inherit;        /* Schriftgröße wie beim umgebenden Text */
    cursor: pointer;           /* Cursor ändert sich beim Drüberfahren */
    transition: none;          /* Keine Übergangseffekte */
    font-family: 'Adobe Garamond Pro Regular', sans-serif;
}

.btn:focus {
    outline: none;            /* Keine Umrandung beim Fokussieren mit der Tastatur */
    box-shadow: none;         /* Kein Schatten beim Fokussieren mit der Tastatur */
}

.btn-text,
.btn-text:hover {
    background: none;          /* Kein Hintergrund */
    color: black;               /* Textfarbe wie bei einem typischen Link */
}

.btn-black {
    background-color: black;  /* Schwarzer Hintergrund */
    color: white;             /* Weiße Schriftfarbe */
    padding: 8px 16px;        /* Innenabstand: 8px vertikal und 16px horizontal */
}

.btn-stretch {
    width: 100%;  /* Setzt die Breite des Buttons auf die volle verfügbare Breite */
    box-sizing: border-box;  /* Stellt sicher, dass das Padding und andere Box-Inhalte in der Gesamtbreite enthalten sind */
}

#datenschutz article,
#impressum article {
    width: 800px;
    /* border: 1px solid red; */
}

#datenschutz ul {
    padding-left: 16px;
    padding-bottom: 24px;
}

#datenschutz ul li {
    padding-bottom: 16px;
}

#map {
    height: 400px;
    width: 100%;
}

#header-menu {
    display: flex; /* Setzt die Liste auf Flexbox */
    list-style-type: none; /* Entfernt die Aufzählungszeichen */
    padding: 0; /* Entfernt das Standard-Padding */
    margin: 0; /* Entfernt den Standard-Abstand */
    gap: 20px; /* Gibt einen Abstand zwischen den Listenelementen */
    padding-right: 40px;
}

#header-menu a {
    color: #ffffff;
}