/* ==========================================================================
   datenschutz-management.org - Vollständiges Stylesheet
   Behebt Menü-Sichtbarkeit und stellt korrekte Abstände/Typografie bereit.
   ========================================================================== */

/* 1. CSS-Variablen & Farbpalette */
:root {
    --color-slate-50:  #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-slate-950: #020617;

    --color-brand-50:  #f0f7ff;
    --color-brand-100: #e0effe;
    --color-brand-600: #0284c7;
    --color-brand-700: #0369a1;
    --color-brand-900: #0c4a6e;

    --color-emerald-50:  #ecfdf5;
    --color-emerald-200: #a7f3d0;
    --color-emerald-800: #065f46;

    --color-rose-50:   #fff1f2;
    --color-rose-200:  #fecdd3;
    --color-rose-800:  #9f1239;

    --color-amber-100: #fef3c7;
    --color-amber-800: #92400e;
    --color-amber-900: #78350f;
}

/* 2. Globales Box-Sizing & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-slate-50);
    color: var(--color-slate-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

/* 3. Container & Breiten */
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-lg  { max-width: 32rem; }
.mx-auto   { margin-left: auto; margin-right: auto; }
.w-full    { width: 100%; }

/* 4. Außenabstände (Margins) - Behebt die fehlenden Abstände */
.mb-1   { margin-bottom: 0.25rem; }
.mb-1\.5{ margin-bottom: 0.375rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-8   { margin-bottom: 2rem; }
.mb-10  { margin-bottom: 2.5rem; }
.mb-12  { margin-bottom: 3rem; }
.mb-16  { margin-bottom: 4rem; }

.mt-1   { margin-top: 0.25rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-4   { margin-top: 1rem; }
.mt-6   { margin-top: 1.5rem; }
.mt-8   { margin-top: 2rem; }

.ml-2   { margin-left: 0.5rem; }
.ml-4   { margin-left: 1rem; }
.mr-2   { margin-right: 0.5rem; }
.mr-3   { margin-right: 0.75rem; }
.ml-auto { margin-left: auto; }

/* 5. Innenabstände (Paddings) */
.px-1\.5{ padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2   { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3   { padding-left: 0.75rem; padding-right: 0.75rem; }
.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-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   { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5{ padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4   { padding-top: 1rem; padding-bottom: 1rem; }
.py-6   { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8   { padding-top: 2rem; padding-bottom: 2rem; }
.py-12  { padding-top: 3rem; padding-bottom: 3rem; }
.py-16  { padding-top: 4rem; padding-bottom: 4rem; }
.py-20  { padding-top: 5rem; padding-bottom: 5rem; }

.p-1  { padding: 0.25rem; }
.p-2  { padding: 0.5rem; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }

.pt-2   { padding-top: 0.5rem; }
.pt-3   { padding-top: 0.75rem; }
.pt-20  { padding-top: 5rem; }
.pb-4   { padding-bottom: 1rem; }
.pb-8   { padding-bottom: 2rem; }

/* 6. Display & Sichtbarkeit (Menü-Fix) */
.block        { display: block; }
.inline-block { display: inline-block; }
.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid         { display: grid; }
.hidden       { display: none; }

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

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

.gap-1   { gap: 0.25rem; }
.gap-1\.5{ gap: 0.375rem; }
.gap-2   { gap: 0.5rem; }
.gap-3   { gap: 0.75rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }

.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2   > * + * { margin-top: 0.5rem; }
.space-y-3   > * + * { margin-top: 0.75rem; }
.space-y-4   > * + * { margin-top: 1rem; }
.space-y-6   > * + * { margin-top: 1.5rem; }
.space-x-6   > * + * { margin-left: 1.5rem; }
.space-x-8   > * + * { margin-left: 2rem; }

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

/* 7. Responsive Media Queries (Desktop-Menü & Spalten) */
@media (min-width: 640px) {
    .sm\:flex-row    { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:w-auto      { width: auto; }
    .sm\:py-20       { padding-top: 5rem; padding-bottom: 5rem; }
    .sm\:py-24       { padding-top: 6rem; padding-bottom: 6rem; }
    .sm\:p-12        { padding: 3rem; }
    .sm\:text-4xl    { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl    { font-size: 3rem; line-height: 1.15; }
}

@media (min-width: 768px) {
    /* WICHTIG: Überschreibt .hidden für Desktop-Navigation */
    .md\:flex { display: flex !important; }
    .md\:hidden { display: none !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* 8. Typografie & Zeilenabstände */
.text-center { text-align: center; }
.text-left   { text-align: left; }

.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.uppercase       { text-transform: uppercase; }
.tracking-tight  { letter-spacing: -0.025em; }
.tracking-wider  { letter-spacing: 0.05em; }

.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.25; }
.leading-normal  { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 15px; }
.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; }
.text-5xl      { font-size: 3rem; line-height: 1.15; }

/* 9. Farben & Hintergründe */
.bg-white      { background-color: #ffffff; }
.bg-slate-50   { background-color: var(--color-slate-50); }
.bg-slate-100  { background-color: var(--color-slate-100); }
.bg-slate-900  { background-color: var(--color-slate-900); }
.bg-brand-50   { background-color: var(--color-brand-50); }
.bg-brand-100  { background-color: var(--color-brand-100); }
.bg-brand-700  { background-color: var(--color-brand-700); }
.bg-brand-900  { background-color: var(--color-brand-900); }
.bg-amber-100  { background-color: var(--color-amber-100); }
.bg-emerald-50 { background-color: var(--color-emerald-50); }
.bg-rose-50    { background-color: var(--color-rose-50); }
.bg-transparent{ background-color: transparent; }

.text-white     { color: #ffffff; }
.text-slate-400 { color: var(--color-slate-400); }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-800 { color: var(--color-slate-800); }
.text-slate-900 { color: var(--color-slate-900); }
.text-slate-950 { color: var(--color-slate-950); }
.text-brand-600 { color: var(--color-brand-600); }
.text-brand-700 { color: var(--color-brand-700); }
.text-brand-900 { color: var(--color-brand-900); }
.text-amber-800 { color: var(--color-amber-800); }
.text-amber-900 { color: var(--color-amber-900); }
.text-emerald-800 { color: var(--color-emerald-800); }
.text-rose-800  { color: var(--color-rose-800); }

/* 10. Rahmen & Schatten */
.border             { border-width: 1px; border-style: solid; }
.border-2           { border-width: 2px; border-style: solid; }
.border-t           { border-top-width: 1px; border-top-style: solid; }
.border-b           { border-bottom-width: 1px; border-bottom-style: solid; }
.border-transparent { border-color: transparent; }
.border-slate-100   { border-color: var(--color-slate-100); }
.border-slate-200   { border-color: var(--color-slate-200); }
.border-slate-300   { border-color: var(--color-slate-300); }
.border-slate-800   { border-color: var(--color-slate-800); }
.border-brand-100   { border-color: var(--color-brand-100); }
.border-brand-700   { border-color: var(--color-brand-700); }
.border-brand-900   { border-color: var(--color-brand-900); }
.border-emerald-200 { border-color: var(--color-emerald-200); }
.border-rose-200    { border-color: var(--color-rose-200); }

.rounded      { border-radius: 0.25rem; }
.rounded-md   { border-radius: 0.375rem; }
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow    { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.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-2xl{ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* 11. Interaktion & Hover */
.hover\:bg-slate-100:hover   { background-color: var(--color-slate-100); }
.hover\:bg-brand-50:hover     { background-color: var(--color-brand-50); }
.hover\:bg-brand-700:hover    { background-color: var(--color-brand-700); }
.hover\:text-white:hover      { color: #ffffff; }
.hover\:text-slate-900:hover  { color: var(--color-slate-900); }
.hover\:text-brand-700:hover  { color: var(--color-brand-700); }
.hover\:text-brand-900:hover  { color: var(--color-brand-900); }
.hover\:border-brand-600:hover{ border-color: var(--color-brand-600); }
.hover\:shadow-md:hover       { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }

.focus-within\:border-brand-600:focus-within { border-color: var(--color-brand-600); }
.focus-within\:shadow-lg:focus-within        { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.transition   { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }

/* 12. Fixes & Spezielle UI-Elemente */
.sticky    { position: sticky; }
.top-0     { top: 0; }
.fixed     { position: fixed; }
.inset-0   { inset: 0; }
.relative  { position: relative; }
.absolute  { position: absolute; }
.z-40      { z-index: 40; }
.z-50      { z-index: 50; }

.w-2 { width: 0.5rem; } .h-2 { height: 0.5rem; }
.w-4 { width: 1rem; }   .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-10{ width: 2.5rem; } .h-10{ height: 2.5rem; }
.w-12{ width: 3rem; }   .h-12{ height: 3rem; }
.h-20{ height: 5rem; }

.backdrop-blur    { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6); }

.list-disc   { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.whitespace-nowrap { white-space: nowrap; }
.overflow-hidden   { overflow: hidden; }
.overflow-y-auto   { overflow-y: auto; }
.max-h-\[75vh\]    { max-height: 75vh; }

/* FAQ Akkordeon Pfeil Animation */
details[open] summary span:last-child {
    transform: rotate(180deg);
}
summary {
    list-style: none;
}
summary::-webkit-details-marker {
    display: none;
}