/**
 * ═══════════════════════════════════════════════════════════════════════════════════
 * PF_grazratgeber.css
 * Pink-Blue Design System (#e94796 → #667eea) – PF_preferences Pattern
 * ═══════════════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════════════════
   CSS VARIABLES (Pink-Blue Gradient wie PF_preferences)
   ═══════════════════════════════════════════════════════════════════════════════════ */
:root {
    --grazratgeber-primary: #e94796;
    --grazratgeber-secondary: #667eea;
    --grazratgeber-dark-pink: #d63384;
    --grazratgeber-dark-blue: #5568d3;
    --grazratgeber-light-pink: #fce4ec;
    --grazratgeber-light-blue: #e3f2fd;
    --grazratgeber-gradient: linear-gradient(135deg, #e94796 0%, #667eea 100%);
    --grazratgeber-dark: #1e1e1e;
    --grazratgeber-gray: #f5f5f5;
    --grazratgeber-border: #ddd;
    --grazratgeber-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --grazratgeber-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --grazratgeber-radius: 8px;
    --grazratgeber-transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   LAYOUT STRUCTURE (PF_LMS Pattern)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-layout-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pf-grazratgeber-topnav-spacer {
    height: var(--pf-dashboard-topnav-height, 60px);
    margin-top: 0;
    width: 100%;
    pointer-events: none;
    flex-shrink: 0;
}

.pf-grazratgeber-box {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.pf-grazratgeber-box.overlay-mode {
    width: 90vw;
    max-width: 1400px;
    height: 95vh;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px auto;
    padding: 0;
}

.pf-grazratgeber-box.dashboard-mode {
    margin: 10px;
    max-height: calc(100vh - 150px);
    overflow: hidden; /* Wichtig: overflow nur im Content, nicht in der Box */
}

.pf-grazratgeber-module {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Wichtig für korrektes Flex-Layout */
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   HEADER (PF_quizgen Pattern - Simplified)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-shrink: 0;
    background: var(--grazratgeber-gradient);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   SUCCESS/ERROR MESSAGE
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-message {
    margin: 15px 20px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pf-grazratgeber-message-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.pf-grazratgeber-message-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.pf-grazratgeber-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.pf-grazratgeber-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

/* Drag-Handle für Iconbar Integration */
.pf-drag-handle {
    cursor: move;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pf-drag-handle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.pf-grazratgeber-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pf-grazratgeber-icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.pf-grazratgeber-icon {
    font-size: 24px;
}

.pf-grazratgeber-title-section {
    display: flex;
    flex-direction: column;
}

.pf-grazratgeber-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.pf-grazratgeber-meta {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.pf-grazratgeber-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pf-grazratgeber-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
}

.pf-grazratgeber-user-avatar {
    font-size: 18px;
}

.pf-grazratgeber-user-name {
    font-weight: 600;
}

.pf-grazratgeber-guest-badge {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255, 165, 0, 0.3);
    border-radius: 6px;
    margin-left: 6px;
}

.pf-grazratgeber-btn-dashboard {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pf-grazratgeber-btn-dashboard:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   INFO SECTION (Toggleable) - PF_LMS 2-Column Grid
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-info-section {
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    padding: 20px;
    border-bottom: 2px solid var(--grazratgeber-primary);
    margin: 0;
    animation: pf-grazratgeber-info-slide-down 0.3s ease;
}

@keyframes pf-grazratgeber-info-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-grazratgeber-info-details {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2-Spalten Layout: Beschreibung links (2/3), Meta rechts (1/3) */
.pf-grazratgeber-info-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* LINKS: Beschreibung mit Scrollbar */
.pf-grazratgeber-info-description {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: 400px;
    overflow-y: auto;
}

.pf-grazratgeber-info-description::-webkit-scrollbar {
    width: 6px;
}

.pf-grazratgeber-info-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.pf-grazratgeber-info-description::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--grazratgeber-primary) 0%, var(--grazratgeber-secondary) 100%);
    border-radius: 3px;
}

.pf-grazratgeber-info-description label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--grazratgeber-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pf-grazratgeber-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.pf-grazratgeber-desc ul {
    margin: 10px 0;
    padding-left: 20px;
}

.pf-grazratgeber-desc li {
    margin: 6px 0;
}

/* RECHTS: Meta-Informationen gestapelt */
.pf-grazratgeber-info-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-grazratgeber-info-block {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pf-grazratgeber-info-block:hover {
    box-shadow: 0 4px 16px rgba(233, 71, 150, 0.15);
    transform: translateY(-2px);
}

.pf-grazratgeber-info-block label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--grazratgeber-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pf-grazratgeber-info-block .pf-grazratgeber-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   TAB NAVIGATION (PF_quizgen Style)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-tabs {
    display: flex;
    gap: 0;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
    border-left: 4px solid var(--grazratgeber-primary);
    border-right: 4px solid var(--grazratgeber-secondary);
    padding: 10px 20px 0 20px;
    margin-top: 0;
}

/* Border-Bottom mit Gradient (Grün → Blau) */
.pf-grazratgeber-tabs::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--grazratgeber-primary) 0%, var(--grazratgeber-secondary) 100%);
    z-index: 0;
}

.pf-grazratgeber-tabs::-webkit-scrollbar {
    display: none;
}

.pf-grazratgeber-tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: var(--grazratgeber-transition);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* Nicht-aktive Tabs: Gradient Border-Bottom */
.pf-grazratgeber-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grazratgeber-gradient);
    opacity: 0.3;
    transition: var(--grazratgeber-transition);
}

