:root {
    --primary: #0f172a;       /* Navy */
    --accent: #2563eb;        /* Royal Blue */
    --accent-hover: #1d4ed8;
    --bg-body: #f8fafc;       /* Helles Grau/Weiß */
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --danger: #ef4444;
    --success: #22c55e;
    --deal-gold: #fbbf24;     /* Deal Farbe */
    --deal-text: #78350f;
    --border-radius: 6px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --max-width: 1280px; 
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.5; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--primary); font-weight: 800; line-height: 1.2; margin-bottom: 0.5rem; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* --- LAYOUT UTILITIES --- */
.container { 
    max-width: var(--max-width); 
    margin: 0 auto; 
    padding: 0 1rem; 
    width: 100%; 
}

.main-content { flex: 1; padding-bottom: 4rem; }
.text-center { text-align: center; }

/* --- NAVBAR --- */
.navbar { 
    background: var(--bg-white); 
    border-bottom: 1px solid #e2e8f0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    height: 60px; 
    display: flex; 
    align-items: center; 
}

.nav-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 900; 
    color: var(--primary); 
    letter-spacing: -1px; 
}
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 8px; align-items: center; }

/* --- BUTTONS & FORMS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1.2rem; border-radius: var(--border-radius); font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; text-decoration: none; transition: 0.2s; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--text-main); border: 1px solid #cbd5e1; }
.btn-secondary:hover { background: #f1f5f9; border-color: #94a3b8; }
.w-full { width: 100%; }

.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-control { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: var(--border-radius); background: #fff; }
.form-control:focus { outline: none; border-color: var(--accent); ring: 2px solid rgba(37,99,235,0.1); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

/* Pflichtfelder & Hinweise */
.req { color: var(--danger); font-weight: bold; margin-left: 2px; }
.form-note { font-size: 0.85rem; color: var(--text-light); margin-top: 1rem; }

/* --- HERO & SUCHE --- */
.hero { background: var(--primary); color: white; padding: 2rem 1rem 3rem 1rem; text-align: center; }
.hero h1 { color: white; margin-bottom: 0.5rem; font-size: 2rem; }
.hero p { color: #94a3b8; margin-bottom: 2rem; font-size: 1.1rem; }

.search-bar { max-width: 900px; margin: 0 auto; }
.search-form { display: flex; flex-direction: column; gap: 10px; }
.search-input-group { background: white; border-radius: var(--border-radius); padding: 0.8rem 1rem; border: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); font-size: 1rem; }
.search-btn-hero { padding: 0.8rem 2rem; font-size: 1.1rem; box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3); }

/* --- FILTER BAR --- */
.filter-bar { 
    background: white; 
    border-bottom: 1px solid #e5e7eb; 
    padding: 1rem 0; 
    margin-bottom: 2rem; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.03); 
}

.filter-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    align-items: center; 
    justify-content: space-between; 
}

.filter-label {
    font-size: 0.7rem; font-weight: 800; color: #94a3b8; text-transform: uppercase;
    letter-spacing: 0.05em; margin-right: 8px; white-space: nowrap; user-select: none; align-self: center;
}

