/* ===== Base Styles ===== */
:root {
    /* Farben */
    --primary-color: #8f9922;
    
    --secondary-color: #269FA8;
    --dark-color: #333;
    --light-color: #fff;
    --hover-blue: #0056b3;
    --gray-light: #f5f5f5;
    --footer-bg: #2a2a2a;

    /* Schriftgrößen */
    --base-font-size: 1rem;       /* 16px Standard */
    --h1-font-size: 2rem;         /* 40px */
    --h2-font-size: 1.5rem;       /* 32px */
    --h3-font-size: 1.25rem;      /* 24px */
    --h4-font-size: 1.5rem;       /* 32px */
    --text-font-size: 1rem;       /* 17.6px */
    --small-font-size: 0.875rem;  /* 14px */
    --nav-font-size: 0.7rem;      /* 11.2px */
    --small2-font-size: 0.6rem;   /* px */

    /* Schriftfarben */
    --text-color: var(--dark-color);
    --heading-color: #222;
    --light-text: var(--light-color);
}

h1, h2, h3, h5, h6 {
  color: var(--primary-color);
}

h4 {
  color: var(--secondary-color);
}

i {
  color: var(--secondary-color);
  font-style: italic;
  font-weight: 300;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#content {
  max-width: 1000px;
  margin: 80px auto 40px;  /* oben Platz wegen fixed Header */
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--base-font-size);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    max-width: 1150px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    /*color: var(--heading-color);*/
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); }
h3 { font-size: var(--h3-font-size); }

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: var(--text-font-size);
}

.btn:hover {
    background-color: var(--hover-blue);
}

/* ===== Header Styles ===== */
.header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between; /* Logo links, Navigation rechts */
    align-items: center;
    padding: 15px 0;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    max-width: 180%;
    min-width: 60%;

    display: block;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 140%;
 
    }
        .header-inner {
        flex-direction: column;
        align-items: flex-start; /* oder center, falls gewünscht */
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 220px;
    }
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list.active {
  display: block; /* oder transform: translateX(0); etc. */
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    position: relative;
    margin-left: 10px;
}

.main-nav a {
    font-size: var(--nav-font-size);
    padding: 10px 15px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.main-nav a:hover,
.main-nav .current a {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    min-width: 200px;
    font-size: var(--small-font-size);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s;
}

p {
    font-size: var(--text-font-size);
    line-height: 1.6;
    margin-bottom: 1rem; /* Optional */
}

/* ===== Hero Section ===== */
section {
    margin-bottom: 1px;
}

.hero {
    background-color: #fff;
    padding: 10px 20px 10px;
    text-align: center;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.text-column {
    text-align: left;
}

.text-column h2 {
    font-size: var(--h2-font-size);
    margin-bottom: 15px;
}

.image-column {
    display: flex;
    justify-content: center;
}

.image-column img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Services Section ===== */
.services {
    background-color: #f9f9f9;
    padding: 20px 20px;
    text-align: center;
}

.services h2 {
    font-size: var(--h2-font-size);
    margin-bottom: 30px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    font-size: var(--text-font-size);
    line-height: 1.6;
    text-align: left;
}

.service-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #e63946;
    font-size: 1.2rem;
}

/* ===== Content Sections ===== */
.education-list li.spacer {
    height: 0; /* Unsichtbar */
    margin: 5em 0; /* 5 Leerzeilen (≈5x Schriftgröße) */
    visibility: hidden; /* Versteckt aber behält Platz */
}

.philosophy,
.why-art,
.weg,
.professional-journey {
    background-color: #fff;
    padding: 10px 20px;
    text-align: center;
}

.philosophy h2,
.why-art h2,
.weg h2,
.professional-journey h2 {
    font-size: var(--h2-font-size);
    margin-bottom: 30px;
}

.philosophy p,
.weg p,
.why-art p, 
.professional-journey {
    font-size: var(--text-font-size);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* ===== Professional Journey - Spaltenlayout ===== */
.professional-journey {
    padding: 40px 20px;
    background-color: #fff;
}

.column {
    text-align: left;
}

@media (min-width: 768px) {
    .two-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        align-items: flex-start;
        text-align: left;
    }
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 10px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: var(--text-font-size);
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--footer-bg);
    color: var(--light-text);
    padding: 5px 0 5px;
    font-size: var(--small2-font-size);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: var(--small-font-size);
    color: var(--light-text);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 5px;
}

.footer-column a {
    color: var(--light-text);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--small2-font-size);
}

/* ===== Responsive Styles ===== */
@media (min-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .two-columns {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .service-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-list li {
        width: 48%;
        padding-left: 30px;
    }

    .service-list li::before {
        left: 10px;
    }

    .further-education ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .further-education ul li {
        width: 48%;
    }
}

@media (max-width: 768px) {
    :root {
        --h1-font-size: 1.8rem;
        --h2-font-size: 1.3rem;
        --h3-font-size: 1.05rem;
        --text-font-size: 0.8rem;
    }

 .main-nav ul {
    flex-direction: column;
    display: none;
  }
  .main-nav.active ul {
    display: flex;
  }
  .hamburger {
    display: block;
  }


    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }

    .newsletter-form button {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    :root {
        --h1-font-size: 1.75rem;
        --h2-font-size: 1.25rem;
        --text-font-size: 0.9rem;
    }

    .hero {
        padding: 100px 15px 40px;
    }

    .services,
    .philosophy,
    .why-art,
    .professional-journey,
    .further-education {
        padding: 40px 15px;
    }
}

/* ===== Kursinformationen Tabelle ===== */
.kurs-tabelle-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.kurs-tabelle {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: #fff;
  font-size: 0.95rem;
  color: #123049;
}

.kurs-tabelle th,
.kurs-tabelle td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #c7e0fa;
}

.kurs-tabelle th {
  background-color: #e3ebf8;
  color: #123049;
  font-weight: 600;
  width: 25%;
}

.kurs-tabelle tr:last-child th,
.kurs-tabelle tr:last-child td {
  border-bottom: none;
}

.left-align {
  text-align: left;
}

/* Responsive Tabelle */
@media (max-width: 600px) {
  .kurs-tabelle,
  .kurs-tabelle tbody,
  .kurs-tabelle tr,
  .kurs-tabelle th,
  .kurs-tabelle td {
    display: block;
    width: 100%;
  }

  .kurs-tabelle th {
    background: #e3ebf8;
    font-weight: 600;
    padding-top: 10px;
  }

  .kurs-tabelle td {
    padding-left: 12px;
    border-bottom: 1px solid #c7e0fa;
    margin-bottom: 10px;
  }

  .kurs-tabelle tr {
    margin-bottom: 15px;
  }
}