/* Template "picht" – Thorsten Picht, Vertriebscoaching & Lifecoaching
   Optik nach der bisherigen Website, ohne Fremd-Frameworks. Schrift lokal (DSGVO). */

@font-face{font-family:"Nunito";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/nunito-latin-300-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/nunito-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Nunito";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/nunito-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/nunito-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
	--tp-bar:#eaeff4;
	--tp-menu:#000099;
	--tp-link:#4489c2;
	--tp-text:#000;
	--tp-muted:#444;
	--tp-line:#e5e5e5;
	--tp-font:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;
	--tp-container:1200px;
	--tp-gutter:35px;
	--tp-header-h:154px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--tp-font);font-weight:300;font-size:22px;line-height:1.6;color:var(--tp-text);background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;vertical-align:middle}
a{color:var(--tp-link);text-decoration:none}
a:hover,a:focus{color:#2a6aa0;text-decoration:underline}
strong,b{font-weight:700}
p,ul,ol,dl,blockquote,table{margin:0 0 15px}
* + p,* + ul,* + ol,* + dl,* + blockquote{margin-top:15px}
h1,h2,h3,h4,h5,h6{margin:0 0 15px;font-family:var(--tp-font);font-weight:700;color:var(--tp-text);line-height:1.35}
* + h1,* + h2,* + h3,* + h4,* + h5,* + h6{margin-top:25px}
h1{font-size:24px;line-height:50px;font-weight:300;color:var(--tp-muted);margin:20px 0 15px}
h2{font-size:22px}
h3{font-size:20px}
h4,h5,h6{font-size:18px}
hr{border:0;border-top:1px solid var(--tp-line);margin:20px 0}
table{border-collapse:collapse;width:100%}
td,th{padding:6px 8px;border-bottom:1px solid var(--tp-line);text-align:left;vertical-align:top}

.tp-sr,.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tp-skip{position:absolute;left:-9999px;top:0;z-index:2000;background:#000;color:#fff;padding:10px 15px}
.tp-skip:focus{left:10px;top:10px}

.tp-container{max-width:var(--tp-container);margin:0 auto;padding:0 var(--tp-gutter)}

/* ---------- Kopfbereich ---------- */
.tp-header{background:var(--tp-bar);border-bottom:2px solid #000;position:relative;z-index:980}
.tp-header-inner{position:relative;min-height:var(--tp-header-h);display:flex;align-items:flex-start}
.tp-logo{display:block;margin:44px 0 15px 15px;width:150px;flex:0 0 auto}
.tp-logo img{display:block;width:100%;height:auto}
.tp-nav{margin-left:auto;align-self:flex-start;flex:1 1 auto;min-width:0}
.tp-nav ul{list-style:none;margin:0;padding:0}
.tp-nav .mod-menu{display:flex;flex-wrap:wrap;justify-content:flex-end}
.tp-nav .mod-menu > li{position:relative}
.tp-nav .mod-menu > li > a,.tp-nav .mod-menu > li > span{display:block;padding:0 11px;line-height:60px;font-size:13.5px;font-weight:400;text-transform:uppercase;color:var(--tp-menu);text-decoration:none;letter-spacing:0;white-space:nowrap;transition:color .15s}
.tp-nav .mod-menu > li > a:hover,.tp-nav .mod-menu > li:hover > a{color:#000}
.tp-nav .mod-menu > li.active > a,.tp-nav .mod-menu > li.current > a{color:#000;font-weight:700}
/* Untermenü (Dropdown) */
.tp-nav .mod-menu__sub{display:block;position:absolute;top:100%;left:0;min-width:240px;background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.12);padding:10px 0;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility .2s;z-index:990}
.tp-nav .mod-menu > li:hover > .mod-menu__sub,.tp-nav .mod-menu > li:focus-within > .mod-menu__sub{opacity:1;visibility:visible;transform:none}
.tp-nav .mod-menu__sub a{display:block;padding:6px 20px;font-size:14px;line-height:1.5;color:#444;text-transform:none}
.tp-nav .mod-menu__sub a:hover,.tp-nav .mod-menu__sub .current > a{color:#000;text-decoration:none;background:var(--tp-bar)}
.tp-nav .mod-menu__toggle-sub,.tp-nav-close,.tp-burger{display:none}

/* fixierter Kopf beim Scrollen */
.tp-header.is-fixed{position:fixed;top:0;left:0;right:0;animation:tp-slide-down .3s ease-out both}
.tp-header.is-fixed .tp-header-inner{min-height:0;align-items:center}
.tp-header.is-fixed .tp-logo{margin:8px 0 8px 15px;width:90px}
.tp-header-spacer{display:none}
.tp-header.is-fixed + .tp-header-spacer{display:block}
@keyframes tp-slide-down{from{top:-160px}to{top:0}}

/* ---------- Kopfbild ---------- */
.tp-hero{position:relative;overflow:hidden;aspect-ratio:1980/600;min-height:260px;background:#9bb7d0}
.tp-hero-media{position:absolute;inset:0;overflow:hidden}
.tp-hero-media img{width:100%;height:100%;object-fit:cover;transform-origin:50% 50%;animation:tp-kenburns 15s ease-in-out infinite alternate}
.tp-hero:nth-of-type(2n) .tp-hero-media img{transform-origin:100% 0}
@keyframes tp-kenburns{from{transform:scale(1)}to{transform:scale(1.2)}}
@media (prefers-reduced-motion:reduce){.tp-hero-media img{animation:none}}
.tp-hero-text{position:absolute;z-index:1;animation:tp-fade 1.2s ease-out both;line-height:1.3}
.tp-hero-text p{margin:0}
.tp-hero-title{font-size:36px;font-weight:700}
.tp-hero-sub{font-size:24px;font-weight:700;margin-top:4px!important}
.hero-top .tp-hero-text{left:30px;top:20px;right:30px}
.hero-center .tp-hero-text{left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;padding:0 20px}
.hero-center .tp-hero-sub{font-size:18px}
.hero-light .tp-hero-text{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.25)}
.hero-dark .tp-hero-text{color:#000}
@keyframes tp-fade{from{opacity:0}to{opacity:1}}

/* ---------- Inhalt ---------- */
.tp-main{padding:0 0 30px}
.tp-main-top{margin:30px 0 0}
.tp-main-bottom{margin:40px 0 0}
.page-header h1,.page-header h2,.tp-page-title{font-size:24px;line-height:50px;font-weight:300;color:var(--tp-muted);margin:20px 0 15px}
.com-content-article__body > :first-child{margin-top:0}
.tp-tags{margin-top:25px}
.tp-top-a{margin-top:30px}
.tp-module{margin:0 0 30px}
.tp-module-title{font-size:24px;font-weight:300;color:var(--tp-muted);margin:0 0 15px}
.tp-button,button.tp-button{display:inline-block;font:inherit;font-size:16px;font-weight:700;line-height:1.4;padding:10px 24px;border:2px solid var(--tp-link);border-radius:4px;background:var(--tp-link);color:#fff;cursor:pointer;text-decoration:none;transition:background .2s,color .2s}
.tp-button:hover,.tp-button:focus{background:#fff;color:var(--tp-link);text-decoration:none}
.alert,joomla-alert{display:block;padding:15px 20px;margin:20px 0;border-radius:4px;background:#ebf5fa;border:1px solid #c7e1ef;font-size:18px}
joomla-alert[type=success]{background:#f2fae3;border-color:#d4e9ab}
joomla-alert[type=danger],joomla-alert[type=error]{background:#fff1f0;border-color:#f6c5c1}

/* ---------- Kundenstimmen ---------- */
.tp-voices{margin:25px 0 10px;border-bottom:1px solid var(--tp-line);padding-bottom:20px}
.tp-voices-head{display:none}
.tp-voices-viewport{height:240px;overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(transparent,#000 12%,#000 88%,transparent)}
.tp-voices-track{will-change:transform}
.tp-voice{padding:12px 0}
.tp-voice-title{font-size:20px;font-weight:400;margin:0 0 4px;line-height:1.4}
.tp-voice-title a{color:var(--tp-link)}
.tp-voice-text{font-size:20px;line-height:1.6;margin:0;color:#444;display:inline}
.tp-voice-more{font-size:20px}
.tp-voices-nav{display:none}

/* ---------- Seminare ---------- */
.tp-seminar-list{display:grid;gap:25px;margin:10px 0 20px}
.tp-seminar{display:grid;grid-template-columns:120px 1fr;gap:25px;padding:25px;background:#fff;border:1px solid #dfe6ee;border-left:4px solid var(--tp-link);border-radius:4px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.tp-seminar-date{background:var(--tp-bar);border-radius:4px;text-align:center;padding:15px 5px;align-self:start;line-height:1.2}
.tp-seminar-day{display:block;font-size:40px;font-weight:700;color:var(--tp-menu)}
.tp-seminar-month{display:block;font-size:15px;text-transform:uppercase;color:#444}
.tp-seminar-cat{font-size:14px;text-transform:uppercase;letter-spacing:.05em;color:#777;margin:0 0 5px}
.tp-seminar-title{font-size:22px;margin:0 0 10px}
.tp-seminar-title a{color:#000}
.tp-seminar-meta{list-style:none;padding:0;margin:0 0 10px;font-size:18px}
.tp-seminar-teaser{font-size:18px;color:#333}
.tp-seminar-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px 30px;background:var(--tp-bar);padding:20px 25px;border-radius:4px;margin:10px 0 25px;font-size:18px}
.tp-seminar-facts dt{font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.05em;color:#555}
.tp-seminar-facts dd{margin:0}

/* ---------- Formulare ---------- */
.tp-form{max-width:760px;margin:25px 0}
.tp-form .control-group{margin:0 0 18px}
.tp-form .control-label label,.tp-form label{display:block;font-size:17px;font-weight:700;margin-bottom:5px}
.tp-form input[type=text],.tp-form input[type=email],.tp-form input[type=tel],.tp-form input[type=url],.tp-form input[type=date],.tp-form input[type=datetime-local],.tp-form select,.tp-form textarea,.tp-form .form-control{width:100%;font:inherit;font-size:18px;font-weight:400;padding:10px 12px;border:1px solid #c5ced8;border-radius:4px;background:#fff;color:#000}
.tp-form textarea{min-height:140px}
.tp-form input:focus,.tp-form select:focus,.tp-form textarea:focus{outline:2px solid var(--tp-link);outline-offset:1px;border-color:var(--tp-link)}
.tp-form .input-group{display:flex}
.tp-form .input-group .btn{border:1px solid #c5ced8;background:var(--tp-bar);border-radius:0 4px 4px 0;padding:0 12px;cursor:pointer}
.tp-form .input-group input{border-radius:4px 0 0 4px}
.tp-form .form-check,.tp-form .checkbox{display:flex;gap:10px;align-items:flex-start;font-size:17px}
.tp-form .form-check input{margin-top:6px}
.tp-form .star,.tp-form .form-control-feedback{color:#c00}
.tp-form .invalid{border-color:#c00!important}
.tp-form label.invalid{color:#c00}
.tp-form fieldset{border:0;padding:0;margin:0}
.tp-contact-text{margin-bottom:10px}

.hidden{display:none!important}
.tp-form .form-text{display:block;font-size:15px;color:#555;margin-top:4px}
.tp-form .field-calendar{display:flex}
.tp-form .field-calendar input{flex:1;border-radius:4px 0 0 4px}
.tp-form .field-calendar .btn{flex:0 0 50px;border:1px solid #c5ced8;border-left:0;border-radius:0 4px 4px 0;cursor:pointer;background:var(--tp-bar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center/22px no-repeat}
.tp-form .field-calendar .btn:hover{background-color:#dce4ec}
.icon-calendar{display:none}
.tp-form .control-label .star{color:#c00}
.tp-form .field-spacer .control-label{font-size:15px;font-weight:400}
.tp-form .field-spacer label{font-weight:400;font-size:15px}
.tp-form .red{color:#c00}
/* Datenschutz-Fenster (Bootstrap-Modal aus dem Joomla-Kern, ohne Bootstrap-CSS) */
.modal{position:fixed;inset:0;z-index:1055;display:none;overflow:auto;background:rgba(0,0,0,.55)}
.modal.show{display:block}
.modal-dialog{max-width:900px;width:92%;margin:40px auto;background:#fff;border-radius:6px;overflow:hidden}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;border-bottom:1px solid #e5e5e5}
.modal-title{margin:0!important;font-size:20px}
.btn-close{border:0;background:none;font-size:30px;line-height:1;cursor:pointer;padding:0 4px}
.btn-close::before{content:"\00d7"}
.modal-body{height:70vh}
.modal-body iframe{width:100%;height:100%;border:0}
.modal-backdrop{display:none}
body.modal-open{overflow:hidden}

/* ---------- Fußbereich ---------- */
.tp-footer{background:var(--tp-bar);text-align:center;padding:35px 0}
.tp-totop{display:inline-block;color:#000;line-height:1}
.tp-totop:hover{color:var(--tp-link)}
.tp-footer .mod-menu{list-style:none;margin:10px 0 0;padding:0;display:flex;justify-content:center;flex-wrap:wrap}
.tp-footer .mod-menu li + li::before{content:"";display:inline-block;width:1px;height:20px;background:#ddd;margin:0 10px;vertical-align:middle}
.tp-footer .mod-menu a{color:#000;font-size:22px;line-height:20px}
.tp-footer h6,.tp-footer .tp-footer-hints{font-size:12px;font-weight:300;line-height:18px;color:#444;margin:30px 0 0}
.tp-footer h6 a{color:var(--tp-link)}

/* ---------- Pagination ---------- */
.tp-pagination ul,.pagination{list-style:none;display:flex;gap:6px;padding:0;flex-wrap:wrap}
.pagination .page-link{display:block;padding:4px 12px;border:1px solid var(--tp-line);border-radius:4px}
.pagination .active .page-link{background:var(--tp-link);color:#fff;border-color:var(--tp-link)}

/* ---------- Tablet / Smartphone ---------- */
@media (max-width:1240px){
	.tp-nav .mod-menu > li > a,.tp-nav .mod-menu > li > span{padding:0 7px;font-size:12.5px}
	.tp-logo{width:130px}
}
@media (max-width:1099px){
	:root{--tp-gutter:25px;--tp-header-h:0px}
	body{font-size:20px;line-height:1.7}
	.tp-header-inner{justify-content:center;align-items:center;min-height:0}
	.tp-logo{margin:20px auto;width:130px}
	.tp-burger{display:block;position:absolute;left:var(--tp-gutter);top:22px;width:36px;height:36px;border:0;background:none;cursor:pointer;padding:6px 4px;color:#000}
	.tp-burger-lines,.tp-burger-lines::before,.tp-burger-lines::after{display:block;width:28px;height:4px;background:currentColor;border-radius:1px;position:relative}
	.tp-burger-lines::before,.tp-burger-lines::after{content:"";position:absolute;left:0}
	.tp-burger-lines::before{top:-9px}.tp-burger-lines::after{top:9px}
	.tp-burger-lines{top:9px}
	.tp-nav{position:fixed;top:0;left:0;bottom:0;height:100vh;height:100dvh;width:280px;max-width:85vw;background:#333;padding:60px 0 30px;overflow-y:auto;transform:translateX(-100%);transition:transform .3s ease;z-index:1001;margin:0}
	.tp-nav.is-open{transform:none}
	.tp-nav-close{display:block;position:absolute;top:10px;right:14px;background:none;border:0;color:#fff;font-size:36px;line-height:1;cursor:pointer}
	.tp-nav .mod-menu{display:block}
	.tp-nav .mod-menu > li > a,.tp-nav .mod-menu > li > span{color:#ddd;line-height:1.4;padding:12px 20px;font-size:15px;border-bottom:1px solid rgba(255,255,255,.08);white-space:normal}
	.tp-nav .mod-menu > li.active > a,.tp-nav .mod-menu > li.current > a,.tp-nav .mod-menu > li > a:hover{color:#fff}
	.tp-nav .mod-menu__sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:transparent;padding:0 0 8px;min-width:0}
	.tp-nav .mod-menu__sub a{color:#bbb;padding:7px 20px 7px 38px;font-size:15px}
	.tp-nav .mod-menu__sub a:hover,.tp-nav .mod-menu__sub .current > a{background:transparent;color:#fff}
	.tp-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:1000}
	.tp-header.is-fixed .tp-logo{margin:8px auto;width:80px}
	.tp-header.is-fixed .tp-burger{top:12px}
	.tp-hero{aspect-ratio:auto;height:360px}
	.hero-top .tp-hero-text{left:30px;top:20px}
	.tp-hero-title{font-size:36px}
	.tp-hero-sub{font-size:20px}
	.page-header h1,.tp-page-title,h1{line-height:1.45;font-size:22px}
	/* Kundenstimmen als Karussell */
	.tp-voices{text-align:left}
	.tp-voices-head{display:block;margin:0 auto 15px;width:100%;max-width:300px}
	.tp-voices-viewport{height:auto;-webkit-mask-image:none;mask-image:none}
	.tp-voices-track{display:flex;transition:transform .5s ease}
	.tp-voice{flex:0 0 100%;padding:0 2px}
	.tp-voice-title{font-size:22px;font-weight:300;color:#444}
	.tp-voice-title a{color:#444}
	.tp-voice-text{font-size:16px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
	.tp-voice-more{display:inline-block;font-size:16px;margin-top:4px}
	.tp-voices-nav{display:flex;justify-content:center;gap:10px;margin-top:20px}
	.tp-voices-nav button{background:none;border:0;color:#999;cursor:pointer;padding:4px}
	.tp-voices-nav button:hover{color:#000}
	.tp-seminar{grid-template-columns:1fr;gap:15px;padding:20px}
	.tp-seminar-date{display:flex;gap:10px;align-items:baseline;justify-content:center}
	.tp-seminar-day{font-size:28px}
	.tp-footer .mod-menu a{font-size:18px}
}
@media (min-width:1100px){.tp-overlay{display:none!important}}

/* Druck */
@media print{.tp-header,.tp-hero-wrap,.tp-footer,.tp-voices{display:none}body{font-size:12pt}}

/* =====================================================================
   Version 1.1.0 – Effekte, Themen-, Kontakt- und Fehlerseiten
   ===================================================================== */

/* Lesefortschritt oben */
.tp-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:1100;pointer-events:none}
.tp-progress span{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,var(--tp-link),var(--tp-menu))}

/* Kopfbereich: Schatten im fixierten Zustand, animierte Unterstreichung im Menü */
.tp-header.is-fixed{box-shadow:0 6px 24px rgba(0,0,40,.12)}
@media (min-width:1100px){
	.tp-nav .mod-menu > li > a::after{content:"";position:absolute;left:11px;right:11px;bottom:14px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:50% 50%;transition:transform .3s ease}
	.tp-nav .mod-menu > li > a{position:relative}
	.tp-nav .mod-menu > li > a:hover::after,.tp-nav .mod-menu > li:hover > a::after,.tp-nav .mod-menu > li.active > a::after{transform:scaleX(1)}
	.tp-header.is-fixed .tp-nav .mod-menu > li > a::after{bottom:12px}
}

/* Kopfbild: Text gleitet herein, feine Linie wächst, Parallaxe per JS */
.tp-hero-media{will-change:transform}
.tp-js .tp-hero-title{animation:tp-rise 1s cubic-bezier(.2,.7,.2,1) .15s both}
.tp-js .tp-hero-sub{animation:tp-rise 1s cubic-bezier(.2,.7,.2,1) .45s both}
.tp-hero-title::after{content:"";display:block;height:3px;width:80px;margin-top:10px;background:currentColor;opacity:.85;transform-origin:0 50%;animation:tp-grow 1.1s cubic-bezier(.2,.7,.2,1) .7s both}
.hero-center .tp-hero-title::after{margin-left:auto;margin-right:auto;transform-origin:50% 50%}
@keyframes tp-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes tp-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* Inhalte erscheinen beim Scrollen */
.tp-js .tp-reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.tp-js .tp-reveal.is-visible{opacity:1;transform:none}

/* Einleitung, Karten, Chips, Buttons */
.tp-lead{font-size:1.1em;line-height:1.6;color:#222}
.tp-kicker{font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--tp-link);margin:25px 0 -10px;font-weight:700}
.tp-small{font-size:15px;color:#666}
.tp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin:20px 0 30px}
.tp-card{position:relative;display:block;padding:22px 24px;background:#fff;border:1px solid #dfe6ee;border-radius:10px;color:inherit;text-decoration:none!important;box-shadow:0 2px 10px rgba(0,0,40,.04);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;overflow:hidden}
.tp-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--tp-link),var(--tp-menu));transform:scaleY(.25);transform-origin:50% 0;transition:transform .35s ease}
.tp-card strong{display:block;font-size:20px;color:#000;margin-bottom:6px}
.tp-card span{display:block;font-size:17px;line-height:1.5;color:#444}
a.tp-card:hover,a.tp-card:focus{transform:translateY(-5px);box-shadow:0 14px 30px rgba(0,0,60,.12);border-color:#c8d6e5}
a.tp-card:hover::before,a.tp-card:focus::before{transform:scaleY(1)}
a.tp-card strong::after{content:" →";color:var(--tp-link);opacity:0;margin-left:-6px;transition:opacity .3s,margin .3s}
a.tp-card:hover strong::after{opacity:1;margin-left:0}
.tp-chips{display:flex;flex-wrap:wrap;gap:10px}
.tp-chip,.tp-tags a{display:inline-block;padding:4px 14px;border-radius:999px;background:var(--tp-bar);color:#223;font-size:16px;text-decoration:none!important;transition:background .25s,color .25s,transform .25s}
.tp-chip:hover,.tp-tags a:hover{background:var(--tp-link);color:#fff;transform:translateY(-2px)}
.tp-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:17px}
.tp-button{position:relative;overflow:hidden}
.tp-button::after{content:"";position:absolute;top:0;left:-60%;width:40%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .6s ease}
.tp-button:hover::after{left:130%}
.tp-button-ghost{background:transparent;color:var(--tp-link)}
.tp-button-ghost:hover{background:var(--tp-link);color:#fff}
.tp-button-light{background:#fff;border-color:#fff;color:var(--tp-menu)}
.tp-button-light:hover{background:transparent;color:#fff;border-color:#fff}
.tp-button-outline{background:transparent;border-color:#fff;color:#fff}
.tp-button-outline:hover{background:#fff;color:var(--tp-menu)}
.tp-cta-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}

/* Schritte (Wie funktioniert Vertrieb) */
ol.tp-steps{list-style:none;counter-reset:step;padding:0;margin:20px 0}
ol.tp-steps li{counter-increment:step;position:relative;padding:12px 0 12px 64px;border-bottom:1px solid var(--tp-line)}
ol.tp-steps li::before{content:counter(step);position:absolute;left:0;top:10px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:20px;color:#fff;background:linear-gradient(135deg,var(--tp-link),var(--tp-menu));box-shadow:0 4px 12px rgba(0,0,120,.2)}
.tp-facts-list{list-style:none;padding:15px 20px;background:var(--tp-bar);border-radius:8px;display:flex;flex-wrap:wrap;gap:10px 30px}

/* Kasten "Aufruf" in Texten */
.tp-cta-inline{margin:35px 0 10px;padding:25px 30px;border-radius:12px;background:linear-gradient(135deg,#f3f7fb,#e4ecf5);border:1px solid #d7e2ee}
.tp-cta-inline p:first-child{font-weight:700;margin:0}

/* Aufruf-Band unten auf allen Seiten */
.tp-bottom-a .tp-module{margin:0}
.tp-cta-band{position:relative;overflow:hidden;color:#fff;background:linear-gradient(120deg,#000099,#4489c2,#2a6aa0,#000099);background-size:300% 300%;animation:tp-gradient 16s ease infinite;padding:60px 0;text-align:center}
.tp-cta-band::before,.tp-cta-band::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}
.tp-cta-band::before{width:420px;height:420px;left:-120px;top:-200px;animation:tp-float 14s ease-in-out infinite}
.tp-cta-band::after{width:300px;height:300px;right:-80px;bottom:-160px;animation:tp-float 11s ease-in-out infinite reverse}
.tp-cta-band-inner{position:relative;max-width:900px;margin:0 auto;padding:0 var(--tp-gutter)}
.tp-cta-title{font-size:34px;font-weight:700;line-height:1.25;margin:0 0 10px;color:#fff}
.tp-cta-text{font-size:20px;opacity:.92;margin:0}
.tp-cta-band .tp-cta-buttons{justify-content:center;margin-top:25px}
@keyframes tp-gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes tp-float{0%,100%{transform:translate(0,0)}50%{transform:translate(30px,20px)}}
@media (prefers-reduced-motion:reduce){.tp-cta-band,.tp-cta-band::before,.tp-cta-band::after{animation:none}}

/* Testimonials: Anführungszeichen */
.tp-voices{position:relative}
.tp-voices::before{content:"\201C";position:absolute;right:10px;top:-30px;font-size:160px;line-height:1;color:var(--tp-link);opacity:.12;font-family:Georgia,serif;pointer-events:none}

/* Seminare */
.tp-seminar{transition:transform .3s ease,box-shadow .3s ease}
.tp-seminar:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,60,.1)}
.tp-seminar-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--tp-menu);min-height:110px}
.tp-seminar-date .tp-seminar-month{font-size:14px;line-height:1.3}
.tp-seminar-actions{display:flex;flex-wrap:wrap;gap:12px}

/* Kontakt */
.tp-contact-grid{display:grid;grid-template-columns:minmax(260px,380px) 1fr;gap:40px;margin:25px 0 20px;align-items:start}
.tp-contact-card{position:sticky;top:120px;background:linear-gradient(160deg,#f6f9fc,#e7eef6);border:1px solid #d7e2ee;border-radius:14px;padding:28px}
.tp-contact-name{font-size:24px;font-weight:700;margin:0}
.tp-contact-role{font-size:16px;color:#555;margin:2px 0 18px}
.tp-contact-list{list-style:none;padding:0;margin:0 0 20px}
.tp-contact-list li{display:flex;gap:14px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #d7e2ee;font-size:18px;line-height:1.5}
.tp-contact-list svg{flex:0 0 22px;color:var(--tp-link);margin-top:3px}
.tp-contact-quick p{margin:8px 0;font-size:17px}
.tp-contact-formtitle{font-size:24px;margin:0 0 5px}
.tp-contact-formwrap .tp-form{margin-top:10px}

/* Themen */
.tp-topic-text h2{margin-top:35px}
.tp-topic-items h2,.tp-topic-more h2{font-size:20px;margin-top:40px}

/* Fehlerseite */
.tp-error-hero{text-align:center;padding:40px 0 10px;max-width:760px;margin:0 auto}
.tp-error-code{font-size:clamp(90px,18vw,180px);font-weight:700;line-height:1;margin:0;background:linear-gradient(120deg,var(--tp-menu),var(--tp-link),#7fb3dc,var(--tp-menu));background-size:300% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:tp-gradient 8s ease infinite}
.tp-error-hero h1{font-size:30px;line-height:1.3;color:#000;font-weight:700;margin:10px 0 15px}
.tp-error-links{margin-top:30px}
.tp-error-debug{font-size:13px;white-space:pre-wrap;background:#f6f6f6;padding:15px;overflow:auto}

/* Schwebender Nach-oben-Knopf */
.tp-fab-top{position:fixed;right:22px;bottom:22px;z-index:990;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--tp-menu);color:#fff;box-shadow:0 8px 20px rgba(0,0,80,.25);opacity:0;transform:translateY(20px) scale(.8);pointer-events:none;transition:opacity .3s,transform .3s,background .3s}
.tp-fab-top.is-visible{opacity:1;transform:none;pointer-events:auto}
.tp-fab-top:hover{background:var(--tp-link);color:#fff}

@media (max-width:1099px){
	.tp-contact-grid{grid-template-columns:1fr;gap:25px}
	.tp-contact-card{position:static}
	.tp-cta-title{font-size:26px}
	.tp-cta-text{font-size:17px}
	.tp-cta-band{padding:45px 0}
	.tp-card strong{font-size:18px}
	.tp-card span{font-size:16px}
	ol.tp-steps li{padding-left:56px}
	.tp-error-hero h1{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
	.tp-js .tp-reveal{opacity:1;transform:none;transition:none}
	.tp-js .tp-hero-title,.tp-js .tp-hero-sub,.tp-hero-title::after,.tp-error-code{animation:none}
}

.error-page .tp-nav .mod-menu > li.active > a{font-weight:400;color:var(--tp-menu)}
.error-page .tp-nav .mod-menu > li.active > a::after{transform:scaleX(0)}

/* Agentur-Kennung im Impressum */
.tp-agency{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.tp-agency-logo{display:inline-block;line-height:0}
.tp-agency-logo img{max-height:70px;width:auto;transition:transform .3s ease}
.tp-agency-logo:hover img{transform:scale(1.04)}
.tp-agency-logo span{display:none}
.tp-agency-logo.tp-agency-text{line-height:1.2;padding:10px 18px;border-radius:8px;background:var(--tp-bar);border:1px solid #d7e2ee;text-decoration:none!important}
.tp-agency-logo.tp-agency-text span{display:inline;font-weight:700;letter-spacing:.05em;text-transform:uppercase;font-size:15px;color:var(--tp-menu)}

/* =====================================================================
   Version 1.2.0 – Seitenkopf, Wellen, Glas-Header, weitere Effekte
   ===================================================================== */

/* Header: bleibt unverändert sichtbar, beim Scrollen Glas-Effekt */
.tp-header{transition:background .3s ease,box-shadow .3s ease}
.tp-header.is-fixed{background:rgba(234,239,244,.86);-webkit-backdrop-filter:saturate(160%) blur(12px);backdrop-filter:saturate(160%) blur(12px);border-bottom-color:rgba(0,0,0,.6)}

/* Wellenkante unter Kopfbild und Seitenkopf */
.tp-wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:46px;z-index:2;pointer-events:none}
.tp-hero .tp-wave{height:40px}

/* Seitenkopf */
.tp-pagehead{position:relative;overflow:hidden;color:#fff;background:#0a1f5c;padding:64px 0 84px;isolation:isolate}
.tp-pagehead-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45;z-index:-2;transform-origin:60% 40%;animation:tp-kenburns 22s ease-in-out infinite alternate}
.tp-pagehead::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,rgba(0,0,153,.92) 0%,rgba(20,60,160,.78) 45%,rgba(68,137,194,.55) 100%)}
.tp-pagehead-orb{position:absolute;border-radius:50%;z-index:-1;filter:blur(2px);background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.28),rgba(255,255,255,0) 70%)}
.tp-orb-1{width:380px;height:380px;right:-80px;top:-160px;animation:tp-float 13s ease-in-out infinite}
.tp-orb-2{width:220px;height:220px;right:22%;bottom:-120px;animation:tp-float 10s ease-in-out infinite reverse}
.tp-orb-3{width:140px;height:140px;left:8%;top:-60px;animation:tp-float 16s ease-in-out infinite}
.tp-pagehead-inner{position:relative}
.tp-crumbs{margin:0 0 10px;font-size:14px;letter-spacing:.06em;text-transform:uppercase;opacity:.85;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tp-crumbs a{color:#fff;text-decoration:none}
.tp-crumbs a:hover{text-decoration:underline}
.tp-crumbs span{opacity:.6}
.tp-pagehead-title{margin:0;font-size:clamp(30px,4.2vw,48px);line-height:1.15;font-weight:700;color:#fff;max-width:900px;text-shadow:0 2px 18px rgba(0,0,40,.25)}
.tp-pagehead-title::after{content:"";display:block;width:90px;height:4px;margin-top:18px;border-radius:2px;background:linear-gradient(90deg,#fff,rgba(255,255,255,.2));transform-origin:0 50%;animation:tp-grow 1.1s cubic-bezier(.2,.7,.2,1) .6s both}
.tp-js .tp-crumbs{animation:tp-rise .9s cubic-bezier(.2,.7,.2,1) .05s both}
.tp-js .tp-pagehead-title{animation:tp-rise 1s cubic-bezier(.2,.7,.2,1) .2s both}
/* Überschrift im Inhalt bleibt für Suchmaschinen/Screenreader erhalten, wird aber nicht doppelt angezeigt */
.has-pagehead .tp-main .page-header,.has-pagehead .tp-main .tp-page-title{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.has-pagehead .tp-main{padding-top:20px}
.has-pagehead .tp-kicker{display:none}

/* Überschriften im Text mit wachsendem Akzentstrich */
.tp-main .com-content-article__body h2,.tp-main .tp-topic-text h2,.tp-contact-formtitle{position:relative;padding-bottom:10px}
.tp-main .com-content-article__body h2::after,.tp-main .tp-topic-text h2::after,.tp-contact-formtitle::after{content:"";position:absolute;left:0;bottom:0;width:48px;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--tp-link),var(--tp-menu));transform:scaleX(0);transform-origin:0 50%;transition:transform .9s cubic-bezier(.2,.7,.2,1) .2s}
.tp-main h2.is-visible::after,.tp-contact-formtitle.is-visible::after,html:not(.tp-js) .tp-main h2::after{transform:scaleX(1)}

/* Listen mit Häkchen */
.tp-main .com-content-article__body ul:not(.tp-facts-list) ,.tp-main .tp-topic-text ul:not(.tp-facts-list){list-style:none;padding-left:0}
.tp-main .com-content-article__body ul:not(.tp-facts-list) > li,.tp-main .tp-topic-text ul:not(.tp-facts-list) > li{position:relative;padding-left:36px;margin:8px 0}
.tp-main .com-content-article__body ul:not(.tp-facts-list) > li::before,.tp-main .tp-topic-text ul:not(.tp-facts-list) > li::before{content:"";position:absolute;left:0;top:.35em;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,var(--tp-link),var(--tp-menu)) center/100% no-repeat}
.tp-main .com-content-article__body ul:not(.tp-facts-list) > li::after,.tp-main .tp-topic-text ul:not(.tp-facts-list) > li::after{content:"";position:absolute;left:7px;top:calc(.35em + 5px);width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}

/* Lichtkegel, der der Maus auf Karten folgt */
.tp-card,.tp-seminar,.tp-contact-card{--mx:50%;--my:50%}
.tp-card::after,.tp-seminar::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;opacity:0;transition:opacity .3s;background:radial-gradient(260px circle at var(--mx) var(--my),rgba(68,137,194,.13),transparent 60%)}
.tp-seminar{position:relative;overflow:hidden}
.tp-card:hover::after,.tp-seminar:hover::after{opacity:1}

/* Bilder im Inhalt: sanfter Zoom */
.tp-main .com-content-article__body img{border-radius:8px;transition:transform .6s ease,box-shadow .6s ease}
.tp-main .com-content-article__body a:hover img{transform:scale(1.03);box-shadow:0 12px 30px rgba(0,0,60,.15)}

/* Rechtstexte: angenehme Zeilenlänge */
.tp-narrow .tp-main .com-content-article__body{max-width:860px}
.tp-narrow .tp-main .com-content-article__body h2{font-size:21px;margin-top:34px}

/* Fußbereich mit Wellenkante */
.tp-footer{position:relative}
.tp-footer::before{content:"";position:absolute;left:0;right:0;top:-38px;height:40px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,24 C320,0 620,40 900,18 C1140,0 1300,14 1440,8 L1440,40 L0,40 Z' fill='%23eaeff4'/%3E%3C/svg%3E") center/100% 100% no-repeat;pointer-events:none}
.tp-bottom-a + .tp-footer::before{display:none}

@media (max-width:1099px){
	.tp-pagehead{padding:40px 0 64px}
	.tp-crumbs{font-size:12px}
	.tp-orb-1{width:240px;height:240px}
	.tp-wave{height:28px}
}
@media (prefers-reduced-motion:reduce){
	.tp-pagehead-img,.tp-pagehead-orb,.tp-js .tp-crumbs,.tp-js .tp-pagehead-title,.tp-pagehead-title::after{animation:none}
}

/* Version 1.2.1 – Menü auf Höhe des Logos */
@media (min-width:1100px){
	.tp-header-inner{align-items:center;min-height:0}
	.tp-logo{margin:22px 0 22px 15px}
	.tp-nav{align-self:center}
	.tp-nav .mod-menu > li > a,.tp-nav .mod-menu > li > span{line-height:44px}
	.tp-nav .mod-menu > li > a::after{bottom:6px}
	.tp-header.is-fixed .tp-nav .mod-menu > li > a::after{bottom:6px}
}
