/* ==========================================================================
   Traumateam Editorial – Hauptstylesheet
   Farben: #00499a (Blau) · #346f9c (Stahlblau) · #ffffff (Schrift)
           #000000 (Hintergrund) · #ececec (Hellgrau / Schlange)
   ========================================================================== */

:root {
	--tt-blue: #00499a;
	--tt-blue-hover: #0a5cb8;
	--tt-steel: #346f9c;
	--tt-steel-light: #7fa9cc;
	--tt-white: #ffffff;
	--tt-black: #000000;
	--tt-light: #ececec;

	--tt-bg: var(--tt-black);
	--tt-surface: #0d0f12;
	--tt-surface-2: #15181d;
	--tt-line: #24282f;
	--tt-text: var(--tt-white);
	--tt-text-soft: rgba(236, 236, 236, 0.72);
	--tt-text-dim: rgba(236, 236, 236, 0.5);

	--tt-font-head: "Magistral", "Sparkasse", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--tt-font-body: "Sparkasse", "Helvetica Neue", Arial, sans-serif;

	--tt-radius: 18px;
	--tt-radius-sm: 10px;
	--tt-container: 1240px;
	--tt-gap: clamp(16px, 2.4vw, 28px);
	--tt-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);

	/* Fluide Schriftgrößen: clamp(Minimum Handy, Wachstum mit Fensterbreite, Maximum Desktop).
	   Skalierung über Customizer → Traumateam Theme → Schriften (100 % = 1). */
	--tt-scale-body: 1;
	--tt-scale-head: 1;
	--tt-fs-body:    clamp(calc(16px * var(--tt-scale-body)), calc((15px + 0.2vw) * var(--tt-scale-body)), calc(17px * var(--tt-scale-body)));
	--tt-fs-content: clamp(calc(16px * var(--tt-scale-body)), calc((15px + 0.25vw) * var(--tt-scale-body)), calc(18px * var(--tt-scale-body)));
	--tt-fs-lead:    clamp(calc(15px * var(--tt-scale-body)), calc((14px + 0.4vw) * var(--tt-scale-body)), calc(19px * var(--tt-scale-body)));
	--tt-fs-hero:    clamp(calc(26px * var(--tt-scale-head)), calc((14px + 3.8vw) * var(--tt-scale-head)), calc(64px * var(--tt-scale-head)));
	--tt-fs-h1:      clamp(calc(28px * var(--tt-scale-head)), calc((16px + 3.6vw) * var(--tt-scale-head)), calc(66px * var(--tt-scale-head)));
	--tt-fs-h2:      clamp(calc(24px * var(--tt-scale-head)), calc((15px + 2.4vw) * var(--tt-scale-head)), calc(44px * var(--tt-scale-head)));
	--tt-fs-h3:      clamp(calc(19px * var(--tt-scale-head)), calc((15px + 1vw) * var(--tt-scale-head)), calc(27px * var(--tt-scale-head)));
	--tt-fs-card:    clamp(calc(18px * var(--tt-scale-head)), calc((15px + 0.65vw) * var(--tt-scale-head)), calc(23px * var(--tt-scale-head)));
	color-scheme: dark;
}

/* --- Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--tt-bg);
	color: var(--tt-text);
	font-family: var(--tt-font-body);
	font-size: var(--tt-fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--tt-steel-light); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--tt-white); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tt-font-head);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: var(--tt-white);
	overflow-wrap: break-word;
	hyphens: auto;
	text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--tt-steel-light); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--tt-blue); color: #fff; border-radius: 8px;
}

.tt-container { width: 100%; max-width: var(--tt-container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .tt-container { padding-inline: 24px; } }

.tt-muted { color: var(--tt-text-dim); }
.tt-section { padding-block: clamp(32px, 5vw, 64px); }
.tt-main { min-height: 50vh; }

.tt-icon { display: inline-block; vertical-align: -0.2em; flex: none; }

/* --- Buttons & Pillen --------------------------------------------------- */
.tt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border-radius: 999px; border: 1px solid transparent;
	font: 700 15px/1.2 var(--tt-font-body); text-decoration: none; cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.tt-btn:hover { transform: translateY(-1px); }
