@charset "UTF-8";

/* =========================
   Root / Variablen
========================= */
:root {
    --font-main: "Segoe UI", Roboto, Arial, sans-serif;

    --color-bg: linear-gradient(90deg, transparent 0%, transparent 8%, rgba(90, 90, 90, 0.05) 8%, rgba(90, 90, 90, 0.05) 21%, transparent 21%, transparent 100%),
                linear-gradient(45deg, transparent 0%, transparent 23%, rgba(90, 90, 90, 0.05) 23%, rgba(90, 90, 90, 0.05) 37%, transparent 37%, transparent 100%),
                linear-gradient(0deg, transparent 0%, transparent 37%, rgba(90, 90, 90, 0.05) 37%, rgba(90, 90, 90, 0.05) 49%, transparent 49%, transparent 100%),
                linear-gradient(90deg, rgb(255,255,255), rgb(255,255,255));

    --color-surface: #ffffff;
    --color-surface-soft: #f0f4f8;

    --color-text: #1f2937;
    --color-text-light: #6b7280;

    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-success: #16a34a;
    --color-warning: #f59e0b;
    --color-danger: #dc2626;

    --border-color: #dbe3ec;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.10);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition: all 0.25s ease;
    --container-width: 1200px;

    --color-bg-header:                #0F172A;
    --color-bg-header-text-color:     #FFFFFF;
    --color-main-container:           #334155;
    --color-main-container-textcolor: #FFFFFF;

    --navy:          #0F172A;
    --blue-gray:     #334155;
    --off-white:     #F8FAFC;
    --light-gray:    #E2E8F0;
    --turquoise:     #14B8A6;
    --cyan:          #22D3EE;
}

/* =========================
   Reset / Basis
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: var(--color-bg);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

    background-image: url("pics/screen_02.png");
    background-size:       cover;
    background-position:  center;
    background-repeat: no-repeat;
}

main {
    flex: 1;
    width: 100%;
}

/* =========================
   Container
========================= */

.main-container {
    flex: 1;
    width: 80%;
    max-width: 1200px;
    margin: 0.6em auto;
    border: none;
    /*background: var(--color-main-container);*/
    padding: 1em;
    color: var(--color-main-container-textcolor);
    border-radius: 1em;

    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.5);  
}

img.logo {
    width: 160px;
    max-width: 100%;
    height: auto;
}

/* =========================
   UPLOAD
========================= */

.upload-wrapper {
    width: 100%;
    max-width: 650px;
    padding: 20px;
}

.upload-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.upload-box h1 {
    margin-top: 0;
    text-align: center;
}

.info-text {
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.drop-zone {
    border: 2px dashed #38bdf8;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.04);
}

.drop-zone:hover {
    background: rgba(56, 189, 248, 0.08);
    transform: translateY(-2px);
}

.drop-zone.dragover {
    border-color: #ffffff;
    background: rgba(56, 189, 248, 0.18);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.upload-icon {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.file-info {
    margin-top: 18px;
    text-align: center;
    color: #e2e8f0;
    min-height: 24px;
    word-break: break-word;
}

.preview-container {
    margin-top: 20px;
    display: none;
    text-align: center;
}

.preview-container img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.progress-container {
    width: 100%;
    height: 26px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 20px;
    display: none;
}

.progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    text-align: center;
    line-height: 26px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #0f172a;
    background: linear-gradient(90deg, #38bdf8, #67e8f9);
    transition: width 0.2s ease;
}

.upload-btn {
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(90deg, #38bdf8, #67e8f9);
    color: #0f172a;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
}

.message {
    margin-top: 18px;
    text-align: center;
    font-weight: bold;
    min-height: 24px;
}

/* =========================
   Allgemein
========================= */
header {
    width: 100%;
    border: none;
    min-height: 10em;
    /*background: var(--color-bg-header);*/
    transition: 0.3s;
    color: var(--color-bg-header-text-color);

    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    border-left:   0px solid rgba(255, 255, 255, 0.5);
    border-right:  0px solid rgba(255, 255, 255, 0.5);    
}

header.box
{
    display:                 flex;
    flex-direction:           row; 
    align-items:           center; 
    justify-content:   flex-start; 
    text-align:            center;
    background-color: transparent; 
}

footer {
    width: 100%;
    /*background: var(--color-bg-header);*/
    color: var(--color-bg-header-text-color);
    text-align: center;
    padding: 15px;
    min-height: 5em;
    transition: 0.3s;

    background: rgba(15, 23, 42, 0.8);
    border-top:   1px solid rgba(255, 255, 255, 0.6);
    border-left:  0px solid rgba(255, 255, 255, 0.5);
    border-right: 0px solid rgba(255, 255, 255, 0.5);
}

p.absatz-gross{margin-top: 2em;}

a:link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight:     bold;
}

a:visited {
    color: #FFFFFF;
    text-decoration: none;
    font-weight:     bold;
}

a:hover {
    color: #FFFFFF;
    text-decoration: none;
    font-weight:     bold;
}

a:active {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight:     bold;
}

.text-delay {
    visibility: hidden;
    opacity: 0;
    animation: textShow 0.8s ease forwards;
    animation-delay: 2s;
}



/* =========================
   Text
========================= */
.text-delay {
    visibility: hidden;
    opacity: 0;
    animation: textShow 0.8s ease forwards;
    animation-delay: 2s;
}

@keyframes textShow {
    0% {
        visibility: hidden;
        opacity: 0;
        transform: translateY(8px);
    }
    1% {
        visibility: visible;
        opacity: 0;
    }
    100% {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   GRID HOME TEMPLATE
========================= */

.bilder-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.bild-karte-home {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    padding: 15px;
    text-align: center;
}

.bild-karte-home img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-bottom: 12px;
}

.bild-karte-home h3 {
    margin:        0;
    font-size:  22px;
    color: #FFFFFF;
    font-weight: 700;
    cursor:  pointer;
    border:     none;
    font-family: monospace;
}

.bild-karte-home {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bild-karte-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

button.btn-klar-home 
{
    background: transparent;
    border:            none;
}

/* =========================
   Tablet
========================= */
@media (max-width: 992px) {
    .main-container {
        width: 90%;
        padding: 1em;
    }

    header {
        min-height: 8em;
    }

    footer {
        min-height: 4.5em;
    }

    img.logo {
        width: 140px;
    }
}

/* =========================
   Smartphone
========================= */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .main-container {
        width:          100%;
        padding:       0.6em; /*0.9em*/
        border-radius: 0.8em;
    }

    header {
        min-height: 7em;
        padding: 1em;
        text-align: center;
    }

    footer {
        min-height: auto;
        padding: 12px;
        text-align: center;
    }

    img.logo {
        width: 120px;
    }
}

/* =========================
   Kleine Smartphones
========================= */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .main-container {
        width: 96%;
        padding: 0.8em;
        margin-top: 0.3em;
        margin-bottom: 0.3em;
    }

    header {
        min-height: auto;
        padding: 0.8em;
    }

    footer {
        padding: 10px;
    }

    img.logo {
        width: 100px;
    }
}