/* Grundstil */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

/* Container für Breite */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

/* Header */
header {
    background: linear-gradient(90deg, #7360a8, #cab9fa);
    color: white;
    padding: 1rem 0;
}

header h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

nav {
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    text-decoration: underline;
}
/* Language switch */
.lang-switch {
    font-size: 0.8rem;
    align-items: center;
}

.lang-switch .lang {
    text-decoration: none;
    color: inherit;
    opacity: 0.4;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.1s ease;
}

.lang-switch .lang::before {
    font-size: 0.9rem;
}

.lang-switch .lang.de::before {
    content: "🇩🇪";
}

.lang-switch .lang.ru::before {
    content: "🇷🇺";
}

.lang-switch .lang:hover {
    opacity: 0.85;
}

.lang-switch .lang[aria-current="true"] {
    opacity: 1;
    font-weight: 600;
    cursor: default;
}
/* Hero Section */
.hero {
    background: #e7e1fa;
    padding: 3rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

/* Services / Cards */
.services {
    padding: 2rem 0;
}

.services h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.card h4 {
    margin-bottom: 0.5rem;
}

/* About / Contact */
.about, .contact {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
}
/* About */
.about {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.about h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #222;
}

.about h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #444;
}

.about p {
    margin-bottom: 1rem;
}

.about p:first-of-type {
    font-weight: 500;
}
/* Kontakt */
.contact {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact p {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact .note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
/* Responsive */
@media(max-width: 600px){
    nav a {
        display: block;
        margin: 0.5rem 0;
    }
}