.tt-btn--primary { background: var(--tt-blue); color: #fff; }
.tt-btn--primary:hover { background: var(--tt-blue-hover); color: #fff; }
.tt-btn--ghost { background: transparent; color: #fff; border-color: var(--tt-line); }
.tt-btn--ghost:hover { border-color: var(--tt-steel); color: #fff; }
.tt-btn--sm { padding: .55em 1.1em; font-size: 14px; }
.tt-btn--block { display: flex; width: 100%; margin-top: 12px; }
.tt-btn--icon { width: 42px; height: 42px; padding: 0; }

.tt-pill {
	display: inline-block; padding: 3px 12px; border-radius: 999px;
	background: var(--tt-blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6;
	text-decoration: none; letter-spacing: .01em; transition: background .2s;
}
.tt-pill:hover { background: var(--tt-steel); color: #fff; }
.tt-pill.is-active { background: var(--tt-light); color: var(--tt-black); }

.tt-iconbtn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
	border: 1px solid var(--tt-line); background: var(--tt-surface); color: #fff; cursor: pointer;
	transition: border-color .2s, background .2s;
}
.tt-iconbtn:hover { border-color: var(--tt-steel); background: var(--tt-surface-2); }

.tt-linkbtn { background: none; border: 0; padding: 0; color: var(--tt-steel-light); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tt-link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; text-decoration: none; color: var(--tt-white); font-size: 15px; }
.tt-link-arrow:hover { color: var(--tt-steel-light); }
.tt-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--tt-steel-light); font-weight: 700; margin-bottom: 8px; }

/* --- Laufband ----------------------------------------------------------- */
.tt-ticker { background: var(--tt-light); color: var(--tt-black); overflow: hidden; border-bottom: 1px solid #d4d4d4; }
.tt-ticker__track { display: flex; width: max-content; animation: tt-ticker 60s linear infinite; }
.tt-ticker:hover .tt-ticker__track, .tt-ticker:focus-within .tt-ticker__track { animation-play-state: paused; }
.tt-ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.tt-ticker__list li { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 20px; white-space: nowrap; }
.tt-ticker__list a:not(.tt-pill) { color: var(--tt-black); text-decoration: none; font-family: var(--tt-font-head); font-weight: 700; font-size: 16px; }
.tt-ticker__list a:not(.tt-pill):hover { color: var(--tt-blue); }
.tt-ticker__sep { color: var(--tt-steel); margin-left: 10px; }
@keyframes tt-ticker { to { transform: translateX(-50%); } }

/* --- Hinweisleiste ------------------------------------------------------ */
.tt-notice {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px;
	padding: 9px 16px; background: var(--tt-surface); border-bottom: 1px solid var(--tt-line);
	font-size: 15px; color: var(--tt-text-soft); text-align: center;
}
.tt-notice strong { color: #fff; }
.tt-notice a { color: #fff; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }

/* --- Header ------------------------------------------------------------- */
.tt-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(0, 0, 0, 0.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--tt-line);
}
.admin-bar .tt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tt-header { top: 0; } }

.tt-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.tt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.tt-brand__logo { height: 58px; width: auto; }
.tt-brand__heli { height: 54px; width: auto; filter: invert(1); mix-blend-mode: screen; }

.tt-nav { flex: 1; display: none; }
@media (min-width: 1080px) { .tt-nav { display: block; } .tt-header__burger { display: none !important; } }
.tt-nav__menu { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.tt-nav__menu > li { position: relative; }
.tt-nav__menu a {
	display: block; padding: 8px 14px; border-radius: 999px; color: var(--tt-text-soft);
	text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.tt-nav__menu a:hover, .tt-nav__menu .current-menu-item > a, .tt-nav__menu .current-menu-ancestor > a { color: #fff; background: var(--tt-surface-2); }
.tt-nav__menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 8px 0 0; padding: 8px;
	background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: 14px; box-shadow: var(--tt-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.tt-nav__menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.tt-nav__menu li:hover > .sub-menu, .tt-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tt-nav__menu .sub-menu a { border-radius: 8px; }

.tt-header__actions { display: flex; gap: 8px; margin-left: auto; }

/* --- Dialoge (Suche & mobiles Menü) ------------------------------------- */
dialog { color: #fff; }
dialog::backdrop { background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(4px); }
.tt-search { width: min(720px, calc(100% - 32px)); margin: 12vh auto auto; padding: 56px 24px 24px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); }
.tt-drawer {
	margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(380px, 100%);
	padding: 72px 24px 24px; background: var(--tt-surface); border: 0; border-left: 1px solid var(--tt-line);
}
.tt-dialog__close { position: absolute; top: 12px; right: 12px; }
.tt-drawer__menu { list-style: none; margin: 0 0 24px; padding: 0; }
.tt-drawer__menu a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font-family: var(--tt-font-head); font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--tt-line); }
.tt-drawer__menu .sub-menu { list-style: none; padding-left: 16px; margin: 0; }
.tt-drawer__menu .sub-menu a { font-size: 17px; color: var(--tt-text-soft); }

/* --- Suchformular -------------------------------------------------------- */
.tt-searchform { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; background: var(--tt-black); border: 1px solid var(--tt-line); border-radius: 999px; }
.tt-searchform input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; padding: 8px 0; outline: none; }
.tt-searchform:focus-within { border-color: var(--tt-steel); }

/* --- Social ------------------------------------------------------------- */
.tt-social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.tt-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--tt-surface-2); color: #fff; border: 1px solid var(--tt-line); transition: .2s; }
.tt-social a:hover { background: var(--tt-blue); border-color: var(--tt-blue); }

/* --- Hero --------------------------------------------------------------- */
.tt-hero { position: relative; margin-top: var(--tt-gap); border-radius: calc(var(--tt-radius) + 6px); overflow: hidden; display: grid; isolation: isolate; background: var(--tt-surface); }
/* Handy & Tablet: Bild im Originalformat des Beitragsbilds (1800×1000 = 9:5) oben, Text darunter – nichts wird abgeschnitten. */
.tt-hero__media { position: relative; aspect-ratio: 9 / 5; overflow: hidden; }
.tt-hero__media img, .tt-hero__media .tt-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--tt-focus, 50% 50%); }
/* Ab Desktop: Text liegt über dem Bild, Höhe wächst mit der Fensterbreite. */
@media (min-width: 1024px) {
	.tt-hero { aspect-ratio: 9 / 5; min-height: 440px; max-height: 720px; }
	.tt-hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
}
.tt-hero__media::after { content: none; }
@media (min-width: 1024px) { .tt-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.88) 100%), linear-gradient(90deg, rgba(0,73,154,.35), transparent 60%); } }
.tt-hero__content { position: relative; z-index: 1; align-self: end; max-width: 860px; padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(80px, 9vw, 120px); }
.tt-hero__title { font-size: var(--tt-fs-hero); font-weight: 900; margin: 14px 0 12px; }
.tt-hero__title a { color: #fff; text-decoration: none; }
.tt-hero__excerpt { color: var(--tt-text-soft); font-size: var(--tt-fs-lead); max-width: 640px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tt-hero__cards { position: relative; z-index: 2; margin-top: -72px; padding-inline: clamp(0px, 3vw, 40px); }
@media (max-width: 1023px) { .tt-hero__cards { margin-top: 20px; padding-inline: 0; } .tt-hero__content { padding: 20px 20px 24px; } .tt-hero__title { margin-top: 12px; } .tt-hero__excerpt { -webkit-line-clamp: 3; } }

/* --- Raster & Karten ---------------------------------------------------- */
.tt-grid { display: grid; gap: var(--tt-gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .tt-grid--3, .tt-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tt-grid--3 { grid-template-columns: repeat(3, 1fr); } .tt-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.tt-card { display: flex; flex-direction: column; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.tt-card:hover { transform: translateY(-3px); border-color: #33404f; }
.tt-card__media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--tt-surface-2); }
.tt-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tt-focus, 50% 50%); transition: transform .5s; }
.tt-card:hover .tt-card__media img { transform: scale(1.04); }
.tt-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.tt-card__title { font-size: var(--tt-fs-card); margin: 0; }
.tt-card__title a, .tt-row__title a { color: #fff; text-decoration: none; }
.tt-card__title a:hover, .tt-row__title a:hover { color: var(--tt-steel-light); }
.tt-card .tt-meta { margin-top: auto; }

.tt-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, #0f3260, #000 70%); }
.tt-placeholder img { width: 46% !important; height: auto !important; object-fit: contain !important; opacity: .85; transform: none !important; }

.tt-rows { display: grid; gap: var(--tt-gap); }
.tt-row { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: var(--tt-gap); border-bottom: 1px solid var(--tt-line); }
@media (min-width: 640px) { .tt-row { grid-template-columns: minmax(180px, 280px) 1fr; gap: 24px; align-items: center; } }
.tt-row__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--tt-radius); overflow: hidden; background: var(--tt-surface-2); }
.tt-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tt-focus, 50% 50%); transition: transform .5s; }
.tt-row:hover .tt-row__media img { transform: scale(1.04); }
.tt-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tt-row__title { font-size: var(--tt-fs-h3); margin: 0; }
.tt-row__excerpt { margin: 0; color: var(--tt-text-soft); font-size: 16px; }

