/* Minimal-Styles für den Start */
:root {
  --bg: #D7E3E5;        
  --panel: #4A8FBB;     
  --text: #e5e7eb;
  --textdark: #0A2438;
  --muted: #416C95;      
  --accent: #3E5E73;     
}

/*Guest Speakers:*/
.guest-speakers {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 40px 20px;
}

.speaker-card {
  flex: 1;
  text-align: center;
  border-radius: 12px;
  padding: 24px;
  background-color: var(--textdark);
}

.speaker-name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.speaker-topic {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.speaker-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

.speaker-bio {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}


@media (max-width: 768px) {
  .guest-speakers {
    flex-direction: column;
  }
}
/*////////////////////////////////////*/





* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--accent));
  place-items: center;
  min-height: 100vh;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
}

header {
  padding-top: 48px;
}
.subtitle {
	font-size:1.2rem;
	font-weight: 700;
}
.italic {
	font-size:1rem;
	font-weight: 400;
	font-style: italic;
	color:var(--muted);
}

a {
  text-decoration: none;
  color: inherit;



}
a:hover {
  color: var(--accent); 
  text-decoration: none;
}

h1 { font-size: 2.4rem; margin: 0 0 8px; }
h2 { font-size: 4rem; margin-top: 2rem;}
h3 {font-size: 2.4rem; margin: 0 0 8px;}
p { color: var(--muted); }

nav a {
  color: var(--accent);
  text-decoration: none;
  margin-right: 12px;
}
nav a:hover { }


footer {
  
  margin-top: 48px;
  padding-top: 24px;
  color: var(--bg);
  text-align: center;
}

.flex_container {
display: flex;              /* Flex aktivieren */
  gap: 16px;                  /* Abstand zwischen Boxen */
  justify-content: center;    /* waagerecht zentrieren */
  align-items: center;        /* senkrecht zentrieren */
  height: 200px;
  background: var(--bg);
}
.logo {

width: 100px;
}

.grid-layout {
  display: grid;                     /* Grid aktivieren */
  grid-template-columns: 250px 1fr;  /* 2 Spalten: 250px + restlicher Platz */
  grid-template-rows: auto 1fr auto; /* 3 Zeilen: Header, Inhalt, Footer */
  gap: 16px;                         /* Abstand zwischen den Bereichen */
  min-height: 100vh;                 /* Höhe = ganze Seite */
  padding: 16px;
}
header {
  grid-column: 1 / 3; /* über beide Spalten */
  background: var(--bg);
  padding: 20px;
  color: white;
}


main {
  background: var(--bg);
  color: var(--bg);
}

footer {
  grid-column: 1 / 3;
  background: var(--bg);
  color: var(--bg);
  padding: 10px;
  text-align: center;
}
.main_title {

   background: 
    linear-gradient(
      rgba(0, 0, 0, 0.2), 
      rgba(0, 0, 0, 0.2)
    ),
    url("houses2.JPG") center 35% /cover no-repeat;
  color: var(--text);               /* heller Text für Kontrast */
  text-align: center;
  padding: 120px 20px;          /* Abstand oben/unten */
}

.main_title h1 {
  font-size: 5rem;
  font-weight: 700;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4); /* macht Text lesbar */
  max-width: 800px;
  margin: 0 auto;
}
.main_title h2 {
  font-size: 2rem;
  font-weight: 200;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4); /* macht Text lesbar */
  max-width: 800px;
  margin: 0 auto;

}
.site-header {
  background: var(--textdark); 
  position: sticky;                 
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  max-height: 150px;
}

.header-container {
  display: flex;                    /* Flexbox aktivieren */
  justify-content: space-between;   /* Logo links, Menü rechts */
  align-items: center;              /* vertikal zentriert */
 
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 100px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 28px;                        /* Abstand zwischen Links */

}

.nav-menu a {
  color: var(--text);
  
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 25px;
}

.nav-menu a:hover {
  color: #38bdf8;                   /* helles Blau beim Hover */
}

/* DATE */

.event-date {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  min-height: 400px;
  margin-top: 20px;
}

.date-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* left text, right image */
  width: 100%;
  
  min-height: 400px;
  
}

.date-info {
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.date-info h3 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--textdark);
}

.date-info p {
  font-size: 1.5rem;
  margin: 4px 0;
}

.date-info .subtitle {
  color: var(--textdark);
  font-size: 1rem;
  margin-top: 8px;
}

.date-image {
  background: url("nehrhaken.jpg") center/cover no-repeat;
  min-height: 400px;
  margin: 20px;
  border-radius:20px;
}


/* Location */

.event-location {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  min-height: 400px;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* image left, text right */
  width: 100%;
  min-height: 400px;
}

.location-image {
  background: url("evening.jpg") center/cover no-repeat;
  min-height: 500px;
    margin: 20px;
  border-radius:20px;
}

.location-info {
  background: var(--bg);
  color: var(--textdark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.location-info h3 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--textdark);
}

.location-info p {
  font-size: 1.5rem;
  margin: 4px 0;
}

.location-info .subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 8px;
}

/* ABOUT */
.event-about {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  min-height: 200px;
}


.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  width: 100%;
  min-height: 750px;
}

.about-info {
  background: var(--bg);
  color: var(--textdark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0px 0px;
}

.about-info h3 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--textdark);
}

.about-info p {
  font-size: 1.4rem;
  margin: 8px 0;
  max-width: 700px;
}

.about-info .subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 1px;
}

.about-image {
  background: url("IMG_2144.jpg") center/cover no-repeat;
  min-height: 400px;
    margin: 20px;
  border-radius:20px;
}

html {
  scroll-behavior: smooth;
}




/* MOBILE */



@media (max-width: 768px) {
  .date-container,
  .location-container,
  .about-container {
    display: flex;
    flex-direction: column;
    gap: 16px;            
  }

  .date-info,
  .location-info,
  .about-info { order: 1; }

  .date-image,
  .location-image,
  .about-image {
    order: 2;
    min-height: 240px;    
  }
}

.agenda-section {
  background: var(--bg);
  color: var(--textdark);
  padding: 60px 20px;
  text-align: center;
}

.agenda-section h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--textdark);
}

.agenda-grid {
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  gap: 12px 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.agenda-item {
  display: contents; /* grid trick: allows each sub-item to occupy its own cell */
}

.agenda-time {
  font-weight: 700;
  color: var(--accent);
}

.agenda-title {
  color: var(--textdark);
}




.text-body {
  font-size: 1rem;
  color: var(--textdark);
  text-align: justify;
  line-height: 1.6;
}
.text-block {
  color: var(--textdark);
  margin: 50px auto;        /* center the whole section */
  padding: 40px 20px;       /* breathing room left/right */
  max-width: 1100px;        /* keeps it from stretching too wide */
}
.text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.text-block h3 {
  text-align: center;
  margin-bottom: 24px;
}
.text-row img {
  width: 100%;
  border-radius: 20px;
}
.text-image {
  width: 100%;
  border-radius: 20px;
  background-size: cover;       /* zoom to fill entire height */
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100%;             /* grow to text height */
}



.agenda-speaker {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .agenda-grid {
    grid-template-columns: 1fr;
  }
  .agenda-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 4px 12px;
    border-bottom: 1px solid var(--muted);
    padding: 8px 0;
  }
  .agenda-speaker {
    grid-column: span 2;
  }
}