/*
* texterjobs.css – gemeinsame Basis des öffentlichen Templates
*
* Enthält Theme-Tokens, Header, Navigation, Joblisten, Sidebar, Footer und
* global verwendete Komponenten. Seitenspezifische Regeln liegen in den
* ergänzenden Dateien home.css, job-detail.css, post.css, watchlist.css,
* static-pages.css und sidebar-map.css.
*
* Die Dateien bleiben bewusst lesbar. Eine optionale Minifizierung erfolgt
* erst im Deployment.
*/

/* ─── Theme / Design Tokens ──────────────────────────────────────────────── */
:root {
/* Primary / Accent */
--color-primary:       #1e3a8a;  /* Blue-800 (Royal-Blue) – deep, classic */
--color-primary-light: #2563eb;  /* Blue-600 – vibrant */
--color-primary-dark:  #1e1b4b;  /* Indigo-950 – sehr dunkel, premium */
--color-accent:        #2563eb;  /* Blue-600 – vibrant CTA, modern */
--color-accent-hover:  #1d4ed8;  /* Blue-700 – Hover */

/* Status (modern/neutral – keine Brand-Funktion) */
--color-success:       #10b981;  /* Emerald-500 */
--color-warning:       #f59e0b;  /* Amber-500 */
--color-error:         #ef4444;  /* Red-500 */

/* Flächen / Text – dezentes neutrales Grau */
--color-bg:            #f7f7f7;
--color-bg-card:       #ffffff;
--color-bg-hover:      #ededed;
--color-bg-subtle:     #ededed;
--color-text:          #1f2933;
--color-text-light:    #475569;
--color-text-muted:    #94a3b8;
--color-border:        #e2e8f0;
--color-border-light:  #ededed;
--color-shadow:        rgba(30, 27, 75, 0.06);
--color-shadow-md:     rgba(30, 27, 75, 0.12);

/* Header / Nav – dunkles Navy + Klavierlack-Schwarz */
--color-header-bg:     #1a2134;  /* dunkles Navy (aus dem Textertool) */
--color-cta:           #eaae13;  /* Amber – Akzent des aktiven Tool-Tabs */
/* Klavierlack: Glanzreflex oben + tiefschwarzer Verlauf (Navi & Section-Header) */
--nav-gloss: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 10%, rgba(255,255,255,0) 26%),
             linear-gradient(180deg, #232327 0%, #101013 45%, #030304 100%);

/* Hero-Gradient: linearer Basis-Layer (wird im .hero-Block mit Mesh-Layern überlagert) */
--hero-gradient-start: #14161b;  /* fast Schwarz (Tool unten links) */
--hero-gradient-mid:   #1a2134;  /* dunkles Navy */
--hero-gradient-end:   #263865;  /* helleres Navy (Tool oben rechts) */

/* Mesh-Highlights (RGB-Tripel für rgba() in den radialen Layern) */
--hero-mesh-1: 76, 104, 170;     /* heller Navy-Glow – oben-links */
--hero-mesh-2: 46, 155, 250;     /* frisches Blau – unten-rechts */
--hero-mesh-3: 37, 99, 235;      /* Blau – Mitte-Akzent */

/* Glaseffekt */
--glass-blur:         blur(10px);

/* Footer – dunkles Navy + Gold */
--color-footer-bg:     #10141f;
--color-footer-bg-alt: #22325a;
--color-footer-link:   #d4cbb8;
--color-footer-link-hover: #f5d99b;

/* Kategorie-Icon-Badge */
--cat-icon-bg:        #2563eb;  /* Blue-600 Default (wird pro Kategorie überschrieben) */
--cat-icon-fg:        #ffffff;
}

/* ─── Globales Theme ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { color: var(--color-primary); }

a {
color: var(--color-accent);
text-decoration: none;
}
a:hover {
color: var(--color-accent-hover);
text-decoration: underline;
}

label { color: var(--color-primary); }
.field-error { color: var(--color-error); }
.job-description a { color: var(--color-accent); }
.textile-help th { color: var(--color-primary); }

/* ─── Layout-Anpassung: Grauer Bereich mit weißem Rand ─────────────────── */
body {
background: #fff;
}

.page-wrapper {
background: var(--color-bg);
max-width: calc(var(--container-width) + 48px);
margin: 0 auto;
min-height: calc(100vh - 160px);
border-left: 1px solid var(--color-border-light);
border-right: 1px solid var(--color-border-light);
}

/* ─── Button-Varianten ───────────────────────────────────────────────────── */
/* "+ Anzeige aufgeben" (Header & Hero): Amber wie der aktive Tab im
   Textanalyse-Tool – sitzt kontrastreich auf dem Navy-Header/Hero.
   Alle übrigen Buttons bleiben blau. */
