html {
    font-size: 16px; /* Basisgröße für rem */
}

body { 
    font-family: 'Hind', sans-serif;
    font-weight: 300;
    color: #525556;
    background: #f5f5f1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem; /* Basisgröße */
    line-height: 1.6;
    padding: 1em;
}

.container { 
    background: white; 
    padding: 2em; 
    max-width: 600px; 
    margin: auto; 
    border-radius: 0px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

h1 { 
    font-size: 1.6rem; 
    margin-bottom: 0.5em; 
    font-weight: 600;
	line-height:1.8rem;
}

label { 
    display: block; 
    margin-top: 1em; 
    font-size: 1rem;
}

input[type="text"] { 
    width: 100%; 
    padding: 0.75em; 
    margin-top: 0.3em; 
    font-size: 1rem;
    box-sizing: border-box;
}

input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 0.4em;
}

button { 
    margin-top: 1em; 
    padding: 0.75em 1.5em; 
    font-size: 1rem; 
    background-color:#95c11f;
    color:#fff;
    border: 0;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #525556;
}

a {
    color: #95c11f;
    text-decoration: none;
    font-weight: 600;
}

.main{
	background-image:url(bg.jpg);
	background-size:contain;
	background-position:bottom right;
	background-repeat:no-repeat;
}

.footer {
    background-color: #525556;
    color: #fff;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

/* ✅ Mobile-Optimierung */
@media screen and (max-width: 600px) {
    html {
        font-size: 18px;
    }

    .container {
        padding: 1.5em;
    }

    h1 {
        font-size: 2rem;
    }

    button {
        font-size: 1.1rem;
    }
}

/* Schriftarten wie gehabt */
@font-face {
    font-family: 'Hind';
    src: url('/fonts/hind-light-webfont.woff2') format('woff2'),
         url('/fonts/hind-light-webfont.woff') format('woff'),
         url('/fonts/hind-light-webfont.ttf') format('truetype'),
         url('/fonts/hind-light-webfont.svg#hindlight') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Hind';
    src: url('/fonts/hind-semibold-webfont.woff2') format('woff2'),
         url('/fonts/hind-semibold-webfont.woff') format('woff'),
         url('/fonts/hind-semibold-webfont.ttf') format('truetype'),
         url('/fonts/hind-semibold-webfont.svg#hindsemibold') format('svg');
    font-weight: 600;
    font-style: normal;
}
