/*
Theme: Copenhagen Custom (WRO Edition) - V6.1 Hyphenation & Mobile Fix
*/

:root {
    --bg-dark: #001a1a;
    --text-main: #f0f0f0;
    --accent-neon-yellow: #f4ff5e;
    --accent-neon-pink: #ff4da6;
    --accent-neon-green: #39ff14;
    --font-ui: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- Basis & Layout --- */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 26px;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 120px;
    overflow-x: hidden;
    /* Automatische Silbentrennung für den Fließtext */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.content {
    max-width: 85%;
    width: 1300px;
    margin: 250px auto 100px;
    padding: 60px;
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid var(--accent-neon-green);
    border-radius: 20px 80px 25px 90px;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15);
    overflow: hidden;
}

/* --- Hintergrund-Logos & Header --- */
.bg-container {
    position: absolute;
    top: 20px; left: 0; width: 100%; height: 250px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    z-index: 5; 
    pointer-events: none;
}

.bg-wro {
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    color: var(--text-main) !important;
    text-decoration: none !important;
    pointer-events: auto;
    cursor: pointer;
    z-index: 6;
}

.bg-off {
    position: absolute;
    font-size: clamp(4rem, 25vw, 18rem);
    font-weight: 900;
    color: rgba(57, 255, 20, 0.04);
    white-space: nowrap;
    z-index: -1;
}

/* --- Navigation --- */
.nav-trigger {
    display: block;
    cursor: pointer;
    font-size: 60px;
    color: var(--accent-neon-pink);
    text-shadow: 0 0 15px var(--accent-neon-pink);
    text-align: center;
    margin: 20px auto;
    position: relative;
    z-index: 1000;
    transition: 0.3s ease;
}

.navigation {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 26, 26, 0.98);
    z-index: 2000;
    flex-direction: column; justify-content: center; align-items: center;
}

.navigation.active { display: flex; }
.navigation a {
    color: var(--accent-neon-yellow);
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- Typografie & Links --- */
h1 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.1;
   color: var(--accent-neon-green);
    margin-bottom: 0.5em;
    hyphens: auto; /* Silbentrennung speziell für Überschriften */
}

h2 {
    font-size: clamp(1.4rem, 5vw, 2.5rem);
    line-height: 1.2;
   color: var(--accent-neon-green);
    margin-top: 1.2em;
    hyphens: auto;
}

a, .content h1 a, .content h2 a {
    color: var(--accent-neon-green);
    text-decoration: none;
    transition: 0.3s;
}

a:hover { color: var(--accent-neon-yellow); text-shadow: 0 0 10px var(--accent-neon-yellow); }

.blink { animation: neonBlink 5s infinite; }
@keyframes neonBlink { 0%, 88%, 100% { opacity: 1; } 90%, 94% { opacity: 0.3; } }

/* --- Blog-Elemente --- */
.entry-header-custom { position: relative; margin-bottom: 50px; padding-top: 40px; }

.entry-title-wrap {
    margin-top: 80px;
    margin-bottom: 30px;
    margin-left: -60px;
    margin-right: -60px;
    transition: 0.3s ease;
}

.entry-title-wrap h1, .entry-title-wrap h2 {
    background-color: #002e2e;
    padding: 20px 60px;
    margin: 0;
    border-top: 2px solid var(--accent-neon-green);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    /* Wortumbruch-Sicherheit */
    overflow-wrap: break-word; 
    hyphens: auto;
}

.entry-title-wrap:hover h1, .entry-title-wrap:hover h2 {
    background-color: #004040;
    border-top: 2px solid var(--accent-neon-yellow);
    box-shadow: 0 0 25px var(--accent-neon-green);
    transform: translateY(-3px);
}

.entry-date-bg {
    position: absolute; top: -10px; left: 10px;
    font-size: clamp(3rem, 10vw, 7rem); font-weight: 900;
    color: rgba(255, 255, 255, 0.05); line-height: 1; z-index: 1; pointer-events: none;
}

.entry-author-fg {
    position: relative; z-index: 2; font-size: 1.1rem;
    padding-left: 10px;
    color: var(--accent-neon-pink); text-transform: uppercase; font-weight: bold;
}

/* Trenner & ReadMore */
.entry-separator {
    height: 20px; width: 60%; margin: 40px auto; opacity: 0.7;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 L 10 2 L 30 7 L 50 3 L 70 8 L 90 2 L 100 5" stroke="%2339ff14" fill="transparent" stroke-width="2"/></svg>') no-repeat center;
    background-size: contain;
}

.excerpt-readmore { display: none !important; }
.custom-read-more {
    display: inline-block; color: var(--accent-neon-pink);
    font-size: 2.5rem; text-decoration: none; margin-top: 10px; transition: 0.3s;
}

.next {
    display: inline-block; color: var(--accent-neon-green);
    font-size: 1 rem; text-decoration: none; margin-top: 10px; transition: 0.3s;
}

.previous::before {
  content: "";
  display: block;
  width: 50%;              /* Breite der Linie */
  height: 2px;              /* Höhe der Linie */
  background-color: var(--accent-neon-pink);    /* Farbe */
  margin-bottom: 20px;      /* Abstand zum Text */
}



/* --- Medien --- */
.content img {
    width: calc(100% + 120px);
    margin: 20px -60px;
    max-width: none;
    height: auto;
    display: block;
}

/* --- Fixierter Back-Link --- */
.back-link-fixed {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    z-index: 200; padding: 12px 30px; border-radius: 50px;
    background: rgba(0, 26, 26, 0.85); backdrop-filter: blur(10px);
    border: 2px solid var(--accent-neon-green); box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    color: var(--accent-neon-green) !important; font-size: 1.1rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 2px;
    display: flex; align-items: center; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-link-fixed:hover {
    bottom: 25px; transform: translateX(-50%) scale(1.05);
}

/* --- Mobile Optimierung --- */
@media (max-width: 768px) {
    .content { 
        padding: 25px; 
        margin-top: 150px; 
        width: 91%; 
        border-width: 2px;
    }
    
    .content img, .entry-title-wrap { 
        width: calc(100% + 50px); 
        margin-left: -25px; 
        margin-right: -25px; 
    }
    
    .entry-title-wrap h1, .entry-title-wrap h2 { 
        padding: 15px 25px; 
    }
    
    .back-link-fixed { 
        width: 85%; 
        justify-content: center; 
        font-size: 0.85rem; 
        padding: 10px 15px;
    }

    .nav-trigger { font-size: 45px; }
}