/* --- LOKALE SCHRIFTEN (Open Sans & Poppins) --- */
/* open-sans-regular - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

/* open-sans-600 - latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: url('fonts/open-sans-v44-latin-600.woff2') format('woff2'); 
}

/* poppins-600 - latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 600;
src: url('fonts/poppins-v24-latin-600.woff2') format('woff2'); 
}

/* poppins-700 - latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 700;
src: url('fonts/poppins-v24-latin-700.woff2') format('woff2'); 
}
/* --- CSS Variablen --- */
:root {
--gradient-primary: linear-gradient(135deg, #ff9a44 0%, #c36a2d 100%);
--color-primary-dark: #c36a2d;
--text-light: #ffffff;
--text-dark: #333333;
--text-muted: #666666;
--bg-gray: #f4f7f6;
--max-width: 1000px;
--border-radius-card: 20px;
--box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Open Sans', sans-serif;
background: var(--bg-gray);
color: var(--text-dark);
line-height: 1.6;
padding: 20px;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}

h1, h2, h3, .btn-call, .highlight-badge {
font-family: 'Poppins', sans-serif;
}

/* --- Haupt-Karte --- */
.main-card {
background: white;
max-width: var(--max-width);
width: 100%;
border-radius: var(--border-radius-card);
overflow: hidden;
box-shadow: var(--box-shadow);
}

/* --- Header / Hero Bereich --- */
.hero-section {
background: var(--gradient-primary);
color: var(--text-light);
padding: 3rem 2rem;
display: flex;
flex-direction: column; 
gap: 2rem;
align-items: center;
text-align: center;
position: relative;
}

.hero-content {
flex: 1;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center; /* Zentriert alles vertikal */
}

.hero-image-container {
flex: 1;
display: flex;
justify-content: center;
z-index: 2;
width: 100%;
}

.hero-img {
width: 100%;
max-width: 400px;
height: auto;
border-radius: 20px;
border: 4px solid rgba(255,255,255,0.3);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
/* Platzhalter - Bitte Dateinamen prüfen */
background-image: url('mobile-optikerin-thueringen.jpg');
background-size: cover;
background-position: center top;
aspect-ratio: 4/5;
}

.hero-content h1 {
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.2;
text-transform: uppercase;
letter-spacing: 1px;
}

.hero-lead {
font-size: 1.1rem;
margin-bottom: 1.5rem; /* Etwas Platz zum Mandala */
opacity: 0.95;
}

/* --- Das Mandala Ornament (o.jpg) --- */
.hero-ornament {
display: block;
width: 80px;      /* Größe anpassen nach Wunsch */
height: auto;
margin: 0 auto 1.5rem auto; /* Oben 0, Seite auto (zentriert), Unten 1.5rem */
border-radius: 50%; /* Macht das Bild rund, falls es einen eckigen Hintergrund hat */
border: 2px solid rgba(255,255,255,0.2); /* Zarter Rand */
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
/* mix-blend-mode: screen; */ /* Optional: Wenn Sie diesen Kommentar entfernen, versucht CSS den orangen Hintergrund mit dem Verlauf zu verschmelzen. Funktioniert am besten mit png, aber hier einen Versuch wert. */
}

/* Button */
.btn-call-container {
margin-bottom: 2rem;
}

.btn-call {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 1rem 2.5rem;
background: white;
color: var(--color-primary-dark);
font-weight: 700;
font-size: 1.1rem;
border-radius: 50px;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-call:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
background: #fff5ec;
}

.hero-contact-info {
font-size: 0.9rem;
}
.hero-contact-info a {
color: white;
text-decoration: underline;
font-weight: 600;
}

/* --- Info & Leistungen --- */
.info-section {
padding: 4rem 2rem;
background: white;
}

.info-grid {
display: grid;
gap: 3rem;
}

.area-title {
text-align: center;
font-size: 1.3rem;
color: var(--color-primary-dark);
margin-bottom: 2rem;
font-weight: 600;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

.services-container {
display: flex;
flex-direction: column;
gap: 2rem;
}

.services-img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Liste Styles */
.services-list {
width: 100%;
}

.services-list ul {
list-style: none;
display: grid;
/* HIER GEÄNDERT: Immer 1 Spalte */
grid-template-columns: 1fr; 
gap: 1rem;
/* HIER GEÄNDERT: Max-width damit Text früher umbricht */
max-width: 500px; 
margin: 0 auto; /* Zentriert die Liste im Container */
}

.services-list li {
padding-left: 30px;
position: relative;
font-size: 1.05rem;
line-height: 1.4; /* Etwas engerer Zeilenabstand für besseren Lesefluss beim Umbruch */
}

.services-list li::before {
content: "";
position: absolute;
left: 0;
top: 4px; /* Icon Position angepasst */
width: 18px;
height: 18px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23c36a2d'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5' /%3E%3C/svg%3E");
background-size: contain;
background-repeat: no-repeat;
}

/* Highlights */
.highlights-container {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
justify-content: center;
margin: 3rem 0 1rem;
}

.highlight-badge {
background: var(--bg-gray);
color: var(--color-primary-dark);
padding: 1.5rem;
border-radius: 15px;
text-align: center;
flex: 1 1 250px;
border: 2px solid #ffe0cc;
box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.highlight-badge strong {
display: block;
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.highlight-badge span {
font-size: 0.9rem;
color: var(--text-muted);
}

/* --- Footer --- */
.main-footer {
background: #333;
color: #bbb;
padding: 2rem;
text-align: center;
font-size: 0.9rem;
}

.main-footer a {
color: #bbb;
text-decoration: none;
cursor: pointer;
transition: 0.3s;
}
.main-footer a:hover {
color: var(--color-primary-dark);
border-bottom-color: var(--color-primary-dark);
}


.footer-links {
margin-top: 1.5rem;
display: flex;
justify-content: center;
gap: 1.5rem;
}

.footer-links a {
color: white;
text-decoration: none;
cursor: pointer;
border-bottom: 1px dotted #bbb;
transition: 0.3s;
}
.footer-links a:hover {
color: var(--color-primary-dark);
border-bottom-color: var(--color-primary-dark);
}

/* --- Overlay --- */
.overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.8);
display: none;
justify-content: center;
align-items: center;
padding: 1rem;
z-index: 1000;
backdrop-filter: blur(5px);
}

.overlay-content {
background: white;
color: var(--text-dark);
padding: 2.5rem;
width: 100%;
max-width: 600px;
max-height: 85vh;
overflow-y: auto;
border-radius: 15px;
position: relative;
text-align: left;
box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.overlay-content h1 {
margin-bottom: 1.5rem;
}
.overlay-content h2 {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.overlay-content h3 {
color: var(--color-primary-dark);
margin-top: 1rem;
margin-bottom: 1rem;
}

.overlay-content a {
color: var(--color-primary-dark);
text-decoration: underline;
}

.overlay-content a:hover {
color: var(--text-dark);
}

.overlay-close {
position: absolute;
top: 1rem;
right: 1.5rem;
font-size: 2rem;
cursor: pointer;
color: var(--text-muted);
transition: 0.3s;
}
.overlay-close:hover {
color: var(--color-primary-dark);
}

.hero-ornament {
display: block;
}

/* --- Desktop Anpassungen --- */
@media (min-width: 900px) {
body {
    padding: 40px;
}

.hero-section {
flex-direction: row;
text-align: left;
padding: 4rem 3rem;
}

.hero-content {
    align-items: flex-start; /* Linksbuendig auf Desktop */
}

/* Mandala auch auf Desktop zentriert oder links? 
    Hier: Linksbuendig passend zum Text */
.hero-ornament {
    margin-left: 0; 
    margin-right: 0;
    display: none;
}

.hero-content h1 {
font-size: 3.5rem;
}

.services-container {
    flex-direction: row;
    align-items: center;
}
.services-img {
    height: 400px;
    flex: 1;
}
.services-list {
    flex: 1;
}

/* Liste bleibt 1-spaltig, wird aber linksbündig im Grid platziert */
.services-list ul {
    margin: 0; /* Linksbuendig im Container */
}
}