.pf-grazratgeber-tab-btn:hover {
    color: var(--grazratgeber-primary);
}

.pf-grazratgeber-tab-btn:hover::after {
    opacity: 0.6;
}

.pf-grazratgeber-tab-btn.active {
    color: var(--grazratgeber-primary);
    background: #fff;
}

/* Aktiver Tab: Gradient-Border unten ausblenden */
.pf-grazratgeber-tab-btn.active::after {
    opacity: 0;
}

/* Active Tab: Border oben, links (2px), rechts (2px) - KEIN Border unten */
.pf-grazratgeber-tab-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    right: -2px;
    bottom: 0;
    border-top: 2px solid var(--grazratgeber-primary);
    border-left: 2px solid var(--grazratgeber-primary);
    border-right: 2px solid var(--grazratgeber-secondary);
    border-bottom: 2px solid #fff;  /* Weiß = unsichtbar, verbindet Tab mit Content */
    z-index: -1;
}

/* Active Tab Text mit Gradient */
.pf-grazratgeber-tab-btn.active {
    background: var(--grazratgeber-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   TAB CONTENT (Flex Layout für Scroll-Container)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-tab-content {
    display: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.pf-grazratgeber-tab-content.active {
    display: flex;
    flex-direction: column;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   CONTENT AREA mit Custom Scrollbar & Border (PF_LMS Pattern)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #f8f9fa;
    min-height: 0;
    
    /* Seitliche Borders wie PF_LMS */
    border-left: 4px solid var(--grazratgeber-primary);
    border-right: 4px solid var(--grazratgeber-secondary);
}

.pf-grazratgeber-content::-webkit-scrollbar {
    width: 12px;
}

.pf-grazratgeber-content::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 6px;
}

.pf-grazratgeber-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--grazratgeber-primary), var(--grazratgeber-secondary));
    border-radius: 6px;
}

.pf-grazratgeber-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--grazratgeber-dark-green), var(--grazratgeber-dark-blue));
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   FILTER FORM (Moderne Inline-Buttons)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


.pf-grazratgeber-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.pf-grazratgeber-filter select {
    padding: 8px 12px;
    border: 1px solid var(--grazratgeber-border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pf-grazratgeber-filter select:hover {
    border-color: var(--grazratgeber-primary);
}

.pf-grazratgeber-filter select:focus {
    outline: none;
    border-color: var(--grazratgeber-primary);
    box-shadow: 0 0 0 3px rgba(233, 71, 150, 0.1);
}

.pf-grazratgeber-filter-search {
    flex: 1;
    min-width: 250px;
}

.pf-grazratgeber-filter-search input[type="text"] {
    padding: 8px 12px;
    border: 2px solid var(--grazratgeber-border);
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.3s ease;
}

.pf-grazratgeber-filter-search input[type="text"]:focus {
    outline: none;
    border-color: var(--grazratgeber-primary);
    box-shadow: 0 0 0 3px rgba(233, 71, 150, 0.1);
}

.pf-grazratgeber-filter-submit {
    padding: 8px 20px;
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pf-grazratgeber-filter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 71, 150, 0.3);
}

.pf-grazratgeber-filter-submit:active {
    transform: translateY(0);
}

.pf-grazratgeber-filter button {
    padding: 8px 20px;
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pf-grazratgeber-filter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 71, 150, 0.3);
}

