/* ============================================================
   Hauptstylesheet
   ============================================================ */

:root {
    --gg-red:       #8B0801; /*#0f2544*/
    --gg-red-mid:   #4a0400; /*#1e3a5f*/
    --gg-red-light: #d2433b;
    --amber:      #f59e0b;
    --amber-dark: #d97706;
    --amber-pale: #fef3c7;
    --ice:        #f0f6ff;
    --white:      #ffffff;
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-400:   #94a3b8;
    --gray-600:   #475569;
    --gray-800:   #1e293b;
    --green:      #10b981;
    --red:        #ef4444;
    --radius:     12px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow:     0 4px 16px rgba(15,37,68,.10);
    --shadow-lg:  0 12px 40px rgba(15,37,68,.16);
    --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- NAVBAR ---- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem;
    height: 74px;
    background: var(--gg-red);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.navbar-brand {
    display: flex; align-items: center; gap: .6rem;
    text-decoration: none;
}

.brand-icon {
    width: 34px; height: 34px;
    background: var(--amber);
    color: var(--gg-red);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .85rem;
    display: grid; place-items: center;
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: var(--white);
}
	
.brand-dot { color: var(--amber); }

.navbar-links {
    display: flex; 
	align-items: center; gap: 1rem;
    flex-wrap: wrap;
}

.navbar-links a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
    padding: .25rem .1rem;
}

.navbar-links a:hover { color: var(--white); }

.nav-chat-link { position: relative; }
	
.sidenav {
	z-index: 2;
	display: none;
	position: fixed;
	right: 0;
	top: 74px;
	height: 100%;
	width: auto;
	padding: 0 10px;
	background: var(--gg-red);
	color: var(--white);
}

.sidenav a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--transition);
    padding: .25rem .1rem;
}
	


.badge-count {
    position: absolute; top: -6px; right: -10px;
    background: var(--amber); color: var(--gg-red);
    font-size: .65rem; font-weight: 700;
    border-radius: 10px; padding: 1px 5px;
    min-width: 18px; text-align: center;
}

/* ---- BUTTONS ---- */
.btn-primary, .btn-outline, .btn-admin,
.btn, button[type="submit"], input[type="submit"] {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem 1.1rem;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary, button[type="submit"], input[type="submit"] {
    background: var(--amber);
    color: var(--gg-red);
    border-color: var(--amber);
}

.btn-primary:hover, button[type="submit"]:hover, input[type="submit"]:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.35);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

.btn-admin {
    background: rgba(245,158,11,.2);
    color: var(--amber);
    border-color: rgba(245,158,11,.4);
    font-size: .8rem;
}

.btn-admin:hover { background: rgba(245,158,11,.35); }

.btn-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; }

.btn-ghost {
    background: transparent; color: var(--gray-600);
    border-color: var(--gray-200);
}

.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }

.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: #059669; }

.btn-sm { padding: .3rem .75rem; font-size: .8rem; border-radius: 6px; }

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
	width: 95vw;
}

.container-sm { max-width: 520px; margin: 0 auto; padding: 2rem 1.5rem; flex: 1; width: auto; }

/* ---- FLASH MESSAGES ---- */
.flash {
    padding: .8rem 1.5rem;
    font-size: .9rem;
    font-weight: 500;
    text-align: center;
}

.flash-success { background: #d1fae5; color: #065f46; border-bottom: 2px solid #10b981; }
.flash-error   { background: #fee2e2; color: #991b1b; border-bottom: 2px solid var(--red); }

/* ---- CARDS ---- */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover { box-shadow: var(--shadow); }

.card-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1rem; margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* ---- BADGES ---- */
.badge {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
}

.badge-aktiv      { background: #d1fae5; color: #065f46; }
.badge-ausstehend { background: #fef3c7; color: #92400e; }
.badge-versteckt  { background: var(--gray-100); color: var(--gray-600); }
.badge-abgelehnt  { background: #fee2e2; color: #991b1b; }
.badge-geloescht  { background: #fee2e2; color: #991b1b; }
.badge-biete      { background: #dbeafe; color: #1e40af; }
.badge-suche      { background: #fce7f3; color: #9d174d; }

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.1rem; }

label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gg-red-mid);
    margin-bottom: .35rem;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], select, textarea {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gg-red-light);
    box-shadow: 0 0 0 3px rgba(30,58,96,.12);
}

textarea { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-hint { font-size: .8rem; color: var(--gray-400); margin-top: .25rem; }

.form-error { font-size: .82rem; color: var(--red); margin-top: .25rem; }

/* ---- PAGE HEADER ---- */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--gg-red);
    line-height: 1.2;
}

.page-header p {
    color: var(--gray-600);
    margin-top: .4rem;
}

/* ---- HERO (index) ---- */
.hero {
    background: linear-gradient(135deg, var(--gg-red) 0%, var(--gg-red-light) 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    color: var(--white);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; max-width: 600px; }

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span { color: var(--amber); }

.hero p { font-size: 1.05rem; opacity: .85; margin-bottom: 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-btn-primary {
    background: var(--amber); color: var(--gg-red);
    padding: .75rem 1.75rem; border-radius: 10px;
    font-weight: 700; font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
}

.hero-btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }

.hero-btn-ghost {
    background: rgba(255,255,255,.15); color: #fff;
    padding: .75rem 1.75rem; border-radius: 10px;
    font-weight: 600; font-size: 1rem;
    text-decoration: none; border: 1.5px solid rgba(255,255,255,.3);
    transition: all var(--transition);
}

.hero-btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ---- STATS ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}

.stat-card .stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gg-red);
}

.stat-card .stat-label { font-size: .8rem; color: var(--gray-400); margin-top: .2rem; }

/* ---- ANGEBOT CARD ---- */
.angebot-card {
    display: flex; flex-direction: column;
	height: 100%;
}

.angebot-card .card-fach {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gg-red);
    margin: .4rem 0 .5rem;
}

