/* --- ZENTRALE DESIGN-VARIABLEN --- */
:root {
    --primary-color: #2c3e50;
    --accent-color: #e67e22;
    --bg-color: #fcfcfc;
    --text-color: #333;
    --light-grey: #f4f4f4;
    --vlight-color: #f8f9fa; /* Ein dezenter, heller Grauton */
    --border-color: #ddd;
    --box-color: #edf2f7;
	
}

/* --- GLOBALE STYLES --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

main { 
	max-width: 800px; 
	margin: 40px auto; 
	padding: 0 20px; 
}

header {
   /* background: linear-gradient(
        135deg,
        #2c3e50,
        #4ca1af
    ); */
    background: var(--light-grey);
    color: var(--primary-color);
    padding: 3rem 1rem;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header p {
    font-weight: 300;
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.logo {
    max-height: 120px; /* Verhindert, dass das Logo riesig wird */
    width: auto;
    height: auto;
    margin-top: 15px;
    margin-bottom: 0px;
}

/* Neu Start */
.site-header {
    background-color: var(--light-grey);
    padding: 20px;
    border-bottom: 3px solid #333; /* Eine klare Trennlinie nach unten */
}

.header-main {
    display: flex;
    align-items: center; /* Zentriert Logo und Text vertikal zueinander */
    justify-content: center; /* Zentriert das gesamte Konstrukt auf der Seite */
    gap: 20px; /* Abstand zwischen Logo und Text */
    max-width: 1000px;
    margin: 0 auto;
}

.header-text h1 {
    margin: 0;
    font-size: 2.2rem;
    color: #2c3e50; /* Ein knackiges, dunkles Blau/Grau */
}

.tagline {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
    color: #7f8c8d; /* Ein etwas softeres Grau für den Untertitel */
    font-style: italic;
}

/* Neu end */

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

section {
    margin-bottom: 3rem;
}

h1 { 
    margin-bottom: 10px; 
  hyphens: auto;
  word-wrap: break-word; /* Älterer Standard zur Absicherung */
  overflow-wrap: break-word;
}

h2 {
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    color: var(--primary-color);
    margin-top: 2rem;
}

/* --- STICKY NAVIGATIONS-MENÜ --- */
.hauptmenue {
    background-color: var(--primary-color);
    text-align: center;
    padding: 12px 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hauptmenue a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.05rem;
    display: inline-block;
    transition: color 0.3s, border-color 0.3s;
    padding-bottom: 2px;
}

.hauptmenue a:hover {
    color: var(--accent-color);
}

.hauptmenue a.aktiv {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* --- INHALTS-ELEMENTE --- */
.about-grid {
    display: block;
    margin-top: 1rem;
}

.profile-image {
    width: 220px;
    height: 380px;
    overflow: hidden;
    border-radius: 12px;
    float: left;
    margin-right: 24px;
    margin-bottom: 16px;
    background: #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.affiliate-link, .btn-affiliate {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

.affiliate-link:hover, .btn-affiliate:hover {
    background: #d35400; /* Etwas dunkleres Orange beim Drüberfahren */
}

.step, .highlight2-box, .alert-box {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 5px;
}

.alert-box { /* bei Haftungsausschluss */
    background-color: #fff9f3;
    border-left: 5px solid var(--accent-color);
}

.highlight-box { 
	background: var(--light-grey); 
	border-radius: 8px; 
	padding: 20px; 
	margin: 20px 0; 
	border: 1px solid #e2e8f0; 
}

.highlight2-box {
    background: var(--light-grey);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.step h3 {
    margin-top: 0;
    color: var(--accent-color);
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* --- FOOTER --- */
footer { 
	background-color: var(--primary-color); 
	color: white; 
	text-align: center; 
	padding: 20px; 
	margin-top: 60px; 
	font-size: 0.9em; 
}

footer a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}
 		
/* --- RESPONSIVE DESIGN --- */
@media (max-width: 600px) {
    .header-main {
        gap: 8px;
        align-items: center;
    }
    .header-text h1 {
        display: none;
        font-size: clamp(1.4rem, 5vw, 2.2rem);
        white-space: nowrap;
        margin: 0;
        align-items: flex-start;
        justify-content: center;
        min-height: 55px; /* gleiche Höhe wie das Logo */
    }

    .logo {
        max-height: 55px;
        transform: translateY(-7px);
    }

    .tagline {
        font-size: 0.85rem;
        margin-top: 0;
        margin: 2px 0 0 0;
    }

        .profile-image {
        float: none;
        width: 100%;
        max-width: 220px;
        height: auto;
        margin: 0 auto 20px auto;
    }

    .profile-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}