/* =========================================
   ths-faq.css – TRAUPE FAQ Accordion Styles
   Zentrale CSS-Datei für alle FAQ-Seiten
   traupe.de
   ========================================= */

/* Wrapper */
.faq-wrapper {
	margin-top: 20px;
	font-family: inherit;
}

/* Hauptüberschrift */
.faq-title-main {
	font-size: 1.6rem;
	color: #004b7a !important;
	margin-bottom: 15px;
	font-weight: 450;
	padding-left: 20px !important;
}

/* Zwischenüberschrift */
.faq-section-title {
	color: #004b7a !important;
	font-weight: 450;
	font-size: 1.4rem;
	margin-top: 30px;
	margin-bottom: 20px;
	padding-left: 20px !important;
}

/* Einleitungstext */
.faq-intro-text {
	margin-bottom: 25px;
	padding-left: 20px;
	padding-right: 20px;
	line-height: 1.7;
	color: #333;
}

/* FAQ-Item */
.faq-item {
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.5s ease;
}

.faq-item.is-active {
	border-color: #004b7a;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Frage-Titelzeile */
.faq-question {
	background: #f9f9f9;
	padding: 16px 20px;
	font-weight: 600;
	color: #004b7a;
	font-size: 1.1rem;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	transition: background 0.2s ease;
}

.faq-question:hover {
	background: #f1f6f9;
}

.faq-item.is-active .faq-question {
	background: #eef5f8;
}

/* Teaser */
.faq-teaser {
	padding: 20px 20px 10px 20px;
	line-height: 1.7;
	color: #333;
}

/* Panel */
.faq-panel {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0 20px;
	transition: max-height 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.faq-item.is-active .faq-panel {
	max-height: 2500px;
	opacity: 1;
	padding: 0 20px 8px 20px;
}

/* Panel-Inhalte */
.faq-panel p,
.faq-panel ul {
	margin-bottom: 1.2em;
}

.faq-panel ul {
	padding-left: 20px;
	list-style-type: disc;
}

.faq-panel a {
	text-decoration: underline !important;
	color: #004b7a;
}

/* Toggle-Button */
.faq-toggle-btn {
	background: none;
	border: none;
	color: #004b7a;
	font-weight: 600;
	cursor: pointer;
	padding: 10px 20px 20px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	width: 100%;
	text-align: left;
	text-decoration: none !important;
}

.faq-toggle-btn:hover .btn-text {
	text-decoration: underline;
}

/* Pfeil-Icon */
.faq-icon {
	transition: transform 0.5s ease;
	font-size: 0.8rem;
	color: #004b7a;
	display: inline-block;
	text-decoration: none !important;
}

.faq-item.is-active .faq-icon {
	transform: rotate(180deg);
}

/* Toggle-Text */
.faq-item.is-active .btn-text::before {
	content: "Weniger ";
}

.faq-item:not(.is-active) .btn-text::before {
	content: "Mehr ";
}

/* Tabellen */
.faq-table-wrap {
	overflow-x: auto;
	margin: 35px 20px;
}

.faq-table-wrap table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
	border: 1px solid #ddd;
}

.faq-table-wrap th {
	background-color: #0066a2;
	color: #fff;
	padding: 12px;
}

.faq-table-wrap td {
	padding: 12px;
	border: 1px solid #ddd;
}

/* Hinweis-Box */
.ship-box {
	background: #ffefc6;
	border: 1px solid rgba(0, 0, 0, .25);
	padding: 1.5rem;
	margin: 2.5rem 20px;
	border-radius: .4rem;
}


.faq-item.is-active {
	scroll-margin-top: 20px !important;
}