.angebot-card .card-preis {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--amber-dark);
}

.angebot-card .card-preis span { font-size: .8rem; font-weight: 400; color: var(--gray-400); }

.angebot-card .card-meta { font-size: .82rem; color: var(--gray-600); margin: .5rem 0; }

.angebot-card .card-desc {
    font-size: .875rem; color: var(--gray-600);
    margin: .6rem 0 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.angebot-card .card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto; padding-top: .75rem;
    border-top: 1px solid var(--gray-100);
}

/* ---- FILTERS ---- */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: .75rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.filter-bar select, .filter-bar input[type="text"] {
    width: auto; min-width: 140px;
}

/* ---- CHAT ---- */
.chat-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 220px);
    min-height: 420px;
    max-height: 800px;
}

.chat-list {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow-y: auto;
}

.chat-item {
    display: flex; align-items: center; gap: .75rem;
    padding: .9rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition);
    text-decoration: none;
    color: inherit;
}

.chat-item:hover, .chat-item.active { background: var(--ice); }

.chat-avatar {
    width: 40px; height: 40px;
    background: var(--gg-red-mid);
    color: var(--white);
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-weight: 600; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-sub  { font-size: .78rem; color: var(--gray-400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-unread    { background: var(--amber); color: var(--gg-red); border-radius: 10px; font-size: .7rem; font-weight: 700; padding: 2px 7px; }

.chat-window {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

.chat-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-weight: 600;
}

.chat-messages {
    flex: 1; overflow-y: auto;
    padding: 1.25rem;
    display: flex; flex-direction: column; gap: .75rem;
}

.msg {
    max-width: 70%;
    padding: .65rem 1rem;
    border-radius: 14px;
    font-size: .9rem;
    line-height: 1.5;
}

.msg-in  { background: var(--gray-100); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-out { background: var(--gg-red-mid); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.msg-meta { font-size: .7rem; opacity: .6; margin-top: .25rem; }

.chat-input-bar {
    display: flex; gap: .75rem;
    padding: .9rem 1rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.chat-input-bar textarea {
    flex: 1; min-height: 40px; max-height: 120px; resize: none;
    padding: .5rem .8rem;
    border-radius: 8px;
}

/* ---- ADMIN ---- */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat {
    background: var(--gg-red);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.admin-stat .num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--amber);
}

.admin-stat .lbl { font-size: .8rem; opacity: .7; margin-top: .2rem; }

/* ---- TABLE ---- */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

th {
    background: var(--gray-50);
    color: var(--gray-600);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .7rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
}

td {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-800);
    vertical-align: middle;
}

tr:hover td { background: var(--gray-50); }

/* ---- TABS ---- */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 1.5rem; }

.tab {
    padding: .65rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .875rem;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}

.tab:hover { color: var(--gg-red); }
.tab.active { color: var(--gg-red); border-bottom-color: var(--amber); }

/* ---- MISC ---- */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gg-red);
    margin-bottom: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray-400);
}

.empty-state .icon { font-size: 3rem; margin-bottom: .75rem; }
.empty-state p { font-size: .95rem; }

.divider { height: 1px; background: var(--gray-200); margin: 1.5rem 0; }

.actions-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--gg-red);
    color: rgba(255,255,255,.5);
    padding: 1rem 2rem;
    text-align: center;
    font-size: .82rem;
	z-index: 3;
}

.brand-text-sm { color: var(--white); font-weight: 600; font-family: 'Montserrat', sans-serif; }
.footer-sep { margin: 0 .5rem; }
.site-footer a { color: var(--amber); text-decoration: none;}

