/* ==========================================================================
   DJ Klama - Standalone Stylesheet (Clean, lightweight, No Tailwind CDN)
   File: style.css (~8 KB statt 3 MB CDN)
   ========================================================================== */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: #f2dadc;
    color: #881337;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: inherit;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: transparent;
    border: none;
}

/* --- Font & Hero Utilities --- */
.font-serif-title {
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-bg {
    background: linear-gradient(to right, rgba(12, 12, 16, 0.90) 0%, rgba(12, 12, 16, 0.65) 50%, rgba(12, 12, 16, 0.85) 100%),
                url('img/hero.webp') center/cover no-repeat;
}

/* --- Layout & Container --- */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; }
.mx-auto   { margin-left: auto; margin-right: auto; }
.w-full    { width: 100%; }
.min-h-screen { min-height: 100vh; }

.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid         { display: grid; }
.hidden       { display: none; }
.block        { display: block; }
.inline-block { display: inline-block; }

.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.flex-grow    { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }

.fixed    { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-0    { top: 0; }
.left-0   { left: 0; }
.z-50     { z-index: 50; }
.-right-12{ right: -3rem; }
.-top-12  { top: -3rem; }

.w-6  { width: 1.5rem; }
.w-7  { width: 1.75rem; }
.w-8  { width: 2rem; }
.w-9  { width: 2.25rem; }
.w-14 { width: 3.5rem; }
.w-44 { width: 11rem; }

.h-7  { height: 1.75rem; }
.h-8  { height: 2rem; }
.h-9  { height: 2.25rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
.h-44 { height: 11rem; }

/* --- Spacing --- */
.gap-1   { gap: 0.25rem; }
.gap-2   { gap: 0.5rem; }
.gap-2\.5{ gap: 0.625rem; }
.gap-3   { gap: 0.75rem; }
.gap-3\.5{ gap: 0.875rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }
.gap-12  { gap: 3rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-14 > * + * { margin-top: 3.5rem; }
.space-y-16 > * + * { margin-top: 4rem; }

.p-0\.5 { padding: 0.125rem; }
.p-1    { padding: 0.25rem; }
.p-8    { padding: 2rem; }

.px-2   { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5{ padding-left: 0.625rem; padding-right: 0.625rem; }
.px-4   { padding-left: 1rem; padding-right: 1rem; }
.px-5   { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6   { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7   { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8   { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5{ padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1   { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5{ padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2   { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5{ padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3\.5{ padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4   { padding-top: 1rem; padding-bottom: 1rem; }
.py-5   { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10  { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16  { padding-top: 4rem; padding-bottom: 4rem; }
.py-24  { padding-top: 6rem; padding-bottom: 6rem; }

.pt-2   { padding-top: 0.5rem; }
.pt-4   { padding-top: 1rem; }
.pt-8   { padding-top: 2rem; }
.pt-20  { padding-top: 5rem; }
.pl-2   { padding-left: 0.5rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-8   { margin-bottom: 2rem; }
.mb-12  { margin-bottom: 3rem; }
.mt-0\.5{ margin-top: 0.125rem; }
.mt-2   { margin-top: 0.5rem; }

/* --- Colors (Brand Rose, Lilac & Gradients) --- */
.bg-white        { background-color: #ffffff; }
.bg-gray-50      { background-color: #f9fafb; }
.bg-gray-100     { background-color: #f3f4f6; }
.bg-rose-50      { background-color: #fdf8f8; }
.bg-rose-50\/30  { background-color: rgba(253, 248, 248, 0.3); }
.bg-rose-50\/40  { background-color: rgba(253, 248, 248, 0.4); }
.bg-rose-50\/70  { background-color: rgba(253, 248, 248, 0.7); }
.bg-rose-100     { background-color: #f9eff0; }
.bg-rose-100\/70 { background-color: rgba(249, 239, 240, 0.7); }
.bg-rose-200\/30 { background-color: rgba(242, 218, 220, 0.3); }
.bg-rose-900\/50 { background-color: rgba(76, 5, 25, 0.5); }
.bg-lilac-100    { background-color: #f3eefb; }
.bg-lilac-100\/70{ background-color: rgba(243, 238, 251, 0.7); }
.bg-white\/10    { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20    { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/95    { background-color: rgba(255, 255, 255, 0.95); }

.text-white    { color: #ffffff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-rose-200 { color: #f2dadc; }
.text-rose-300 { color: #e4b6bc; }
.text-rose-400 { color: #d08c96; }
.text-rose-500 { color: #b86673; }
.text-rose-600 { color: #a24f5d; }
.text-rose-900 { color: #881337; }
.text-lilac-500{ color: #946bd0; }
.text-lilac-600{ color: #7e4ebe; }
.text-lilac-900{ color: #4c1d95; }

.bg-gradient-to-r {
    background-image: linear-gradient(to right, #d08c96, #b86673, #a24f5d);
}
.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, #ffffff 0%, rgba(253, 248, 248, 0.3) 50%, rgba(250, 247, 253, 0.4) 100%);
}
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, rgba(253, 248, 248, 0.7), #ffffff, rgba(243, 238, 251, 0.6));
}

/* --- Borders & Radii --- */
.border     { border: 1px solid transparent; }
.border-2   { border: 2px solid transparent; }
.border-b   { border-bottom: 1px solid transparent; }
.border-t   { border-top: 1px solid transparent; }
.border-l   { border-left: 1px solid transparent; }

.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-rose-100 { border-color: #f9eff0; }
.border-rose-200 { border-color: #f2dadc; }
.border-rose-200\/60 { border-color: rgba(242, 218, 220, 0.6); }
.border-rose-200\/80 { border-color: rgba(242, 218, 220, 0.8); }
.border-rose-400\/30 { border-color: rgba(208, 140, 150, 0.3); }
.border-lilac-200{ border-color: #e7ddf6; }
.border-white\/20{ border-color: rgba(255, 255, 255, 0.2); }

.rounded-full { border-radius: 9999px; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }

/* --- Shadows & Blurs --- */
.shadow-sm  { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md  { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg  { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl  { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-rose-100\/50 { box-shadow: 0 10px 25px -5px rgba(249, 239, 240, 0.5); }
.shadow-rose-100\/60 { box-shadow: 0 20px 25px -5px rgba(249, 239, 240, 0.6); }
.shadow-rose-200     { box-shadow: 0 10px 20px -5px rgba(242, 218, 220, 0.8); }
.shadow-rose-900\/40 { box-shadow: 0 15px 30px -5px rgba(76, 5, 25, 0.4); }

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.blur-3xl         { filter: blur(64px); }
.pointer-events-none { pointer-events: none; }
.overflow-hidden  { overflow: hidden; }

/* --- Typography --- */
.text-xs   { font-size: 0.75rem; line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem; line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem; line-height: 2.5rem; }

.font-light     { font-weight: 300; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-sans      { font-family: 'Montserrat', sans-serif; }
.italic         { font-style: italic; }
.uppercase      { text-transform: uppercase; }
.text-center    { text-align: center; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide  { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest{ letter-spacing: 0.1em; }
.leading-tight  { line-height: 1.2; }
.leading-relaxed{ line-height: 1.625; }

/* --- Interactive States & Transitions --- */
.transition-all    { transition: all 0.2s ease-in-out; }
.transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
.transition-transform { transition: transform 0.2s ease-in-out; }

a:hover, button:hover {
    transition: all 0.2s ease-in-out;
}

.hover\:text-rose-500:hover { color: #b86673; }
.hover\:text-rose-600:hover { color: #a24f5d; }
.hover\:text-white:hover    { color: #ffffff; }
.hover\:border-rose-200:hover { border-color: #f2dadc; }
.hover\:border-rose-400:hover { border-color: #d08c96; }
.hover\:border-rose-300:hover { border-color: #e4b6bc; }
.hover\:border-lilac-200:hover { border-color: #e7ddf6; }
.hover\:border-lilac-400:hover { border-color: #b395e1; }
.hover\:bg-white\/20:hover { background-color: rgba(255, 255, 255, 0.2); }
.hover\:bg-rose-500:hover   { background-color: #b86673; }
.hover\:opacity-95:hover    { opacity: 0.95; }
.hover\:shadow-md:hover     { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.hover\:scale-\[1\.01\]:hover { transform: scale(1.01); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Forms */
input, textarea, select {
    outline: none;
}
.focus\:outline-none:focus { outline: none; }
.focus\:bg-white:focus     { background-color: #ffffff; }
.focus\:border-rose-400:focus { border-color: #d08c96; }

/* --- Responsive Breakpoints --- */
@media (min-width: 640px) {
    .sm\:inline      { display: inline; }
    .sm\:text-4xl    { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl    { font-size: 3rem; line-height: 1.15; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:p-10        { padding: 2.5rem; }
}

@media (min-width: 768px) {
    .md\:flex        { display: flex; }
    .md\:hidden      { display: none; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-2xl    { font-size: 1.5rem; }
    .md\:text-4xl    { font-size: 2.25rem; }
    .md\:text-5xl    { font-size: 3rem; }
    .md\:text-lg     { font-size: 1.125rem; }
    .md\:text-base   { font-size: 1rem; }
    .md\:p-12        { padding: 3rem; }
    .md\:flex-row    { flex-direction: row; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-8   { grid-column: span 8 / span 12; }
    .lg\:col-span-6   { grid-column: span 6 / span 12; }
    .lg\:text-6xl     { font-size: 3.75rem; line-height: 1.1; }
}

/* ==========================================================================
   Exakte Abstände & Typografie für Impressum & Datenschutz
   ========================================================================== */

/* Die weiße Inhaltskarte */
.legal-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(249, 239, 240, 0.4);
    border: 1px solid #f9eff0;
    padding: 2.5rem 3rem;
}

@media (max-width: 640px) {
    .legal-card { 
        padding: 1.75rem 1.25rem; 
    }
}

/* Badge (DSGVO / GDPR bzw. RECHTLICHE HINWEISE) */
.legal-badge {
    display: inline-block;
    color: #b86673;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Hauptüberschrift (H1) */
.legal-h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Untertitel unter der H1 */
.legal-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Einzelne Kapitelabschnitte (Abstand zwischen den Blöcken) */
.legal-section {
    margin-bottom: 2rem;
}

/* Kapitelüberschriften (H2: 1. Verantwortlicher, 2. Server-Logfiles etc.) */
.legal-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

/* Paragrafen & Fließtext */
.legal-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 0.5rem;
}

/* Aufzählungslisten (z. B. Betroffenenrechte) */
.legal-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.625;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.legal-list li {
    margin-bottom: 0.25rem;
}

/* Status-Box Grundlayout */
.form-status {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Erfolgsmeldung in Grün */
.form-status-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Fehlermeldung in Rot */
.form-status-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Schwebendes DSGVO Cookie-Popup (Rechts unten)
   ========================================================================== */
#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    width: calc(100% - 40px);
    background: #ffffff;
    border: 1px solid #f3e8e9;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    z-index: 99999;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-popup.hidden {
    display: none !important;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b86673;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.cookie-text {
    font-size: 0.75rem;
    line-height: 1.45;
    color: #4b5563;
    margin-bottom: 1rem;
}

.cookie-text a {
    color: #b86673;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn-accept {
    flex: 1;
    background: linear-gradient(to right, #d08c96, #b86673, #a24f5d);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(184, 102, 115, 0.3);
    transition: opacity 0.2s ease;
}

.cookie-btn-accept:hover {
    opacity: 0.92;
}

.cookie-btn-decline {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-btn-decline:hover {
    background: #e5e7eb;
}

@media (max-width: 480px) {
    #cookie-popup {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}