body {
    margin: 0;
    font-family: system-ui;
    background: #111 url('bg-fotogilde.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f5f5f5;
}

.overlay {
    background: rgba(0,0,0,0.65);
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    max-width: 900px;
    margin: auto;
    background: rgba(20,20,20,0.9);
    padding: 30px;
    padding-bottom: 40px;
    border-radius: 12px;
}

.logo {
    text-align: center;
    margin-bottom: 10px;
}

.logo img {
    max-width: 440px;
    width: 100%;
    height: auto;
}

.logodvf {
    text-align: center;
}

.logodvf img {
    max-width: 330px;
    width: 100%;
    height: auto;
}

h1 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    color: #ffcc66;
    font-size: 2.2rem;
    font-weight: 700;
}

h2 {
    text-align: center;
}

.subtitle {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}

label { font-weight: bold; }

.row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.row .col { flex: 1; }

.field-group { margin-bottom: 22px; }

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 8px;
    border: 1px solid #555;
    background: #1a1a1a;
    color: #f5f5f5;
    box-sizing: border-box;
}

select { height: 48px; }

input:focus,
select:focus {
    outline: none;
    border-color: #ffcc66;
    box-shadow: 0 0 6px rgba(255, 204, 102, 0.6);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffcc66;
}

.checkbox-label {
    font-weight: bold;
    cursor: pointer;
}

.hint {
    font-weight: normal;
    font-size: 0.9rem;
    color: #ccc;
    display: block;
}

.info {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 4px;
    font-weight: normal;
}

.upload-block {
    margin-top: 40px;
    margin-bottom: 40px;
}

#dropzone {
    width: 80%;
    margin: 0 auto;
    padding: 30px;
    border: 3px dashed #ffcc66;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 204, 102, 0.08);
    color: #ffcc66;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    box-sizing: border-box;
}

#dropzone:hover { background: rgba(255, 204, 102, 0.18); }
#dropzone.dragover { background: rgba(255, 204, 102, 0.28); border-color: #ffe6a3; }

#preview img { border-radius: 6px; border: 1px solid #555; }

.upload-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    box-sizing: border-box;
}

.upload-item-desc {
    width: 100%;
    margin-bottom: 0;
    min-width: 0;
}

.upload-item-desc label {
    display: block;
    margin-bottom: 8px;
}

.upload-item textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    border-radius: 8px;
    border: 1px solid #555;
    background: #1a1a1a;
    color: #f5f5f5;
    box-sizing: border-box;
    resize: vertical;
}

.upload-item textarea:focus {
    outline: none;
    border-color: #ffcc66;
    box-shadow: 0 0 6px rgba(255, 204, 102, 0.6);
}

.input-error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 6px rgba(255, 77, 77, 0.6) !important;
}

.field-error-text {
    color: #ff6666;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 6px;
}

.message-box {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.message-error {
    background: #ff3333;
    border: 2px solid #ff9999;
    color: #fff;
    font-size: 1.2rem;
    padding: 15px;
    margin-top: 12px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255,0,0,0.5);
}

.message-success {
    background: #22aa55;
    border: 2px solid #66dd99;
    color: #fff;
    font-size: 1.1rem;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.success {
    background: #22aa55;
    border: 2px solid #66dd99;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px;
    margin: 10px 0 20px;
    border-radius: 8px;
    font-weight: 600;
}

.error-list {
    background: #cc2222;
    border: 2px solid #ff6666;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.error-list ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.link-white {
	color: #ffffff !important;
	text-decoration: underline;
}

	.link-white:hover {
	color: #ff3333;
}

button, .btn {
    display: block;
    width: 60%;
    margin: 40px auto 0 auto;
    padding: 18px 30px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ffcc66, #ffb733);
    color: #222;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 204, 102, 0.25);
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

button:hover, .btn:hover {
    background: linear-gradient(135deg, #ffd98c, #ffcc66);
    box-shadow: 0 0 18px rgba(255, 204, 102, 0.75);
    transform: translateY(-2px);
}

/* ── Inhaltsseite ─────────────────────────────── */
.intro-image {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid #ffcc66;
}

.content h2 {
    color: #ffcc66;
    margin-top: 30px;
}

.content h3 {
    color: #ffffff;
    margin-top: 25px;
}

.content p {
    line-height: 1.6;
}

.content a {
    color: #ffffff;
}

.prize-box {
    background: rgba(255,255,255,0.1);
    border: 2px solid #ffcc66;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0 35px 0;
    color: #fff;
}

.info-box {
    background: rgba(255,204,102,0.15);
    border-left: 5px solid #ffcc66;
    padding: 15px 20px;
    margin: 25px 0 15px 0;
    border-radius: 6px;
    color: #ffdd99;
    font-weight: 600;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ── Tablet (≤ 900px) ──────────────────────────── */
@media (max-width: 900px) {
    h1 { font-size: 1.8rem; }
    .subtitle { font-size: 1.5rem; }
    .row-3 { flex-direction: column; gap: 0; }
    #dropzone { width: 95%; }
    button, .btn { width: 80%; font-size: 1.1rem; }
}

/* ── Mobil (≤ 600px) ───────────────────────────── */
@media (max-width: 600px) {
    .overlay { padding: 8px; }

    .container {
        padding: 15px;
        padding-bottom: 30px;
        border-radius: 8px;
    }

    .logo img { max-width: 160px; }

    h1 { font-size: 1.4rem; }
    .subtitle { font-size: 1.1rem; margin-bottom: 15px; }

    .row, .row-2, .row-3 {
        flex-direction: column;
        gap: 0;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        font-size: 1rem;
        padding: 12px;
    }

    select { height: 44px; }

    #dropzone {
        width: 100%;
        padding: 20px 12px;
        font-size: 0.95rem;
    }

    .upload-block { margin-top: 20px; margin-bottom: 20px; }

    .upload-item img { width: 100%; max-width: 200px; margin: 0 auto; }
    .message-error { font-size: 1rem; }

    button, .btn {
        width: 95%;
        font-size: 1rem;
        padding: 14px 20px;
        margin-top: 25px;
    }

    .hint { font-size: 0.85rem; }

    .intro-image {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
    }
}
