/* Auralium Tippgeber-System Styles */

/* Navigation Header - GANZ OBEN IN DIE DATEI EINFÜGEN */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.nav-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    /* DIESE 4 ZEILEN NEU EINFÜGEN: */
    background: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-logo svg {
    height: 40px;
    width: 40px;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        height: 50px;
    }
    
    .nav-logo img,
    .nav-logo svg {
        height: 35px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero Section - KOMPLETT NEU STRUKTURIERT */
.tippgeber-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.tippgeber-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.hero-content-wrapper {
    width: 100%;
    position: relative;
}

/* Container-Boxen für bessere Kontrolle */
.hero-title-box {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero-title-box h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 900;
    margin: 0;
    padding: 10px 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle-box {
    text-align: center;
    padding: 12px 20px;
}

.hero-subtitle-box h2 {
    font-size: clamp(1.1rem, 2.5vw, 2rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.hero-text-box {
    text-align: center;
    padding: 20px 25px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
}

.hero-text-box p {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
    word-wrap: break-word;
}

.commission-box {
    display: flex;
    justify-content: center;
    padding: 15px 10px;
}

.commission-highlight {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    animation: pulse 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
}

.euro-symbol {
    font-size: clamp(2rem, 5vw, 4rem);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    line-height: 1;
}

.commission-text {
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    word-wrap: break-word;
    max-width: 300px;
}

/* Mobile Optimierungen */
@media (max-width: 576px) {
    .tippgeber-hero {
        padding: 40px 0 30px;
    }
    
    .hero-title-box {
        padding: 10px 15px;
        background: rgba(255,255,255,0.08);
    }
    
    .hero-title-box h1 {
        font-size: 1.6rem;
        padding: 8px;
    }
    
    .hero-subtitle-box {
        padding: 8px 15px;
    }
    
    .hero-subtitle-box h2 {
        font-size: 1.1rem;
    }
    
    .hero-text-box {
        padding: 15px;
    }
    
    .hero-text-box p {
        font-size: 0.9rem;
    }
    
    .commission-box {
        padding: 10px 5px;
    }
    
    .commission-highlight {
        padding: 15px 20px;
    }
    
    .euro-symbol {
        font-size: 2rem;
    }
    
    .commission-text {
        font-size: 0.95rem;
    }
}

/* Sehr kleine Displays */
@media (max-width: 360px) {
    .hero-title-box h1 {
        font-size: 1.4rem;
    }
    
    .hero-subtitle-box h2 {
        font-size: 1rem;
    }
    
    .hero-text-box p {
        font-size: 0.85rem;
    }
    
    .commission-highlight {
        padding: 12px 15px;
    }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 991px) {
    .hero-title-box h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-box h2 {
        font-size: 1.5rem;
    }
    
    .hero-text-box p {
        font-size: 1.1rem;
    }
    
    .commission-highlight {
        padding: 25px 35px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .tippgeber-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title-box {
        padding: 20px 30px;
    }
    
    .hero-title-box h1 {
        font-size: 3.5rem;
        padding: 15px 20px;
    }
    
    .hero-subtitle-box {
        padding: 15px 25px;
    }
    
    .hero-subtitle-box h2 {
        font-size: 2rem;
    }
    
    .hero-text-box {
        padding: 25px 35px;
    }
    
    .hero-text-box p {
        font-size: 1.2rem;
    }
    
    .commission-highlight {
        padding: 30px 40px;
    }
    
    .euro-symbol {
        font-size: 4rem;
    }
    
    .commission-text {
        font-size: 1.5rem;
    }
}

/* Landscape Mode */
@media (orientation: landscape) and (max-height: 500px) {
    .tippgeber-hero {
        padding: 30px 0 20px;
    }
    
    .hero-content-wrapper {
        gap: 10px;
    }
    
    .hero-title-box {
        padding: 5px;
    }
    
    .hero-text-box {
        padding: 10px;
    }
}

/* Bootstrap Override für bessere Integration */
.tippgeber-hero .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.tippgeber-hero .row {
    margin-left: 0;
    margin-right: 0;
}

/* Bootstrap Column Spacing auf Hero anpassen */
@media (min-width: 768px) {
    .tippgeber-hero .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    .tippgeber-hero .container-fluid {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Globale Container-Klasse für alle Sections (nicht Hero) */
.container:not(.container-fluid) {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Container für kleine Bildschirme */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Section-Wrapper für bessere Kontrolle */
.section-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* LIVE DASHBOARD SECTION */
.live-dashboard-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 2px solid #e0e7ff;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.dashboard-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.dashboard-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.properties-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.property-live-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.property-live-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.property-live-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
}

.property-live-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-live-location {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-live-body {
    padding: 20px;
}

.property-live-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.commission-highlight-box {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.commission-highlight-box::before {
    content: '💰';
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 60px;
    opacity: 0.2;
}

.commission-label {
    font-size: 0.9rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.commission-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.property-live-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.property-live-yield {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 15px;
}

.view-details-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.dashboard-footer {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-header h2 {
        font-size: 1.8rem;
    }
    
    .dashboard-stats {
        gap: 20px;
    }
    
    .stat-box {
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .properties-live-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .commission-amount {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .live-dashboard-section {
        padding: 40px 0;
    }
    
    .dashboard-header h2 {
        font-size: 1.5rem;
    }
    
    .dashboard-header p {
        font-size: 1rem;
    }
    
    .properties-live-grid {
        padding: 10px;
        gap: 15px;
    }
}

/* NEW: Share Widget Section */
.share-widget-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.share-widget {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.share-widget::before {
    content: '💰';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.share-widget-header {
    text-align: center;
    margin-bottom: 30px;
}

.share-widget-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.share-widget-header p {
    font-size: 1.2rem;
    color: #666;
}

.social-share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
}

.social-share-btn:hover::before {
    left: 0;
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.twitter { background: #1DA1F2; }
.telegram { background: #0088cc; }
.email { background: #EA4335; }
.linkedin { background: #0077B5; }

/* NEW: Motivation Section */
.motivation-section {
    padding: 60px 0;
    background: white;
}

.motivation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.motivation-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.motivation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.motivation-card:hover::before {
    opacity: 1;
}

.motivation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.motivation-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.motivation-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.motivation-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.motivation-card .highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Process Steps */
.process-steps {
    padding: 60px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* NEW: Calculator Section */
.calculator-section {
    padding: 60px 0;
    background: white;
}

.earnings-calculator {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e0e7ff;
}

.calculator-header {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.calculator-slider {
    margin: 30px 0;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

/* --- START: NEUE STILE FÜR DEN SLIDER --- */
#slider-wrapper {
    position: relative;
    height: 30px; 
    display: flex;
    align-items: center;
}

/* Visueller Ersatz für den Slider-Track (die Leiste) */
#slider-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 8px;
    background: #e0e7ff;
    border-radius: 5px;
    z-index: 1;
}

#custom-thumb {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%); 
    left: 0%; /* Startposition */
    z-index: 2; /* Über dem Track */
    pointer-events: none;
    transition: left 0.1s ease;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%; /* Füllt den Wrapper aus für Klickbarkeit */
    background: transparent; /* Komplett unsichtbar */
    outline: none;
    position: relative;
    z-index: 3; /* Liegt über allem, um Klicks zu empfangen */
    margin: 0;
    padding: 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px; /* Großzügige Klickfläche */
    height: 30px;
    background: transparent;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
/* --- ENDE: NEUE STILE FÜR DEN SLIDER --- */

.earnings-display {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.earnings-amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 10px 0;
}

.earnings-description {
    color: #666;
    font-size: 1.1rem;
}

/* Calculator Enhancements */
.earnings-calculator {
    position: relative;
    overflow: visible;
}

.earnings-amount {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    }
    50% { 
        text-shadow: 0 0 40px rgba(16, 185, 129, 0.8),
                     0 0 60px rgba(16, 185, 129, 0.6);
    }
}

/* Pulse Animation für Emojis */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Calculator Motivations-Box Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation für Emojis */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Calculator Motivations-Box Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NEW: Link Section */
.link-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.copy-link-section {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.copy-link-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.copy-link-header h3 {
    font-size: 1.3rem;
    color: #333;
}

.referral-link-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #667eea;
}

.referral-link {
    flex: 1;
    padding: 12px;
    border: none;
    background: white;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.95rem;
    color: #333;
}

.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.copy-btn.copied {
    background: #10b981;
}

/* Main Container */
.tippgeber-container {
    padding: 60px 0;
    background: #f8f9fa;
}

.tippgeber-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Form Section */
.form-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.tippgeber-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

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

.form-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label .icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.submit-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.submit-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .arrow {
    transform: translateX(5px);
}

.privacy-note {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* NEW: WhatsApp Section */
.whatsapp-section {
    padding: 60px 0;
    background: white;
}

.whatsapp-status-badge {
    background: #25D366;
    color: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.whatsapp-status-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.whatsapp-status-badge h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.whatsapp-status-badge p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.whatsapp-status-badge button {
    background: white;
    color: #25D366;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.whatsapp-status-badge button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* NEW: Success Stories */
.stories-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.success-stories {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.success-stories h2 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
}

.story-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.story-card {
    min-width: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e0e7ff;
    scroll-snap-align: start;
}

.story-card .quote {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.story-card .author {
    font-weight: 600;
    color: #333;
}

.story-card .earnings {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* AGB Link in Checkbox */
.agb-link {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.agb-link:hover {
    color: #524BD8;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

/* AGB Modal - Größer und scrollbar */
.agb-modal-content {
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.agb-modal-body {
    padding: 30px;
    text-align: left;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

.agb-modal-body .agb-list {
    margin: 0;
    padding-left: 20px;
}

.agb-modal-body .agb-item {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}

.agb-modal-body .agb-item strong {
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

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

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.provision-info {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e0e7ff;
}

.provision-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1rem;
}

.provision-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin: 10px 0;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .agb-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .agb-modal-body {
        padding: 20px;
        max-height: calc(90vh - 100px);
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
}

/* NEW: Floating Badge */
.floating-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
    max-width: 280px;
    width: calc(100vw - 40px);
    max-width: min(280px, calc(100vw - 40px));
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5);
}

.floating-badge h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-badge p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.floating-badge .cta-button {
    background: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    transition: all 0.3s ease;
}

.floating-badge .cta-button:hover {
    background: #333;
    color: white;
    transform: translateX(5px);
}

/* NEW: Popup Trigger */
.popup-trigger {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.3);
    cursor: pointer;
    z-index: 999;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.popup-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.5);
}

.popup-trigger .badge-text {
    font-weight: 700;
    font-size: 1rem;
}

.popup-trigger .badge-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Mobile-specific fixes for fixed elements */
@media (max-width: 480px) {
    .floating-badge {
        right: 5px;
        bottom: 5px;
        max-width: calc(100vw - 10px);
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .floating-badge h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .floating-badge p {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .popup-trigger {
        left: 5px;
        bottom: 70px;
        padding: 8px 12px;
        font-size: 0.8rem;
        max-width: calc(100vw - 10px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .popup-trigger .badge-text {
        font-size: 0.8rem;
    }
    
    /* Ensure no overlap on very small screens */
    .floating-badge {
        bottom: 5px;
    }
    
    .popup-trigger {
        bottom: 70px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .motivation-cards {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .social-share-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-section {
        padding: 25px;
    }
    
    .floating-badge {
        right: 10px;
        bottom: 10px;
        max-width: calc(100vw - 20px);
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .floating-badge h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .floating-badge p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .popup-trigger {
        left: 10px;
        bottom: 80px;
        padding: 10px 16px;
        font-size: 0.9rem;
        max-width: calc(100vw - 20px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .popup-trigger .badge-text {
        font-size: 0.9rem;
    }
    
    .story-carousel {
        padding: 10px 0;
    }
    
    .story-card {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .property-card {
        padding: 20px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}