/* ----------------------------------
Reset & Basis
----------------------------------- */

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background-color: #F9F8F6; /* Helles, warmes Off-White als Basis /
color: #1F1D20; / Dunkles Anthrazit für perfekten Kontrast */
line-height: 1.6;
}

/* ----------------------------------
Navigation (Header)
----------------------------------- */
header {
background-color: rgba(249, 248, 246, 0.9);
backdrop-filter: blur(10px);
padding: 1rem 2rem;
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid #A79986; /* Beiger Rahmen */
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1100px;
margin: 0 auto;
}

.logo a {
font-size: 1.8rem;
text-decoration: none;
transition: transform 0.3s ease;
display: inline-block;
}

.logo a:hover {
transform: scale(1.15) rotate(-5deg);
}

.nav-links {
list-style: none;
display: flex;
gap: 30px;
}

.nav-links a {
color: #3E3D38; /* Olivgrau für inaktive Links */
text-decoration: none;
font-weight: 500;
font-size: 1rem;
transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
color: #803E2F; /* Rostrot für aktive Links */
}

.nav-links a.active {
border-bottom: 2px solid #803E2F;
padding-bottom: 4px;
}

/* ----------------------------------
Layout Container
----------------------------------- */
.container {
max-width: 1100px;
margin: 0 auto;
padding: 2rem 1.5rem;
}

/* ----------------------------------

Hero Video Banner
----------------------------------- */
.hero-video-banner {
position: relative;
height: 400px;
width: 100%;
overflow: hidden;
background-color: #1F1D20; /* Dunkler Hintergrund, falls Video lädt */
border-bottom: 1px solid #A79986;
}

.hero-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.5; /* Video etwas abgedunkelt, damit weißer Text gut lesbar bleibt */
z-index: 0;
pointer-events: none;
}

.hero-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: #FFFFFF;
width: 90%;
z-index: 1;
}

