@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg-light: #f8f7f4;
  --color-bg-dark: #5b4f47;

  --color-text-accent: #5b4f47;
  --color-accent: #c4a484;
  --color-accent-light: rgba(196, 164, 132, 0.651);

  --color-text-dark: #5b4f47;
  --color-text-light: #f8f7f4;

  --box-shadow: 0 4px 10px rgba(75, 54, 33, 0.3);
  --box-shadow-slider: 0 8px 2px rgba(75, 54, 33, 0.3);
  --box-shadow-img: 0 5px 10px rgba(0, 0, 0, 0.15);
  --box-shadow-img-hover: 0 8px 15px rgba(0, 0, 0, 0.25);

  --font-primary: 'Lato', sans-serif;
  --font-accent: 'Playfair Display', serif;
}

body {
  margin: 0;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: var(--font-primary);
  line-height: 1.4;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-text-dark);
  color: var(--color-bg-light);
  padding: 15px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

#cookie-banner button {
  background: var(--color-accent);
  color: var(--color-bg-light);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  font-family: var(--font-primary);
  font-weight: bold;
}

#cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
}

#scrollUpBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--color-text-accent);
  color: var(--color-text-light);
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  box-shadow: var(--box-shadow);
  transition: background-color 0.3s, opacity 0.3s;
}

#scrollUpBtn:hover {
  background-color: var(--color-accent);
}

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  gap: 1rem;
}

.logo {
  width: 100%;
}

.logo-img,
.logo-png,
.logo-webp {
  max-width: 300px;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--color-accent)
}


.nav-toggle-label {
  display: flex;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--color-text-dark);
  height: 3px;
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before {
  content: '';
  position: absolute;
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  position: absolute;
  top: 8px;
}

.nav-toggle {
  display: none;
}


nav {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}

.nav-toggle:checked+.nav-toggle-label span {
  transform: rotate(45deg);
}

.nav-toggle:checked+.nav-toggle-label span::before {
  transform: rotate(90deg);
  top: 0;
}

.nav-toggle:checked+.nav-toggle-label span::after {
  opacity: 0;
}

.nav-toggle:checked~nav {
  display: flex;
}


nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

nav a {
  font-weight: bold;
  color: var(--color-text-dark);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a:active {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}


.lang-switch {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.lang-switch a {
  font-weight: bold;
}


.social-icons {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}


main {
  max-width: 1200px;
  padding: 1rem;
  margin-left: auto;
  margin-right: auto;
}


h1,
h2,
h3 {
  font-family: var(--font-accent);
  color: var(--color-text-dark);
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.text-container p,
.slider>p:first-of-type,
.cards>p:first-of-type,
.text-section p,
.text-container>ul>li,
.pictureText>ul>li,
.mockup-section>p {
  text-align: justify;
  hyphens: auto;
}


.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.btn-primary:hover,
.btn-primary:focus {
  box-shadow: var(--box-shadow);
  outline: none;
}


.rotated-image {
  display: block;
  margin: 20px auto;
  width: 150px;
  transform: rotate(-3deg);
  border-radius: 4px;
  box-shadow: var(--box-shadow-img);
  transition: transform 0.3s ease;
}

.rotated-image:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: var(--box-shadow-img-hover);
}

.hero {
  text-align: center;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


.page-header {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  border-radius: 2px;
}


.cards {
  padding: 2rem 1rem;
}

.cards h2 {
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background-color: var(--color-accent-light);
  background-image: url(../img/Kreis_hell.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-img-hover);
}

.card>ul>li {
  list-style-type: disc;
}

.card>ul>li::marker {
  color: var(--color-text-dark);
}

.pictureText {
  padding: 3rem 1rem;
}

.pictureText .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.pictureText .image-container img {
  width: 100%;
  max-width: 350px;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  object-fit: cover;
}

.pictureText .text-container {
  max-width: 600px;
}

.text-container ul {
  font-size: 0.95rem;
}

.pictureText ul {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.pictureText ul li {
  margin-bottom: 1rem;
}

.pictureText ul li strong {
  color: var(--color-accent);
  font-weight: 700;
}


.slider {
  padding: 3rem 1rem;
  width: 100%;
  margin: 0 auto 1rem auto;
}

.slider h2 {
  text-align: center;
}

.slider-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slider-wrapper input[type="radio"] {
  display: none;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  padding: 1rem 2rem;
  box-sizing: border-box;
  background-color: white;
  border-radius: 4px;
  box-shadow: var(--box-shadow-slider);
  font-style: italic;
  color: var(--color-text-dark);
  position: relative;
}

.slide blockquote {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.quote {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  text-align: right;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.slider-controls .control {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-text-dark);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#slide1:checked~.slides {
  transform: translateX(0%);
}

#slide2:checked~.slides {
  transform: translateX(-100%);
}

#slide3:checked~.slides {
  transform: translateX(-200%);
}

#slide4:checked~.slides {
  transform: translateX(-300%);
}

#slide1:checked~.slider-controls label[for="slide1"],
#slide2:checked~.slider-controls label[for="slide2"],
#slide3:checked~.slider-controls label[for="slide3"],
#slide4:checked~.slider-controls label[for="slide4"] {
  background: var(--color-accent);
}

.text-section {
  padding: 2rem 1rem;
}



.mockup-section {
  padding: 3rem 1rem;
}

.mockup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  text-align: center;
}