.filter-group-left { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-group-right { display: flex; align-items: center; margin-left: auto; gap: 10px; }

.filter-select { 
    padding: 0.6rem 2.5rem 0.6rem 1rem; border: 1px solid #d1d5db; border-radius: var(--border-radius);
    background-color: white; font-size: 0.9rem; color: var(--text-main); cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1em;
    transition: all 0.2s; min-width: 160px; 
}
.filter-select:hover { border-color: #9ca3af; background-color: #f9fafb; }
.filter-select:focus { outline: none; border-color: var(--accent); }

.price-input-group {
    display: flex; align-items: center; background: white; border: 1px solid #d1d5db;
    border-radius: var(--border-radius); padding: 2px 5px 2px 15px; overflow: hidden; transition: border 0.2s;
}
.price-input-group:focus-within { border-color: var(--accent); }

.filter-input { 
    padding: 0.5rem 0; border: none; width: 80px; flex: 1; font-size: 0.9rem; 
    text-align: center; outline: none; color: var(--text-main); background: transparent; min-width: 0;     
}
.price-separator { color: #cbd5e1; margin: 0 5px; font-weight: 300; }

.btn-go {
    background: #eff6ff; color: var(--accent); border: none; font-weight: 700;
    font-size: 0.8rem; padding: 0.5rem 1rem; border-radius: var(--border-radius);
    cursor: pointer; margin-left: 5px; white-space: nowrap;
}
.btn-go:hover { background: var(--accent); color: white; }

.filter-toggle-btn { display: none; }

/* --- CARDS & GRID --- */
.grid-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.card { 
    background: white; 
    border: 1px solid #e2e8f0; 
    border-radius: var(--border-radius); 
    overflow: hidden; 
    position: relative; 
    box-shadow: var(--shadow-card); 
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* DEAL CARD STYLING (FRONTEND) */
.card-deal {
    border: 2px solid var(--deal-gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}
.card-deal::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--deal-gold); z-index: 5;
}
.card-deal:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.card-img { 
    height: 220px; 
    background: #fff; 
    overflow: hidden; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-bottom: 1px solid #f1f5f9; 
    flex-shrink: 0;
}
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-tag { position: absolute; top: 10px; left: 10px; background: rgba(15, 23, 42, 0.9); padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: white; z-index: 2; box-shadow: 0 2px 4px rgba(0,0,0,0.2); letter-spacing: 0.5px; }

.card-body { 
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title { 
    font-weight: 800; 
    font-size: 1.15rem; 
    margin-bottom: 0.5rem; 
    color: var(--text-main); 
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.card-provider { 
    font-size: 0.85rem; 
    color: var(--text-light); 
    margin-bottom: 0.5rem; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer { 
    margin-top: auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    gap: 10px; 
    padding-top: 1rem;
}

.location-text { 
    color: var(--text-light); font-size: 0.9rem; display: flex; align-items: center; gap: 4px;
    flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}

.dist-badge {
    color: #166534; font-size: 0.8rem; background: #dcfce7; padding: 2px 6px; 
    border-radius: 4px; margin-left: 5px; font-weight: 600; display: inline-block;
}

.price-tag { font-weight: 800; color: var(--accent); font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.price-tag.request-label {
    font-size: 0.9rem; color: var(--accent); background: #eff6ff; 
    padding: 4px 8px; border-radius: 4px; text-transform: uppercase; 
    font-weight: 700; letter-spacing: 0.5px;
}

/* --- DASHBOARD & CONTENT BOX --- */
.dashboard-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 2rem; 
    padding: 2rem 0; 
}
.dashboard-grid > div:nth-child(1) { order: 2; } 
.dashboard-grid > div:nth-child(2) { order: 1; }

.sidebar-card { background: var(--bg-white); padding: 1.5rem; border-radius: 8px; border: 1px solid #e2e8f0; }

.ad-item { background: white; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.ad-item-img { width: 80px !important; height: 80px !important; min-width: 80px; background: #f1f5f9; border-radius: 4px; object-fit: cover; display: block; }
.ad-item-info { display: flex; gap: 1rem; align-items: center; width: 100%; }
.ad-actions { display: flex; gap: 0.5rem; margin-top: auto; width: 100%; }
.ad-actions a, .edit-btn, .delete-btn { flex: 1; display: inline-flex; justify-content: center; align-items: center; text-align: center; font-size: 0.9rem; padding: 0.6rem; border-radius: 6px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: 0.2s; cursor: pointer; }
.btn-edit { background: #eff6ff; color: var(--accent); }
.btn-delete { background: #fef2f2; color: var(--danger); }
.empty-state { text-align: center; padding: 3rem; border: 2px dashed #e2e8f0; border-radius: 8px; color: var(--text-light); }

/* DASHBOARD DEAL HIGHLIGHT */
.ad-item.is-deal {
    border: 2px solid var(--deal-gold) !important;
    background: linear-gradient(to right, #fffbeb, #ffffff);
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.2);
    position: relative;
    border-left: 2px solid var(--deal-gold) !important;
}
.ad-item.is-deal::before {
    content: "⚡ FIXFIND DEAL";
    position: absolute; top: -11px; left: 10px;
    background: var(--deal-gold); color: #000;
    font-size: 0.65rem; font-weight: 800; padding: 2px 8px;
    border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); z-index: 10;
}

/* CONTENT BOX */
.content-box { 
    background: white; 
    border: 1px solid #e2e8f0; 
    border-radius: var(--border-radius); 
    padding: 2rem; 
    margin-bottom: 2rem; 
    box-shadow: var(--shadow-card); 
    max-width: 850px; 
    margin-left: auto; 
    margin-right: auto;
}

/* --- VIEW PAGE --- */
.view-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sidebar-price { font-size: 2.5rem; font-weight: 900; color: var(--accent); margin-bottom: 0.2rem; line-height: 1; text-align: center; }
.sidebar-price-label { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }
.seller-widget { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 1.5rem; }
.seller-avatar { width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.seller-info h4 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--primary); }
.seller-info span { font-size: 0.85rem; color: var(--text-light); }

/* GALERIE */
.gallery-wrapper { position: relative; background: #f1f5f9; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; }
.gallery-container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; height: 100%; scroll-behavior: smooth; }
.gallery-item { flex: 0 0 100%; scroll-snap-align: center; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: white; }
.gallery-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 50; font-size: 1.2rem; color: var(--primary); user-select: none; }
.slider-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 10px; } .slider-next { right: 10px; }

/* BILD UPLOAD */
.image-upload-section { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; }
.upload-group { margin-bottom: 1.5rem; }
.upload-card { background: white; border: 2px dashed #cbd5e1; border-radius: 8px; padding: 1rem; text-align: center; position: relative; transition: all 0.2s; cursor: pointer; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.upload-card:hover, .upload-card:focus-within { border-color: var(--accent); background: #eff6ff; }
.upload-preview-img { width: 100%; max-width: 250px; height: 140px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.file-input-hidden { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10; }
.upload-hint { font-size: 0.85rem; color: #64748b; }
.upload-btn-fake { background: var(--primary, #2563eb); color: white; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; margin-top: 5px; pointer-events: none; }
.gallery-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; margin-top: 10px; }
.gallery-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid #cbd5e1; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }

/* --- EDITOR FIX & TYPOGRAPHIE --- */
.ql-container { background: white; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; font-size: 1rem; font-family: inherit; }
.ql-toolbar { background: #f1f5f9; border-top-left-radius: 8px; border-top-right-radius: 8px; border-color: #d1d5db !important; }
.ql-container.ql-snow { border-color: #d1d5db !important; }

/* SPACING FIX: Reduzierter Abstand für kompakte Darstellung */
.description-content p {
    margin-bottom: 0.5em; /* Reduziert von 1em */
    line-height: 1.6;
    min-height: 1em;
}
.description-content ul, .description-content ol {
    margin-bottom: 0.8em;
    margin-top: 0.5em;
    margin-left: 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}
.description-content li { margin-bottom: 0.25rem; list-style-type: disc; }
/* Auch für Editor Vorschau anwenden */
#editor-container .ql-editor p { margin-bottom: 0.5em; }

.thumbnails-container { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scroll-behavior: smooth; }
.thumb-item { width: 70px; height: 50px; flex-shrink: 0; cursor: pointer; border-radius: 4px; border: 2px solid transparent; opacity: 0.6; transition: 0.2s; overflow: hidden; }
.thumb-item:hover, .thumb-item.active { opacity: 1; border-color: var(--accent); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* CRAWLED / WEB RESULTS */
.card-crawled { background: #f8fafc; border-color: #e2e8f0; }
.card-crawled .card-img { background: #f1f5f9; color: #94a3b8; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 3rem; }
.card-crawled .card-title { color: #475569; }
.web-result-badge { display: inline-block; background: #e2e8f0; color: #64748b; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; margin-bottom: 4px; letter-spacing: 0.5px; }

/* CLAIM & AI WIDGETS */
.claim-business-box { background: #f0f9ff; border: 2px solid #60a5fa; border-radius: 8px; padding: 1.5rem; margin-top: 2rem; text-align: center; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); position: relative; overflow: hidden; }
.claim-business-box::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent); }
.claim-business-box h4 { color: #1e3a8a; font-size: 1.2rem; margin-bottom: 0.5rem; }
.ai-note { background-color: #fffbeb; border: 1px solid #fcd34d; color: #92400e; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.95rem; display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.ai-note span { font-size: 1.4rem; line-height: 1; flex-shrink: 0; margin-top: -2px; }
.ai-note strong { font-weight: 700; color: #78350f; }

/* LOADER */
.loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.95); z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; backdrop-filter: blur(2px); }
.spinner { width: 60px; height: 60px; border: 5px solid #e2e8f0; border-top: 5px solid var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 1.5rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.loader-text h3 { margin-bottom: 0.5rem; color: var(--primary); }
.loader-text p { color: var(--text-light); font-size: 0.95rem; }

/* SHARE WIDGET */
.share-widget { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border: 1px solid #bae6fd; border-radius: var(--border-radius); padding: 1.5rem; margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.share-text h4 { margin: 0 0 0.3rem 0; color: #0c4a6e; font-size: 1.1rem; }
.share-text p { margin: 0; font-size: 0.9rem; color: #0284c7; }
.share-buttons { display: flex; gap: 10px; }
.btn-share { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1rem; border-radius: 6px; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; font-size: 0.95rem; }
.btn-share:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebc57; }
.btn-general { background: white; color: var(--primary); border: 1px solid #cbd5e1; }
.btn-general:hover { background: #f8fafc; border-color: #94a3b8; }

/* DEAL BANNER IN EDIT */
.deal-banner {
    background: #fffbeb; border: 2px solid var(--deal-gold); color: var(--deal-text);
    padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; font-weight: bold;
    display: flex; align-items: center; gap: 10px;
}

/* MEDIA QUERIES */
@media (max-width: 900px) {
    .filter-toggle-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; background: white; border: 1px solid #d1d5db; padding: 0.8rem 1rem; border-radius: var(--border-radius); font-weight: 700; color: var(--text-main); cursor: pointer; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: background 0.2s; }
    .filter-toggle-btn:hover { background: #f9fafb; }
    .filter-icon-svg { width: 18px; height: 18px; margin-right: 8px; fill: var(--text-main); vertical-align: middle; }
    .filter-wrapper { display: none; }
    .filter-wrapper.show { display: flex; flex-direction: column; align-items: stretch; gap: 0; animation: slideDown 0.3s ease-out; }
    .filter-group-left, .filter-group-right { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; margin-left: 0; margin-bottom: 1.5rem; padding-top: 0.5rem; }
    .filter-label { align-self: flex-start; margin-bottom: 0; margin-left: 2px; font-size: 0.75rem; color: var(--text-light); }
    .filter-select { width: 100%; }
    .price-input-group { width: 100%; padding: 4px 6px 4px 15px; }
    .filter-group-right { border-top: 1px dashed #e2e8f0; padding-top: 1.5rem; margin-bottom: 0; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .hero { padding: 1.5rem 1rem 2rem 1rem; }
    .hero h1 { font-size: 1.6rem; }
    .text-center-mobile { text-align: center !important; }
}
@media (max-width: 768px) {
    .editor-toolbar { display: none !important; }
    .textarea-editor { border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); border-top: 1px solid #cbd5e1; }
}
@media (min-width: 768px) {
    .navbar { height: 70px; }
    .logo { font-size: 1.8rem; }
    .desktop-text { display: inline; }
    .btn-nav-cta { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
    .search-form { flex-direction: row; }
    .search-input-group { width: auto; flex: 1; }
    .search-btn-hero { width: auto; }
    .view-grid { grid-template-columns: 2fr 1fr; align-items: start; }
    .sticky-sidebar { position: sticky; top: 90px; }
    .dashboard-grid { display: grid; grid-template-columns: 300px 1fr; }
    .dashboard-grid > div:nth-child(1) { order: initial; }
    .dashboard-grid > div:nth-child(2) { order: initial; }
    .ad-item { flex-direction: row; align-items: center; justify-content: space-between; }
    .ad-item-info { margin-right: 2rem; }
    .ad-actions { width: auto; margin-top: 0; flex-shrink: 0; }
    .ad-actions a { width: auto; padding: 0.5rem 1rem; flex: initial; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .footer-nav { flex-direction: row; justify-content: center; gap: 20px; flex-wrap: wrap; }
    .footer-sep { display: inline; color: #334155; }
    .image-upload-section { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
    .upload-group { margin-bottom: 0; display: flex; flex-direction: column; }
    .upload-card { flex: 1; min-height: 200px; }
}
@media (max-width: 600px) {
    .share-widget { flex-direction: column; text-align: center; padding: 1.2rem; }
    .share-buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .btn-share { width: 100%; padding: 0.8rem; }
}
/* --- TOOLS & QR GENERATOR STYLES --- */
.tool-header {
    background: #f8fafc;
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.qr-card { 
    background: white; 
    padding: 2rem; 
    border-radius: 12px; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
    text-align: center; 
    max-width: 400px; 
    width: 100%; 
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.qr-input { 
    padding: 12px; 
    width: 100%; 
    box-sizing: border-box; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    margin-bottom: 20px; 
    font-size: 16px; 
}

.btn-qr {
    background-color: var(--primary);
    color: white;
    padding: 12px 20px; 
    border: none; 
    border-radius: 5px; 
    font-weight: bold; 
    width: 100%; 
    font-size: 16px; 
    cursor: pointer;
}
.btn-qr:hover { background-color: var(--primary-dark); }

#qrcode-container { 
    margin-top: 20px; 
    padding: 10px; 
    display: inline-block;
    /* Transparenz-Schachbrettmuster */
    background-image: 
        linear-gradient(45deg, #eee 25%, transparent 25%), 
        linear-gradient(-45deg, #eee 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #eee 75%), 
        linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 20px 20px; 
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#qrcode img { display: block; max-width: 100%; height: auto; }
.qr-hint { font-size: 0.85rem; color: #64748b; margin-top: 15px; line-height: 1.4; }
/* ==============================================
MOBILE FIX FÜR ÜBER-SEITE
Füge diesen Code am Ende deiner styles.css hinzu
============================================== */

/* Über-Seite Hero Anpassungen */
.about-hero {
padding: 2rem 1rem 2.5rem 1rem !important;
}

.hero-subtitle {
color: #cbd5e1;
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto;
}

.desktop-br {
display: inline;
}

/* Mission Text */
.mission-text {
font-size: 1.05rem;
color: var(–text-main);
margin-bottom: 1rem;
line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
margin: 2rem 0;
}

.pricing-header {
text-align: center;
margin-bottom: 2rem;
}

.pricing-header h3 {
font-size: 1.5rem;
color: #1e3a8a;
margin-bottom: 0.5rem;
}

.pricing-header p {
color: #64748b;
font-size: 0.95rem;
}

.pricing-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
align-items: stretch;
}

.pricing-card,
.pioneer-card {
background: white;
padding: 1.5rem;
border-radius: 12px;
border: 1px solid #e2e8f0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pricing-card h4,
.pioneer-card h4 {
color: #1e3a8a;
margin-bottom: 1rem;
font-size: 1.1rem;
}

.price-display {
font-size: 2rem;
font-weight: 900;
color: #1e3a8a;
margin: 1rem 0;
line-height: 1.2;
}

.price-suffix {
font-size: 0.85rem;
color: #64748b;
font-weight: normal;
display: block;
margin-top: 0.3rem;
}

.price-description {
color: #475569;
line-height: 1.6;
font-size: 0.95rem;
}

.pioneer-text {
margin-bottom: 1rem;
line-height: 1.6;
font-size: 0.95rem;
}

.pioneer-benefits {
list-style: none;
padding: 0;
margin: 1.5rem 0;
}

.pioneer-benefits li {
margin-bottom: 0.8rem;
font-size: 0.95rem;
}

.cta-btn {
margin-top: 1.5rem;
width: 100%;
text-align: center;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
.about-hero {
padding: 1.5rem 1rem 2rem 1rem !important;
}

```
.hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
}

.desktop-br {
    display: none;
}

.content-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-box h2 {
    font-size: 1.3rem;
}

.mission-text {
    font-size: 1rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
}

.pricing-card,
.pioneer-card {
    padding: 1.25rem;
}

.price-display {
    font-size: 1.75rem;
}

.price-suffix {
    font-size: 0.8rem;
}
```

}

/* Tablet und größer */
@media (min-width: 769px) {
.pricing-grid {
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: center;
}

```
.cta-btn {
    width: auto;
}

.about-hero {
    padding: 3rem 1rem !important;
}

.hero-subtitle {
    font-size: 1.2rem;
}
```

}

/* Extra kleine Geräte */
@media (max-width: 480px) {
.about-hero h1 {
font-size: 1.5rem;
}

```
.hero-subtitle {
    font-size: 0.95rem;
}

.pricing-header h3 {
    font-size: 1.1rem;
}

.price-display {
    font-size: 1.5rem;
}


}
/* ==============================================
MOBILE FIX FÜR LANDING PAGE
Füge diesen Code am Ende deiner styles.css hinzu
============================================== */

/* Landing Page Hero Section */
.landing-hero {
background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
padding: 2rem 1rem 2.5rem;
text-align: center;
}

.badge-pioneer {
background: #dbeafe;
color: #1e40af;
padding: 6px 16px;
border-radius: 50px;
font-size: 0.85rem;
font-weight: bold;
letter-spacing: 0.5px;
border: 1px solid #bfdbfe;
display: inline-block;
}

.landing-hero h1 {
margin-top: 1.5rem;
margin-bottom: 1rem;
font-size: 2rem;
line-height: 1.2;
color: #1e3a8a;
font-weight: 900;
}

.landing-subtitle {
font-size: 1.05rem;
color: #475569;
margin-bottom: 2rem;
max-width: 650px;
margin-left: auto;
margin-right: auto;
line-height: 1.6;
}

/* Onboarding Form Box */
.onboarding-box {
padding: 2rem;
border: 1px solid #bfdbfe;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
border-radius: var(–border-radius);
background: white;
}

.value-badge {
position: absolute;
top: 0;
right: 0;
background: #fbbf24;
color: #78350f;
font-weight: bold;
font-size: 0.75rem;
padding: 5px 12px;
border-bottom-left-radius: 8px;
}

.onboarding-box h3 {
margin-bottom: 0.5rem;
font-size: 1.3rem;
color: #1e3a8a;
}

.onboarding-box .subtitle {
margin-bottom: 1.5rem;
color: #64748b;
font-size: 0.9rem;
}

.form-grid-landing {
display: grid;
grid-template-columns: 1fr;
gap: 15px;
text-align: left;
}

.submit-btn-landing {
margin-top: 1.5rem;
padding: 1rem;
font-size: 1rem;
background: #2563eb;
width: 100%;
}

.form-hints {
font-size: 0.75rem;
color: #94a3b8;
margin-top: 15px;
display: flex;
flex-direction: column;
gap: 8px;
justify-content: center;
align-items: center;
}

/* Why Section */
.why-section {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
align-items: center;
padding: 2rem 0;
}

.why-content h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #1e3a8a;
}

.why-content p {
color: #475569;
margin-bottom: 1.5rem;
line-height: 1.6;
font-size: 0.95rem;
}

.benefit-list {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
gap: 1rem;
}

.benefit-item {
display: flex;
gap: 10px;
align-items: start;
}

.benefit-checkmark {
color: var(–accent);
font-weight: bold;
font-size: 1.2rem;
flex-shrink: 0;
}

.benefit-text strong {
display: block;
margin-bottom: 2px;
}

.benefit-description {
font-size: 0.85rem;
color: #64748b;
}

.video-container {
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
border: 1px solid #e2e8f0;
background: black;
margin-top: 1rem;
}

.video-container video {
width: 100%;
height: auto;
display: block;
}

/* Comparison Section */
.comparison-section {
background-color: #f8fafc;
padding: 3rem 0;
border-top: 1px solid #e2e8f0;
}

.comparison-header {
text-align: center;
margin-bottom: 2rem;
}

.comparison-header h2 {
font-size: 1.6rem;
color: #1e3a8a;
margin-bottom: 1rem;
}

.comparison-header p {
color: #64748b;
font-size: 1rem;
}

.table-wrapper {
overflow-x: auto;
background: white;
border-radius: 12px;
box-shadow: var(–shadow-card);
border: 1px solid #e2e8f0;
-webkit-overflow-scrolling: touch;
}

.comparison-table {
width: 100%;
border-collapse: collapse;
text-align: left;
min-width: 600px;
}

.comparison-table thead tr {
background: #f1f5f9;
}

.comparison-table th {
padding: 1rem;
border-bottom: 2px solid #e2e8f0;
color: #475569;
font-size: 0.9rem;
}

.comparison-table th.highlight-col {
border-bottom: 2px solid #2563eb;
color: #2563eb;
font-weight: 800;
background: #eff6ff;
}

.comparison-table td {
padding: 1rem;
border-bottom: 1px solid #f1f5f9;
font-size: 0.85rem;
}

.comparison-table td.highlight-col {
background: #eff6ff;
}

.price-cell {
color: #166534;
font-weight: 700;
}

.price-strikethrough {
text-decoration: line-through;
color: #94a3b8;
font-weight: 400;
font-size: 0.9rem;
}

.price-note {
font-size: 0.7rem;
font-weight: 400;
color: #64748b;
display: block;
margin-top: 2px;
}

.table-footnote {
margin-top: 1.5rem;
font-size: 0.75rem;
color: #94a3b8;
text-align: center;
line-height: 1.5;
}

.cta-wrapper {
text-align: center;
margin-top: 2.5rem;
}

.cta-btn-landing {
padding: 1rem 2rem;
font-size: 1rem;
border-radius: 50px;
display: inline-block;
}

/* Loading States */
.spinner-large {
width: 50px;
height: 50px;
border: 4px solid #bfdbfe;
border-top: 4px solid #2563eb;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto;
}

.progress-bar {
height: 100%;
background: #2563eb;
width: 0%;
animation: progress 15s ease-out forwards;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

@keyframes progress {
0% { width: 0%; }
100% { width: 90%; }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
.landing-hero {
padding: 1.5rem 1rem 2rem;
}

```
.badge-pioneer {
    font-size: 0.75rem;
    padding: 5px 12px;
}

.landing-hero h1 {
    font-size: 1.6rem;
    margin-top: 1rem;
}

.landing-hero h1 br {
    display: none;
}

.landing-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.landing-subtitle br {
    display: none;
}

.onboarding-box {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.value-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
}

.onboarding-box h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.form-hints {
    font-size: 0.7rem;
}

.why-section {
    padding: 1.5rem 0;
}

.why-content h2 {
    font-size: 1.3rem;
}

.benefit-item {
    font-size: 0.9rem;
}

.comparison-section {
    padding: 2rem 0;
}

.comparison-header h2 {
    font-size: 1.3rem;
}

.comparison-header p {
    font-size: 0.9rem;
}

.table-wrapper {
    margin: 0 -1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
}

.table-footnote {
    font-size: 0.7rem;
    padding: 0 0.5rem;
}

.cta-btn-landing {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
}
```

}

/* Extra small devices */
@media (max-width: 480px) {
.landing-hero h1 {
font-size: 1.4rem;
}

```
.landing-subtitle {
    font-size: 0.9rem;
}

.onboarding-box h3 {
    font-size: 1.05rem;
}

.why-content h2 {
    font-size: 1.2rem;
}

.comparison-header h2 {
    font-size: 1.2rem;
}

.benefit-text strong {
    font-size: 0.9rem;
}

.benefit-description {
    font-size: 0.8rem;
}
```

}

/* Tablet and larger */
@media (min-width: 769px) {
.landing-hero {
padding: 3rem 1rem 4rem;
}

```
.landing-hero h1 {
    font-size: 2.5rem;
}

.landing-subtitle {
    font-size: 1.2rem;
}

.onboarding-box {
    padding: 2.5rem;
}

.form-grid-landing {
    grid-template-columns: 1fr 1fr;
}

.form-hints {
    flex-direction: row;
    gap: 15px;
}

.submit-btn-landing {
    font-size: 1.1rem;
}

.why-section {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.video-container {
    margin-top: 0;
}

.why-content h2 {
    font-size: 1.8rem;
}

.comparison-section {
    padding: 4rem 0;
}

.comparison-header h2 {
    font-size: 2rem;
}

.comparison-header p {
    font-size: 1.1rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
}

.cta-btn-landing {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    width: auto;
}
```

}

/* Desktop improvements */
@media (min-width: 1024px) {
.comparison-table th,
.comparison-table td {
padding: 1.5rem;
font-size: 1rem;
}
}