.pf-grazratgeber-filter button:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   ENTRY CARDS (Card-Design wie PF_landingpagegenerator)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-entry {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--grazratgeber-primary);
}

.pf-grazratgeber-entry:hover {
    box-shadow: 0 4px 16px rgba(233, 71, 150, 0.15);
    transform: translateY(-2px);
}

.pf-grazratgeber-entry h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--grazratgeber-dark-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-grazratgeber-entry p {
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.pf-grazratgeber-entry p strong {
    color: var(--grazratgeber-primary);
    font-weight: 600;
}

.pf-grazratgeber-entry a {
    color: var(--grazratgeber-secondary);
    text-decoration: none;
    font-weight: 500;
}

.pf-grazratgeber-entry a:hover {
    text-decoration: underline;
}

/* Badge für "Empfohlen von" */
.pf-grazratgeber-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3436;
    margin-top: 10px;
}

/* Tags anzeigen */
.pf-grazratgeber-entry-tags {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pf-grazratgeber-entry-tags strong {
    color: #2c3e50;
}

.pf-grazratgeber-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    border: 1px solid rgba(233, 71, 150, 0.2);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #667eea;
    transition: all 0.3s ease;
}

.pf-grazratgeber-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   RATING FORM (Inline-Bewertung)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.pf-grazratgeber-rating label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.pf-grazratgeber-rating select {
    padding: 6px 10px;
    border: 1px solid var(--grazratgeber-border);
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.pf-grazratgeber-rating button {
    padding: 6px 16px;
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pf-grazratgeber-rating button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(233, 71, 150, 0.3);
}

.pf-grazratgeber-rating-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   RATING CARDS (Meine Bewertungen Tab)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-rating-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--grazratgeber-primary);
}

.pf-grazratgeber-rating-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.pf-grazratgeber-rating-card h4 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-grazratgeber-rating-my {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #fce4ec, #e3f2fd);
    border-radius: 6px;
    font-size: 0.95rem;
}

.pf-grazratgeber-rating-my strong {
    color: var(--grazratgeber-primary);
}

.pf-grazratgeber-rating-date {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
}

.pf-grazratgeber-rating-avg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.pf-grazratgeber-rating-avg strong {
    color: #2c3e50;
}

.pf-grazratgeber-rating-count {
    font-size: 0.85rem;
    color: #95a5a6;
}

.pf-grazratgeber-rating-desc {
    margin: 10px 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.pf-grazratgeber-rating-address {
    margin: 8px 0 0 0;
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   FOOTER (Sticky Button)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 20px;
    border-top: 2px solid var(--grazratgeber-primary);
    display: flex;
    justify-content: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.pf-grazratgeber-btn-add {
    padding: 12px 30px;
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(233, 71, 150, 0.25);
}

.pf-grazratgeber-btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 71, 150, 0.4);
}

.pf-grazratgeber-btn-add:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .pf-grazratgeber-info-layout {
        grid-template-columns: 1fr;
    }
    
    .pf-grazratgeber-header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .pf-grazratgeber-header-left,
    .pf-grazratgeber-header-right {
        width: 100%;
        justify-content: center;
    }
    
    .pf-grazratgeber-filter {
        flex-direction: column;
    }
    
    .pf-grazratgeber-filter label {
        width: 100%;
    }
    
    .pf-grazratgeber-tabs {
        overflow-x: auto;
    }
    
    .pf-grazratgeber-tab-btn {
        font-size: 12px;
        padding: 10px 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   ADD FORM STYLING (Professional 2-Column Layout)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-add-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
}

.pf-grazratgeber-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.pf-grazratgeber-form-group {
    display: flex;
    flex-direction: column;
}

.pf-grazratgeber-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--grazratgeber-dark);
    margin-bottom: 8px;
}

.pf-grazratgeber-form-group input,
.pf-grazratgeber-form-group textarea,
.pf-grazratgeber-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--grazratgeber-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pf-grazratgeber-form-group input:focus,
.pf-grazratgeber-form-group textarea:focus,
.pf-grazratgeber-form-group select:focus {
    outline: none;
    border-color: var(--grazratgeber-primary);
    box-shadow: 0 0 0 3px rgba(233, 71, 150, 0.1);
}

.pf-grazratgeber-form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.pf-grazratgeber-form-hint {
    display: block;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 6px;
    font-style: italic;
}