.mockup-item img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--box-shadow-img);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-item img:hover {
  transform: scale(1.02);
  box-shadow: var(--box-shadow-img-hover);
}

.mockup-caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-accent);
  max-width: 600px;
}



.contact-section {
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section h2 {
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
  color: var(--color-text-accent);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="checkbox"],
textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background-color: white;
  transition: border-color 0.3s ease;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 6px var(--color-accent);
}

input[type="checkbox"] {
  accent-color: var(--color-accent);
}

textarea {
  min-height: 120px;
  line-height: 1.4;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-dark);
}

.privacy-check a {
  color: var(--color-accent);
  text-decoration: underline;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}


.akkordeon {
  margin: 0 auto;
}

.akkordeon h2 {
  margin-bottom: 1rem;
  text-align: center;
}

details {
  background-color: white;
  margin-bottom: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  transition: box-shadow 0.3s ease;
}

details:hover {
  box-shadow: var(--box-shadow-img-hover);
}

summary {
  cursor: pointer;
  font-weight: bold;
  color: var(--color-text-dark);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: "➕";
  float: right;
  color: var(--color-accent);
}

details[open] summary:after {
  content: "➖";
}

details[open] p {
  max-height: 500px;
  opacity: 80%;
  transform: translateY(0);
}


.cta-kontakt {
  background-color: var(--color-accent);
  color: var(--color-bg-light);
  text-align: center;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: var(--box-shadow);
  width: 95%;
  margin: 1rem;
}

.cta-kontakt .btn-primary {
  background-color: var(--color-bg-light);
  color: var(--color-accent);
}

.cta-kontakt .btn-primary:hover,
.cta-kontakt .btn-primary:focus {
  color: var(--color-text-dark);
}


footer>.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
}

footer>.footer-legal span {
  font-size: 0.9rem;
  color: var(--color-accent);
}

footer>.footer-legal a {
  color: var(--color-text-dark);
}

@media (min-width: 48rem) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .hero p {
    max-width: 700px;
  }

  p,
  .text-container ul,
  .pictureText ul,
  .quote {
    font-size: 1.05rem;
  }

  .logo-img,
  .logo-png .logo-webp {
    max-width: 350px;
  }


  #cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #usp.cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pictureText .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }

  .pictureText .image-container {
    flex: 1;
  }

  .pictureText .text-container {
    flex: 2;
    padding-left: 2rem;
  }

  .btn-primary {
    font-size: 1rem;
  }

  .cta-kontakt {
    margin: 2rem auto;
  }

  .mockup-item img {
    max-width: 700px;
  }

  .mockup-caption {
    max-width: 700px;
  }

}

@media (min-width: 75rem) {
  body {
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p,
  .pictureText ul,
  .text-container ul,
  .quote {
    font-size: 1.1rem;
  }

  .hero p {
    font-size: 1.35rem;
    max-width: 800px;
  }

  .cta-kontakt {
    width: 100%;
  }

  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  nav ul {
    flex-direction: row;
    gap: 1rem;
  }

  .lang-switch {
    order: 2;
  }

  .social-icons {
    order: 3;
    gap: 1rem;
  }

  .nav-toggle-label {
    display: none;
  }

  .mockup-item img {
    max-width: 800px;
  }

  .mockup-caption {
    max-width: 800px;
  }


  .footer-legal a:hover {
    color: var(--color-text-dark);
  }
}


@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
  }

  header>nav ul li a,
  .lang-switch a {
    color: var(--color-text-light);
  }

  h1,
  h2,
  h3 {
    color: var(--color-text-light);
  }

  nav ul {
    background-color: var(--color-bg-dark);
  }

  nav ul li a {
    color: var(--color-text-light);
    background-color: var(--color-bg-dark)
  }

  .hero-content {
    background-color: var(--color-accent);
  }

  .card>ul>li::marker {
    color: var(--color-text-light);
  }

  .card {
    background-image: url(../img/Kreis_dunkel.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  label {
    color: var(--color-text-light);
  }

  label.nav-toggle-label {
    background-color: var(--color-text-light);
  }

  section.footer-legal>a {
    color: var(--color-text-light);
  }

  section.footer-legal>a:hover {
    color: var(--color-accent);
  }

  .faq p {
    color: var(--color-text-dark);
  }

  details {
    background-color: var(--color-accent);
  }

  .slide {
    background-color: var(--color-accent);
  }

  .quote {
    color: var(--color-text-light);
  }

  a.btn-primary {
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
  }

  .slider-controls .control {
    background: var(--color-text-light);
  }
}