/* Zusätzliche Styles speziell für die Landing Page */
:root {
    /* Farben von deiner CSS-Datei übernommen */
    --primary-color: #1A5A7F;
    --primary-dark: #0A2438;
    --primary-light: #6F9DB5;
    --accent-light: #A8DCF4;
    --accent-lighter: #DBEDF6;
    --accent-lightest: #C2E5F5;
    --neutral-dark: #5A6B79;
    --neutral-medium: #A7B1B8;
    --neutral-light: #DFE6EA;
    --background-color: #F8FAFB;
    --surface-color: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

/* Header & Navigation */
.main-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding-bottom: 60px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
    background-color: transparent !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.medical-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===========================================
   HERO BUTTONS ANGLEICHEN
   =========================================== */

/* Beide Hero-Buttons sollen wie btn-secondary aussehen */
.hero-buttons .btn {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    background-image: none !important;
}

.hero-buttons .btn:hover {
    background-color: white !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    opacity: 0.9;
}

/* Buttons - Allgemeine Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 90, 127, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-app {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-disabled {
    background-color: var(--neutral-medium);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.app-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.app-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background-color: var(--accent-lighter);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ===========================================
   APP ACTIONS - Buttons untereinander
   =========================================== */
.app-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column; /* Buttons untereinander */
    gap: 12px; /* Gleichmäßiger Abstand zwischen Buttons */
    width: 100%; /* Nimmt volle Breite der Karte */
}

/* Alle Buttons im App-Actions Container */
.app-actions .btn {
    width: 100%; /* Volle Breite */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 20px; /* Etwas mehr Padding für besseren Touch */
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap; /* Verhindert Zeilenumbruch im Text */
}

/* Primary App Button */
.app-actions .btn-app {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color); /* Für Konsistenz */
}

.app-actions .btn-app:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 90, 127, 0.3);
}

/* Secondary Button in App Cards */
.app-actions .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.app-actions .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 90, 127, 0.2);
}

/* Icons in den Buttons */
.app-actions .btn i {
    font-size: 0.9em;
    margin-right: 8px;
}

