/* Fielmann-inspiriertes Design für online-driven.de */
/* Basierend auf dem Design von fielmann.de */

/* Grundlegende Zurücksetzung */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Schriftarten */
@font-face {
  font-family: 'Fielmann-Sans';
  src: local('Arial'), local('Helvetica');
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fielmann-Sans';
  src: local('Arial Bold'), local('Helvetica Bold');
  font-weight: bold;
  font-display: swap;
}

/* Basis-Struktur */
body {
  background-color: #fff;
  color: #333333;
  font-family: 'Fielmann-Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

a, a:visited {
  color: #007934; /* Fielmann-Grün */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #005b27;
  text-decoration: none;
}

/* HTML5-Fix */
header, section, footer, aside, nav, article {
  display: block;
}

/* Container */
.bodywidth {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fielmann-Sans', Arial, sans-serif;
  font-weight: 700;
  color: #333333;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

.bold {
  font-weight: bold;
}

.green {
  color: #007934; /* Fielmann-Grün */
}

.blue {
  color: #000066; /* Original Blau */
}

/* Header */
#headerwrap {
  width: 100%;
  background-color: #000066; /* Original-Blau der alten Website */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#mainheader {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 240px;
  height: auto;
}

#motto {
  font-family: 'Fielmann-Sans', Arial, sans-serif;
  color: #000066;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

#motto-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#language-switch {
  font-size: 0.8rem;
  color: #fff;
}

#language-switch a {
  color: #fff;
  text-decoration: none;
  margin: 0 3px;
}

#language-switch a.active {
  font-weight: bold;
  text-decoration: underline;
}

#language-switch a:hover {
  text-decoration: underline;
}

#headerwrap2 {
  width: 100%;
  background-color: #7fd4f8; /* Hellblaue Linie unter dem Header */
  height: 3px;
}

#websitetitle {
  margin-right: auto;
}

#websitetitle h1 {
  font-size: 1.8rem;
  color: #fff;
}

#websitetitle h2 {
  font-size: 1rem;
  color: #fff;
}

#mainheader nav {
  display: flex;
  align-items: center;
}

#mainheader nav ul {
  display: flex;
  gap: 30px;
}

#mainheader nav li {
  list-style-type: none;
}

#mainheader a, #mainheader a:visited {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}

#mainheader a:hover {
  color: #7fd4f8; /* Hellblau für Hover-Effekt */
  text-decoration: none;
}

#mainheader a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #7fd4f8;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

#mainheader a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Einführungsbereich */
#introduction {
  background-color: #fff;
  padding: 40px 0;
}

.intro-heading {
  text-align: center;
  margin-bottom: 30px;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}

#profile_img {
  flex: 0 0 40%;
  text-align: center;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#intro-text {
  flex: 1;
  min-width: 300px;
}

#profile_img img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#profile_img img:hover {
  transform: scale(1.02);
}

#introduction h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

#introduction p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

#introquote {
  background: #f0f5f2;
  padding: 25px;
  border-left: 4px solid #000066; /* Blaue Linie */
  margin-top: 30px;
  max-width: 500px;
}

#introquote p {
  font-style: italic;
  font-size: 1.2rem;
  color: #333;
}

#introquote .quotename {
  font-size: 0.9rem;
  text-align: right;
  color: #000066; /* Blau statt Grün */
  margin-top: 10px;
}

a.findoutmore, a.findoutmore:visited {
  display: inline-block;
  padding: 12px 24px;
  background-color: #000066; /* Blau statt Grün */
  color: white;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

a.findoutmore:hover {
  background-color: #00004d; /* Dunkleres Blau */
  text-decoration: none;
}

/* Projekte-Bereich */
#projects {
  padding: 80px 0;
  background-color: #fff;
}

#projects .maincontent {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

#aboutleft {
  flex: 0 0 100%;
}

#aboutleft h3 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

#aboutleft h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #000066; /* Blau statt Grün */
}

#articlesright {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

#articlesright article {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#articlesright article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#articlesright figure {
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 200px;
  border: none;
  width: 100%;
}

#articlesright figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#articlesright article:hover figure img {
  transform: scale(1.05);
}

#articlesright article > div {
  padding: 20px;
}

#articlesright h5 {
  font-size: 1.25rem;
  color: #000066; /* Blau statt Schwarz */
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

#articlesright article:hover h5 {
  color: #000066; /* Bleibt blau */
}

#articlesright p {
  color: #555;
  margin: 10px 0;
  line-height: 1.5;
}

a.readmore, a.readmore:visited {
  display: inline-block;
  padding: 8px 16px;
  background-color: #000066; /* Blau statt Grün */
  color: white;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  margin-right: 5px;
}

a.readmore:hover {
  background-color: #00004d; /* Dunkleres Blau */
  text-decoration: none;
}

/* Podcast-Bereich */
#podcasts {
  padding: 80px 0;
  background-color: #eff6fa; /* Leicht bläulicher Hintergrund */
}

.podcast-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
}

.podcast-date {
  color: #666;
  font-size: 0.9rem;
  text-align: right;
}