/* --- Meta --------------------------------------------------------------- */
.tt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--tt-text-dim); }
.tt-meta__avatar { width: 28px; height: 28px; border-radius: 50%; }
.tt-meta a { color: var(--tt-text-soft); text-decoration: underline; text-decoration-color: var(--tt-line); }
.tt-meta a:hover { color: #fff; }
.tt-meta__date::before, .tt-meta__time::before { content: "·"; margin-right: 12px; color: var(--tt-line); }

/* --- Abschnitte & Layout ------------------------------------------------ */
.tt-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.tt-section__title { font-size: var(--tt-fs-h2); margin: 0; }
.tt-layout { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .tt-layout { grid-template-columns: minmax(0, 1fr) 340px; } }

.tt-pagehead { margin-bottom: 32px; }
.tt-pagehead__title { font-size: var(--tt-fs-h1); margin: 0 0 12px; }
.tt-pagehead__desc { color: var(--tt-text-soft); max-width: 760px; }
.tt-pagehead__search { max-width: 560px; margin-top: 16px; }
.tt-empty { color: var(--tt-text-soft); padding: 24px; border: 1px dashed var(--tt-line); border-radius: var(--tt-radius); }

/* --- Seitenleiste ------------------------------------------------------- */
.tt-sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1000px) { .tt-sidebar { position: sticky; top: 110px; align-self: start; } }
.tt-box, .tt-widget { background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: 22px; }
.tt-box__title, .tt-widget__title { font-size: 22px; margin-bottom: 12px; }
.tt-box p { color: var(--tt-text-soft); font-size: 15px; }
.tt-about { text-align: center; }
.tt-about__logo { width: 150px; margin: 0 auto 12px; }
.tt-about .tt-social { justify-content: center; }
.tt-widget ul { list-style: none; margin: 0; padding: 0; }
.tt-widget li { padding: 6px 0; border-bottom: 1px solid var(--tt-line); }
.tt-widget li:last-child { border-bottom: 0; }