.btn-primary.btn-post-job,
.btn-primary.btn-post-job:visited {
background: linear-gradient(135deg, var(--color-cta) 0%, #f5c542 100%);
color: #211a02;
box-shadow: 0 2px 10px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary.btn-post-job:hover {
background: linear-gradient(135deg, #d99e0b 0%, #eab823 100%);
color: #1a1401;
box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-primary {
background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
color: #fff;
box-shadow: 0 2px 8px var(--color-shadow-md);
}
.btn-primary:hover {
background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-primary) 100%);
color: #fff;
box-shadow: 0 4px 14px var(--color-shadow-md);
}
.btn-secondary {
background: #fff;
color: var(--color-primary);
border: 2px solid var(--color-border);
}
.btn-secondary:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.btn-danger {
background: linear-gradient(135deg, #e74c3c, #c0392b);
color: #fff;
}
.btn-danger:hover {
background: linear-gradient(135deg, #c0392b, #a93226);
color: #fff;
}

/* ─── Alert-Farben ───────────────────────────────────────────────────────── */
.alert-error   { background: #fdf2f2; border-color: var(--color-error);   color: #922b21; }
.alert-success { background: #eafaf1; border-color: var(--color-success);  color: #1e8449; }
.alert-warning { background: #fef9e7; border-color: var(--color-warning);  color: #7e5109; }
.alert-info    { background: #eaf4fb; border-color: var(--color-accent);   color: #1a5276; }

/* ─── Site-Header ─────────────────────────────────────────────────────────── */
.site-header {
background: var(--color-header-bg);
box-shadow: 0 2px 12px rgba(0,0,0,.35);
position: sticky;
top: 0;
z-index: 1100;
}
.header-inner {
display: flex;
align-items: center;
gap: 16px;
padding-top: 18px;
padding-bottom: 24px;
}
.header-logo { flex-shrink: 0; }
.header-logo a:hover { opacity: .85; }
.header-logo img {
display: block;
height: 70px;
width: auto;
}

.header-actions {
display: none;
margin-left: auto;
align-items: center;
gap: 14px;
}

.header-search .search-wrap {
display: flex;
align-items: center;
background: rgba(255,255,255,.10);
backdrop-filter: var(--glass-blur);
border: 1px solid rgba(255,255,255,.18);
border-radius: 999px;
padding: 0 6px 0 14px;
width: 260px;
transition: background var(--transition), border var(--transition);
}
.header-search .search-wrap:focus-within {
background: rgba(255,255,255,.18);
border-color: rgba(255,255,255,.4);
}
.header-search input {
background: transparent;
border: none;
box-shadow: none;
color: #fff;
font-size: var(--font-size-sm);
padding: 8px 4px;
width: 100%;
}
.header-search input::placeholder { color: rgba(255,255,255,.5); }
.header-search input:focus { outline: none; box-shadow: none; }
.header-search button {
background: transparent;
border: none;
color: rgba(255,255,255,.6);
cursor: pointer;
padding: 6px;
display: flex;
align-items: center;
transition: color var(--transition);
}
.header-search button:hover { color: #fff; }

.btn-post-job { font-size: var(--font-size-sm); padding: 8px 18px; }

/* Schalter für die mobile Navigation */
.nav-toggle {
display: flex;
flex-direction: column;
justify-content: center;
gap: 5px;
width: 36px;
height: 36px;
background: transparent;
border: none;
cursor: pointer;
padding: 4px;
margin-left: auto;
}
.nav-toggle span {
display: block;
width: 22px;
height: 2px;
background: #fff;
border-radius: 2px;
transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Navigation Drawer ──────────────────────────────────────────── */
.mobile-nav {
background: #111;
border-top: 1px solid rgba(255,255,255,.08);
max-height: 0;
overflow: hidden;
transition: max-height 0.35s cubic-bezier(.4,0,.2,1), padding 0.3s ease;
padding: 0 16px;
}
.mobile-nav[hidden] {
display: block;        /* override hidden – wir steuern per max-height */
max-height: 0;
padding-top: 0;
padding-bottom: 0;
}
.mobile-nav.is-open {
max-height: 600px;
padding: 12px 16px 18px;
}
.mobile-nav-list {
list-style: none;
padding: 0;
margin: 0;
}
.mobile-nav-list > li {
border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav-list > li:last-child { border-bottom: none; }

.mobile-nav-list > li > a,
.mobile-nav-acc-toggle {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 13px 4px;
color: rgba(255,255,255,.85);
font-size: var(--font-size-md);
font-weight: 500;
text-decoration: none;
background: none;
border: none;
cursor: pointer;
font-family: var(--font-base);
transition: color var(--transition);
}
.mobile-nav-list > li > a:hover,
.mobile-nav-acc-toggle:hover {
color: #fff;
text-decoration: none;
}
.mobile-nav-cta {
color: var(--color-accent) !important;
font-weight: 700 !important;
}
.mobile-nav-chevron {
transition: transform 0.25s ease;
flex-shrink: 0;
}
.mobile-nav-acc-toggle[aria-expanded="true"] .mobile-nav-chevron {
transform: rotate(180deg);
}

/* Accordion-Unterliste */
.mobile-nav-sub {
list-style: none;
padding: 0 0 8px 12px;
margin: 0;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
}
.mobile-nav-sub[hidden] {
display: block;
max-height: 0;
padding-bottom: 0;
}
.mobile-nav-sub.is-open {
max-height: 500px;
padding-bottom: 8px;
}
.mobile-nav-sub li a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 8px;
color: rgba(255,255,255,.6);
font-size: var(--font-size-sm);
text-decoration: none;
border-radius: var(--radius);
transition: color var(--transition), background var(--transition);
}
.mobile-nav-sub li a:hover {
color: #fff;
background: rgba(255,255,255,.06);
text-decoration: none;
}
.mobile-nav-sub .cat-count {
background: rgba(255,255,255,.10);
color: rgba(255,255,255,.5);
}

/* Suchfeld im Mobile-Menü */
.mobile-nav-search {
display: flex;
gap: 0;
margin-top: 10px;
border-radius: var(--radius);
overflow: hidden;
border: 1px solid rgba(255,255,255,.15);
}
.mobile-nav-search input {
flex: 1;
padding: 10px 12px;
background: rgba(255,255,255,.08);
border: none;
color: #fff;
font-size: var(--font-size-sm);
font-family: var(--font-base);
}
.mobile-nav-search input::placeholder { color: rgba(255,255,255,.4); }
.mobile-nav-search input:focus { outline: none; background: rgba(255,255,255,.12); }
.mobile-nav-search button {
padding: 10px 14px;
background: var(--color-accent);
border: none;
color: #fff;
cursor: pointer;
font-size: 15px;
}
.mobile-nav-search button:hover { background: var(--color-accent-hover); }

/* ─── Kategorienavigation ─────────────────────────────────────────────────── */
.cat-nav {
background: var(--nav-gloss);
box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 2px 10px rgba(0,0,0,.35);
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-list {
display: flex;
list-style: none;
white-space: nowrap;
padding: 0;
}
.cat-nav-list li a {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 10px 14px;
font-size: var(--font-size-sm);
color: rgba(255,255,255,.7);
transition: color var(--transition), background var(--transition);
border-bottom: 3px solid transparent;
}
.cat-nav-list li a:hover,
.cat-nav-list li.active a {
color: #fff;
border-bottom-color: var(--color-cta);
text-decoration: none;
background: rgba(255,255,255,.06);
}
.cat-count {
background: rgba(255,255,255,.13);
color: rgba(255,255,255,.75);
font-size: 10px;
padding: 1px 6px;
border-radius: 999px;
}

/* ─── Jobanzeigen-Liste mit Kategorie-Icon ────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: 10px; }

.job-item {
display: grid;
grid-template-columns: 64px 1fr auto;
align-items: center;
gap: 16px;
background: var(--color-bg-card);
border: 1px solid var(--color-border);
border-radius: 14px;
padding: 14px 18px 14px 14px;
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
position: relative;
}
.job-item.job-item--clickable { cursor: pointer; }
.job-item.job-item--clickable:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 2px;
}
.job-item:hover {
transform: translateY(-2px);
border-color: transparent;
box-shadow: 0 14px 34px var(--color-shadow-md);
background: var(--color-bg-card);
}

/* Kategorie-Icon als farblich konfigurierbares Badge. */
.job-item-bar {
grid-column: 1;
grid-row: 1;
width: 56px;
height: 56px;
min-height: 56px;
border-radius: 14px;
background: var(--cat-icon-bg, #1e3a8a);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
position: relative;
overflow: hidden;
}
.job-item-bar::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
pointer-events: none;
}
.job-item-bar .cat-icon {
width: 28px;
height: 28px;
color: var(--cat-icon-fg, #fff);
display: block;
position: relative;
z-index: 1;
}
.job-item-bar img.cat-icon {
filter: brightness(0) invert(1);   /* weiße Silhouette unabhängig von SVG-Farbe */
}

/* Kategorie-spezifische Badge-Farben werden NICHT mehr hier gesetzt.
Einziger Ort der Farbzuordnung ist CATEGORY_ICON_MAP in config.php.
render_job_list_item_modern() setzt die Farbe pro Badge inline als
CSS-Variable (--cat-icon-bg) plus passenden box-shadow.
Die Defaults oben (--cat-icon-bg, box-shadow in .job-item-bar) greifen
nur als Fallback, falls mal keine Kategorie zugeordnet werden kann. */

.job-item-body { grid-column: 2; grid-row: 1; padding: 0; min-width: 0; }
.job-item-head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 6px 10px;
}
.job-item-title {
font-size: 16px;
font-weight: 700;
color: var(--color-primary);
line-height: 1.3;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
flex: 1 1 auto;
}
.job-item-title a { color: inherit; text-decoration: none; }
.job-item-title a:hover { color: var(--color-accent); text-decoration: none; }
.job-item-company {
font-size: 13px;
color: var(--color-text-light);
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 40%;
}

.job-item-meta {
font-size: 12.5px;
color: var(--color-text-muted);
display: flex;
gap: 14px;
flex-wrap: wrap;
margin-top: 6px;
align-items: center;
}
.job-item-meta-item {
display: inline-flex;
align-items: center;
gap: 4px;
}
.job-item-meta-value { color: var(--color-text-light); }
.inline-svg-icon {
width: 14px;
height: 14px;
flex: 0 0 14px;
display: inline-block;
vertical-align: text-bottom;
opacity: 0.75;
}
.inline-svg-icon-category { opacity: 0.55; }

.job-item-time {
grid-column: 3;
grid-row: 1;
padding: 0;
font-size: 12px;
color: var(--color-text-muted);
white-space: nowrap;
text-align: right;
align-self: center;
}

/* Spotlight-Jobs */
.job-item.spotlight {
border-color: rgba(58, 181, 232, 0.45);
background: linear-gradient(135deg, #ffffff 0%, #f2f9ff 100%);
box-shadow: 0 4px 18px rgba(58, 181, 232, 0.12);
}
.job-item.spotlight::after {
content: "★ Highlight";
position: absolute;
top: 10px;
right: 14px;
font-size: 10px;
letter-spacing: 0.5px;
font-weight: 700;
color: #0369a1;
background: rgba(58, 181, 232, 0.16);
padding: 2px 8px;
border-radius: 999px;
pointer-events: none;
}
.job-item.spotlight .job-item-time { padding-top: 22px; }

@media (max-width: 700px) {
.job-item {
grid-template-columns: 52px minmax(0, 1fr);
gap: 12px;
padding: 12px 14px;
border-radius: 12px;
}
.job-item-bar {
width: 48px;
height: 48px;
border-radius: 12px;
grid-column: 1;
grid-row: 1 / span 2;
align-self: center;
}
.job-item-bar .cat-icon { width: 24px; height: 24px; }
.job-item-body {
grid-column: 2;
grid-row: 1;
padding: 0;
}
.job-item-title {
white-space: normal;
line-height: 1.35;
font-size: 15px;
}
.job-item-company { max-width: none; }
.job-item-time {
grid-column: 2;
grid-row: 2;
padding: 0;
min-width: 0;
align-self: start;
text-align: left;
white-space: normal;
overflow-wrap: anywhere;
}
.job-item.spotlight::after {
top: auto;
bottom: 10px;
right: 12px;
}
}

/* ─── Farblegende unter Joblisting ────────────────────────────────────────── */
.job-legend {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px 22px;
padding: 14px 0 4px;
font-size: var(--font-size-xs);
color: var(--color-text-muted);
}
.job-legend-item {
display: inline-flex;
align-items: center;
gap: 5px;
}
.job-legend-dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 2px;
}
.job-legend-dot.fulltime  { background: var(--color-accent); }
.job-legend-dot.parttime  { background: var(--color-success); }
.job-legend-dot.freelance { background: var(--color-warning); }
.job-legend-dot.minijob   { background: #8e44ad; }
.job-legend-dot.praktikum { background: #16a085; }
.job-legend-dot.remote    { background: #5b6ee1; }

/* ─── Seitenüberschrift (Section-Header) ───────────────────────────────── */
.section-header {
background: var(--nav-gloss);
box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
color: #fff;
padding: 7px 12px;
margin: 20px 0 8px;
border-radius: var(--radius) var(--radius) 0 0;
font-size: var(--font-size-sm);
font-weight: 700;
display: flex;
justify-content: space-between;
align-items: center;
}
.section-header a {
color: rgba(255,255,255,.7);
font-size: var(--font-size-xs);
font-weight: 400;
}
.section-header a:hover { color: #fff; }

/* ─── Paginierung ────────────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; padding: 24px 0; }
.pagination ul { display: flex; gap: 4px; align-items: center; list-style: none; }
.pagination li a,
.pagination li span {
display: flex;
align-items: center;
justify-content: center;
min-width: 36px;
height: 36px;
padding: 0 8px;
border: 1.5px solid var(--color-border);
border-radius: var(--radius);
font-size: var(--font-size-sm);
color: var(--color-primary);
background: #fff;
transition: all var(--transition);
}
.pagination li a:hover {
border-color: var(--color-accent);
color: var(--color-accent);
background: var(--color-bg-hover);
text-decoration: none;
}
.pagination li.active span {
background: var(--color-primary);
color: #fff;
border-color: var(--color-primary);
font-weight: 700;
}
.pagination li.ellipsis span { border: none; background: transparent; color: var(--color-text-muted); }

/* ─── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar { display: none; }

.sidebar-section {
background: var(--color-bg-card);
border: 1px solid var(--color-border);
border-radius: 16px;
padding: 18px;
margin-bottom: 16px;
box-shadow: 0 2px 10px var(--color-shadow);
transition: box-shadow var(--transition);
}
.sidebar-section:hover {
box-shadow: 0 6px 24px var(--color-shadow-md);
}
.sidebar-heading {
font-size: 11px;
font-weight: 700;
color: var(--color-primary);
padding-bottom: 10px;
margin-bottom: 12px;
border-bottom: 1px solid var(--color-border-light);
text-transform: uppercase;
letter-spacing: 0.8px;
display: flex;
align-items: center;
gap: 8px;
}
.sidebar-heading::before {
content: "";
display: inline-block;
width: 3px;
height: 14px;
border-radius: 2px;
background: var(--color-accent);
}

.sidebar-spacer {
height: 32px;
margin-bottom: 16px;
}
.sidebar-hero-spacer {
height: 270px;
}

/* Werbe-Gitter */
.ad-label { font-size: var(--font-size-xs); color: var(--color-text-muted); margin-bottom: 8px; text-align: center; }
.ad-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-cell { overflow: hidden; border-radius: 4px; }
.ad-cell img { width: 100%; height: auto; display: block; }
.ad-banner { display: inline-flex; justify-content: center; align-items: center; max-width: 100%; }
.ad-banner img { display: block; max-width: 100%; height: auto; }
.ad-banner-code { width: 100%; overflow: hidden; }
.sidebar-ad-large { display: flex; justify-content: center; }
.sidebar-ad-large .ad-banner,
.sidebar-ad-large .ad-banner-code { width: 100%; max-width: 300px; }
.content-ad-wrap,
.job-inline-ad-wrap,
.footer-leaderboard-wrap { display: flex; justify-content: center; }
.content-ad-wrap { margin: 30px 0; }
.job-inline-ad-wrap { margin: 30px 0; }
.job-inline-ad-wrap .ad-banner,
.job-inline-ad-wrap .ad-banner-code { max-width: 468px; width: 100%; }


/* Kompakte Texter-Toolbox */
.sidebar-tools {
padding: 0;
overflow: hidden;
border-color: rgba(30,58,138,.18);
box-shadow: 0 8px 24px rgba(30,27,75,.09);
}
.sidebar-tools-head {
position: relative;
padding: 12px 15px 11px;
color: #fff;
background:
linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 38%),
linear-gradient(135deg, var(--color-header-bg) 0%, var(--color-primary) 100%);
}
.sidebar-tools-head::after {
content: '';
position: absolute;
right: 15px;
bottom: 0;
left: 15px;
height: 3px;
border-radius: 999px 999px 0 0;
background: linear-gradient(90deg, var(--color-cta), #f7cf5c);
}
.sidebar-tools-kicker,
.sidebar-tools-title,
.sidebar-tools-subtitle { margin: 0; }
.sidebar-tools-kicker {
margin-bottom: 1px;
color: #dbeafe;
font-size: 9px;
font-weight: 700;
letter-spacing: .09em;
text-transform: uppercase;
}
.sidebar-tools-title {
color: #fff;
font-size: 18px;
line-height: 1.25;
}
.sidebar-tools-subtitle {
margin-top: 3px;
color: #d9e4f5;
font-size: 12px;
}
.sidebar-tools-body { padding: 10px; }
.sidebar-tools-main {
display: block;
position: relative;
overflow: hidden;
padding: 12px;
border: 1px solid rgba(37,99,235,.18);
border-radius: 11px;
color: inherit;
background:
radial-gradient(circle at 90% 0%, rgba(37,99,235,.15), transparent 38%),
linear-gradient(135deg, #fff 0%, #eff6ff 100%);
text-decoration: none;
transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.sidebar-tools-main:hover,
.sidebar-tools-main:focus-visible {
border-color: rgba(37,99,235,.48);
box-shadow: 0 9px 22px rgba(30,58,138,.12);
transform: translateY(-2px);
text-decoration: none;
}
.sidebar-tools-main-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}
.sidebar-tools-main-icon,
.sidebar-tool-icon {
display: grid;
place-items: center;
color: var(--color-accent);
background: #fff;
box-shadow: 0 4px 13px rgba(30,58,138,.10);
}
.sidebar-tools-main-icon {
width: 36px;
height: 36px;
border-radius: 10px;
}
.sidebar-tools-badge {
display: inline-flex;
align-items: center;
min-height: 20px;
padding: 2px 8px;
border-radius: 999px;
color: #6f5100;
background: #fff3c5;
font-size: 9px;
font-weight: 700;
letter-spacing: .05em;
text-transform: uppercase;
}
.sidebar-tools-main h5 {
margin: 8px 0 2px;
color: var(--color-primary-dark);
font-size: 17px;
}
.sidebar-tools-main p {
margin: 0;
color: var(--color-text-light);
font-size: 12px;
line-height: 1.4;
}
.sidebar-tools-main-cta {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 34px;
margin-top: 9px;
border-radius: 8px;
color: #19213a;
background: linear-gradient(180deg, #f5c94b, var(--color-cta));
box-shadow: inset 0 1px rgba(255,255,255,.45), 0 5px 14px rgba(234,174,19,.22);
font-size: 12px;
font-weight: 700;
}
.sidebar-tools-main:hover .sidebar-tools-main-cta {
background: linear-gradient(180deg, #f8d364, #d39b0c);
}
.sidebar-tools-slider { margin-top: 8px; }
.sidebar-tools-pair {
display: grid;
grid-template-columns: repeat(2, minmax(0,1fr));
gap: 7px;
}
.sidebar-tools-pair[hidden] { display: none; }
.sidebar-tools-pair.is-active { animation: sidebar-tools-in .24s ease both; }
@keyframes sidebar-tools-in {
from { opacity: 0; transform: translateX(7px); }
to { opacity: 1; transform: translateX(0); }
}
.sidebar-tool-card {
display: flex;
min-height: 105px;
padding: 9px;
flex-direction: column;
border: 1px solid var(--color-border);
border-radius: 10px;
color: inherit;
background: #fff;
text-decoration: none;
transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.sidebar-tool-card:hover,
.sidebar-tool-card:focus-visible {
border-color: rgba(37,99,235,.38);
background: #eff6ff;
box-shadow: 0 7px 18px rgba(30,58,138,.08);
transform: translateY(-2px);
text-decoration: none;
}
.sidebar-tool-icon {
width: 29px;
height: 29px;
border: 1px solid #e6edf7;
border-radius: 8px;
}
.sidebar-tool-card h5 {
margin: 6px 0 2px;
color: var(--color-primary-dark);
font-size: 12px;
line-height: 1.25;
}
.sidebar-tool-card p {
margin: 0;
color: var(--color-text-muted);
font-size: 10px;
line-height: 1.3;
}
.sidebar-tool-linktext {
margin-top: auto;
padding-top: 5px;
color: var(--color-accent);
font-size: 10px;
font-weight: 700;
}
.sidebar-tools-controls {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 7px;
}
.sidebar-tools-control {
display: grid;
width: 25px;
height: 25px;
padding: 0;
place-items: center;
border: 1px solid var(--color-border);
border-radius: 50%;
color: var(--color-primary);
background: #fff;
cursor: pointer;
transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.sidebar-tools-control:hover {
border-color: var(--color-accent);
color: var(--color-accent);
background: #eff6ff;
}
.sidebar-tools-dots { display: flex; gap: 5px; }
.sidebar-tools-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #cbd5e1;
transition: width var(--transition), background var(--transition);
}
.sidebar-tools-dot.is-active {
width: 15px;
border-radius: 999px;
background: var(--color-accent);
}
.sidebar-tools-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin: 9px -10px -10px;
padding: 8px 10px;
border-top: 1px solid var(--color-border);
background: #f7f9fc;
}
.sidebar-tools-footer span {
color: var(--color-text-muted);
font-size: 10px;
}
.sidebar-tools-footer a {
color: var(--color-primary);
font-size: 10px;
font-weight: 700;
text-decoration: none;
}
.sidebar-tools-footer a:hover { color: var(--color-accent); text-decoration: underline; }

/* Ansprechpartner-Box, bewusst kompakt */
.sidebar-contact {
padding: 14px;
background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
border-color: rgba(58,181,232,.25);
}
.sidebar-contact .sidebar-heading {
padding-bottom: 7px;
margin-bottom: 9px;
}
.contact-card { display: flex; align-items: center; gap: 11px; }
.contact-card-text { flex: 1 1 auto; min-width: 0; }
.contact-card-text p {
margin: 0 0 8px;
color: var(--color-text);
font-size: 12px;
line-height: 1.45;
}
.contact-card-text p:last-child { margin-bottom: 0; }
.contact-card-text p a { font-weight: 600; }
.contact-card-actions {
display: flex;
align-items: center;
gap: 7px;
}
.contact-card-mail {
display: grid;
flex: 0 0 32px;
width: 32px;
height: 32px;
place-items: center;
border: 1px solid var(--color-border);
border-radius: 50%;
color: var(--color-primary);
background: #fff;
transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}
.contact-card-mail:hover {
color: #fff;
background: var(--color-accent);
border-color: var(--color-accent);
transform: translateY(-1px);
text-decoration: none;
}
.contact-card-phone {
display: inline-flex;
align-items: center;
gap: 5px;
min-height: 32px;
color: var(--color-primary);
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.contact-card-phone:hover { color: var(--color-accent); text-decoration: none; }
.contact-card-phone span { font-size: 16px; line-height: 1; }
.contact-card-media { flex: 0 0 84px; }
.contact-card-media img {
display: block;
width: 84px;
height: 84px;
object-fit: cover;
border-radius: 50%;
border: 3px solid #fff;
box-shadow: 0 8px 20px rgba(58,181,232,.20);
}







/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer-leaderboard-wrap {
background: #fff; padding: 20px 0; text-align: center;
border-top: 1px solid var(--color-border-light);
}
.footer-leaderboard-wrap .container { display: flex; justify-content: center; }

.info-section {
background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
border-top: 1px solid var(--color-border-light);
padding: 48px 0 52px;
}
.info-headline {
text-align: center;
font-size: var(--font-size-xl);
color: var(--color-primary);
margin-bottom: 8px;
}
.info-subline {
text-align: center;
font-size: var(--font-size-sm);
color: var(--color-text-muted);
margin-bottom: 32px;
max-width: 540px;
margin-left: auto;
margin-right: auto;
line-height: 1.6;
}
.info-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}
.info-card {
background: #fff;
border-radius: 16px;
padding: 28px 22px 24px;
border: 1px solid var(--color-border);
text-align: center;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
position: relative;
box-shadow: 0 2px 12px var(--color-shadow);
}
.info-card:hover {
transform: translateY(-4px);
box-shadow: 0 16px 40px var(--color-shadow-md);
border-color: rgba(58, 181, 232, 0.40);
}
.info-card-image {
display: block;
width: 80px;
height: 80px;
object-fit: contain;
margin: 0 auto 16px;
}
.info-card h3 {
font-size: var(--font-size-md);
color: var(--color-primary);
margin-bottom: 10px;
}
.info-card p {
font-size: var(--font-size-sm);
color: var(--color-text-light);
margin: 0;
line-height: 1.7;
}
@media (max-width: 960px) {
.info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
.info-grid { grid-template-columns: 1fr; gap: 12px; }
.info-section { padding: 30px 0 34px; }
.info-card {
text-align: left;
display: flex;
gap: 18px;
align-items: flex-start;
padding: 20px 18px;
}
.info-card-image {
width: 60px;
height: 60px;
margin: 0;
flex-shrink: 0;
}
.info-card h3 {
margin-bottom: 6px;
}
}

.site-footer {
background: linear-gradient(180deg, var(--color-footer-bg-alt) 0%, var(--color-footer-bg) 100%);
color: rgba(255,255,255,.65);
padding-top: 0;
position: relative;
}
/* Farbige Akzentlinie oben – Gold-Schimmer (Highlight-Akzent) */
.site-footer::before {
content: '';
display: block;
height: 3px;
background: linear-gradient(90deg, #d4a574 0%, #f5d99b 50%, #d4a574 100%);
}

/* Subtiler Hintergrund-Glow */
.site-footer::after {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 0%, rgba(212,165,116,0.10), transparent 40%),
radial-gradient(circle at 80% 100%, rgba(46,155,250,0.07), transparent 45%);
pointer-events: none;
z-index: 0;
}
.site-footer > * { position: relative; z-index: 1; }

/* Branding-Zeile über den Spalten */
.footer-brand {
padding: 28px 0 20px;
border-bottom: 1px solid rgba(255,255,255,.08);
margin-bottom: 28px;
text-align: center;
}
.footer-brand-name {
font-size: var(--font-size-xl);
font-weight: 700;
color: #fff;
letter-spacing: -0.2px;
margin-bottom: 4px;
}
/* Accent für den ersten Teil des Markennamens */
.footer-brand-name span {
background: linear-gradient(135deg, #d4a574 0%, #f5d99b 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
.footer-brand-tagline {
font-size: var(--font-size-xs);
color: rgba(255,255,255,.45);
}

.footer-inner {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 32px;
padding-bottom: 32px;
}
.footer-heading {
font-size: var(--font-size-xs);
font-weight: 700;
color: rgba(255,255,255,.96);
margin-bottom: 14px;
text-transform: uppercase;
letter-spacing: 1px;
padding-bottom: 10px;
position: relative;
}
/* Goldfarbener Akzentstrich */
.footer-heading::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 28px;
height: 2px;
background: linear-gradient(90deg, #d4a574, #f5d99b);
border-radius: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0; }
.footer-col ul li a {
display: inline-block;
color: var(--color-footer-link);
opacity: 0.7;
font-size: var(--font-size-sm);
padding: 5px 0;
transition: color 0.2s, opacity 0.2s, padding-left 0.2s;
}
.footer-col ul li a:hover {
color: var(--color-footer-link-hover);
opacity: 1;
padding-left: 4px;
text-decoration: none;
}

.footer-bottom {
background: rgba(0,0,0,.30);
padding: 14px 0;
text-align: center;
border-top: 1px solid rgba(255,255,255,.06);
}
.copyright {
font-size: var(--font-size-xs);
color: rgba(255,255,255,.40);
}

@media (max-width: 799px) {
.footer-inner { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.footer-brand { padding: 22px 0 16px; margin-bottom: 22px; }
.footer-brand-name { font-size: var(--font-size-lg); }
}
@media (max-width: 480px) {
.footer-inner { grid-template-columns: 1fr 1fr; gap: 16px 20px; padding-bottom: 24px; }
.footer-brand { text-align: center; }
.footer-heading { font-size: 10px; margin-bottom: 10px; padding-bottom: 8px; letter-spacing: .8px; }
.footer-col ul li a { font-size: var(--font-size-xs); padding: 4px 0; }
}







/* ─── Anzeigenart-Badges ─────────────────────────────────────────────────── */
.job-type-badge {
display: inline-flex; align-items: center;
padding: 3px 11px; border-radius: 999px;
font-size: 11px; font-weight: 600;
letter-spacing: .2px;
text-transform: none;
}
.job-type-badge.fulltime  { background: #e0f2fe; color: #0369a1; }
.job-type-badge.parttime  { background: #dcfce7; color: #166534; }
.job-type-badge.freelance { background: #fef3c7; color: #92400e; }
.job-type-badge.minijob   { background: #ede9fe; color: #6d28d9; }
.job-type-badge.praktikum { background: #ccfbf1; color: #115e59; }
.job-type-badge.remote    { background: #e0e7ff; color: #3730a3; }

/* ─── Merkliste-Widgets / Vergleich ─────────────────────────────────────── */
.header-watchlist {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255,255,255,.12);
border: 1px solid rgba(255,255,255,.18);
color: #fff;
text-decoration: none;
transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header-watchlist:hover {
color: #fff;
text-decoration: none;
background: rgba(255,255,255,.18);
border-color: rgba(255,255,255,.28);
box-shadow: 0 8px 24px rgba(0,0,0,.16);
transform: translateY(-1px);
}
.header-watchlist.is-hidden { display: none; }
.header-watchlist img,
.mobile-watchlist-main img {
filter: brightness(0) invert(1);
opacity: .96;
}
.header-watchlist:hover img,
.mobile-watchlist-link:hover .mobile-watchlist-main img {
opacity: 1;
}

.header-watchlist-count,
.mobile-watchlist-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
height: 24px;
padding: 0 8px;
border-radius: 999px;
background: #fff;
color: var(--color-header-bg);
font-weight: 700;
font-size: var(--font-size-xs);
}
.header-watchlist-label {
font-size: var(--font-size-xs);
font-weight: 700;
letter-spacing: .02em;
}
.header-watchlist.is-bumped,
.sidebar-watchlist.is-bumped,
.mobile-watchlist-link.is-bumped {
animation: watchlist-bump .35s ease;
}
@keyframes watchlist-bump {
0% { transform: scale(1); }
40% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.mobile-watchlist-link {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 10px 12px;
padding: 14px 0;
color: #fff;
text-decoration: none;
}
.mobile-watchlist-link:hover { color: #fff; text-decoration: none; }
.mobile-watchlist-link.is-hidden { display: none; }
.mobile-watchlist-main {
display: inline-flex;
align-items: center;
gap: 10px;
font-weight: 700;
}
.mobile-watchlist-label {
grid-column: 1 / -1;
color: rgba(255,255,255,.72);
font-size: var(--font-size-xs);
}
.sidebar-watchlist {
background: linear-gradient(180deg, #fff 0%, #f7fcff 100%);
border: 1px solid rgba(58,181,232,.25);
}
.sidebar-watchlist.is-hidden { display: none; }
.sidebar-watchlist-link {
display: block;
color: inherit;
text-decoration: none;
}
.sidebar-watchlist-link:hover { color: inherit; text-decoration: none; }
.sidebar-watchlist-head {
display: grid;
grid-template-columns: 34px 1fr;
gap: 12px;
align-items: start;
}
.sidebar-watchlist-countline {
display: flex;
align-items: baseline;
gap: 6px;
font-size: 1.05rem;
color: var(--color-primary);
}
.sidebar-watchlist-countline strong {
font-size: 2rem;
line-height: 1;
}
.sidebar-watchlist-subline {
margin-top: 6px;
font-size: var(--font-size-xs);
line-height: 1.55;
color: var(--color-text-light);
}

.watchlist-toast {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 1300;
max-width: 360px;
padding: 14px 16px;
border-radius: 16px;
background: rgba(15,35,64,.96);
color: #fff;
box-shadow: 0 18px 40px rgba(0,0,0,.22);
transform: translateY(16px);
opacity: 0;
pointer-events: none;
transition: opacity .25s ease, transform .25s ease;
}
.watchlist-toast.is-visible {
opacity: 1;
transform: translateY(0);
}
.watchlist-toast strong {
display: block;
margin-bottom: 4px;
}
.watchlist-toast p {
margin: 0;
font-size: var(--font-size-xs);
line-height: 1.55;
color: rgba(255,255,255,.84);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (min-width: 800px) {
.header-actions { display: flex; }
.nav-toggle     { display: none; }
.sidebar        { display: block; }
.mobile-nav     { display: none !important; }
}

@media (max-width: 799px) {
.header-inner { flex-wrap: wrap; }
/* Desktop-Kategorienav auf Mobile ausblenden */
.cat-nav { display: none; }
.page-wrapper { max-width: 100%; border-left: none; border-right: none; }
.job-meta-grid { flex-direction: column; }
.job-meta-item { border-right: none; }
}

@media (max-width: 640px) {
.job-meta-item { min-width: auto; }
}

/* Body-Scroll sperren wenn Menü offen (Mobile) */
body.mobile-nav-open {
overflow: hidden;
}

/* ─── Reduzierte Bewegung ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
scroll-behavior: auto !important;
}
}

/* ─── Print ────────────────────────────────────────────────────────────────── */
@media print {
.site-header,
.cat-nav,
.sidebar,
.site-footer,
.footer-leaderboard-wrap,
.home-leaderboard-wrap,
.mobile-nav,
.share-overlay,
.watchlist-toast,
.rss-subscribe-toast { display: none !important; }
.layout-main { grid-template-columns: 1fr; }
body, .page-wrapper { background: #fff; max-width: 100%; border: none; }
}


/* RSS-Abonnement-Hinweis */
.rss-subscribe-toast {
position: fixed;
right: 18px;
bottom: 18px;
z-index: 1350;
width: min(420px, calc(100vw - 24px));
padding: 18px;
border-radius: 18px;
border: 1px solid rgba(74,144,217,.22);
background: rgba(15,35,64,.98);
color: #fff;
box-shadow: 0 20px 44px rgba(0,0,0,.24);
opacity: 0;
transform: translateY(16px);
pointer-events: none;
transition: opacity .25s ease, transform .25s ease;
}
.rss-subscribe-toast.is-visible {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
.rss-subscribe-toast__close {
position: absolute;
top: 10px;
right: 10px;
width: 34px;
height: 34px;
border: 1px solid rgba(255,255,255,.14);
border-radius: 999px;
background: rgba(255,255,255,.06);
color: #fff;
font-size: 20px;
line-height: 1;
cursor: pointer;
}
.rss-subscribe-toast__close:hover {
background: rgba(255,255,255,.12);
}
.rss-subscribe-toast__title {
display: block;
margin-bottom: 6px;
padding-right: 34px;
font-size: var(--font-size-md);
font-weight: 700;
}
.rss-subscribe-toast__text {
margin: 0 0 14px;
font-size: var(--font-size-xs);
line-height: 1.65;
color: rgba(255,255,255,.84);
}
.rss-subscribe-toast__field {
display: block;
width: 100%;
margin: 0 0 12px;
padding: 10px 12px;
border: 1px solid rgba(255,255,255,.14);
border-radius: 12px;
background: rgba(255,255,255,.08);
color: #fff;
font-size: var(--font-size-xs);
font-family: var(--font-base);
}
.rss-subscribe-toast__field:focus {
outline: 2px solid rgba(74,144,217,.55);
outline-offset: 1px;
}
.rss-subscribe-toast__actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.rss-subscribe-toast__button,
.rss-subscribe-toast__open {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 10px 14px;
border-radius: 999px;
font-size: var(--font-size-xs);
font-weight: 700;
text-decoration: none;
cursor: pointer;
transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.rss-subscribe-toast__button {
border: none;
background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
color: #fff;
}
.rss-subscribe-toast__button:hover {
transform: translateY(-1px);
background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-primary) 100%);
}
.rss-subscribe-toast__open {
border: 1px solid rgba(255,255,255,.16);
background: rgba(255,255,255,.06);
color: #fff;
}
.rss-subscribe-toast__open:hover {
transform: translateY(-1px);
background: rgba(255,255,255,.12);
color: #fff;
text-decoration: none;
}
@media (max-width: 640px) {
.rss-subscribe-toast {
right: 12px;
bottom: 12px;
left: 12px;
width: auto;
}
.rss-subscribe-toast__actions {
flex-direction: column;
}
.rss-subscribe-toast__button,
.rss-subscribe-toast__open {
width: 100%;
}
}
