/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Entfernt blauen Tap-Highlight auf iOS */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Touch-Scroll Optimierung */
.suggestions-list,
.modal-content {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

:root {
    /* Farbschema */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   STATS BANNER
   =================================== */
.stats-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.stats-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-size: 0.875rem;
}

.stats-content span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-content strong {
    font-weight: 600;
    font-size: 1rem;
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

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

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 3rem;
}

.logo-icon-img {
    height: 3rem;
    width: auto;
    vertical-align: middle;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
}

/* ===================================
   MAIN CONTENT
   =================================== */
.main-content {
    padding: 0 0 4rem 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

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

/* ===================================
   CARDS
   =================================== */
.calculator-card,
.results-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.card-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===================================
   FORM STYLES
   =================================== */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.section-icon {
    font-size: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--surface);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control:hover {
    border-color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Slider */
.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.form-slider::-webkit-slider-thumb:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.form-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.form-slider::-moz-range-thumb:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.slider-value {
    min-width: 4rem;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    /* iOS Touch Fix */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--text-muted);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.btn-icon-img {
    height: 1.125rem;
    width: auto;
    vertical-align: middle;
    margin-right: 0.375rem;
    filter: brightness(0) saturate(100%);
}

.btn-primary .btn-icon-img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* ===================================
   RESULTS
   =================================== */
.results-content {
    min-height: 300px;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

.results-display {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.total-price {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.total-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.total-amount {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--background);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.breakdown-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.breakdown-icon {
    font-size: 1.125rem;
}

.breakdown-value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.breakdown-subtotal {
    margin-top: 0.5rem;
    background: var(--primary-color);
    color: white;
}

.breakdown-subtotal .breakdown-label,
.breakdown-subtotal .breakdown-value {
    color: white;
    font-weight: 600;
}

.breakdown-subtotal:hover {
    background: var(--primary-dark);
}

/* Export Buttons */
.export-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

.export-buttons .btn {
    /* iOS Touch-Optimierung */
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
}

/* ===================================
   FILE UPLOAD
   =================================== */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    background: var(--background);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.02);
}

.file-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.file-upload-area .file-upload-text {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.file-upload-area .file-upload-hint {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.file-upload-label .file-upload-text {
    display: none;
}

.file-upload-label .file-upload-hint {
    display: none;
}

.file-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: white;
    animation: fadeIn 0.3s ease;
}

.file-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.file-info-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.file-info-label {
    font-size: 0.9375rem;
    opacity: 0.9;
}

.file-info-value {
    font-weight: 600;
    font-size: 1rem;
}

.btn-remove-file {
    margin-top: 1rem;
    width: 100%;
    padding: 0.625rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-remove-file:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   INFO ICON & TOOLTIP
   =================================== */
.info-icon {
    display: inline-block;
    cursor: help;
    font-size: 0.875rem;
    margin-left: 0.25rem;
    opacity: 0.7;
    transition: all 0.2s ease;
    vertical-align: middle;
}

.info-icon:hover {
    opacity: 1;
    transform: scale(1.2);
}

.info-tooltip {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0;
    margin-top: 0.5rem;
    z-index: 1000;
    max-width: 350px;
    width: max-content;
    animation: fadeIn 0.2s ease;
}

.info-tooltip.show {
    display: block;
}

.tooltip-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tooltip-content {
    padding: 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.tooltip-content p {
    margin-bottom: 0.75rem;
}

.tooltip-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}

.tooltip-content li {
    margin-bottom: 0.375rem;
}

.tooltip-content strong {
    color: var(--primary-color);
}

.form-group {
    position: relative;
}

/* ===================================
   DONATE SECTION
   =================================== */
.donate-section {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
}

.donate-card {
    background: linear-gradient(135deg, #FFEDD5, #FED7AA);
    border: 2px solid #FB923C;
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
}

.donate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

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

.donate-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.donate-card p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-donate {
    background: linear-gradient(135deg, #FB923C, #F97316);
    color: white;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-block;
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #F97316, #EA580C);
}

.donate-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Donate Modal */
.modal-medium {
    max-width: 550px;
}

.donate-modal-body {
    text-align: center;
}

.donate-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.donate-modal-body h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.donate-modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.donate-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--radius-md);
}

.donate-feature {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.donate-modal-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ===================================
   INFO SECTION
   =================================== */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===================================
   FEEDBACK SECTION
   =================================== */
.feedback-section {
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius-xl);
}

.feedback-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.feedback-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feedback-subtitle {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

.admin-toggle-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.3;
}

.admin-toggle-btn:hover {
    opacity: 1;
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.1);
}

.admin-toggle-btn.admin-active {
    opacity: 1;
    background: var(--primary-color);
    border-color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

.feedback-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

@media (max-width: 968px) {
    .feedback-container {
        grid-template-columns: 1fr;
    }
}

/* Suggestion Form */
.suggestion-form-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.suggestion-form-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.char-counter {
    display: block;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Suggestions List */
.suggestions-list-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.suggestions-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.suggestions-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestions-sort label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control-small {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--surface);
    cursor: pointer;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

/* Empty State */
.empty-suggestions {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-suggestions .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-suggestions p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Suggestion Item */
.suggestion-item {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.2s ease;
    display: flex;
    gap: 1rem;
}

.suggestion-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.suggestion-votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 60px;
}

.vote-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.vote-btn:hover {
    background: var(--background);
}

.vote-btn.upvote:hover {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.vote-btn.downvote:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.vote-btn.voted.upvote {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.vote-btn.voted.downvote {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.vote-count {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    min-width: 2rem;
    text-align: center;
}

.vote-count.positive {
    color: #10b981;
}

.vote-count.negative {
    color: #ef4444;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.suggestion-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.suggestion-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.suggestion-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Delete Button (Admin only) */
.delete-btn {
    background: none;
    border: 1px solid #ef4444;
    color: #ef4444;
    border-radius: var(--radius-sm);
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    display: none;
}

.admin-mode .delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.delete-btn:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
}

/* Error Message */
.error-message {
    color: #ef4444;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
    display: block;
}

/* Modal Small */
.modal-small {
    max-width: 400px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-note {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-links .separator {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===================================
   LEGAL PAGES (IMPRESSUM & DATENSCHUTZ)
   =================================== */
.legal-page {
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 2rem auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-page h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-page a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-page strong {
    color: var(--text-primary);
    font-weight: 600;
}

.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link a:hover {
    color: var(--primary-dark);
    transform: translateX(-4px);
}

.update-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2rem;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
    }

    .legal-page h1 {
        font-size: 1.875rem;
    }

    .legal-page h2 {
        font-size: 1.5rem;
    }

    .legal-page h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 1.5rem 1rem;
    }

    .legal-page h1 {
        font-size: 1.5rem;
    }

    .legal-page h2 {
        font-size: 1.25rem;
    }

    .legal-page ul {
        margin-left: 1rem;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */

/* Material-Dropdown Optgroup-Styling für bessere Lesbarkeit */
select.form-control optgroup {
    font-weight: 700;
    font-style: normal;
    color: var(--text-primary);
    background: var(--background);
}

select.form-control option {
    padding: 0.5rem;
    background: var(--surface);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .logo-icon {
        font-size: 2.5rem;
    }

    .logo-icon-img {
        height: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    /* Calculator Grid einspaltiger und zentriert */
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Alle Cards gleiche Breite - iOS Safari Fix */
    .calculator-card,
    .results-card {
        padding: 1.5rem;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    .suggestion-form-card,
    .suggestions-list-card,
    .donate-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Container auf Mobile volle Breite */
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Main Content zentriert */
    .main-content {
        width: 100%;
        max-width: 100%;
    }

    /* Alle Sectionen gleich breit */
    .feedback-section,
    .donate-section {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .total-amount {
        font-size: 2.5rem;
    }

    .stats-content {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8125rem;
    }

    /* Buttons vertikal stapeln */
    .export-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .btn {
        min-height: 48px; /* Touch-freundlich */
        font-size: 1rem;
    }

    /* Input-Felder größer */
    input.form-control,
    select.form-control,
    textarea.form-control {
        font-size: 16px; /* Verhindert Auto-Zoom auf iOS */
        min-height: 48px;
        padding: 0.75rem 1rem;
    }

    /* Form-Rows stapeln auf Tablet */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        width: 100%;
    }

    /* Tooltip optimieren */
    .info-tooltip {
        max-width: calc(100vw - 3rem);
        position: fixed;
        left: 1.5rem;
        right: 1.5rem;
        width: auto;
    }

    /* Feedback Section */
    .feedback-section {
        padding: 2rem 0;
    }

    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .feedback-header h2 {
        font-size: 1.5rem;
    }

    .suggestions-list {
        max-height: 500px;
    }

    .admin-toggle-btn {
        position: static;
        margin: 1rem auto 0;
        display: block;
    }

    /* Donate Section */
    .donate-card {
        padding: 2rem;
    }

    .donate-card h3 {
        font-size: 1.5rem;
    }

    .donate-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* STL Upload */
    .file-upload-area {
        padding: 2rem 1.5rem;
    }

    /* Infill Slider */
    .infill-display {
        font-size: 1.5rem;
    }

    /* Modal */
    .modal-content {
        width: 90%;
        max-width: 500px;
    }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Container volle Breite mit gleichmäßigem Padding */
    .container {
        padding: 0 1rem;
        max-width: 100%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Calculator Grid - iOS Safari Fix */
    .calculator-grid {
        width: 100% !important;
        max-width: 100% !important;
        gap: 1rem;
        padding: 0;
        margin: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Alle Cards gleiche Breite - iOS Safari Fix */
    .calculator-card,
    .results-card {
        padding: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        overflow: hidden;
        min-width: 0;
    }

    .suggestion-form-card,
    .suggestions-list-card,
    .donate-card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .total-amount {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-icon-img {
        height: 2rem;
    }

    .tagline {
        font-size: 0.875rem;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    /* Material-Dropdown optimieren */
    select.form-control {
        font-size: 16px; /* Verhindert Auto-Zoom auf iOS */
        max-height: 300px;
        overflow-y: auto;
    }

    /* Form-Gruppen stapeln */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    /* Section-Titel kompakter */
    .section-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .section-icon {
        font-size: 1.25rem;
    }

    /* Buttons volle Breite */
    .export-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .export-buttons .btn {
        width: 100%;
    }

    /* STL Upload Area */
    .file-upload-area {
        padding: 1.5rem 1rem;
    }

    .file-upload-text {
        font-size: 0.875rem;
    }

    /* File Info kompakter */
    .file-info {
        padding: 1rem;
    }

    .file-info-item {
        font-size: 0.875rem;
    }

    /* Infill Slider */
    .infill-slider-container {
        padding: 0.75rem;
    }

    /* Kostenaufschlüsselung */
    .breakdown-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    /* Modal volle Breite */
    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header h3 {
        font-size: 1.125rem;
    }

    /* Donate Card kompakter */
    .donate-card {
        padding: 1.5rem 1rem;
    }

    .donate-icon {
        font-size: 3rem;
    }

    /* Suggestions */
    .suggestion-item {
        padding: 1rem;
    }

    .suggestion-title {
        font-size: 1rem;
    }

    .suggestion-description {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9375rem;
        padding: 0.75rem 1.25rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .donate-card {
        padding: 1.5rem;
    }

    .donate-card h3 {
        font-size: 1.25rem;
    }

    .donate-card p {
        font-size: 0.9375rem;
    }

    .donate-icon {
        font-size: 3rem;
    }

    .feedback-header h2 {
        font-size: 1.25rem;
    }

    .suggestion-form-card,
    .suggestions-list-card {
        padding: 1rem;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header h3 {
        font-size: 1.125rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 1rem;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .breakdown-item {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .file-upload-area {
        padding: 1.5rem 1rem;
    }

    .vote-btn {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }

    .suggestion-votes {
        min-width: 50px;
    }

    .suggestion-title {
        font-size: 0.9375rem;
    }

    .suggestion-description {
        font-size: 0.875rem;
    }
}

/* ===================================
   MOBILE TOUCH OPTIMIERUNGEN
   =================================== */
@media (max-width: 768px) {
    /* Touch-freundliche Buttons */
    .btn,
    .vote-btn,
    .form-control,
    select.form-control {
        min-height: 44px; /* iOS empfohlene Mindestgröße */
    }

    /* Bessere Lesbarkeit */
    body {
        font-size: 16px; /* Verhindert Auto-Zoom auf iOS */
    }

    /* Stats Banner kompakter */
    .stats-banner {
        padding: 0.5rem 0;
    }

    .stats-content {
        font-size: 0.75rem;
    }

    /* Header kompakter */
    .header {
        padding: 1.5rem 0;
    }

    /* Feedback Section */
    .feedback-section {
        padding: 2rem 0;
    }

    .feedback-header {
        margin-bottom: 2rem;
    }

    /* Donate Section */
    .donate-section {
        margin: 2rem 0;
    }

    /* Suggestion Items */
    .suggestion-item {
        flex-direction: column;
        gap: 1rem;
    }

    .suggestion-votes {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    /* Form Inputs größer für Touch */
    input.form-control,
    select.form-control,
    textarea.form-control {
        font-size: 16px; /* Verhindert Auto-Zoom */
    }

    /* Slider größer */
    .form-slider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }

    .form-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }

    /* Tooltip volle Breite */
    .info-tooltip {
        left: 1rem;
        right: 1rem;
        max-width: none;
        width: auto;
    }

    /* Modal verbessert */
    .modal-content {
        margin: 1rem;
        border-radius: var(--radius-md);
    }

    /* Donate Modal Features */
    .donate-features {
        padding: 1rem;
    }

    .donate-feature {
        font-size: 0.875rem;
    }

    /* Scrollbare Listen */
    .suggestions-list {
        max-height: 300px;
    }

    /* Admin Button */
    .admin-toggle-btn {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 360px) {
    /* Container volle Breite mit gleichmäßigem Padding */
    .container {
        padding: 0 0.75rem;
        max-width: 100%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Calculator Grid - iOS Safari Fix */
    .calculator-grid {
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.75rem;
        padding: 0;
        margin: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* Alle Cards gleiche Breite - iOS Safari Fix */
    .calculator-card,
    .results-card {
        padding: 0.75rem;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        overflow: hidden;
        min-width: 0;
    }

    .suggestion-form-card,
    .suggestions-list-card,
    .donate-card {
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .logo {
        font-size: 1.25rem;
    }

    .donate-card h3 {
        font-size: 1.125rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
        min-height: 44px; /* Touch-Target */
    }

    .form-control {
        padding: 0.75rem;
        font-size: 16px; /* Verhindert Auto-Zoom */
        min-height: 44px;
    }

    .section-title {
        font-size: 0.9375rem;
    }
}

/* Landscape Modus auf kleinen Geräten */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    .suggestions-list {
        max-height: 200px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-display {
    animation: fadeIn 0.3s ease;
}

/* ===================================
   MODAL
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: all 0.2s ease;
    /* iOS Touch-Fix */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    z-index: 100;
    position: relative;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem;
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ===================================
   PRINT HEADER
   =================================== */
.print-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.print-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.print-date {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ===================================
   iOS SAFARI SPEZIFISCHE FIXES
   =================================== */
/* iOS Safari Grid/Flex Fix */
@supports (-webkit-touch-callout: none) {
    /* Nur für iOS Safari */
    .calculator-grid {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        width: 100% !important;
    }

    @media (min-width: 969px) {
        .calculator-grid {
            -webkit-flex-direction: row;
            flex-direction: row;
        }

        .calculator-card,
        .results-card {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
        }
    }

    .calculator-card,
    .results-card {
        width: 100% !important;
        max-width: 100% !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    /* iOS Button Touch-Fix */
    .btn,
    button {
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2) !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }

    .export-buttons .btn {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    /* Modal Buttons Fix */
    .modal-footer .btn,
    .modal-close {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-user-select: none !important;
    }

    /* Verhindere Scroll während Touch */
    body.modal-open {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    /* Verstecke alle nicht-relevanten Elemente */
    .stats-banner,
    .header,
    .calculator-card,
    .info-section,
    .donate-section,
    .feedback-section,
    .footer,
    .export-buttons,
    .modal {
        display: none !important;
    }

    /* Setze Seitenformat und Margins */
    @page {
        size: A4;
        margin: 1.5cm;
    }

    body {
        background: white;
        margin: 0;
        padding: 0;
    }

    .main-content {
        padding: 0;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0;
    }

    .results-card {
        box-shadow: none;
        border: 1px solid #000;
        padding: 0;
        page-break-inside: avoid;
    }

    /* Print Header - kompakter */
    .print-header {
        display: block !important;
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem;
        border-bottom: 2px solid #000;
        page-break-after: avoid;
    }

    .print-title {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .print-date {
        font-size: 0.8125rem;
        margin: 0;
    }

    /* Card Header - kompakter */
    .card-header {
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid #000;
        page-break-after: avoid;
    }

    .card-header h2 {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }

    .card-subtitle {
        font-size: 0.75rem;
        margin: 0;
    }

    /* Results Display - kompakter */
    .results-display {
        padding: 1rem;
        page-break-inside: avoid;
    }

    /* Total Price - kompakter */
    .total-price {
        background: #f8f9fa;
        border: 2px solid #000;
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem;
        border-radius: 4px;
        page-break-inside: avoid;
    }

    .total-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .total-amount {
        font-size: 1.75rem;
        font-weight: 700;
        color: #10b981 !important; /* Grün */
    }

    /* Cost Breakdown - kompakter */
    .cost-breakdown {
        page-break-inside: avoid;
        gap: 0.375rem;
    }

    .breakdown-title {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    .breakdown-item {
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.25rem;
        background: #f8f9fa;
        border-radius: 3px;
        page-break-inside: avoid;
    }

    .breakdown-label {
        font-size: 0.8125rem;
    }

    .breakdown-value {
        font-size: 0.875rem;
    }

    .breakdown-subtotal {
        background: #e9ecef;
        border: 1px solid #000;
        margin-top: 0.375rem;
        margin-bottom: 0.375rem;
        font-weight: 700;
    }
    
    .breakdown-subtotal .breakdown-label,
    .breakdown-subtotal .breakdown-value {
        color: #000 !important; /* Schwarz */
    }

    /* Verhindere Seitenumbrüche innerhalb wichtiger Elemente */
    .results-card,
    .total-price,
    .cost-breakdown {
        page-break-inside: avoid;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
    }

    /* Entferne unnötige Abstände */
    .empty-state {
        display: none;
    }
}

