/* Base reset and typography */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #222;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* Header / Navigation */
header {
    padding: 1rem 1rem 2rem;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 1rem 0 0;
    color: #111;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.top-nav .menu {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.top-nav .menu a {
    text-decoration: none;
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.top-nav .menu a:hover {
    color: #000;
}

#language-selector {
    padding: 0.4rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 0.95rem;
}

/* Main container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Alternating section backgrounds */
.alt-bg {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* Sections */
section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.05rem;
}

/* Quote styling */
.quote-section {
    text-align: center;
    font-size: 4rem;
    font-style: italic;
    margin: 3rem 0;
    color: #333;
    position: relative;
    padding: 2rem 0;
}

.quote-section:before,
.quote-section:after {
    content: "";
    display: block;
    height: 2px;
    width: 120px;
    background: #ddd;
    margin: 0 auto;
}

.quote-section:before {
    margin-bottom: 1.5rem;
}

.quote-section:after {
    margin-top: 1.5rem;
}

.quote-section p {
    margin: 0;
    line-height: 1.6;
}

/* Form container */
form {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Grid layout for inputs */
form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem; /* Increase spacing between Vorname and Nachname */
}

/* Full width for single inputs */
form .full-width {
    grid-column: span 2;
}

/* Labels */
form label {
    font-weight: 500;
    color: #222;
    margin-bottom: 0.3rem;
    display: block;
}

/* Inputs and textarea */
form input,
form textarea,
form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

form input:focus,
form textarea:focus {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Textarea */
form textarea {
    resize: vertical;
    min-height: 120px;
}

fieldset label {
    align-items: left;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    background: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

fieldset label:hover {
    background: #f8f9fa;
    border-color: #aaa;
    cursor: pointer;
}

fieldset input {
    accent-color: #333;
    width: 1.2rem;
}

fieldset {
    display: left;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #fafafa;
    border-radius: 10px;
}
/* Consent checkbox */
.consent-label {
    display: left;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 10px;
}
.consent-label label {
    align-items: left;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.consent-label label input{
    display: inline;
    width: 1.2rem;
}

.consent-label:hover {
    background: #f8f9fa;
    border-color: #aaa;
}

/* Submit button */
form button {
    background: linear-gradient(90deg, #000, #333);
    color: #fff;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: span 2;
}

form button:hover {
    background: linear-gradient(90deg, #333, #000);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #777;
    background: #fefefe;
    border-top: 1px solid #eaeaea;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.contact-icon img {
    width: 60%;
    height: 60%;
}
