﻿/* Reset & Basis */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #d8cec0;
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }
}
a {
  text-decoration: none;
  color: inherit;
}
h1 {
  padding: 0px 0px 10px 0px;
  margin: 0px;
  font-size: 3em;
  font-weight: bold;
  color: #282727;
  line-height: 100%;
}
h2 {
  padding: 0px 0px 10px 0px;
  margin: 0px;
  font-size: 3em;
  font-weight: bold;
  color: #282727;
  line-height: 100%;
}
@media (max-width: 768px) {
  h2 {
    font-size: 2em;
  }
}
h3 {
  padding: 0px 0px 10px 0px;
  margin: 0px;
  font-size: 2em;
  font-weight: bold;
  color: #c48705;
  line-height: 100%;
}
h4 {
  padding: 30px 0px 5px 0px;
  margin: 0px;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 100%;
}
h5 {
  padding: 0px 0px 8px 0px;
  margin: 0px;
  font-size: 3em;
  font-weight: bold;
  line-height: 100%;
}

p {
  font-size: 1.2em;
  line-height: 130%;
}
ul {
  padding-left: 1.2em;
}
.hr {
  border-top-style: solid;
  border-top-width: 3px;
  border-top-color: #c48705;
}

.container {
  max-width: 1280px;
  margin: auto;
  overflow: hidden;
}
.container-start {
  max-width: 1280px;
  margin: auto;
  overflow: hidden;
}

.bottom10 {
  padding-bottom: 10px;
}

.flex-container {
  display: flex;
  gap: 40px; /* Abstand zwischen den Boxen */
  justify-content: space-between; /* schiebt die Boxen an die Ränder */
  margin: 40px auto 40px auto; /* zentriert in der Seite */
  align-items: stretch;
}
.flex-container-kaufen {
  display: flex;
  gap: 30px; /* Abstand zwischen den Boxen */
  justify-content: space-between; /* schiebt die Boxen an die Ränder */
  margin: 40px auto 40px auto; /* zentriert in der Seite */
  align-items: stretch;
}
.box-info {
  flex: 1;
  float: left;
  text-align: center;
}
.box-flex {
  border-style: solid;
  border-width: 1px;
  padding: 20px;
  flex: 1;
  float: left;
  text-align: center;
  border-radius: 5px;
  align-items: stretch;
}
.box-img {
  flex: 1;
  float: left;
  text-align: left;

  align-items: stretch;
}

.icon {
  width: 130px;
  padding: 0px 0px 0px 0px;
}
.icon2 {
  padding: 0px 0px 10px 0px;
  height: 80px;
}

.img100 {
  width: 100%;
}

.box1 {
  border: 1px solid #000000;
  flex: 1; /* beide Boxen teilen sich den Platz gleichmäßig */
  float: left;
}
.box2 {
  flex: 1;
  float: right;
  max-width: 500px;
  border: 1px solid #000000;
  width: 1000px;
}
.box-start {
  padding: 20px;
  width: 100%; /* grundsätzlich volle Breite des flex-Items */
  max-width: 500px; /* aber nie breiter als 500px */
  margin-top: 10%;
  background-color: rgba(216, 206, 192, 0.8);
}
.weiss {
  color: #ffffff;
}

.width100 {
  width: 100%;
  height: auto;
  display: block;
}

