body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: #f9fafb;
    color: #111;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* NAV */
.home-menu {
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-bottom: none;
    text-align: center;
    padding: 0.5em;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-menu img {
  display: block;
}

.logo {
  height: 40px;
  object-fit: contain;
  width: auto;
  max-width: 200px;
}

.home-menu .pure-menu-heading {
    /*color: white; */
    font-weight: 400;
    font-size: 120%;
}

.home-menu .menu-font-big {
    /*color: white; */
    font-weight: 400;
    font-size: 120%;
}

.flag {
    width: 18px;
    height: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

.lang-item {
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
}

.cta-nav {
    font-weight: bold;
}

/* HERO */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff, #f1f5f9);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    color: #555;
    margin: 20px 0;
}

.hero-actions {
    margin-top: 20px;
}

.link-secondary {
    margin-left: 15px;
    color: #0078e7;
    text-decoration: none;
}

.feature {
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background: #fafafa;
    transition: 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.feature h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.feature-icon {
    font-size: 2.5rem;
    color: #0078e7;
    margin-bottom: 15px;
}

/*Blog Posts*/
.blogpost {
    padding: 20px;
    text-align: left;
    border-radius: 8px;
    background: #fafafa;
    transition: 0.2s, box-shadow 0.2s;
}

.blogpost:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blogpost h3 {
    margin-top: 0;
    margin-bottom: 10px;
}


/* SECTION */
.section {
    padding: 80px 20px;
}

.section.alt {
    background: #fff;
}

/* FEATURES */
.feature {
    padding: 20px;
}

/* CARDS */
.card {
    background: white;
    padding: 25px;
    margin: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.2s;
    /*cursor: pointer;*/
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    border: 2px solid #0078e7;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Alle Linkfarben neutralisieren */
.card-link,
.card-link:link,
.card-link:visited,
.card-link:hover,
.card-link:active {
    text-decoration: none;
    color: inherit; /* übernimmt Farbe der Card */
}


/* CTA */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: #0078e7;
    color: white;
}

/* CONTACT */
.contact-box {
    max-width: 600px;
}

.custom-form {
    max-width: 600px;
    margin: 0 auto;
}

.custom-form fieldset {
    border: none;
    padding: 0;
}

.custom-form legend {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.custom-form input:not([type="checkbox"]),
.custom-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.custom-form textarea {
    min-height: 120px;
    resize: vertical;
}

.custom-form button {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* Page Content */
.page-content {
    padding: 80px 20px;
    max-width: 1100px;           /* angenehme Lesebreite */
    margin: 0 auto;             /* zentriert auf der Seite */
    font-size: 18px;            /* gut lesbar */
    line-height: 1.6;           /* angenehmer Zeilenabstand */
    color: #000;                /* dunkles Grau für besseren Kontrast */
    background-color: #fff;     /* optional: weiße Fläche */
    border-radius: 8px;         /* leicht abgerundete Ecken */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* subtiler Schatten */
    word-wrap: break-word;      /* lange Wörter umbrechen */
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* moderne Schrift */
}


/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    color: #777;
}

.theme-switch {
    cursor: pointer;
    margin-left: 20px;
}


#form-message {
    padding: 0.9rem 1.2rem;
    border-radius: 8px;          /* wie .card und .page-content */
    margin-top: 1rem;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);  /* wie .page-content */
    transition: 0.2s;            /* wie .card und .feature */
}
#form-message.success {
    background: #f0faf4;         /* dezentes Grün statt kräftigem Bootstrap-Grün */
    color: #1a6b3a;
    border: 1px solid #b6dfc6;
}
#form-message.error {
    background: #fff5f5;         /* dezentes Rot statt kräftigem Bootstrap-Rot */
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

/* === Responsive Media Queries === */

/* Tablets / Medium Screens */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .container {
        padding: 15px;
    }
    .nav-inner {
        flex-wrap: wrap;
    }
    nav a {
        margin-left: 15px;
    }
}

/* Small Tablets / Large Phones */
@media (max-width: 768px) {
    .hero {
        /*padding: 70px 15px;*/
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .feature {
        padding: 15px;
    }
    .blogpost {
        padding: 15px;
    }
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .card {
        padding: 20px;
        margin: 8px 0;
    }
    .cta {
        padding: 50px 15px;
        font-size: 16px;
    }
    .page-content {
        padding: 40px 15px;
        font-size: 16px;
        line-height: 1.5;
        max-width: 95%;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    .custom-form input,
    .custom-form textarea {
        font-size: 13px;
    }
    .custom-form button {
        font-size: 15px;
        padding: 10px;
    }
    .home-menu {
        position: sticky;     /* bleibt oben beim Scrollen */
		top: 0;
		z-index: 1000;
		background: rgba(255,255,255,0.95);
		backdrop-filter: blur(8px);
		overflow-x: auto;
		white-space: nowrap;
		padding: 0.5em 10px;
	}

	.logo {
    height: 30px;
	}

    .nav-inner {
        flex-direction: column;
        width: 100%;
    }

    nav a {
        margin: 5px 0;  /* Abstand zwischen Links */
    }
}

/* Phones / Extra Small */
@media (max-width: 480px) {
    .hero {
        padding: 50px 10px;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .feature {
        padding: 12px;
    }
    .blogpost {
        padding: 12px;
    }
    .feature-icon {
        font-size: 1.6rem;
    }
    .card {
        padding: 15px;
        margin: 6px 0;
    }
    .cta {
        padding: 40px 10px;
        font-size: 15px;
    }
    .page-content {
        padding: 30px 10px;
        font-size: 15px;
        line-height: 1.4;
    }
    nav a {
        margin-left: 10px;
        font-size: 0.9rem;
    }
    .custom-form input,
    .custom-form textarea {
        font-size: 12px;
    }
    .custom-form button {
        font-size: 14px;
        padding: 8px;
    }
    .logo {
    height: 20px;
	}
}


.about-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
}

.about-sidebar {
    position: sticky;
    top: 80px;
    text-align: center;
}

.about-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #e8f0fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 3px solid #0078e7;
}

.about-avatar i {
    font-size: 3rem;
    color: #0078e7;
}

.about-name {
    font-size: 1.3rem;
    margin: 0 0 4px;
}

.about-role {
    color: #555;
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 24px;
}

.tag {
    background: #e8f0fd;
    color: #0056b3;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.about-cta {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* Markdown-gerenderter Inhalt */
.about-body h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #111;
}

.about-body h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #0078e7;
    border-bottom: 2px solid #e8f0fd;
    padding-bottom: 6px;
}

.about-body p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.about-body ul li {
    color: #444;
    line-height: 1.8;
}

.about-body strong {
    color: #111;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-sidebar {
        position: static;
    }

    .about-body h1 {
        font-size: 1.6rem;
    }
}
