/*
Theme Name: Tresorservice24
Description: Schlankes Theme fuer Bruckner & Raum Tresortechnik.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: tresorservice24
*/
body { -webkit-text-size-adjust: 100%; }
.ts-header { background: var(--wp--preset--color--dunkel); padding: 14px 20px; }
.ts-header-inner { max-width: 1100px; margin: 0 auto; gap: 8px 24px; align-items: center; }
.ts-brand { display: block; text-decoration: none; line-height: 1.2; }
.ts-brand img { display: block; width: 560px; max-width: 100%; height: auto; }
.ts-brand-name { display: block; color: var(--wp--preset--color--gelb); font-size: 2.1rem; font-weight: 400; letter-spacing: -.5px; }
.ts-brand-sub { display: block; color: var(--wp--preset--color--hell); font-size: 1rem; margin-top: 4px; }
.ts-phones { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ts-phone { color: var(--wp--preset--color--weiss); font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.ts-phone span { color: var(--wp--preset--color--hell); font-size: .9rem; margin-right: 6px; }
@media (min-width: 701px) {
	header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
}
@media (hover: hover) and (pointer: fine) {
	a[href^="tel:"] { pointer-events: none; cursor: default; text-decoration: none; color: inherit; }
}
.ts-nav { background: #000; padding: 9px 20px; font-size: 1.1rem; }
.ts-nav .wp-block-navigation { max-width: 1100px; margin: 0 auto; }
.ts-nav .wp-block-navigation a { color: var(--wp--preset--color--weiss); }
.ts-nav .wp-block-navigation a:hover { color: var(--wp--preset--color--gelb); }
.ts-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--dunkel) !important; border: 1px solid #555 !important; }
.ts-main { padding: 28px 20px 48px; }
.ts-main h1 { margin-top: 0; }
.ts-main .wp-block-post-content > :first-child { margin-top: 0; }
.ts-main img { height: auto; max-width: 100%; }
.wp-block-media-text { margin-bottom: 28px; gap: 20px; }
.wp-block-media-text__content { padding: 0 0 0 20px !important; }
.wp-block-separator { border-color: #666; }
.ts-footer { background: var(--wp--preset--color--dunkel); color: var(--wp--preset--color--hell); padding: 28px 20px 24px; font-size: .95rem; }
.ts-footer a { color: var(--wp--preset--color--hell); }
.ts-footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; }
.ts-footer h2 { font-size: 1rem; color: var(--wp--preset--color--gelb); margin: 0 0 8px; }
.ts-footer ul { list-style: none; margin: 0; padding: 0; }
.ts-footer li { margin-bottom: 4px; }
.ts-copy { max-width: 1100px; margin: 20px auto 0; font-size: .85rem; color: #aaa; }
.wp-block-media-text__media img { width: auto !important; max-width: 100%; }
.page-tresor-hersteller-geldschrank .wp-block-post-content > p,
.page-tresor-lexikon-fachbegriffe .wp-block-post-content > p { margin-block: .2em; }
.wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--weiss); padding: 6px 0; }
.wp-block-navigation__responsive-container-open svg { width: 34px; height: 34px; }
.ts-callbar { display: none; }
.ts-more { background: var(--wp--preset--color--gelb); color: var(--wp--preset--color--dunkel); border: 0; border-radius: 4px; padding: 12px 18px; font-weight: 700; font-size: 1rem; width: 100%; margin-top: 12px; }
details.ts-fold { border-top: 1px solid #666; padding: 12px 0; }
details.ts-fold > summary { cursor: pointer; font-weight: 700; color: var(--wp--preset--color--gelb); font-size: 1.05rem; }
.ts-collapsed { max-height: 420px; overflow: hidden; position: relative; }
@media (max-width: 700px) {
	.ts-header { padding: 10px 14px; }
	.ts-header-inner > .ts-brand { flex: 1 1 100%; }
	.ts-brand img { width: 100%; }
	.ts-brand-name { font-size: 1.6rem; }
	.ts-brand-sub { font-size: .9rem; }
	.ts-phones { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: flex-start; }
	.ts-phone { font-size: .92rem; line-height: 1.3; color: var(--wp--preset--color--gelb); }
	.ts-phone span { display: block; margin: 0; font-size: .78rem; }
	.ts-nav { padding: 2px 14px; }
	.ts-main { padding: 18px 14px 32px; }
	.wp-block-media-text__content { padding: 12px 0 0 !important; }
	body { padding-bottom: 64px; }
	.ts-callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; box-shadow: 0 -2px 8px rgba(0,0,0,.45); }
	.ts-callbar a { flex: 1; text-align: center; padding: 15px 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
	.ts-call { background: var(--wp--preset--color--gelb); color: var(--wp--preset--color--dunkel); flex: 2 !important; }
	.ts-mail { background: var(--wp--preset--color--dunkel); color: var(--wp--preset--color--weiss); }
}