.pf-grazratgeber-form-hint a {
    color: var(--grazratgeber-primary);
    text-decoration: none;
}

.pf-grazratgeber-form-hint a:hover {
    text-decoration: underline;
}

.pf-grazratgeber-form-advanced {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.pf-grazratgeber-form-advanced summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--grazratgeber-secondary);
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pf-grazratgeber-form-advanced summary:hover {
    background: rgba(102, 126, 234, 0.1);
}

.pf-grazratgeber-form-advanced[open] summary {
    margin-bottom: 15px;
    color: var(--grazratgeber-primary);
}

.pf-grazratgeber-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--grazratgeber-border);
}

.pf-grazratgeber-btn-primary {
    padding: 14px 32px;
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.pf-grazratgeber-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 71, 150, 0.3);
}

.pf-grazratgeber-btn-secondary {
    padding: 14px 32px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid var(--grazratgeber-border);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pf-grazratgeber-btn-secondary:hover {
    background: #e0e0e0;
    border-color: #999;
}

/* Responsive: Single Column auf Mobile */
@media (max-width: 768px) {
    .pf-grazratgeber-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pf-grazratgeber-form-actions {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   STATISTICS GRID
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pf-grazratgeber-stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--grazratgeber-primary);
}

.pf-grazratgeber-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(233, 71, 150, 0.15);
}

.pf-grazratgeber-stat-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.pf-grazratgeber-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--grazratgeber-primary);
    margin-bottom: 5px;
}

.pf-grazratgeber-stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   TAB-ICONS (PF_quizgen Style mit Icon + Text)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-tab-icon {
    font-size: 18px;
    margin-right: 6px;
}

.pf-grazratgeber-tab-text {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive: Text auf kleinen Screens verstecken */
@media (max-width: 768px) {
    .pf-grazratgeber-tab-text {
        display: none;
    }
    .pf-grazratgeber-tab-icon {
        margin-right: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   FILTER-BAR (PF_quizgen Style)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-filter-bar {
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pf-grazratgeber-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-grazratgeber-filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--grazratgeber-dark);
    white-space: nowrap;
}

.pf-grazratgeber-filter-select {
    padding: 8px 12px;
    border: 2px solid var(--grazratgeber-primary);
    border-radius: 6px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: var(--grazratgeber-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.pf-grazratgeber-filter-select:hover {
    border-color: var(--grazratgeber-secondary);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.pf-grazratgeber-filter-select:focus {
    outline: none;
    border-color: var(--grazratgeber-secondary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pf-grazratgeber-filter-reset {
    padding: 8px 16px;
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.pf-grazratgeber-filter-reset:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 71, 150, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   OPENSTREETMAP CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-map-container {
    border: 2px solid var(--grazratgeber-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.pf-grazratgeber-map-legend {
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex !important;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    border: 1px solid rgba(233, 71, 150, 0.2);
}

.pf-grazratgeber-map-legend strong {
    color: #2c3e50;
    font-weight: 700;
    margin-right: 10px;
    font-size: 15px;
}

.pf-grazratgeber-legend-item {
    background: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    user-select: none;
}

.pf-grazratgeber-legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pf-grazratgeber-legend-item.active {
    background: white;
    border-color: var(--grazratgeber-primary);
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   MISSING COORDINATES LIST
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-missing-coords {
    background: #fffbea;
    border: 2px solid #f39c12;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.pf-grazratgeber-missing-coords-header h4 {
    margin: 0 0 8px 0;
    color: #d68910;
    font-size: 1.1rem;
}

.pf-grazratgeber-missing-coords-header p {
    margin: 0 0 15px 0;
    color: #7f6e00;
    font-size: 0.9rem;
}

.pf-grazratgeber-missing-coords-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-grazratgeber-missing-coords-item {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #f39c12;
    transition: all 0.3s ease;
}

.pf-grazratgeber-missing-coords-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateX(3px);
}

.pf-grazratgeber-missing-coords-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.pf-grazratgeber-missing-coords-title strong {
    color: #2c3e50;
    font-size: 0.95rem;
}

.pf-grazratgeber-missing-coords-address {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
}

.pf-grazratgeber-missing-coords-more {
    text-align: center;
    padding: 10px;
    color: #95a5a6;
    font-style: italic;
    font-size: 0.9rem;
}

.pf-grazratgeber-badge {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--grazratgeber-primary), var(--grazratgeber-secondary));
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pf-grazratgeber-legend-item:not(.active) {
    background: #e0e0e0;
    color: #999;
    opacity: 0.5;
    text-decoration: line-through;
}

.pf-grazratgeber-legend-item:not(.active):hover {
    opacity: 0.7;
    background: #d0d0d0;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   PLACEHOLDER für noch nicht implementierte Features
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-placeholder {
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
}

.pf-grazratgeber-placeholder-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.pf-grazratgeber-placeholder-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.pf-grazratgeber-section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--grazratgeber-border);
}

.pf-grazratgeber-section-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--grazratgeber-dark);
    margin: 0 0 8px 0;
}

.pf-grazratgeber-section-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   DSGVO CONSENT BOX für OpenStreetMap
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-consent-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid var(--grazratgeber-primary);
    border-radius: 16px;
    padding: 40px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: pf-grazratgeber-consent-fade-in 0.4s ease;
}

@keyframes pf-grazratgeber-consent-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-grazratgeber-consent-content {
    text-align: center;
}

.pf-grazratgeber-consent-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pf-grazratgeber-consent-pulse 2s ease-in-out infinite;
}

@keyframes pf-grazratgeber-consent-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.pf-grazratgeber-consent-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--grazratgeber-dark);
    margin: 0 0 20px 0;
}

.pf-grazratgeber-consent-text {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--grazratgeber-primary);
    text-align: left;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pf-grazratgeber-consent-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 10px 0;
}

.pf-grazratgeber-consent-text strong {
    color: var(--grazratgeber-dark);
    font-weight: 700;
}

.pf-grazratgeber-consent-text ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
}

