/* =========================================================================
   Tieraerztewelt design system. Tuerkis/Gruen, premium, responsive.
   ========================================================================= */

:root{
	--tw-primary:#0a9e8f;
	--tw-primary-dark:#087b70;
	--tw-primary-light:#e6f6f4;
	--tw-accent:#f5a623;
	--tw-accent-dark:#d98a09;
	--tw-ink:#122a2a;
	--tw-muted:#5c7573;
	--tw-line:#dfeae8;
	--tw-bg:#f4f8f7;
	--tw-card:#ffffff;
	--tw-radius:16px;
	--tw-radius-sm:10px;
	--tw-shadow:0 6px 24px rgba(12,60,55,.08);
	--tw-shadow-lg:0 14px 40px rgba(12,60,55,.14);
	--tw-max:1180px;
	--tw-font:'Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
	margin:0;font-family:var(--tw-font);color:var(--tw-ink);
	background:var(--tw-bg);line-height:1.62;font-size:17px;
	-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--tw-primary-dark);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.22;color:var(--tw-ink);margin:0 0 .5em}
h1{font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.02em}
h2{font-size:clamp(1.35rem,2.6vw,1.9rem);letter-spacing:-.01em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

.tw-container{max-width:var(--tw-max);margin:0 auto;padding:0 20px}
.tw-container--narrow{max-width:820px}
.tw-skip{position:absolute;left:-999px;top:0;background:#fff;padding:10px 16px;z-index:1000;border-radius:0 0 8px 0}
.tw-skip:focus{left:0}

/* ---- Buttons ---------------------------------------------------------- */
.tw-btn{
	display:inline-flex;align-items:center;justify-content:center;gap:.4em;
	padding:.72em 1.35em;border-radius:999px;font-weight:700;font-size:1rem;
	border:2px solid transparent;cursor:pointer;transition:.16s;text-decoration:none;line-height:1;
}
.tw-btn:hover{text-decoration:none;transform:translateY(-1px)}
.tw-btn--primary{background:var(--tw-primary);color:#fff}
.tw-btn--primary:hover{background:var(--tw-primary-dark);color:#fff}
.tw-btn--accent{background:var(--tw-accent);color:#3a2600}
.tw-btn--accent:hover{background:var(--tw-accent-dark);color:#3a2600}
.tw-btn--ghost{background:#fff;color:var(--tw-primary-dark);border-color:var(--tw-line)}
.tw-btn--ghost:hover{border-color:var(--tw-primary)}
.tw-btn--block{width:100%;margin-bottom:8px}

/* ---- Header ----------------------------------------------------------- */
.tw-header{background:#fff;border-bottom:1px solid var(--tw-line);position:relative;z-index:100;box-shadow:0 2px 12px rgba(12,60,55,.04)}
.tw-header__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px}
.tw-brand__link,.tw-brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;color:var(--tw-ink)}
.tw-brand__link:hover{text-decoration:none}
.tw-brand__mark{font-size:1.6rem}
.tw-brand__name{font-size:1.25rem;letter-spacing:-.02em}
.tw-nav{display:flex;align-items:center;gap:22px}
.tw-nav__list{display:flex;gap:20px;list-style:none;margin:0;padding:0}
.tw-nav__list a{color:var(--tw-ink);font-weight:600}
.tw-nav__list a:hover{color:var(--tw-primary-dark);text-decoration:none}
.tw-nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.tw-nav-toggle span{width:26px;height:3px;background:var(--tw-ink);border-radius:2px;transition:.2s}

.tw-searchform{display:flex;align-items:center;background:var(--tw-bg);border:1px solid var(--tw-line);border-radius:999px;overflow:hidden}
.tw-searchform__input{border:0;background:none;padding:.5em .9em;font-size:.95rem;min-width:180px;color:var(--tw-ink)}
.tw-searchform__input:focus{outline:none}
.tw-searchform__btn{border:0;background:var(--tw-primary);color:#fff;padding:.5em .8em;cursor:pointer}
.tw-nav__search--wide .tw-searchform{max-width:520px}

/* ---- Hero ------------------------------------------------------------- */
.tw-hero{background:linear-gradient(160deg,#0a9e8f 0%,#0c7d78 55%,#0b615f 100%);color:#fff;padding:56px 0 64px;position:relative;overflow:hidden}
.tw-hero__inner{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.tw-hero__title{color:#fff;margin-bottom:.35em}
.tw-hero__title span{color:#ffe3ad}
.tw-hero__lead{font-size:1.15rem;color:#e7fbf8;max-width:36em;margin-bottom:1.4em}
.tw-hero__search{display:flex;gap:8px;background:#fff;padding:8px;border-radius:999px;box-shadow:var(--tw-shadow-lg);max-width:560px}
.tw-hero__search input{flex:1;border:0;padding:.7em 1.1em;font-size:1.05rem;border-radius:999px;color:var(--tw-ink)}
.tw-hero__search input:focus{outline:none}
.tw-hero__actions{display:flex;gap:12px;margin:20px 0 26px;flex-wrap:wrap}
.tw-hero__stats{display:flex;gap:28px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.tw-hero__stats li{display:flex;flex-direction:column}
.tw-hero__stats strong{font-size:1.7rem;line-height:1}
.tw-hero__stats span{color:#cdeeea;font-size:.9rem;margin-top:3px}
.tw-hero__art img{filter:drop-shadow(0 20px 30px rgba(0,0,0,.2));margin-left:auto}

/* ---- Sections & grids ------------------------------------------------- */
.tw-section{margin:46px 0}
.tw-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.tw-section-title{margin:0 0 14px}
.tw-section__sub{color:var(--tw-muted);margin:.2em 0 0;flex-basis:100%}
.tw-section__more{font-weight:700;white-space:nowrap}
.tw-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:800;color:var(--tw-primary-dark);margin:0 0 .4em}
.tw-eyebrow a{color:var(--tw-primary-dark)}

.tw-grid{display:grid;gap:18px}
.tw-grid--geo{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.tw-grid--cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}

/* ---- Cards ------------------------------------------------------------ */
.tw-card{background:var(--tw-card);border:1px solid var(--tw-line);border-radius:var(--tw-radius);box-shadow:var(--tw-shadow);transition:.18s;overflow:hidden}
.tw-card:hover{box-shadow:var(--tw-shadow-lg);transform:translateY(-3px);border-color:#cfe6e2}
.tw-card__link{display:block;padding:18px;color:inherit}
.tw-card__link:hover{text-decoration:none}
.tw-card__head{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}
.tw-card__avatar{font-size:1.5rem;background:var(--tw-primary-light);width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}
.tw-card__title{font-size:1.12rem;margin:0 0 2px}
.tw-card__sub{color:var(--tw-muted);font-size:.9rem;margin:0}
.tw-card__rating{margin:10px 0 4px;font-size:.92rem}
.tw-card__distance{color:var(--tw-primary-dark);font-weight:600;font-size:.9rem;margin:6px 0 0}
.tw-card__cta{display:inline-block;margin-top:12px;color:var(--tw-primary-dark);font-weight:700;font-size:.92rem}

/* ---- Geo cards -------------------------------------------------------- */
.tw-geo-card{display:block;padding:18px}
.tw-geo-card:hover{text-decoration:none}
.tw-geo-card__top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.tw-geo-card__icon{font-size:1.35rem}
.tw-geo-card__title{font-size:1.15rem;margin:0}
.tw-geo-card__count{margin:0 0 10px;color:var(--tw-muted);font-size:.95rem}
.tw-geo-card__count strong{color:var(--tw-ink);font-size:1.15rem}
.tw-geo-card__meta{display:flex;flex-wrap:wrap;gap:6px}
.tw-geo-card--state{background:linear-gradient(160deg,#fff, #f3faf9)}

/* ---- Badges & chips --------------------------------------------------- */
.tw-badges{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.tw-badge{display:inline-flex;align-items:center;gap:4px;font-size:.78rem;font-weight:700;padding:.28em .7em;border-radius:999px;background:#eef3f2;color:#33514e;border:1px solid transparent}
.tw-badge.is-open{background:#e2f7ec;color:#137a45;border-color:#bde9cf}
.tw-badge.is-closed{background:#fdecec;color:#b23b3b}
.tw-badge.is-notdienst{background:#fdeaea;color:#c62d2d;border-color:#f4c4c4}
.tw-badge.is-booking{background:#fff2db;color:#a5680a;border-color:#f6dca6}
.tw-badge.is-klinik{background:#e9eefb;color:#3452a5}
.tw-badge.is-access{background:#eef3f2;color:#33514e}
.tw-badges--lg .tw-badge{font-size:.86rem;padding:.4em .85em}

.tw-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tw-chip{display:inline-flex;align-items:center;gap:4px;font-size:.82rem;font-weight:700;padding:.3em .75em;border-radius:999px;background:#eef3f2;color:#40605d}
.tw-chip.is-open{background:#e2f7ec;color:#137a45}
.tw-chip.is-notdienst{background:#fdeaea;color:#c62d2d}
.tw-chip.is-booking{background:#fff2db;color:#a5680a}

/* ---- Rating ----------------------------------------------------------- */
.tw-rating{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.tw-rating__stars{color:#f5a623;letter-spacing:1px}
.tw-rating__num{font-weight:800}
.tw-rating__count{color:var(--tw-muted);font-size:.85rem}
.tw-rating__src{color:var(--tw-muted);font-size:.72rem;background:#f0f4f3;padding:.1em .5em;border-radius:6px}

/* ---- Breadcrumbs ------------------------------------------------------ */
.tw-crumbs-wrap{padding:16px 0 0}
.tw-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;font-size:.85rem;color:var(--tw-muted)}
.tw-breadcrumbs li:not(:last-child)::after{content:'›';margin-left:6px;color:#9fb5b2}
.tw-breadcrumbs a{color:var(--tw-muted)}
.tw-breadcrumbs [aria-current]{color:var(--tw-ink);font-weight:600}

/* ---- Archive head ----------------------------------------------------- */
.tw-archive-head{padding:26px 0 6px}
.tw-archive-title{margin:.1em 0 .25em}
.tw-archive-lead{color:var(--tw-muted);font-size:1.08rem;max-width:44em}

/* ---- Map -------------------------------------------------------------- */
.tw-map{border-radius:var(--tw-radius);overflow:hidden;border:1px solid var(--tw-line);box-shadow:var(--tw-shadow);z-index:1}
.leaflet-popup-content{font-family:var(--tw-font)}
.tw-mappop__title{font-weight:800;margin:0 0 3px}
.tw-mappop a{font-weight:700}

/* ---- Load more / links ------------------------------------------------ */
.tw-loadmore{text-align:center;margin-top:26px}
.tw-linklist{list-style:none;padding:0;margin:14px 0 0;column-gap:24px;columns:3}
.tw-linklist li{margin-bottom:6px;break-inside:avoid}
.tw-linklist span{color:var(--tw-muted);font-size:.85rem}
.tw-linklist--pills{columns:auto;display:flex;flex-wrap:wrap;gap:8px}
.tw-linklist--pills li{margin:0}
.tw-linklist--pills a{display:inline-block;background:#fff;border:1px solid var(--tw-line);padding:.35em .8em;border-radius:999px;font-weight:600;font-size:.9rem}
.tw-all-cities{margin-top:18px;background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius-sm);padding:14px 18px}
.tw-all-cities summary{cursor:pointer;font-weight:700;color:var(--tw-primary-dark)}

/* ---- Profile ---------------------------------------------------------- */
.tw-profile{margin:8px 0 40px}
.tw-profile__head{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);padding:26px;box-shadow:var(--tw-shadow);margin:14px 0 22px}
.tw-profile__headmain{display:flex;gap:16px;align-items:flex-start}
.tw-profile__avatar{font-size:2rem;background:var(--tw-primary-light);width:64px;height:64px;border-radius:16px;display:grid;place-items:center;flex:0 0 auto}
.tw-profile__title{margin:0 0 4px}
.tw-profile__loc{color:var(--tw-muted);margin:0 0 8px}
.tw-profile__rating{margin-top:4px}
.tw-profile__status{margin:16px 0 0;font-weight:700}
.tw-profile__status.is-open{color:#137a45}
.tw-profile__status.is-closed{color:#c62d2d}
.tw-profile__grid{display:grid;grid-template-columns:1fr 340px;gap:26px;align-items:start}
.tw-profile__section{margin:0 0 26px}
.tw-profile__side{position:sticky;top:90px;display:flex;flex-direction:column;gap:16px}

.tw-profile__map .tw-map{width:100%}
.tw-profile__hours{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);padding:22px;box-shadow:var(--tw-shadow)}
.tw-profile__hours .tw-contactcard__title{margin-bottom:10px}
.tw-profile__hours .tw-hours{border:0;box-shadow:none;border-radius:0}
.tw-profile__hours .tw-hours th,.tw-profile__hours .tw-hours td{padding:9px 4px;font-size:.94rem}
.tw-profile__hours .tw-hours tr.is-today{background:transparent}
.tw-profile__hours .tw-hours tr.is-today th,.tw-profile__hours .tw-hours tr.is-today td{color:var(--tw-primary-dark);font-weight:700}
.tw-contactcard{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);padding:22px;box-shadow:var(--tw-shadow)}
.tw-contactcard__title{font-size:1.2rem;margin:0 0 14px}
.tw-contactcard__row{display:flex;gap:8px;margin:0 0 10px;align-items:flex-start;word-break:break-word}
.tw-contactcard__cta{margin-top:16px}

.tw-callout{border-radius:var(--tw-radius-sm);padding:14px 18px;margin:0 0 22px}
.tw-callout--emergency{background:#fdeaea;border:1px solid #f4c4c4;color:#8f2020}
.tw-callout p{margin:.3em 0 0}

.tw-hours{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius-sm);overflow:hidden}
.tw-hours th,.tw-hours td{padding:11px 16px;text-align:left;border-bottom:1px solid var(--tw-line)}
.tw-hours th{font-weight:600;width:45%}
.tw-hours tr:last-child th,.tw-hours tr:last-child td{border-bottom:0}
.tw-hours tr.is-today{background:var(--tw-primary-light)}
.tw-today{background:var(--tw-primary);color:#fff;font-size:.7rem;padding:.1em .5em;border-radius:6px;margin-left:6px;font-weight:700}
.tw-closed{color:var(--tw-muted)}
.tw-amenities{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.tw-amenities li{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius-sm);padding:10px 14px}

/* ---- Prose ------------------------------------------------------------ */
.tw-prose{font-size:1.05rem;color:#26403e}
.tw-prose p{margin:0 0 1em}
.tw-prose h2,.tw-prose h3{margin-top:1.4em}
.tw-prose ul,.tw-prose ol{margin:0 0 1em;padding-left:1.3em}
.tw-prose li{margin-bottom:.4em}
.tw-prose a{text-decoration:underline}

/* ---- FAQ -------------------------------------------------------------- */
.tw-faq{margin:44px 0}
.tw-faq__list{display:flex;flex-direction:column;gap:10px}
.tw-faq__item{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius-sm);overflow:hidden}
.tw-faq__item summary{cursor:pointer;padding:16px 20px;font-weight:700;list-style:none;position:relative;padding-right:44px}
.tw-faq__item summary::-webkit-details-marker{display:none}
.tw-faq__item summary::after{content:'+';position:absolute;right:20px;top:14px;font-size:1.3rem;color:var(--tw-primary)}
.tw-faq__item[open] summary::after{content:'−'}
.tw-faq__answer{padding:0 20px 18px;color:#38534f}
.tw-faq__answer p{margin:0}

/* ---- Guide / article -------------------------------------------------- */
.tw-guide-card a{color:inherit;display:block}
.tw-guide-card a:hover{text-decoration:none}
.tw-guide-card__img{aspect-ratio:16/9;overflow:hidden;background:var(--tw-primary-light)}
.tw-guide-card__img img{width:100%;height:100%;object-fit:cover}
.tw-guide-card__img--ph{display:grid;place-items:center;font-size:2.4rem}
.tw-guide-card__body{padding:16px 18px}
.tw-card__excerpt{color:var(--tw-muted);font-size:.95rem;margin:.4em 0 .6em}
.tw-article{max-width:800px;margin:8px auto 40px}
.tw-article__head{margin:14px 0 18px}
.tw-article__meta{color:var(--tw-muted);font-size:.9rem}
.tw-article__hero{border-radius:var(--tw-radius);overflow:hidden;margin-bottom:22px;box-shadow:var(--tw-shadow)}
.tw-article__foot{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);padding:24px;margin-top:30px}

/* ---- Nearby ----------------------------------------------------------- */
.tw-nearby__controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:18px;background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);padding:16px 20px}
.tw-nearby__radius select{padding:.4em .6em;border-radius:8px;border:1px solid var(--tw-line);font-size:1rem}
.tw-nearby__status{color:var(--tw-muted);font-weight:600}
.tw-nearby__layout{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:start}
.tw-nearby__results{max-height:640px;overflow:auto;display:grid;gap:14px;padding-right:4px}

/* ---- Page / 404 ------------------------------------------------------- */
.tw-page{background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);padding:32px;margin:14px 0 40px;box-shadow:var(--tw-shadow)}
.tw-404{text-align:center;padding:60px 0}
.tw-404__mark{font-size:3rem}
.tw-404 .tw-nav__search{max-width:480px;margin:18px auto}
.tw-404 .tw-hero__actions{justify-content:center}
.tw-empty{color:var(--tw-muted);background:#fff;border:1px dashed var(--tw-line);border-radius:var(--tw-radius-sm);padding:22px;text-align:center}

/* ---- Ads -------------------------------------------------------------- */
.tw-ad{margin:26px 0;text-align:center;background:#fbfdfc;border:1px dashed var(--tw-line);border-radius:var(--tw-radius-sm);padding:10px;min-height:60px}
.tw-ad__label{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#9fb5b2;margin-bottom:6px}

/* ---- Footer ----------------------------------------------------------- */
.tw-footer{background:#0c2b2a;color:#c7ded9;margin-top:50px;padding:48px 0 26px}
.tw-footer a{color:#c7ded9}
.tw-footer a:hover{color:#fff}
.tw-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-bottom:30px;border-bottom:1px solid #1c433f}
.tw-footer .tw-brand__name{color:#fff}
.tw-footer__tag{color:#9dbdb7;margin:12px 0}
.tw-footer__title{color:#fff;font-size:1rem;margin:0 0 12px}
.tw-footer__links{list-style:none;padding:0;margin:0}
.tw-footer__links li{margin-bottom:8px}
.tw-footer__bottom{padding-top:20px;font-size:.85rem;color:#8fb0aa}
.tw-footer__note{color:#77938e;font-size:.8rem}

/* ---- Cookie consent --------------------------------------------------- */
.tw-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:1000;background:#fff;border:1px solid var(--tw-line);border-radius:var(--tw-radius);box-shadow:var(--tw-shadow-lg);max-width:560px;margin:0 auto}
.tw-consent__inner{padding:18px 20px}
.tw-consent__text{margin:0 0 12px;font-size:.92rem;color:#2b4744}
.tw-consent__actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tw-consent__link{font-size:.85rem;margin-left:auto}

/* ---- Pagination (only for blog/ratgeber) ------------------------------ */
.tw-pagination{margin-top:28px;text-align:center}
.tw-pagination .page-numbers{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--tw-line);border-radius:10px;margin:0 3px;background:#fff;font-weight:700}
.tw-pagination .current{background:var(--tw-primary);color:#fff;border-color:var(--tw-primary)}

/* ---- Responsive ------------------------------------------------------- */
@media(max-width:900px){
	.tw-hero__inner{grid-template-columns:1fr}
	.tw-hero__art{display:none}
	.tw-profile__grid{grid-template-columns:1fr}
	.tw-profile__side{position:static}
	.tw-nearby__layout{grid-template-columns:1fr}
	.tw-footer__grid{grid-template-columns:1fr 1fr}
	.tw-linklist{columns:2}
}
@media(max-width:760px){
	body{font-size:16px}
	.tw-nav-toggle{display:flex}
	.tw-nav{position:fixed;inset:70px 0 auto 0;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:10px 20px 20px;border-bottom:1px solid var(--tw-line);box-shadow:var(--tw-shadow-lg);transform:translateY(-140%);transition:transform .25s;max-height:calc(100vh - 70px);overflow:auto}
	.tw-nav.is-open{transform:translateY(0)}
	.tw-nav__list{flex-direction:column;gap:0}
	.tw-nav__list li{border-bottom:1px solid var(--tw-line)}
	.tw-nav__list a{display:block;padding:14px 0}
	.tw-nav__search{margin-top:12px}
}
@media(max-width:560px){
	.tw-footer__grid{grid-template-columns:1fr}
	.tw-linklist{columns:1}
	.tw-hero__search{flex-direction:column;border-radius:var(--tw-radius)}
	.tw-hero__search .tw-btn{width:100%}
	.tw-hero__stats{gap:18px}
	.tw-consent__actions .tw-btn{flex:1}
}
