:root {
	--td-gold: #c9a24b;
	--td-gold-dark: #a9852f;
	--td-ink: #1f1f1f;
	--td-muted: #777;
	--td-card: #f5f5f5;
	--td-line: #e6e6e6;
	--td-radius: 10px;
	--td-max: 1200px;
}

.td-wrap { max-width: var(--td-max); margin: 0 auto; padding: 32px 20px 72px; color: var(--td-ink); font-family: Poppins, system-ui, sans-serif; }
.td-wrap h1, .td-wrap h2, .td-wrap h3 { font-family: inherit; font-weight: 500; color: var(--td-ink); }

/* Breadcrumb */
.td-crumbs { font-size: 12px; color: var(--td-muted); margin-bottom: 24px; }
.td-crumbs a { color: var(--td-muted); text-decoration: none; }
.td-crumbs a:hover { color: var(--td-gold-dark); }
.td-crumbs span { margin: 0 4px; }

/* Raster und Karten */
.td-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.td-grid.td-cols-3 { grid-template-columns: repeat(3, 1fr); }
.td-grid.td-cols-5 { grid-template-columns: repeat(5, 1fr); }
.td-grid.td-cols-6 { grid-template-columns: repeat(6, 1fr); }
.td-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.td-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--td-card); border-radius: var(--td-radius); padding: 14px; overflow: hidden; transition: background .2s; }
.td-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.td-card:hover .td-card__img img { transform: scale(1.05); }
.td-card:hover .td-card__img { background: #efece4; }
.td-card__title { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.35; }
.td-card__meta { font-size: 12px; color: var(--td-muted); }

/* Kategorie-Kacheln */
.td-tiles { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.td-tile { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--td-card); border-radius: var(--td-radius); overflow: hidden; text-decoration: none; }
.td-tile__img, .td-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.td-tile__img img { object-fit: contain; padding: 28px 24px 90px; mix-blend-mode: multiply; transition: transform .4s; }
.td-tile:hover .td-tile__img img { transform: scale(1.06); }
.td-tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(255,255,255,.95) 40%); display: flex; flex-direction: column; gap: 2px; color: var(--td-ink); }
.td-tile__label strong { font-size: 18px; font-weight: 500; }
.td-tile__label em { font-style: normal; font-size: 12px; color: var(--td-gold-dark); letter-spacing: .08em; text-transform: uppercase; }

/* Archiv */
.td-archive__head h1 { font-size: 34px; margin: 0 0 8px; }
.td-archive__head p { max-width: 640px; color: var(--td-muted); font-size: 15px; line-height: 1.7; margin: 0 0 8px; }
.td-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.td-filter a { padding: 8px 18px; border: 1px solid var(--td-line); border-radius: 999px; font-size: 13px; color: var(--td-ink); text-decoration: none; }
.td-filter a:hover, .td-filter a.is-active { background: var(--td-ink); border-color: var(--td-ink); color: #fff; }

/* Produkt-Detail */
.td-single__grid { display: grid; gap: 48px; grid-template-columns: 1.1fr 1fr; align-items: start; }
.td-single__media { display: flex; align-items: center; justify-content: center; background: var(--td-card); border-radius: 16px; padding: 32px; aspect-ratio: 1 / 1; }
.td-single__media img { width: 100%; height: auto; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.td-single__title { font-size: 30px; margin: 0 0 6px; }
.td-single__sku { font-size: 13px; color: var(--td-muted); margin: 0 0 14px; }
.td-single__price { font-size: 18px; font-weight: 500; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--td-line); }
.td-single__content { font-size: 14px; line-height: 1.8; color: #555; }
.td-single__content h3 { font-size: 15px; margin: 22px 0 8px; color: var(--td-ink); }
.td-btn { display: inline-block; background: var(--td-gold); color: #fff !important; padding: 14px 34px; border-radius: 4px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.td-btn:hover { background: var(--td-gold-dark); }
.td-single__facts { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--td-line); font-size: 13px; color: var(--td-muted); }
.td-single__facts li { padding: 3px 0 3px 18px; position: relative; }
.td-single__facts li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--td-gold); border-radius: 50%; }
.td-related { margin-top: 72px; }
.td-related h2 { font-size: 26px; margin: 0 0 24px; }

/* Spezifikationstabelle */
.teodoro-specs { border-collapse: collapse; width: 100%; max-width: 32rem; font-size: 14px; }
.teodoro-specs th, .teodoro-specs td { text-align: left; padding: 9px 4px; border-bottom: 1px solid var(--td-line); vertical-align: top; overflow-wrap: anywhere; }
.teodoro-specs th { font-weight: 500; width: 42%; color: var(--td-ink); }

/* Tabellen: Theme-Rahmen zurücksetzen */
.teodoro-specs, .teodoro-specs th, .teodoro-specs td { border: 0; background: none; }
.teodoro-specs th, .teodoro-specs td { border-bottom: 1px solid var(--td-line); }

/* Anfrageformular */
.td-form { max-width: 720px; }
.td-form p { margin: 0 0 16px; }
.td-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--td-ink); }
.td-form input[type=text], .td-form input[type=email], .td-form input[type=tel], .td-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8d8d8; border-radius: 6px; font: inherit; font-size: 14px; background: #fff; box-sizing: border-box; }
.td-form input:focus, .td-form textarea:focus { outline: none; border-color: var(--td-gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); }
.td-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.td-form__check label { font-weight: 400; color: var(--td-muted); line-height: 1.5; }
.td-form__check input { margin-right: 8px; }
.td-form__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.td-form button.td-btn, button.td-btn { background: var(--td-gold) !important; color: #fff !important; border: 0 !important; cursor: pointer; padding: 14px 34px; border-radius: 4px; font-family: inherit; }
.td-form button.td-btn:hover { background: var(--td-gold-dark) !important; }
.td-form-msg { max-width: 720px; padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.td-form-msg--ok { background: #f3efe2; border: 1px solid var(--td-gold); }
.td-form-msg--err { background: #fbeeee; border: 1px solid #d99; }
@media (max-width: 640px) { .td-form__row { grid-template-columns: 1fr; } }

/* Tablet und Mobil */
@media (max-width: 980px) {
	.td-grid, .td-grid.td-cols-5, .td-grid.td-cols-6 { grid-template-columns: repeat(3, 1fr); }
	.td-single__grid { grid-template-columns: 1fr; gap: 28px; }
	.td-single__media { aspect-ratio: auto; padding: 20px; }
}
@media (max-width: 640px) {
	.td-wrap { padding: 20px 16px 56px; }
	.td-grid, .td-grid.td-cols-3, .td-grid.td-cols-5, .td-grid.td-cols-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.td-tiles { grid-template-columns: 1fr; }
	.td-tile { aspect-ratio: 16 / 11; }
	.td-tile__img img { padding: 16px 16px 70px; }
	.td-archive__head h1 { font-size: 26px; }
	.td-single__title { font-size: 24px; }
	.td-card__title { font-size: 13px; }
}