.pf-grazratgeber-consent-text li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 14px;
    color: #555;
}

.pf-grazratgeber-consent-text li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--grazratgeber-primary);
    font-weight: 700;
    font-size: 16px;
}

.pf-grazratgeber-consent-privacy {
    background: linear-gradient(135deg, #fce4ec 0%, #e3f2fd 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.pf-grazratgeber-consent-privacy a {
    color: var(--grazratgeber-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pf-grazratgeber-consent-privacy a:hover {
    color: var(--grazratgeber-dark-blue);
    text-decoration: underline;
}

.pf-grazratgeber-consent-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
}

.pf-grazratgeber-consent-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.pf-grazratgeber-consent-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.pf-grazratgeber-consent-accept {
    background: var(--grazratgeber-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(233, 71, 150, 0.3);
}

.pf-grazratgeber-consent-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 71, 150, 0.4);
}

.pf-grazratgeber-consent-decline {
    background: #e0e0e0;
    color: #666;
}

.pf-grazratgeber-consent-decline:hover {
    background: #d0d0d0;
    color: #333;
    transform: translateY(-2px);
}

/* Responsive: Buttons stacken auf kleinen Screens */
@media (max-width: 768px) {
    .pf-grazratgeber-consent-box {
        padding: 25px 20px;
    }
    
    .pf-grazratgeber-consent-actions {
        flex-direction: column;
    }
    
    .pf-grazratgeber-consent-btn {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   FOOTER (PF_LMS Pattern)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-grazratgeber-footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    flex-shrink: 0;
    background: var(--grazratgeber-gradient);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.pf-grazratgeber-footer-left,
.pf-grazratgeber-footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pf-grazratgeber-scroll-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pf-grazratgeber-scroll-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pf-grazratgeber-scroll-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .pf-grazratgeber-footer {
        flex-direction: column;
        gap: 10px;
        padding: 12px 20px;
    }
    
    .pf-grazratgeber-footer-left,
    .pf-grazratgeber-footer-right {
        font-size: 11px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   EDIT BUTTON & MODAL
   ═══════════════════════════════════════════════════════════════════════════════════ */

.pf-grazratgeber-edit-btn {
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--grazratgeber-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--grazratgeber-transition);
    margin-top: 12px;
    box-shadow: var(--grazratgeber-shadow);
}

.pf-grazratgeber-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--grazratgeber-shadow-hover);
}

.pf-grazratgeber-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: pf-grazratgeber-modal-fade-in 0.3s ease;
}

@keyframes pf-grazratgeber-modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pf-grazratgeber-edit-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pf-grazratgeber-modal-slide-up 0.3s ease;
}

@keyframes pf-grazratgeber-modal-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pf-grazratgeber-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: var(--grazratgeber-transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pf-grazratgeber-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--grazratgeber-primary);
    transform: rotate(90deg);
}

