﻿/* 1. Grund-Reset */
details {
  margin: 1.2em 0;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden; 
}
details summary {
  list-style: none;               /* Standard-Pfeil entfernen */
  display: flex;
  align-items: centerkk;
  cursor: pointer;
  padding: 0;
                  /* Padding übernehmen wir auf den Kindern */
}
details summary::-webkit-details-marker {
  display: none;
}
.kaufen{
	margin: 1.2em 0;
	border: 1px solid #c48705;
	border-radius: 4px;
	overflow: hidden;
 background-color: rgba(255, 255, 255, 0.5); 
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transition: background-color 0.4s ease;
}
.kaufen:hover {
  box-shadow: none;
  transform: translateY(0px); /* Optional: kleine Bewegung für mehr Tiefe */
 background-color: rgba(255, 255, 255, 0.1); 
}

/* 2. Linke Nummern-Box */
.toggle-index {
	background-position: right;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 3em;
	font-weight: bold;
	width: 100px;
	align-self: stretch-NO;
	background-image: url('goldbarren.png');
	background-repeat: no-repeat;
	background-attachment: scroll;
}

/* 3. Beschriftung in der Mitte */
.toggle-label {
	flex: 1;
	padding: 0.75em 1em;
	font-size: 1.8em;
	font-weight: bold;
	color: #333;
	line-height: 120%;
	text-align: left;
	background-color: #E9E3DC;
}
.toggle-kaufen {
	flex: 1;
	padding: 0px;
	font-size: 1.8em;
	font-weight: bold;
	color: #333;
	line-height: 120%;
	text-align: center;
}
.toggle-img {
	flex: 1;
	padding: 0.75em 1em;
	font-size: 1.8em;
	font-weight: bold;
	color: #333;
	line-height: 120%;
	text-align: left;
	background-color: #E9E3DC;
	background-image: url('details.png');
	background-size: 100%;
}
.toggle-img100 {
	width: 100%;
}

/* 4. Pfeil rechts */
.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1em;
  font-size: 1.2em;
  transition: transform 0.2s ease;
  transform: rotate(90deg);
}

/* 5. Drehen des Pfeils im offenen Zustand */
details[open] .toggle-icon {
  transform: rotate(270deg);
}

/* 6. Ausklapp-Inhalt */
.toggle-content {
  padding: 1em;
  border-top: 1px solid #eee;
  text-align: left;
} 
/* Media Queries */
    @media (max-width: 900px) {
.kaufen{
	max-width: 400px;
	margin-bottom: 80px;
}
}
/* Media Queries */
    @media (max-width: 768px) {
.toggle-label {
	padding: 0.85em 5px 0.75em 10px;
	font-size: 1.3em;
}
.toggle-index {
	width: 80px;
}
}
