@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: rgb(78, 134, 175);
    --secondary-color: #f4f7f9;
    --text-color: #333;
    --light-text: #fff;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    scroll-behavior: smooth;
}

header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: bottom;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
    margin-bottom: 0.5rem;
}

header p {
    font-weight: 600;
    font-size: 1.1rem;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

/* Welcome Section Styling */
.welcome-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.welcome-text {
    flex: 2;
    min-width: 300px;
}

.welcome-image {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.portrait {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

nav {
    background: #fff;
    padding: 0.5rem;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 1000;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: var(--primary-color);
    color: #fff;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: #fff;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.price-tag {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.duration {
    font-weight: normal;
    font-size: 0.9rem;
    color: #666;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-item {
    background: #fdfdfd;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.price-item h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.price-item p {
    margin-bottom: 0.8rem;
}

.price-item ul {
    margin-top: 0.5rem;
}

.price-notes {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: #fff;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column p, .footer-column ul {
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column h3 {
        display: inline-block;
    }
}

ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.5rem;
}

.back-to-top {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.back-to-top:hover {
    text-decoration: underline;
}

/* Kontaktformular Styling */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-info {
    flex: 1;
    min-width: 250px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea,
.form-captcha input {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(78, 134, 175, 0.3);
}

.form-captcha {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-captcha input {
    width: 60px;
    text-align: center;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background-color: #3e6b8c;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