/* PWA Erklärung */
.pwa-explanation {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.pwa-explanation h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pwa-explanation > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.pwa-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.benefit {
    text-align: center;
}

.benefit i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

/* Style für das PNG Icon in .benefit */
.benefit img {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.benefit h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.benefit p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===========================================
   BENEFITS SECTION (PWA Vorteile Karten)
   =========================================== */
.pwa-benefits-section {
    padding: 80px 0;
    background-color: var(--surface-color);
}

.pwa-benefits-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pwa-benefits-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.pwa-benefits-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Die PWA-Benefits Grid Container */
.pwa-benefits-section .pwa-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Einzelne Benefit Box */
.pwa-benefits-section .benefit {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pwa-benefits-section .benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Icons in Benefits */
.pwa-benefits-section .benefit i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.pwa-benefits-section .benefit img {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 20px;
    display: block;
    object-fit: contain;
}

/* Text in Benefits */
.pwa-benefits-section .benefit h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.pwa-benefits-section .benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Features Section */
.features-section {
    background-color: var(--accent-lighter);
}

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

.feature-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-quote {
    background-color: var(--accent-lighter);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 30px;
}

.about-quote i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-quote p {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.about-quote cite {
    color: var(--text-secondary);
    font-style: normal;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image i {
    font-size: 12rem;
    color: var(--primary-light);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-method h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-method p {
    color: var(--text-secondary);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--surface-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 90, 127, 0.2);
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-copyright p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-note {
    font-size: 0.9rem;
    max-width: 800px;
    margin: 20px auto 0;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image i {
        font-size: 10rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-actions {
        flex-direction: column;
    }
    
    .pwa-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pwa-benefits-section .pwa-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .pwa-benefits {
        grid-template-columns: 1fr;
    }
    
    .pwa-benefits-section .pwa-benefits {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Responsive für Benefits */
@media (max-width: 768px) {
    .pwa-benefits-section .pwa-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pwa-benefits-section .pwa-benefits {
        grid-template-columns: 1fr;
    }
}

/* Animation für App-Icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.app-card:hover .app-icon {
    animation: float 2s ease-in-out infinite;
}
/* ===== Kontaktformular Styles ===== */

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
    font-style: italic;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.required-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    padding: 15px;
    background-color: var(--accent-lighter);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.contact-note i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* ===== Notification Styles ===== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background-color: var(--surface-color);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    max-width: 400px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.notification.notification-success {
    border-left-color: #10b981;
    background-color: #f0fdf4;
}

.notification.notification-error {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification.notification-success .notification-content i {
    color: #10b981;
}

.notification.notification-error .notification-content i {
    color: #ef4444;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--text-primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.fa-spinner {
    animation: spin 1s linear infinite;
}
/* ===========================================
   PWA INSTALLATION SECTION
   =========================================== */
.pwa-installation-section {
    background-color: var(--surface-color);
}

.installation-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.platform-guide {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.platform-guide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.platform-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.platform-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
}

.platform-note {
    background-color: var(--accent-lightest);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-left: 3px solid var(--primary-color);
}

.steps-list {
    margin-bottom: 20px;
    padding-left: 20px;
}

.steps-list li {
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.5;
}

.steps-list ul {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 20px;
}

.steps-list ul li {
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.mac-variant {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.mac-variant h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.installation-tips {
    background-color: var(--accent-lighter);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid var(--primary-color);
}

.installation-tips h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.installation-tips h3 i {
    color: var(--primary-color);
}

.installation-tips ul {
    padding-left: 20px;
}

.installation-tips li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Responsive Anpassungen für Installation Section */
@media (max-width: 768px) {
    .installation-guide {
        grid-template-columns: 1fr;
    }
    
    .platform-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ===========================================
   TOOL SECTION: Spritpreis-Rechner
   =========================================== */
.tools-section {
    background-color: var(--accent-lighter);
}

.tools-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 22px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .tools-grid { grid-template-columns: 1fr; }
}

/* Spritrechner: kompaktere Eingabefelder */
.tools-card .form-group { margin-bottom: 14px; }
.tools-card .form-group label { margin-bottom: 6px; }
.tools-card .form-group input {
    padding: 10px 12px;
    font-size: 0.98rem;
    border: 2px solid rgba(90,90,90,0.90);
    background: rgba(127,127,127,0.04);
}



@media (max-width: 768px) {
    .tools-card { padding: 18px; }
    
.tools-card .form-group input:focus {
    border-color: rgba(120,120,120,0.95);
    box-shadow: 0 0 0 3px rgba(120,120,120,0.20);
}
.tools-actions { gap: 10px; }
}

.tools-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.tools-hint {
    flex: 1;
    min-width: 240px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.25;
    opacity: 0.92;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 90, 127, 0.2);
}

.tools-error {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
    color: #b00020;
    font-weight: 600;
}

.tools-results {
    margin-top: 16px;
    border-top: 1px solid rgba(127,127,127,0.25);
    padding-top: 16px;
}

.tools-result-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

@media (max-width: 768px) {
    .tools-result-row { grid-template-columns: 1fr; }
}

.tools-kv {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(127,127,127,0.08);
}

.tools-kv .k { opacity: 0.9; font-size: 1rem; }
.tools-kv .v { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.05rem; }

.diffPos { color: #b00020; }
.diffNeg { color: #0b6b3a; }

.tools-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background-color: var(--accent-lightest);
    border: 2px solid rgba(60,80,120,0.35);
    border-left: 6px solid var(--primary-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.35;
    width: 100%;
    box-sizing: border-box;
    display: block;
    overflow-wrap: anywhere;
}

.tools-note i {
    color: var(--primary-color);
    margin-top: 2px;
}


/* Spritrechner – Umweg-Block */
.tools-subsection {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(127,127,127,0.22);
}

.tools-subtitle {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.tools-subtext {
    margin: 0 0 14px;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.35;
}
.tools-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 6px;
    flex-wrap: wrap;
}
.tools-toggle-label { color: var(--text-secondary); font-size: 0.95rem; }
.tools-radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tools-radio input { accent-color: var(--primary-color); }


.tools-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .tools-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .tools-grid-3 { grid-template-columns: 1fr; }
}

.tools-actions-compact {
    margin-top: 10px;
}

.tools-results-compact .tools-kv {
    padding: 10px 12px;
}

.tools-results-compact .tools-kv .k {
    font-size: 0.95rem;
}

.tools-results-compact .tools-kv .v {
    font-size: 1.05rem;
}



/* ===== Spritrechner (Tankstellen-Vergleich) – Zusatzstyles (v6) ===== */
.tools-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    margin-bottom: 14px;
}
.tools-mode-label { font-weight: 700; }

.tools-radio {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
}

.tools-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    padding-top: 6px;
}

.tools-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid rgba(176,0,32,0.40);
    background: rgba(176,0,32,0.08);
    color: #b00020;
    font-weight: 700;
}

/* Fokus-Ring sauber (nur Tool) */
.tools-card .form-group input:focus {
    outline: none;
    border-color: rgba(60,60,60,0.95);
    box-shadow: 0 0 0 3px rgba(60,60,60,0.18);
}

/* Ergebnisse etwas größer */
.tools-kv .k { font-size: 1.02rem; }
.tools-kv .v { font-size: 1.10rem; }

/* Spritrechner Feinschliff (Mobile) */
@media (max-width: 520px) {
    .tools-card { padding: 14px; }
    .tools-actions { gap: 10px; }
    .tools-kv { padding: 12px 14px; }
    .tools-kv .k { font-size: 0.98rem; }
    .tools-kv .v { font-size: 1.1rem; }
    .tools-note { font-size: 0.92rem; }
}