/* Speaker-Konferenzen-Bereich */
#conferences {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.conference-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.conference-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  align-items: center;
  gap: 15px;
  margin: 0 0 40px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gray-logo {
  width: 100%;
  max-width: 120px;
  height: auto;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.gray-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* Shared Styles für beide Bereiche */
#podcasts figure, #conferences figure {
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#podcasts figure img, #conferences figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Spezielles Styling für den Platform Disco Podcast */
.podcast-platform {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.podcast-feature-img {
  margin: 0;
  padding: 0;
  height: 240px !important;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.podcast-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
}

/* Kontaktbereich */
#contact {
  background-color: #000066; /* Blauer Hintergrund */
  padding: 80px 0;
  color: #fff;
}

#contact h3 {
  font-size: 2rem;
  color: #fff;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

#contact h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #7fd4f8; /* Hellblau */
}

#contact p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  word-wrap: break-word;
}

#contact .protected-text {
  display: inline-block;
}

#contact a, #contact a:visited {
  color: #fff;
}

#contact a:hover {
  color: #7fd4f8; /* Hellblau */
}

/* Footer */
#footerwrap {
  background-color: #2d2d2d;
  padding: 40px 0;
  color: #fff;
}

/* Geschützter Text */
.protected-text {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

#mainfooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#mainfooter nav {
  flex: 1;
}

#mainfooter nav ul {
  display: flex;
  gap: 20px;
}

#mainfooter li {
  list-style-type: none;
}

#mainfooter a, #mainfooter a:visited {
  color: #fff;
  font-size: 0.9rem;
}

#mainfooter a:hover {
  color: #7fd4f8; /* Hellblau */
}

.copyright {
  font-size: 0.9rem;
  color: #b8b8b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .bodywidth {
    padding: 0 15px;
  }
  
  #introduction {
    padding: 60px 0;
  }
  
  #introduction h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  #mainheader {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  #logo {
    flex: 1;
  }
  
  #language-switch {
    flex: 0 0 auto;
    margin-left: auto;
  }
  
  #mainheader nav {
    margin-top: 15px;
    width: 100%;
    order: 3;
  }
  
  #mainheader nav ul {
    justify-content: space-between;
    width: 100%;
  }
  
  #introduction .maincontent {
    flex-direction: column;
  }
  
  #profile_img {
    margin: 0 auto;
  }
  
  #introquote {
    max-width: 100%;
  }
  
  #articlesright {
    grid-template-columns: 1fr;
  }
  
  .conference-logos {
    grid-template-columns: repeat(3, 1fr);
    padding: 15px 10px;
    gap: 10px;
  }
  
  .gray-logo {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  #introduction h2 {
    font-size: 1.8rem;
  }
  
  #mainheader {
    padding: 10px 0;
  }
  
  #logo {
    max-width: 75%;
  }
  
  #language-switch {
    font-size: 0.75rem;
  }
  
  #mainheader nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  #mainfooter {
    flex-direction: column;
    text-align: center;
  }
  
  #mainfooter nav ul {
    flex-direction: column;
    margin-bottom: 20px;
  }
  
  .copyright {
    margin-top: 20px;
  }
  
  .conference-logos {
    padding: 12px 8px;
    gap: 8px;
  }
  
  #contact p strong {
    display: block;
    margin-bottom: 5px;
  }
  
  #contact .protected-text {
    display: block;
    padding-left: 10px;
  }
  
  /* Zeilenumbrüche in der Adresse für die mobile Ansicht */
  .address-separator {
    display: block;
    height: 5px;
    visibility: hidden;
  }
}

/* LinkedIn Feed */
#linkedinfeed {
  padding: 80px 0;
  background-color: #f5f5f5;
}

#linkedin-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.LI-profile-badge {
  margin: 0 auto;
}

/* Responsives Design für mobile Geräte verbessern */
@media screen and (max-width: 768px) {
  /* Einführungsbereich auf Mobilgeräten straffen */
  #introduction {
    padding: 40px 0;
  }
  
  /* Projekte-Bereich nach oben ziehen */
  #projects {
    padding-top: 40px;
  }
  
  /* Profilbild kleiner darstellen */
  #profile_img {
    flex: 0 0 280px;
    margin-bottom: 0;
  }
  
  /* Mehr Platz für Text im Introleft */
  #introleft {
    margin-bottom: 20px;
  }
  
  /* Abstand zum nächsten Bereich verringern */
  #introduction + #projects {
    margin-top: -20px;
  }
}

/* Motto-Sektion */
#motto-section {
  padding: 60px 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.motto-image {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  aspect-ratio: 21/9;
  position: relative;
}

.motto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.3s ease;
}

.motto-image:hover img {
  transform: scale(1.02);
}

/* Responsive Design Anpassungen */
@media (max-width: 768px) {
  #motto-section {
    padding: 30px 15px;
  }
  
  .motto-image {
    border-radius: 4px;
    margin: 0;
    aspect-ratio: 16/9;
  }

  #podcasts, #conferences {
    padding: 40px 0;
  }

  #podcasts .maincontent, #conferences .maincontent {
    padding: 0 15px;
  }

  #articlesright article {
    margin-bottom: 20px;
  }

  #articlesright figure {
    height: auto;
    aspect-ratio: 16/9;
  }

  .conference-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    margin: 0 15px 30px 15px;
  }

  .gray-logo {
    max-width: 120px;
    width: 100%;
  }

  #aboutleft h3 {
    margin: 0 15px 20px 15px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  #motto-section {
    padding: 20px 10px;
  }

  .motto-image {
    aspect-ratio: 3/2;
  }

  .conference-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .gray-logo {
    max-width: 100px;
  }

  #aboutleft h3 {
    font-size: 1.6rem;
  }
} 