.pf-grazratgeber-edit-content h2 {
    margin-bottom: 25px;
    color: var(--grazratgeber-dark);
    font-size: 24px;
    background: var(--grazratgeber-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .pf-grazratgeber-edit-content {
        padding: 20px;
        width: 95%;
        max-height: 90vh;
    }
    
    .pf-grazratgeber-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   KOORDINATEN-OVERLAY (Karte rechts unten)
   ═══════════════════════════════════════════════════════════════════════════════════ */

.pf-grazratgeber-coords-overlay {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-family: 'Courier New', monospace;
    border: 2px solid var(--grazratgeber-primary);
}

.pf-grazratgeber-coords-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.pf-grazratgeber-coords-lat,
.pf-grazratgeber-coords-lon {
    color: var(--grazratgeber-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pf-grazratgeber-coords-copy {
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--grazratgeber-transition);
    margin-top: 4px;
    width: 100%;
}

.pf-grazratgeber-coords-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pf-grazratgeber-coords-copy:active {
    transform: scale(0.98);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   FIRMEN-CARDS (Companies)
   ═══════════════════════════════════════════════════════════════════════════════════ */

.pf-grazratgeber-companies-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.pf-grazratgeber-company-card {
    background: white;
    border: 1px solid var(--grazratgeber-border);
    border-radius: var(--grazratgeber-radius);
    padding: 20px;
    box-shadow: var(--grazratgeber-shadow);
    transition: var(--grazratgeber-transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pf-grazratgeber-company-card:hover {
    box-shadow: var(--grazratgeber-shadow-hover);
    transform: translateY(-2px);
}

.pf-grazratgeber-company-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--grazratgeber-light-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-grazratgeber-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.pf-grazratgeber-company-content {
    flex: 1;
}

.pf-grazratgeber-company-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: var(--grazratgeber-dark);
    background: var(--grazratgeber-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-grazratgeber-company-content p {
    margin: 0 0 15px 0;
    color: #555;
    line-height: 1.6;
}

.pf-grazratgeber-company-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.pf-grazratgeber-company-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.pf-grazratgeber-company-info-icon {
    font-size: 16px;
    width: 20px;
}

.pf-grazratgeber-company-info-item a {
    color: var(--grazratgeber-primary);
    text-decoration: none;
    transition: var(--grazratgeber-transition);
}

.pf-grazratgeber-company-info-item a:hover {
    color: var(--grazratgeber-dark-pink);
    text-decoration: underline;
}

.pf-grazratgeber-company-map-btn {
    background: var(--grazratgeber-gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--grazratgeber-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--grazratgeber-transition);
    box-shadow: var(--grazratgeber-shadow);
}

.pf-grazratgeber-company-map-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--grazratgeber-shadow-hover);
}

/* Responsive Firmen-Cards */
@media (max-width: 768px) {
    .pf-grazratgeber-company-card {
        flex-direction: column;
    }
    
    .pf-grazratgeber-company-logo {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   FIRMEN-KARTE & LOGO-MARKER
   ═══════════════════════════════════════════════════════════════════════════════════ */

.pf-grazratgeber-logo-marker {
    border: 2px solid white !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    background: white !important;
}

.pf-grazratgeber-company-popup {
    min-width: 200px;
}

.pf-grazratgeber-company-popup h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--grazratgeber-dark);
}

.pf-grazratgeber-company-popup p {
    margin: 5px 0;
    font-size: 13px;
}

.pf-grazratgeber-company-popup a {
    color: var(--grazratgeber-primary);
    text-decoration: none;
}

.pf-grazratgeber-company-popup a:hover {
    text-decoration: underline;
}

/* Checkbox-Label Styling */
.pf-grazratgeber-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.pf-grazratgeber-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.pf-grazratgeber-checkbox-label span {
    user-select: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER (i18n) - Im Header
   ═══════════════════════════════════════════════════════════════════════════════════ */

.pf-grazratgeber-language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pf-grazratgeber-lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--grazratgeber-dark);
    padding: 6px 12px;
    border-radius: var(--grazratgeber-radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--grazratgeber-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.pf-grazratgeber-lang-btn:hover {
    border-color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background: white;
}

.pf-grazratgeber-lang-btn.active {
    background: white;
    color: var(--grazratgeber-primary);
    border-color: white;
    box-shadow: 0 2px 6px rgba(233, 71, 150, 0.3);
}


