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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'EthnocentricRg';
    src: url('fonts/ethnocentric_rg.ttf') format('truetype');
}

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

.logo {
    display: inline-block; /* Behandelt das Logo als Block */
    text-align: left; /* Links ausrichten */
    position: relative; /* Für absolute Positionierung des unteren Teils */
    margin: 0; /* Keine automatischen Abstände */
    padding-left: 1rem; /* Abstand vom linken Rand */
}

.logo-large {
    font-family: 'EthnocentricRg', sans-serif; /* EthnocentricRg für oberen Teil */
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: red; /* Farbe für oberen Teil */
    margin: 0; /* Keine zusätzlichen Abstände */
    line-height: 1.2; /* Kompakter Zeilenabstand */
}

.logo-small {
    font-family: 'Aharoni', sans-serif; /* Aharoni für unteren Teil */
    font-size: 1.5rem;
    font-weight: bold;
    color: red; /* Farbe für unteren Teil */
    position: absolute; /* Absolute Positionierung */
    top: calc(70% + 0.5rem); /* Startet direkt unterhalb des oberen Teils mit Abstand */
    left: 60%; /* Horizontal in der Mitte des oberen Teils starten */
    transform: translateX(-10%); /* Feineinstellung: Start bei der Hälfte des oberen Teils */
    margin: 0; /* Keine zusätzlichen Abstände */
    line-height: 1; /* Kompakter Zeilenabstand */
}




/* Header */
header {
    background-color: #0044cc;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}


.logo {
    text-decoration: none;
    color: inherit;
    font-size: 1.5em;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffcc00;
}

/* Hero Section */
.hero {
    background: url('Beim_messen.jpg') no-repeat center center/cover;
    height: 60vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .cta {
    background-color: #ffcc00;
    color: #0044cc;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero .cta:hover {
    background-color: #ff9900;
    color: white;
}

/* Slideshow */
.slideshow {
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slideshow-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slideshow .prev,
.slideshow .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow .prev:hover,
.slideshow .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* Leistungen */
.services {
    padding: 3rem 2rem;
    background-color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #0044cc;
}

.service-card {
    display: block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    background-color: #f9f9f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: scale(1.025); /* Verkleinerter Vergrößerungsfaktor */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #0044cc;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
}


/* Über uns */
.about {
    padding: 3rem 2rem;
    background-color: #f4f4f4;
}

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

/* Kontakt */
.contact {
    padding: 3rem 2rem;
    background-color: #0044cc;
    color: white;
    text-align: center;
}

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

.contact form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
}

.contact button {
    background-color: #ffcc00;
    color: #0044cc;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact button:hover {
    background-color: #ff9900;
    color: white;
}

/* Footer Navigation */
.footer-nav {
    margin-top: 10px;
    text-align: center;
}

.footer-nav a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}

.footer-nav a:hover {
    text-decoration: underline;
    color: #007BFF;
}


/* Profilbereich */
.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-img-large {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    border: 4px solid #0044cc; /* Hervorhebung mit Farbe */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Eleganter Schatten */
}

.profile-text {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.profile-text .intro {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0044cc;
}

.profile-text ul {
    margin-top: 10px;
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
}

.profile-text ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.profile-text strong {
    color: #0044cc; /* Wichtige Begriffe hervorheben */
}

.profile-text em {
    font-style: italic;
    color: #333;
}