/* ---- RESPONSIVE ---- */
@media (max-width: 700px) {
    .navbar { padding: 0 1rem; }
    .hero { padding: 2.5rem 1.5rem; }
    .hero h1 { font-size: 1.9rem; }
    .chat-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: calc(100vh - 180px);
        max-height: none;
    }
    .chat-list { max-height: 200px; overflow-y: auto; }
    .form-row { grid-template-columns: 1fr; }
    .container { padding: 1rem; width: auto; }
}

/* ---- AUTH PAGES ---- */
.auth-wrap {
    min-height: calc(100vh - 64px);
    display: flex; align-items: center; justify-content: center; 
    padding: 2rem 1rem;
    background: linear-gradient(160deg, var(--ice) 0%, var(--gray-100) 100%);
}

.auth-card {
    width: 100%; max-width: 420px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-card h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gg-red);
    margin-bottom: .3rem;
}

.auth-card .auth-sub { color: var(--gray-600); font-size: .9rem; margin-bottom: 1.75rem; }

.auth-footer-link { text-align: center; margin-top: 1.25rem; font-size: .875rem; color: var(--gray-600); }
.auth-footer-link a { color: var(--gg-red-light); font-weight: 600; text-decoration: none; }

	
.burgermenu {
	display: none;
	color: white;
}

	
/*  Handy Version  */
	
@media (max-width: 768px){
	.brand-text {
		display: none;
	}
	
	.navbar-links{
		display: none;
	}
	
	.navbar-links.active {
		display: flex;
	}
	
	.burgermenu {
		display: block;
		font-size: 28px;
		cursor: pointer;
		right: 0;
	}
	
	.sidenav.active {
		display: flex;
		flex-direction: column;
	}
	
	.container{
		margin: 0 0;
		width: auto;
	}
	
}
	
/*Ende Handy Version*/
/* ============================================================
   ERWEITERUNGEN (2026-04-27)
   ============================================================ */

/* ---- Altes Burgermenu + Sidenav deaktivieren ---- */
.burgermenu { display: none !important; }
.sidenav    { display: none !important; }

/* ---- Neuer Burger-Button ---- */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}
.burger-btn:hover { background: rgba(255,255,255,.22); }
.burger-btn span {
    display: block;
    width: 20px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s ease;
    transform-origin: center;
}
/* Animiertes X */
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile-Menü (Slide-In von rechts) ---- */
.mobile-menu {
    position: fixed;
    top: 74px; right: 0;
    width: 260px;
    height: calc(100% - 74px);
    background: var(--gg-red);
    box-shadow: -4px 0 24px rgba(0,0,0,.3);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    display: flex; align-items: center; gap: .65rem;
    padding: .85rem 1.5rem;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: all .15s;
    border-left: 3px solid transparent;
}
.mobile-menu a:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
    border-left-color: var(--amber);
}
.mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 199;
}
.mobile-overlay.open { display: block; }

/* ---- Verifikations-Banner ---- */
.verify-banner {
    background: var(--amber-pale);
    border-bottom: 2px solid var(--amber);
    padding: .65rem 1.5rem;
    text-align: center;
    font-size: .875rem;
    color: #92400e;
}
.verify-banner a { color: var(--gg-red); font-weight: 700; text-decoration:none; }
.verify-banner a:hover { text-decoration: underline; }

/* ---- Angebote 4-Spalten-Grid ---- */
.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-top: 1.5rem;
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-600);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--gg-red); color: var(--gg-red); background: var(--ice); }
.pagination .active { background: var(--gg-red); color: var(--white); border-color: var(--gg-red); }
.pagination .dots   { border: none; color: var(--gray-400); width: auto; padding: 0 .25rem; }

/* ---- Gast-Blur (Name versteckt) ---- */
.name-hidden {
    display: inline-block;
    background: var(--gray-200);
    border-radius: 4px;
    color: transparent;
    user-select: none;
    cursor: default;
    min-width: 60px;
}

/* ---- Toggle Switch (Siteeinstellungen) ---- */
.toggle-wrap { display: flex; align-items: center; gap: .75rem; }
.toggle {
    position: relative; display: inline-block;
    width: 50px; height: 26px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0;
    background: var(--gray-400);
    border-radius: 26px;
    transition: .2s;
    cursor: pointer;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    left: 3px; bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: .2s;
}
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(24px); }

/* ---- Responsive Breakpoints ---- */
@media (max-width: 1100px) {
    .card-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .burger-btn { display: flex; }
    .navbar-links { display: none; }
    .brand-text { font-size: 18px; }
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .card-grid-4 { grid-template-columns: 1fr; }
    .form-row    { grid-template-columns: 1fr; }
    .container   { padding: 1rem; width: auto; }
    .auth-card   { padding: 1.5rem 1.25rem; }
}
