﻿@import url("toast.css");
@import url("blocks/index.css");
@import url("blocks/footer.css");



                                /* INFO zu den Größen */
/* Mobile */
@media (max-width: 768px) {
}

/* Tablet  */
@media (min-width: 768px) and (max-width: 1023px) {
}

/* Desktop */
@media (min-width: 1024px) {
}


html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}



body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    background: var(--color-bg);
    color: var(--color-text);
}




@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/raleway/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

button {
    cursor: pointer;
}

h1:focus, h2:focus, h3:focus
{
    outline: none;
}



:root {
    /* Toast */
    --toast-space-md: 14px;
    --toast-space-lg: 18px;
    --toast-radius: 12px;
    --toast-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --toast-bg: #1e4a7a;
    --toast-text: #ffffff;
    --toast-success: #10b981;
    --toast-error: #ef4444;
    --toast-warning: #f59e0b;
    --toast-info: #2285b8;
    --toast-success-bg: rgba(16, 185, 129, 0.15);
    --toast-error-bg: rgba(239, 68, 68, 0.15);
    --toast-warning-bg: rgba(245, 158, 11, 0.15);
    --toast-info-bg: rgba(34, 133, 184, 0.15);
    /* Static Variables */
    --color-bg: #183c74;
    --color-button: #2285b8;
    --color-button-text: #fff;
    --color-button-hover: #1d6a92;
    --color-button-secondary: #2ba650;
    --color-button-text-secondary: #f9f9f9;
    --color-button-hover-secondary: #319a63;
    --color-button-danger: #d64545;
    --color-button-text-danger: #fff;
    --color-button-hover-danger: #b33a3a;
    --color-text: #FFFFFF;
    --color-title: #fffb8c;
    --color-underline: #b3b8e5;
    --border: 2px solid #ffffff24;
    --border-radius: 12px;
    --border-radius-input: 8px;
    --transition: background;
    --shadow-soft: 0 6px 24px rgba(0,0,0,.20);
    --shadow-strong: 0 10px 30px rgba(0,0,0,.35);
    --glass: rgba(255,255,255,.08);
    /* Static Font-Size */
    --font-size-normal: 1rem;
    /* Static Width */
    --field-max-width: 640px;
}

body .validation-message {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-error, #f5576c);
    font-weight: 500;
    background-color: rgba(255, 85, 108, 0.05);
    padding: 0.35rem 0.6rem;
    border-radius: var(--border-radius-input);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    text-align: center;
    width: 90%;
}

body .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
    align-items: center; /* zentriert den Control-Wrapper */
    width: 100%;
}

body .form-field__control {
    width: min(var(--field-max-width), 100%);
}

body .form-field__label {
    font-size: var(--font-size-normal);
    font-weight: 600;
    color: var(--color-text);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

body .form-field__input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-size: var(--font-size-normal);
    color: var(--color-text);
    background-color: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-input);
    outline: none;
    backdrop-filter: blur(4px);
}

/* Hover nur auf Desktop */
@media (hover: hover) and (pointer: fine) {
    body .form-field__input {
        transition: border-color 0.25s cubic-bezier(0.25,1.5,0.5,1), box-shadow 0.25s cubic-bezier(0.25,1.5,0.5,1), background-color 0.25s ease;
    }

    .form-field__input:hover {
        border-color: var(--color-button-hover);
        background-color: rgba(255,255,255,0.12);
    }
}

.form-field__input:focus {
    border-color: var(--color-button);
    box-shadow: 0 0 10px rgba(34,133,184,0.6), 0 0 20px rgba(34,133,184,0.3);
    background-color: rgba(255,255,255,0.15);
}