.tt-catlist { list-style: none; margin: 0; padding: 0; }
.tt-catlist a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--tt-line); color: #fff; text-decoration: none; font-weight: 700; }
.tt-catlist li:last-child a { border-bottom: 0; }
.tt-catlist a span { color: var(--tt-text-dim); font-weight: 400; }
.tt-catlist a:hover { color: var(--tt-steel-light); }

.tt-mini-events { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.tt-mini-events li { display: flex; gap: 12px; align-items: center; }
.tt-mini-events li a { color: #fff; text-decoration: none; font-weight: 700; line-height: 1.3; }
.tt-mini-events li a:hover { color: var(--tt-steel-light); }
.tt-mini-events small { display: block; color: var(--tt-text-dim); }
.tt-eventbox .tt-mini-events li, .tt-sidebar .tt-mini-events li:has(small) { flex-direction: column; align-items: flex-start; gap: 2px; }

/* --- Datumsplakette ----------------------------------------------------- */
.tt-datebadge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 6px 8px; border-radius: 12px; background: var(--tt-blue); color: #fff; line-height: 1; font-family: var(--tt-font-head); }
.tt-card__media .tt-datebadge { position: absolute; top: 14px; left: 14px; box-shadow: var(--tt-shadow); }
.tt-datebadge__day { font-size: 24px; font-weight: 800; }
.tt-datebadge__month { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.tt-datebadge--sm { min-width: 48px; padding: 5px 6px; flex: none; }
.tt-datebadge--sm .tt-datebadge__day { font-size: 19px; }

.tt-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--tt-text-soft); }
.tt-facts li { display: flex; gap: 8px; align-items: flex-start; }
.tt-facts .tt-icon { color: var(--tt-steel-light); margin-top: 3px; }
.tt-facts--stack { gap: 12px; margin-bottom: 8px; }
.tt-eventbox__cal { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; }

/* --- Themen-Slider ------------------------------------------------------ */
.tt-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: var(--tt-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
@media (min-width: 980px) { .tt-slider { grid-auto-columns: calc((100% - 3 * var(--tt-gap)) / 4); } }
.tt-topic { scroll-snap-align: start; display: block; text-decoration: none; color: #fff; }
.tt-topic__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--tt-radius); background: radial-gradient(circle at 30% 20%, #0f3260, #000 70%) center / cover no-repeat; border: 1px solid var(--tt-line); transition: transform .3s; }
.tt-topic:hover .tt-topic__media { transform: translateY(-3px); }
.tt-topic__name { display: block; margin-top: 12px; font-family: var(--tt-font-head); font-weight: 700; font-size: 22px; }
.tt-slider__nav { display: flex; gap: 8px; }

/* --- Einzelbeitrag ------------------------------------------------------ */
.tt-article__head { max-width: 980px; text-align: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tt-article__title { font-size: var(--tt-fs-h1); margin: 0; }
.tt-article__head .tt-meta { justify-content: center; }
.tt-article__media { margin: 0 auto clamp(28px, 4vw, 48px); }
.tt-article__media img { width: 100%; height: auto; aspect-ratio: 9 / 5; max-height: 720px; object-fit: cover; object-position: var(--tt-focus, 50% 50%); border-radius: calc(var(--tt-radius) + 6px); }
.tt-article__media figcaption { margin-top: 8px; color: var(--tt-text-dim); font-size: 14px; text-align: center; }
.tt-article__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--tt-line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

.tt-content { font-size: var(--tt-fs-content); line-height: 1.75; color: var(--tt-light); max-width: 760px; }
.tt-content--page { max-width: 860px; }
.tt-content > * { margin-block: 0 1.2em; }
.tt-content h2 { font-size: calc(var(--tt-fs-h2) * 0.8); margin-top: 1.6em; }
.tt-content h3 { font-size: var(--tt-fs-h3); margin-top: 1.4em; }
.tt-content img { border-radius: var(--tt-radius-sm); }
.tt-content blockquote { margin-inline: 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--tt-blue); font-family: var(--tt-font-head); font-size: 1.3em; color: #fff; }
.tt-content ul, .tt-content ol { padding-left: 1.3em; }
.tt-content li::marker { color: var(--tt-steel-light); }
.tt-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tt-content th, .tt-content td { padding: 10px; border-bottom: 1px solid var(--tt-line); text-align: left; }
.tt-content hr { border: 0; border-top: 1px solid var(--tt-line); }
.tt-content code, .tt-content pre { background: var(--tt-surface-2); border-radius: 6px; font-size: .9em; }
.tt-content pre { padding: 16px; overflow-x: auto; }
.tt-content code { padding: 2px 6px; }
.tt-content .wp-block-image figcaption, .tt-content .wp-caption-text { color: var(--tt-text-dim); font-size: 14px; }
.tt-content .wp-block-button__link { background: var(--tt-blue); color: #fff; border-radius: 999px; }
.tt-content .alignwide { max-width: none; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

.tt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-tags a { padding: 4px 12px; border: 1px solid var(--tt-line); border-radius: 999px; font-size: 14px; color: var(--tt-text-soft); text-decoration: none; }
.tt-tags a:hover { border-color: var(--tt-steel); color: #fff; }

.tt-share { display: flex; align-items: center; gap: 12px; }
.tt-share__label { font-weight: 700; color: var(--tt-text-soft); font-size: 14px; }
.tt-share ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tt-share a, .tt-share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--tt-surface-2); border: 1px solid var(--tt-line); color: #fff; cursor: pointer; transition: .2s; }
.tt-share a:hover, .tt-share button:hover { background: var(--tt-blue); border-color: var(--tt-blue); }

.tt-postnav { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .tt-postnav { grid-template-columns: 1fr 1fr; } }
.tt-postnav a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--tt-line); border-radius: var(--tt-radius); background: var(--tt-surface); color: #fff; text-decoration: none; font-family: var(--tt-font-head); font-weight: 700; font-size: 18px; line-height: 1.3; }
.tt-postnav a span { display: block; font-family: var(--tt-font-body); font-weight: 400; font-size: 13px; color: var(--tt-text-dim); margin-bottom: 4px; }
.tt-postnav__next { text-align: right; }
.tt-postnav a:hover { border-color: var(--tt-steel); }

/* --- Pagination --------------------------------------------------------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--tt-line); background: var(--tt-surface); color: #fff; text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--tt-blue); border-color: var(--tt-blue); }
.pagination a.page-numbers:hover { border-color: var(--tt-steel); }
.pagination .dots { border: 0; background: none; }

/* --- Kalender ----------------------------------------------------------- */
.tt-cal { background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); padding: clamp(14px, 2.5vw, 28px); }
.tt-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tt-cal__title { margin: 0; font-size: clamp(24px, 3vw, 34px); text-align: center; }
.tt-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tt-cal__wd { text-align: center; font-size: 13px; font-weight: 700; color: var(--tt-text-dim); text-transform: uppercase; letter-spacing: .08em; padding-bottom: 4px; }
.tt-cal__day { min-height: 112px; padding: 6px; border-radius: 12px; background: var(--tt-black); border: 1px solid var(--tt-line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tt-cal__day.is-outside { opacity: .4; }
.tt-cal__day.is-today { border-color: var(--tt-steel); box-shadow: inset 0 0 0 1px var(--tt-steel); }
.tt-cal__num { font-size: 13px; font-weight: 700; color: var(--tt-text-soft); }
.tt-cal__day.is-today .tt-cal__num { color: #fff; }
.tt-cal__event {
	position: relative; display: block; min-height: 46px; padding: 6px 8px; border-radius: 8px; overflow: hidden;
	color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 700; line-height: 1.25;
}
.tt-cal__event span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tt-cal__event { --tt-img: none; background: linear-gradient(0deg, rgba(0,20,45,.9), rgba(0,73,154,.55)), var(--tt-img) center / cover no-repeat, var(--tt-blue); }
.tt-cal__event:hover { color: #fff; outline: 2px solid var(--tt-light); }
@media (max-width: 720px) {
	.tt-cal__grid { gap: 3px; }
	.tt-cal__day { min-height: 54px; padding: 4px; border-radius: 8px; }
	.tt-cal__event { min-height: 0; height: 8px; padding: 0; border-radius: 4px; }
	.tt-cal__event span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.tt-cal__subscribe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--tt-line); font-size: 15px; }
.tt-cal__subscribe span { color: var(--tt-text-soft); display: inline-flex; gap: 6px; align-items: center; }
.tt-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tt-events + .tt-cal, .tt-cal + .tt-events { margin-top: 40px; }

/* --- Anmeldeformular ---------------------------------------------------- */
.tt-register { margin-top: 48px; padding: clamp(20px, 3vw, 36px); background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); scroll-margin-top: 110px; }
.tt-register__title { font-size: clamp(26px, 3vw, 36px); }
.tt-register__note { color: var(--tt-steel-light); font-weight: 700; }
.tt-form__grid { display: grid; grid-template-columns: 1fr; gap: 16px 20px; margin-bottom: 24px; }
@media (min-width: 640px) { .tt-form__grid { grid-template-columns: 1fr 1fr; } .tt-field--full { grid-column: 1 / -1; } }
.tt-field label, .tt-field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.tt-field fieldset { border: 0; margin: 0; padding: 0; }
.tt-field input:not([type="checkbox"]):not([type="radio"]), .tt-field select, .tt-field textarea {
	width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--tt-line); background: var(--tt-black); color: #fff; font: inherit; font-size: 16px;
}
.tt-field input:focus, .tt-field select:focus, .tt-field textarea:focus { outline: none; border-color: var(--tt-steel); box-shadow: 0 0 0 3px rgba(52, 111, 156, .35); }
.tt-field .tt-choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 6px; cursor: pointer; }
.tt-choice input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--tt-blue); flex: none; }
.tt-form__heading { font-size: 22px; margin: 12px 0 0; }
.tt-req { color: var(--tt-steel-light); }
.tt-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tt-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 700; }
.tt-alert--success { background: rgba(46, 160, 67, .15); border: 1px solid rgba(46, 160, 67, .55); }
.tt-alert--info { background: rgba(52, 111, 156, .18); border: 1px solid var(--tt-steel); }
.tt-alert--error { background: rgba(218, 54, 51, .15); border: 1px solid rgba(218, 54, 51, .6); }

/* --- Newsletter (inkl. MailPoet-Formular) ------------------------------- */
.tt-newsletter { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--tt-radius) + 6px); background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-steel) 60%, #0b2a4d 100%); position: relative; overflow: hidden; }
@media (min-width: 860px) { .tt-newsletter--band { grid-template-columns: 1fr 1fr; gap: 48px; } }
.tt-newsletter__title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 8px; }
.tt-newsletter p { margin: 0; color: rgba(255, 255, 255, .85); }
.tt-newsletter .mailpoet_form { padding: 0 !important; background: transparent !important; }
.tt-newsletter .mailpoet_paragraph { margin-bottom: 10px !important; }
.tt-newsletter .mailpoet_text, .tt-newsletter input[type="email"].mailpoet_text, .tt-newsletter .mailpoet_form input[type="text"] {
	width: 100% !important; padding: 13px 18px !important; border-radius: 999px !important; border: 0 !important;
	background: #fff !important; color: #000 !important; font: 16px var(--tt-font-body) !important;
}
.tt-newsletter .mailpoet_submit {
	width: 100% !important; padding: 13px 18px !important; border-radius: 999px !important; border: 0 !important;
	background: var(--tt-black) !important; color: #fff !important; font: 700 16px var(--tt-font-body) !important; cursor: pointer;
}
.tt-newsletter .mailpoet_submit:hover { background: #111 !important; }
.tt-newsletter .mailpoet_message, .tt-newsletter .mailpoet_validate_success { color: #fff !important; }
.tt-admin-hint { padding: 12px 16px; border-radius: 10px; background: rgba(0, 0, 0, .35); font-size: 14px; }
.tt-prefooter { padding-block: clamp(32px, 5vw, 64px) 0; }
.tt-prefooter:empty { display: none; }

/* --- Footer ------------------------------------------------------------- */
.tt-footer { position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--tt-line); background: linear-gradient(180deg, #000 0%, #05101e 100%); }
.tt-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 760px) { .tt-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.tt-footer__brand p { color: var(--tt-text-soft); font-size: 15px; max-width: 340px; }
.tt-footer .tt-widget { background: none; border: 0; padding: 0; }
.tt-footer a { color: var(--tt-text-soft); }
.tt-footer a:hover { color: #fff; }
.tt-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 40px; padding-block: 22px; border-top: 1px solid var(--tt-line); font-size: 14px; color: var(--tt-text-dim); position: relative; z-index: 1; }
.tt-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.tt-footer__heli { position: absolute; right: -40px; bottom: 30px; width: 340px; opacity: .08; filter: invert(1); mix-blend-mode: screen; pointer-events: none; }

.tt-totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--tt-blue); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; box-shadow: var(--tt-shadow); }
.tt-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --- Kommentare --------------------------------------------------------- */
.tt-comments { margin-top: 48px; }
.tt-comments__list { list-style: none; padding: 0; }
.tt-comments__list .comment-body { padding: 18px; margin-bottom: 14px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); }
.tt-comments__list .children { list-style: none; padding-left: 24px; }
.tt-comments .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.tt-comments .comment-meta { font-size: 14px; color: var(--tt-text-dim); }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--tt-line); background: var(--tt-black); color: #fff; font: inherit; }

/* --- Sonstiges ---------------------------------------------------------- */
.tt-404 { text-align: center; max-width: 720px; }
.tt-404 .tt-searchform { margin: 16px 0 24px; }
.tt-fullwidth { width: 100%; }
.tt-pagelinks { margin-top: 24px; display: flex; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.tt-ticker__track { animation: none; overflow-x: auto; }
}

@media print {
	.tt-ticker, .tt-notice, .tt-header, .tt-footer, .tt-sidebar, .tt-share, .tt-totop, .tt-prefooter { display: none !important; }
	body { background: #fff; color: #000; }
}
