/**
 * Knipsdings Gallerie - Haupt-Stylesheet
 */

/* Reset und Grundeinstellungen */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* reCAPTCHA Badge ausblenden (optional) */
/* WICHTIG: Wenn Sie den Badge ausblenden, müssen Sie in Ihrer Datenschutzerklärung 
   auf die reCAPTCHA-Nutzung hinweisen! */
.grecaptcha-badge { 
    visibility: hidden;
}

/* Startseite */
.min-vh-100 {
    min-height: 100vh;
}

/* Formulare */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control-lg {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

/* Buttons */
.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* Cards */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Code-Anzeige */
code {
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #d63384;
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
}

/* Links */
a {
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .h1, h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Loading-Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Utility-Klassen */
.text-break {
    word-break: break-word;
}

.user-select-all {
    user-select: all;
}

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

/* Focus-Styles für Barrierefreiheit */
:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Print-Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

