/* ===================================================
   WUNSCHKENNZEICHEN GEMEINDEN - SPEZIAL CSS
   Datei: assets/css/wunschkennzeichen-gemeinden.css
   =================================================== */

/* Service Cards */
.step-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: left;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.step-card.step-1 {
    border-left: 5px solid #dc3545;
}

.step-card.step-2 {
    border-left: 5px solid #28a745;
}

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

.step-card.step-1 h3 { color: #dc3545; }
.step-card.step-2 h3 { color: #28a745; }

.warning-text {
    color: #dc3545 !important;
    font-weight: 600;
}

.highlight-text {
    color: #28a745 !important;
    font-weight: 600;
}

.emoji-icon {
    font-size: 1.5rem;
    margin-right: 8px;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
}

/* Featured Box für Auto-Kennzeichen */
.box.featured {
    position: relative;
    overflow: hidden;
}

  .box.featured::before {
    content: "BELIEBTESTE WAHL";
    position: absolute;
    top: 33px;
    right: -50px;
    background: #dc3545;
    color: white;
    padding: 5px 38px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Vorteil Cards */
.vorteil-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vorteil-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Gemeinde Links */
.gemeinde-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
}

.gemeinde-link:hover {
    color: #0056b3;
    background: #e7f3ff;
    text-decoration: none;
    transform: translateY(-1px);
}

.ludwigsburg-highlight {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white !important;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
}

.ludwigsburg-highlight:hover {
    color: white !important;
    background: linear-gradient(135deg, #0056b3, #004085);
}

.besigheim-highlight {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white !important;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
}

.besigheim-highlight:hover {
    color: white !important;
    background: linear-gradient(135deg, #1e7e34, #155724);
}

.vai-highlight {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529 !important;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
}

.vai-highlight:hover {
    color: #212529 !important;
    background: linear-gradient(135deg, #e0a800, #d39e00);
}

.current-highlight {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white !important;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
    animation: currentPulse 3s infinite;
}

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

/* Quick Links */
.quick-links .btn {
    transition: all 0.3s ease;
    margin-bottom: 5px;
    font-size: 12px;
    padding: 4px 8px;
}

.quick-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

/* Samstag Badge Animation */
.samstag-badge {
    animation: samstag-pulse 3s infinite;
}

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

/* Breadcrumb */
.breadcrumb {
    background: rgba(255,255,255,0.1) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #ffc107;
    font-weight: bold;
    font-size: 1.2em;
}

/* Gemeinde Info Cards */
.gemeinde-info-card, .ablauf-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gemeinde-info-card:hover, .ablauf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Kennzeichen-Suche Widget Styles */
@import url('https://fonts.cdnfonts.com/css/kraftfahrzeugkennzeichen');

.kennzeichen-pricing {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.kennzeichen-container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.kennzeichen-search-section {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.kennzeichen-search-container {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.kennzeichen-plate {
    display: flex;
    width: 520px;
    height: 110px;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: white;
}

.kennzeichen-blue-field {
    width: 50px;
    background: linear-gradient(135deg, #003399 0%, #0066cc 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0 12px 0;
    position: relative;
}

.kennzeichen-blue-field::before {
    content: "D";
    color: white;
    font-size: 32px;
    font-family: Arial, sans-serif;
    margin-top: auto;
    margin-bottom: -12px;
}

.kennzeichen-stars {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffdd00;
    font-size: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kennzeichen-star {
    position: absolute;
    color: #ffdd00;
    font-size: 6px;
}

.kennzeichen-star:nth-child(1)  { transform: rotate(0deg) translateY(-15px) rotate(0deg); }
.kennzeichen-star:nth-child(2)  { transform: rotate(30deg) translateY(-15px) rotate(-30deg); }
.kennzeichen-star:nth-child(3)  { transform: rotate(60deg) translateY(-15px) rotate(-60deg); }
.kennzeichen-star:nth-child(4)  { transform: rotate(90deg) translateY(-15px) rotate(-90deg); }
.kennzeichen-star:nth-child(5)  { transform: rotate(120deg) translateY(-15px) rotate(-120deg); }
.kennzeichen-star:nth-child(6)  { transform: rotate(150deg) translateY(-15px) rotate(-150deg); }
.kennzeichen-star:nth-child(7)  { transform: rotate(180deg) translateY(-15px) rotate(-180deg); }
.kennzeichen-star:nth-child(8)  { transform: rotate(210deg) translateY(-15px) rotate(-210deg); }
.kennzeichen-star:nth-child(9)  { transform: rotate(240deg) translateY(-15px) rotate(-240deg); }
.kennzeichen-star:nth-child(10) { transform: rotate(270deg) translateY(-15px) rotate(-270deg); }
.kennzeichen-star:nth-child(11) { transform: rotate(300deg) translateY(-15px) rotate(-300deg); }
.kennzeichen-star:nth-child(12) { transform: rotate(330deg) translateY(-15px) rotate(-330deg); }

.kennzeichen-white-field {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.kennzeichen-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.kennzeichen-input-wrapper {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.kennzeichen-input-wrapper label {
    display: none;
}

.kennzeichen-input-arrow {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: #007bff;
    animation: kennzeichenArrowPulse 2s infinite ease-in-out;
    z-index: 10;
    text-align: center;
    font-weight: 600;
}

@keyframes kennzeichenArrowPulse {
    0% { 
        color: #007bff; 
        transform: translateX(-50%) translateY(0px); 
        opacity: 1; 
    }
    25% { 
        color: #ffc107; 
        transform: translateX(-50%) translateY(-3px); 
        opacity: 0.8; 
    }
    50% { 
        color: #007bff; 
        transform: translateX(-50%) translateY(-5px); 
        opacity: 1; 
    }
    75% { 
        color: #ffc107; 
        transform: translateX(-50%) translateY(-3px); 
        opacity: 0.8; 
    }
    100% { 
        color: #007bff; 
        transform: translateX(-50%) translateY(0px); 
        opacity: 1; 
    }
}

.kennzeichen-input {
    width: 85px;
    height: 75px;
    padding: 10px;
    border: 2px solid #87ceeb;
    border-radius: 8px;
    font-size: 36px;
    text-transform: uppercase;
    font-family: 'Kraftfahrzeugkennzeichen', monospace;
    letter-spacing: 2px;
    text-align: center;
    background: #f7f7f7;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(135,206,235,0.3);
    animation: kennzeichenInputGlow 3s infinite ease-in-out;
}

@keyframes kennzeichenInputGlow {
    0% { 
        border-color: #87ceeb;
        box-shadow: 0 2px 8px rgba(135,206,235,0.3), 0 0 15px rgba(135,206,235,0.2);
    }
    50% { 
        border-color: #d3d3d3;
        box-shadow: 0 2px 8px rgba(211,211,211,0.4), 0 0 15px rgba(211,211,211,0.3);
    }
    100% { 
        border-color: #87ceeb;
        box-shadow: 0 2px 8px rgba(135,206,235,0.3), 0 0 15px rgba(135,206,235,0.2);
    }
}

.kennzeichen-input:focus {
    outline: none;
    background: #f8f9ff;
    border-color: #4169e1;
    box-shadow: 0 0 25px rgba(65,105,225,0.6);
    transform: scale(1.05);
    animation: none;
}

.kennzeichen-input::placeholder {
    color: #6c757d;
    font-size: 30px;
    opacity: 0.7;
}

.kennzeichen-text-area {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
}

.kennzeichen-text-in-plate {
    flex: 1;
    font-size: 11px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
    position: relative;
}

.kennzeichen-text-in-plate strong {
    font-size: 11px;
}

.step-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.kennzeichen-options {
    display: none;
}

.kennzeichen-options.show {
    display: block;
    animation: kennzeichenFadeIn 0.3s ease-in;
}

.kennzeichen-option-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.kennzeichen-option-button {
    display: inline-block;
    background: #ffc107;
    color: #212529;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    transition: background-color 0.3s;
}

.kennzeichen-option-button:hover {
    background: #e0a800;
    text-decoration: none;
    color: #212529;
}

.kennzeichen-result-success {
    display: none;
}

.kennzeichen-result-success.show {
    display: block;
    animation: kennzeichenFadeIn 0.3s ease-in;
}

.kennzeichen-result-success .step-item {
    border-left: 4px solid #28a745;
}

.kennzeichen-result-success .reservation-link {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.kennzeichen-result-success .reservation-link:hover {
    background: #1e7e34;
    text-decoration: none;
    color: white;
}

.kennzeichen-result-error {
    display: none;
}

.kennzeichen-result-error.show {
    display: block;
    animation: kennzeichenFadeIn 0.3s ease-in;
}

.kennzeichen-result-error .step-item {
    border-left: 4px solid #dc3545;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .step-card { margin-bottom: 15px; }
    .vorteil-card { margin-bottom: 20px; }
    .gemeinden-info p { font-size: 14px; line-height: 1.6; }
    .gemeinde-link { display: inline-block; margin: 2px; padding: 4px 6px; }
    .quick-links { justify-content: center; }
    .quick-links .btn { font-size: 11px; padding: 3px 6px; }
    .samstag-badge { margin-top: 20px; }
    .breadcrumbs-2 h1 { font-size: 2rem !important; }
    .breadcrumbs-2 .lead { font-size: 1.1rem !important; }
    
    .kennzeichen-plate {
        width: 100%;
        max-width: 520px;
        height: 90px;
    }
    
    .kennzeichen-input {
        font-size: 24px;
        height: 60px;
    }
    
    .kennzeichen-text-area {
        font-size: 12px;
    }
    
    .kennzeichen-input-arrow {
        top: 45px;
        font-size: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .breadcrumbs-2 h1 { font-size: 1.5rem !important; }
    .samstag-badge h3 { font-size: 20px !important; }
    .samstag-badge p { font-size: 14px !important; }
    .section-title h2 { font-size: 1.8rem; }
    .vorteil-card h4 { font-size: 1.2rem; }
}