.hero-overlay h1 {
font-size: 3rem;
letter-spacing: 1px;
margin-bottom: 0.5rem;
font-weight: 800;
background: -webkit-linear-gradient(45deg, #FFFFFF, #A79986);
background: linear-gradient(45deg, #FFFFFF, #A79986);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}

.hero-overlay p {
font-size: 1.2rem;
color: #F9F8F6;
font-weight: 300;
}

/* ----------------------------------
2. Profil & Bio
----------------------------------- */
.profile-section {
margin: -3rem auto 4rem;
position: relative;
z-index: 10;
}

.profile-card {
background: #FFFFFF; /* Weiße Karte auf hellem Hintergrund */
border-radius: 16px;
padding: 2.5rem;
display: flex;
gap: 3rem;
box-shadow: 0 15px 30px rgba(31, 29, 32, 0.08); /* Sanfter, erdiger Schatten */
align-items: center;
border: 1px solid #A79986;
}

.profile-img-placeholder {
width: 220px;
height: 220px;
border-radius: 16px;
flex-shrink: 0;
box-shadow: 0 10px 20px rgba(31, 29, 32, 0.1);
overflow: hidden;
}

.profile-img-placeholder img {
width: 100%;
height: 100%;
object-fit: cover;
}

.profile-bio h2 {
font-size: 2.2rem;
margin-bottom: 0.2rem;
font-weight: 700;
color: #1F1D20;
}

.subtitle {
color: #803E2F; /* Rostrot */
font-weight: 600;
margin-bottom: 1.5rem;
font-size: 1.1rem;
}

.now-box {
background: rgba(167, 153, 134, 0.15); /* Sehr transparentes Beige */
padding: 1.2rem;
border-radius: 12px;
border-left: 4px solid #803E2F;
margin-bottom: 2rem;
}

.now-box h3 {
font-size: 1rem;
margin-bottom: 0.8rem;
color: #4A2421; /* Dunkelrot */
}

.now-box ul {
list-style-position: inside;
font-size: 0.95rem;
color: #3E3D38; /* Olivgrau */
}

.now-box li {
margin-bottom: 0.3rem;
}

.stats-grid {
display: flex;
gap: 2.5rem;
}

.stat-item {
display: flex;
flex-direction: column;
}

.stat-num {
font-weight: 800;
font-size: 1.4rem;
color: #1F1D20;
}

.stat-label {
font-size: 0.85rem;
color: #803E2F;
text-transform: uppercase;
letter-spacing: 1px;
margin-top: 0.2rem;
font-weight: 600;
}

/* ----------------------------------
3. Reise & Grid
----------------------------------- */
.travel-highlights {
margin: 5rem 0;
}

.travel-highlights h2 {
margin-bottom: 2rem;
font-size: 1.8rem;
font-weight: 700;
color: #1F1D20;
}

.grid-3 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}

.card {
background: #FFFFFF;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 10px 20px rgba(31, 29, 32, 0.05);
display: flex;
flex-direction: column;
justify-content: space-between;
border: 1px solid #A79986;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 30px rgba(31, 29, 32, 0.1);
}

.card-tag {
font-size: 0.75rem;
text-transform: uppercase;
background: rgba(128, 62, 47, 0.1); /* Rostrot transparent */
color: #803E2F;
padding: 0.4rem 0.8rem;
border-radius: 6px;
width: fit-content;
margin-bottom: 1.2rem;
font-weight: 700;
letter-spacing: 0.5px;
}

.card h3 { margin-bottom: 0.8rem; font-size: 1.4rem; color: #1F1D20; }
.card p { font-size: 1rem; color: #3E3D38; margin-bottom: 2rem; }

.btn {
display: inline-block;
background: #803E2F; /* Rostrot */
color: #FFFFFF;
padding: 0.8rem 1.5rem;
border-radius: 8px;
text-decoration: none;
font-size: 0.95rem;
font-weight: 600;
text-align: center;
transition: background 0.3s ease;
}
.btn:hover { background: #4A2421; } /* Dunkelrot beim Hover */

.btn-secondary {
display: inline-block;
border: 1px solid #803E2F;
background: transparent;
color: #803E2F;
padding: 0.8rem 1.5rem;
border-radius: 8px;
text-decoration: none;
font-size: 0.95rem;
font-weight: 600;
text-align: center;
transition: all 0.3s ease;
}
.btn-secondary:hover { background: #803E2F; color: #FFFFFF; }

/* ----------------------------------
4. Status Banner
----------------------------------- */
.status-banner {
background: #FFFFFF;
border: 1px solid #A79986;
color: #1F1D20;
padding: 1.2rem 2rem;
border-radius: 12px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 4rem;
box-shadow: 0 5px 15px rgba(31, 29, 32, 0.05);
}

.status-indicator {
display: flex;
align-items: center;
gap: 1rem;
font-size: 1rem;
font-weight: 500;
}

/* Pulsierender Status-Indikator in warmem Rostrot */
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.green {
background: #803E2F;
box-shadow: 0 0 12px rgba(128, 62, 47, 0.6);
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(128, 62, 47, 0.7); }
70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(128, 62, 47, 0); }
100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(128, 62, 47, 0); }
}

.btn-small { color: #803E2F; text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.btn-small:hover { text-decoration: underline; }

/* ----------------------------------
Map & Reisedetail (reisen.html & irland.html)
----------------------------------- */
.map-container { padding: 0; height: calc(100vh - 70px); width: 100%; }
#map { height: 100%; width: 100%; z-index: 1; }
.trip-detail { max-width: 800px; margin: 4rem auto; text-align: left; padding: 0 2rem; color: #1F1D20; }
.trip-dates { color: #803E2F; font-weight: 600; margin-bottom: 2rem; font-size: 1.1rem; }
.trip-content ul { list-style-type: none; margin-top: 1rem; margin-bottom: 2rem; }
.trip-content li {
background: #FFFFFF; margin-bottom: 0.8rem; padding: 1.2rem; border-radius: 10px;
border: 1px solid #A79986; box-shadow: 0 4px 6px rgba(31, 29, 32, 0.05); color: #3E3D38;
}

.trip-content li {
background: #FFFFFF; margin-bottom: 0.8rem; padding: 1.2rem; border-radius: 10px;
border: 1px solid #A79986; box-shadow: 0 4px 6px rgba(31, 29, 32, 0.05); color: #3E3D38;
}

/* ----------------------------------
5. App-Ansichten: Listen & Formulare
----------------------------------- */
.hidden { display: none !important; }

.view-section {
height: calc(100vh - 70px);
width: 100%;
position: relative;
overflow-y: auto; /* Damit man in der Liste scrollen kann */
}

/* Der schwebende Button auf der Karte */
.floating-btn {
position: absolute;
bottom: 2rem;
left: 2rem;
background: #1F1D20; / Dunkles Anthrazit */
color: #FFFFFF;
padding: 1rem 1.5rem;
border-radius: 50px;
font-weight: 600;
font-size: 0.95rem;
box-shadow: 0 10px 20px rgba(31, 29, 32, 0.2);
z-index: 1000;
border: none;
cursor: pointer;
transition: transform 0.3s ease, background 0.3s ease;
}

.floating-btn:hover {
transform: translateY(-4px);
background: #803E2F; /* Rostrot beim Hover */
}

/* Button unten rechts für Neue Reise */
.floating-btn.right {
left: auto;
right: 2rem;
background: #803E2F;
}
.floating-btn.right:hover {
background: #4A2421;
}

.list-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
padding-top: 2rem;
}

.trip-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
padding-bottom: 6rem; /* Platz für den Hover-Button unten */
}

/* Formular Design */
.form-container-inner {
max-width: 650px;
margin: 3rem auto;
background: #FFFFFF;
padding: 2.5rem;
border-radius: 16px;
border: 1px solid #A79986;
box-shadow: 0 15px 30px rgba(31, 29, 32, 0.08);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
font-size: 0.9rem;
color: #1F1D20;
}

.form-group input, .form-group select {
width: 100%;
padding: 0.9rem;
border: 1px solid #A79986;
border-radius: 8px;
font-family: 'Inter', sans-serif;
font-size: 1rem;
background: #F9F8F6;
color: #1F1D20;
transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
outline: none;
border-color: #803E2F;
box-shadow: 0 0 0 3px rgba(128, 62, 47, 0.15);
background: #FFFFFF;
}

.form-row {
display: flex;
gap: 1.5rem;
}

.form-row .form-group {
flex: 1;
}

.form-row .btn, .form-row .btn-secondary {
flex: 1;
}

/* ----------------------------------
6. Lebenslauf (Über mich)
----------------------------------- */
.cv-header {
text-align: center;
margin-bottom: 4rem;
}

.cv-header h1 {
font-size: 2.5rem;
color: #1F1D20;
margin-bottom: 0.5rem;
}

.cv-header p {
font-size: 1.2rem;
color: #803E2F;
font-weight: 500;
}

.cv-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 4rem;
}

@media (max-width: 768px) {
.cv-grid {
grid-template-columns: 1fr;
}
}

.section-title {
font-size: 1.5rem;
margin-bottom: 2rem;
color: #1F1D20;
padding-bottom: 0.5rem;
border-bottom: 2px solid rgba(167, 153, 134, 0.3);
}

/* Timeline */
.timeline {
border-left: 2px solid #A79986;
padding-left: 2rem;
margin-left: 10px;
}

.timeline-item {
position: relative;
margin-bottom: 3rem;
}

.timeline-item:last-child {
margin-bottom: 0;
}

.timeline-item::before {
content: '';
position: absolute;
left: -2rem; /* Exakt auf der Linie /
top: 0.2rem;
width: 14px;
height: 14px;
border-radius: 50%;
background: #803E2F;
border: 3px solid #F9F8F6;
transform: translateX(-50%); / Zentriert den Punkt */
}

.timeline-date {
font-size: 0.85rem;
font-weight: 700;
color: #803E2F;
letter-spacing: 1px;
margin-bottom: 0.3rem;
}

.timeline-item h3 {
font-size: 1.3rem;
color: #1F1D20;
margin-bottom: 0.2rem;
}

.timeline-location {
font-size: 0.9rem;
color: #A79986;
font-weight: 500;
margin-bottom: 1rem;
}

.timeline-item p {
color: #3E3D38;
}

/* Sidebar (Skills) */
.skill-card {
background: #FFFFFF;
border: 1px solid #A79986;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 10px 20px rgba(31, 29, 32, 0.05);
margin-bottom: 2rem;
}

.skill-category {
font-size: 1rem;
color: #1F1D20;
margin-bottom: 1rem;
margin-top: 1.5rem;
}

.skill-category:first-of-type {
margin-top: 0;
}

.skill-tags {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
}

.skill-tags span {
background: rgba(167, 153, 134, 0.15);
color: #4A2421;
padding: 0.4rem 0.8rem;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
border: 1px solid rgba(167, 153, 134, 0.3);
}

.contact-box {
background: rgba(128, 62, 47, 0.05);
padding: 2rem;
border-radius: 12px;
border-left: 4px solid #803E2F;
}

.contact-box h3 { margin-bottom: 0.5rem; color: #1F1D20; }
.contact-box p { font-size: 0.95rem; margin-bottom: 1.5rem; color: #3E3D38; }