/* NFE-Rechner Pro - Vollständiges CSS ohne externe Abhängigkeiten */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0fdfa 100%);
    min-height: 100vh;
}

/* Tailwind Utility Classes */
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-0 { padding-top: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-4 { margin-left: 1rem; }
.ml-6 { margin-left: 1.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.bg-white { background-color: white; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-yellow-50 { background-color: #fefce8; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-red-50 { background-color: #fef2f2; }
.bg-gray-50 { background-color: #f9fafb; }
.text-white { color: white; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7c3aed; }
.text-purple-800 { color: #6b21a8; }
.text-yellow-800 { color: #92400e; }
.text-green-800 { color: #166534; }
.text-red-800 { color: #991b1b; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-500 { color: #6b7280; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-l-4 { border-left-width: 4px; }
.border-blue-100 { border-color: #dbeafe; }
.border-blue-500 { border-color: #3b82f6; }
.border-purple-500 { border-color: #8b5cf6; }
.border-yellow-500 { border-color: #eab308; }
.border-gray-100 { border-color: #f3f4f6; }
.border-white { border-color: white; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.leading-relaxed { line-height: 1.625; }
.list-disc { list-style-type: disc; }
.gap-6 { gap: 1.5rem; }
.gap-4 { gap: 1rem; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:text-blue-800:hover { color: #1e40af; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-blue-500:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.underline { text-decoration-line: underline; }

/* Gradient backgrounds */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-slate-50 { --tw-gradient-from: #f8fafc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(248, 250, 252, 0)); }
.via-blue-50 { --tw-gradient-stops: var(--tw-gradient-from), #eff6ff, var(--tw-gradient-to, rgba(239, 246, 255, 0)); }
.to-teal-50 { --tw-gradient-to: #f0fdfa; }
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0)); }
.to-teal-600 { --tw-gradient-to: #0d9488; }
.from-blue-700 { --tw-gradient-from: #1d4ed8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0)); }
.to-teal-700 { --tw-gradient-to: #0f766e; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }
.min-h-screen { min-height: 100vh; }

/* Grid layouts */
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* FAQ specific styles */
.faq-item { margin-bottom: 1rem; }
.faq-question { position: relative; }
.faq-answer { display: none; }
.faq-answer:not(.hidden) { display: block; }

/* Container */
.container {
    max-width: 448px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #dbeafe;
}

.header::before {
    content: '';
    position: absolute;
    top: -4rem;
    right: -4rem;
    width: 8rem;
    height: 8rem;
    background: #dbeafe;
    border-radius: 50%;
    opacity: 0.3;
}

.header::after {
    content: '';
    position: absolute;
    top: -3rem;
    left: -3rem;
    width: 6rem;
    height: 6rem;
    background: #f0fdfa;
    border-radius: 50%;
    opacity: 0.2;
}

.header-content {
    position: relative;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
    object-fit: contain;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1d4ed8, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Section Styles */
.section {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #dbeafe;
}

.section-header {
    background: linear-gradient(135deg, #2563eb, #0d9488);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
    display: flex;
    align-items: center;
}

.section-icon {
    background: #dbeafe;
    border-radius: 50%;
    padding: 0.5rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-description {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

/* Button Styles */
.btn {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.animal-btn {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    color: #374151;
    border-color: #e5e7eb;
}

.animal-btn:hover {
    border-color: #8b5cf6;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
}

.animal-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-color: #7c3aed;
    transform: scale(1.05);
}

.food-btn {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    color: #374151;
    border-color: #e5e7eb;
}

.food-btn.wet.active {
    background: linear-gradient(135deg, #2563eb, #3730a3);
    color: white;
    border-color: #1d4ed8;
}

.food-btn.dry.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
}

.btn-icon {
    border-radius: 50%;
    padding: 0.75rem;
    font-size: 1.5rem;
}

.btn-text {
    text-align: center;
}

.btn-title {
    font-weight: 700;
    font-size: 0.875rem;
}

.btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1fae5;
    border-radius: 0.75rem;
    background: #f0fdf4;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.input-wrapper {
    position: relative;
}

.input-suffix {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-weight: 500;
}

/* Calculate Button */
.calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.calculate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.4);
}

.calculate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* FAQ Button */
.faq-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid #4338ca;
    margin-top: 1rem;
}

.faq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
}

.faq-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Amazon Link */
.amazon-link {
    display: block;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-radius: 1.5rem;
    padding: 1rem;
    border: 1px solid #fde68a;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.amazon-link:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.amazon-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.amazon-icon {
    background: #fde68a;
    padding: 0.5rem;
    border-radius: 50%;
    color: #d97706;
}

.amazon-text {
    flex: 1;
}

.amazon-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amazon-desc {
    font-size: 0.75rem;
    color: #a16207;
}

/* Results Section */
.results {
    background: linear-gradient(135deg, #f0fdf4, #ecfeff);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    border: 2px solid #10b981;
    margin-bottom: 1.5rem;
    display: none;
}

.results.show {
    display: block;
}

.nfe-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.nfe-value {
    font-size: 3rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

.nfe-label {
    font-size: 1.25rem;
    color: #047857;
    font-weight: 600;
}

.status {
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.status.suitable {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 2px solid #10b981;
}

.status.unsuitable {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 2px solid #ef4444;
}

.details {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.details-title {
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.75rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.recommendation {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 0.75rem;
}

.rec-title {
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.rec-text {
    color: #1e3a8a;
    font-size: 0.875rem;
}

.warning {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.warning-title {
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.warning-text {
    color: #a16207;
    font-size: 0.875rem;
}

/* Action Buttons */
.actions {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.action-btn:hover {
    background: #1d4ed8;
}

.action-btn.secondary {
    background: #6b7280;
}

.action-btn.secondary:hover {
    background: #4b5563;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #2563eb;
    text-decoration: underline;
}

.footer-link:hover {
    color: #1d4ed8;
}

/* Utilities */
.hidden {
    display: none;
}

.text-red {
    color: #dc2626;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .title {
        font-size: 1.25rem;
    }
    
    .logo {
        width: 3rem;
        height: 3rem;
    }
    
    .actions {
        flex-direction: column;
    }
}