.display {
}
.goldbarren {
  background-image: url("goldbarren.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #cf8b0b;
  color: #fff;
  padding: 6px 30px 6px 20px;
  border-radius: 30px 30px 30px 30px;
  transition: background 0.3s;
  font-size: 1.5em;
}
@media (max-width: 768px) {
  .btn {
    margin-top: 20px;
  }
}
.btn:hover {
  background: #ab7404;
}

.btn-old {
  display: inline-block;
  background: #cf8b0b;
  color: #fff;
  padding: 0.6em 1.6em;
  border-radius: 4px;
  margin-top: 1em;
  transition: background 0.3s;
  font-size: 1.2em;
}
.btn-old:hover {
  background: #ab7404;
}

/* Fixed Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgb(233, 227, 220);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.nav-container {
  padding: 20px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .nav-container .btn {
    font-size: 1em;
    margin-top: 0px;
  }
}
.logo-img {
  width: 220px;
  float: left;
}
@media (max-width: 768px) {
  .logo-img {
    width: 180px;
  }
}
.img {
  width: 100%;
}

.speak {
  display: block;
  float: left;
  font-size: 1em;
  text-decoration: none;
  margin-top: 15px;
  padding-right: 20px;
  padding-left: 20px;
  font-weight: bold;
}
.nav-links a {
  padding: 0.5em;
}
.lang-switch {
  margin-left: 1em;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Sections */
section0 {
  padding: 6em 1em 4em;
  min-height: 80vh;
  position: relative;
  background: #f0f0f0;
  margin-top: 80px; /* Abstand für sticky Navbar */
}
.section-start {
  background-color: #d8cec0;
  background-position: right -200px bottom;
  background-image: url("bild.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 1100px;
  min-height: 600px;
  margin-top: 80px; /* Abstand für sticky Navbar */
}

.section-2-old {
  overflow: hidden;
  padding-top: 10%;
  background-color: #161813;
  background-position: left bottom;
  background-image: url("section2-frau-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.section-info {
  background-color: #282727;
  color: #d8cec0;
}
.section-flex {
  background-color: #e9e3dc;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.section-goldkauf {
  text-align: left;
  padding-top: 40px;
  padding-bottom: 40px;
}
.section-4 {
  background-color: #050706;
  padding-top: 20px;
}
.section-4b {
  padding: 20px;
  background-color: #110f0d;
}

.card {
  max-width: 500px;
}
.section-1 .card {
}
.section-2 .card {
  background-color: rgba(250, 250, 250, 0.9);
  float: right;
}
.section-3 .card-text {
  max-width: 500px;
}
.section-3 .accordion {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 450px;
}
.accordion details {
  background: #333;
  color: #fff;
  padding: 1em;
  border-radius: 4px;
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "â–¾";
  font-size: 1.2em;
  transition: transform 0.2s;
}
.accordion[open] summary::after {
  transform: rotate(180deg);
}

/* Footer */
footer {
  background: #333;
  color: #fff;
}
.footer-container {
  max-width: 1280px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  line-height: 1.3;
}
.footer-col h2 {
  margin-bottom: 0.5em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin: 0.3em 0;
}

/* Media Queries */
@media (min-width: 2500px) {
  .section-start {
    background-position: right 250px bottom;
    background-size: 1100px;
  }
}
/* Media Queries */
@media (max-width: 1280px) {
  .container {
    margin-right: 20px;
    margin-left: 20px;
  }
}
/* Media Queries */
@media (max-width: 900px) {
  .flex-container-kaufen {
    flex-direction: column;
    gap: 0px;
    align-items: center;
  }
}
/* Media Queries */
@media (max-width: 768px) {
  .section-start {
    background-position: center bottom;
    background-size: 120%;
    min-height: 95vh;
  }
  .box-start {
    max-width: 100%;
    background-color: rgba(216, 206, 192, 0.8);
    margin-top: 20px;
  }
  .display {
    display: none;
  }
  .box-info {
    padding: 20px 20px 20px 20px;
  }
  .box-flex {
    padding: 0px;
    border-width: 0px;
  }

  section-old {
    padding-top: 5em;
  }
  .card {
    position: static-NO;
    transform: none;
    margin: 2em auto;
    width: 100%;
  }
  .section-3 {
    text-align: left;
  }
  .section-3 .layout {
    display: flex;
    flex-direction: column;
    gap: 2em;
  }
  .accordion,
  .card-text {
    margin: auto;
  }
  /* Mobile Ansicht: ab dieser Breite spaltenweise anordnen */
  .flex-container {
    flex-direction: column;
    gap: 0px;
    align-items: center;
    margin: 0px auto 0px auto;
  }
  .box {
    max-width: 100%; /* auf kleineren Bildschirmen volle Breite */
  }
}
