/* ===================================
   STUDIO.Z - Single-Page Stylesheet
   Elegant & Professional
   =================================== */

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

html {
    scroll-behavior: smooth;
}

:root {
    --cream-bg: #f4eed4;
    --warm-white: #fefcf5;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --accent-gold: #d4af37;
    --accent-warm: #c9a961;
    --footer-gray: #d8d8d8;
    --sidebar-bg: #f8f4e1;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream-bg);
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--text-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-warm);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

strong {
    font-weight: 500;
    color: var(--text-dark);
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent-warm);
    transform: translateY(-5px);
}

/* === LAYOUT === */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--warm-white);
    box-shadow: 0 0 40px var(--shadow-light);
}

/* === SIDEBAR NAVIGATION === */
.sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    height: 100vh;
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    display: block;
    padding: 0.8rem 2rem;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.sidebar a:hover::before,
.sidebar a.active::before {
    width: 1rem;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: rgba(201, 169, 97, 0.1);
    color: var(--accent-warm);
}

/* === CONTENT AREA === */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* === HEADER === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 248, 243, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 900;
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
}

.site-logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.logo-z {
    color: var(--accent-gold);
    font-weight: 600;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold);
}

/* === HERO SECTION - SCROLLABLE === */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Crimson Pro', serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.hero-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === HEADER === */
.site-header {
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.header-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.95);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin: 0;
    animation: fadeInDown 0.8s ease 0.2s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-z {
    color: var(--accent-gold);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.logo-z::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -8px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.7;
    z-index: -1;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === CONTENT SECTIONS === */
.content-section {
    padding: 5rem 0;
    scroll-margin-top: 80px;
}

.content-section.alt-bg {
    background-color: var(--cream-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-style: italic;
}

/* === IMAGES === */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.image-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.project-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bio-images-grid {
    display: grid;
    gap: 2rem;
}

.bio-images-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* === TEACHER PROFILES === */
.content-with-images {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.teacher-profiles {
    display: grid;
    gap: 2rem;
}

.teacher-card {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.teacher-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.teacher-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.teacher-subject {
    color: var(--accent-gold);
    font-style: italic;
}

/* === PROJECT BLOCKS === */
.project-block {
    margin: 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.project-block:last-child {
    border-bottom: none;
}

.project-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    align-items: start;
}

/* === BIO LAYOUT === */
.bio-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

/* === NEWSLETTER === */
.newsletter-section {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    margin: 3rem 0;
}

.newsletter-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 0.8rem 2rem;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--charcoal-light);
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .content-with-images,
    .project-content,
    .bio-layout {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
}

/* === MAIN CONTENT === */
.main-content {
    flex: 1;
    padding: 3rem 4rem;
    animation: fadeIn 0.8s ease 0.3s backwards;
}

.page-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
}

.subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* === BOXES & HIGHLIGHTS === */
.highlight-box,
.angebot-box,
.about-box {
    background-color: rgba(244, 238, 212, 0.3);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px var(--shadow-light);
    animation: slideInRight 0.6s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight-box h3,
.angebot-box h3 {
    color: var(--accent-warm);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* === ABOUT BOX === */
.about-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.feature-list li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.greeting {
    font-style: italic;
    margin-top: 1.5rem;
    color: var(--text-medium);
}

.signature {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* === ANGEBOT LIST === */
.angebot-list {
    list-style: none;
    margin-top: 1rem;
}

.angebot-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.angebot-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.angebot-list li:last-child {
    border-bottom: none;
}

/* === IMAGE GALLERY === */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.image-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

/* === TEACHERS BOX === */
.teachers-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.teacher {
    text-align: center;
}

.teacher img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-medium);
    margin-bottom: 1rem;
}

.teacher-name {
    font-weight: 500;
    color: var(--text-dark);
}

/* === INSTRUMENT SECTION === */
.instrument-section {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.instrument-section h3 {
    color: var(--accent-warm);
}

.subheading {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.text-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.info-link {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(201, 169, 97, 0.1);
    border-radius: 8px;
}

/* === PROJEKT BOXES === */
.projekt-box {
    margin: 3rem 0;
    padding: 2rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.projekt-box:last-child {
    border-bottom: none;
}

.projekt-box h2 {
    color: var(--accent-warm);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.projekt-details {
    background-color: rgba(244, 238, 212, 0.3);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.projekt-details p {
    margin-bottom: 0.5rem;
}

.website-link {
    margin-top: 1rem;
}

.projekt-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.projekt-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: transform 0.3s ease;
}

.projekt-gallery img:hover {
    transform: scale(1.05);
}

.projekt-image {
    margin: 2rem 0;
    text-align: center;
}

.projekt-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.image-caption {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-medium);
    margin-top: 0.8rem;
}

/* === TERMINE / AKTUELLES === */
.termine-container {
    margin-top: 2rem;
}

.termin-item {
    background-color: var(--warm-white);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px var(--shadow-light);
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.termin-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.termin-datum {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-warm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.termin-titel {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.termin-ort {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.termin-details {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-medium);
    font-style: italic;
}

/* === BIO SECTION === */
.bio-image {
    text-align: center;
    margin: 2rem 0;
}

.bio-image img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.bio-content h3 {
    color: var(--accent-warm);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.timeline {
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.timeline p {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.timeline p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.timeline ul {
    margin-left: 3rem;
    margin-top: 1rem;
}

.timeline li {
    margin-bottom: 0.8rem;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--footer-gray);
    padding: 2rem 4rem;
    margin-top: auto;
}

.footer-content {
    margin-bottom: 1.5rem;
}

.footer-content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.footer-content p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text-medium);
}

.footer-links {
    font-size: 0.85rem;
    color: var(--text-medium);
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-links a {
    color: var(--accent-warm);
    margin: 0 0.3rem;
}

.admin-link-container {
    float: right;
}

.admin-link {
    color: var(--text-medium);
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .sidebar {
        width: 180px;
    }
    
    .main-content {
        padding: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar li {
        margin: 0;
    }
    
    .sidebar a {
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .main-content {
        padding: 2rem 1.5rem;
    }
    
    .logo {
        font-size: 3rem;
        letter-spacing: 0.2rem;
    }
    
    .tagline {
        font-size: 0.7rem;
        letter-spacing: 0.2rem;
    }
    
    .about-box {
        grid-template-columns: 1fr;
    }
    
    .image-gallery,
    .projekt-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teachers-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 0.6rem;
    }
    
    .image-gallery,
    .projekt-gallery {
        grid-template-columns: 1fr;
    }
    
    .site-footer {
        padding: 1.5rem;
    }
    
    .admin-link-container {
        float: none;
        display: block;
        margin-top: 1rem;
    }
}
