/*
    style.css
    CSS-Datei für die Webseite "Supervision und Coaching – Claus-Dieter Angerer"
    Autor: Claus-Dieter Angerer
    Datum: 2026-07-30
    Version: 1.2
*/
/* =========================== */

/* Basiswerte sind für die Handyversion ausgelegt, dann erst folgen die Tablet- und Desktop-Styles */

@font-face {
  font-family: 'Sansation';
  src: url('fonts/sansation-regular-webfont.woff2') format('woff2'),
       url('fonts/sansation-regular-webfont.woff') format('woff ');
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Sansation', Helvetica, Arial, sans-serif;
  color: #111;
  font-size: 16px;
  line-height: 1.65;
  background: #f3f6fb;
}

/* Typography der Schriften */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.6em 0;
}

h1 {
  font-size: 20px;
  line-height: 1.35;
}

h2 {
  font-size: 19px;
}

h3 {
  font-size: 16px;
  line-height: 1.2;
}

h4 {
  font-size: 14px;
  line-height: 1.2;
}

p {
  font-size: 13px;
  font-weight: normal;
  line-height: 1.65;
  margin: 0 0 1rem 0;
}

li {
  font-size: 13px;
  line-height: 1.6;
}

/* Einstellungen Header */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(34, 96, 171, 0.75);
  color: #fff;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0;
  min-width: 0;
  flex: 0 0 auto;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.site-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-name-line1 {
  font-size: 0.85rem;
  font-weight: bold;
}

.site-name-line2 {
  font-size: 0.75rem;
  font-weight: normal;
}

/* Navigation mobile first */
.header-nav {
  width: 100%;
}

.header-nav ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.header-nav.active ul {
  display: flex;
}

.header-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus {
  background: rgba(255, 255, 255, 0);
}

.hamburger {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

.hamburger:focus,
.hamburger:active {
  outline: none;
  box-shadow: none;
}

.hamburger::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* Main content, Hintergrund und weiters */
main {
  padding-top: 100px;
}

.fixed-background {
  position: fixed;
  inset: 0;
  background-image: url('bilder/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: -1;
}

.content-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.scrollable-content {
  background-color: rgba(221, 230, 240, 1);
  backdrop-filter: blur(10px);
  padding: 1rem;
  margin: 1rem;
  width: calc(100% - 2rem);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* Sections */
.main-heading {
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
}

.philo-heading {
  min-height: 8vh;
  display: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
  line-height: 1.2;
  }


.adresse {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.slogan {
  min-height: 16vh;
  display: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

.logo_b {
  min-height: 5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
}

/* Responsive images */
.responsiv {
  width: 100%;
  height: auto;
  max-width: 200px;
  display: block;
  margin: 1em auto;
}

.responsiv2 {
  width: 100%;
  height: auto;
  max-width: 150px;
  display: block;
  margin: 1em auto;
}

.abstand {
  height: 4px;
  width: 100%;
}


/* Columns, Darstellung der Spalten, in den Blöcken */
.columns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.three-columns {
  width: 100%;
}

.two-columns {
  width: 100%;
}

.column-item {
  flex: 1 1 auto;
  min-width: 0;
}

.column-item ul {
  margin: 0.5rem 0 0 0;
  padding-left: 0.8rem;
}

/*Kontaktformular-CSS*/

.contact-section {
  max-width: none;
  width: 100%;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box; /* wichtig, damit padding nicht die Breite sprengt */
  font-family: inherit;
  box-shadow: 3px 3px 3px 2px rgba(0, 0, 0, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0050b4;
  box-shadow: 0 0 0 2px rgba(0, 80, 180, 0.15);
}

.submit-button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  font-size: 0.8rem;
  color: #fff;
  background: #2260ab;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background: #003f94;
}

/*dsgvo checkbox*/
.checkbox-group label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  box-shadow: none;
}

/* --- Styles für das Kontaktformular und DSGVO-Fehler --- */

/* Stelle sicher, dass die Fehlermeldung sichtbar ist */
.contact-section .form-group {
    margin-bottom: 15px; /* Für Abstand zwischen Feldern */
}

/* Styling der spezifischen Error Message */
#privacy-error {
    font-size: 0.9em;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ffdddd;
    border-radius: 4px;
}

/* Klasse, um die Meldung zu verstecken (Initialzustand) */
.hidden {
    display: none !important;
}

/* Footer */
.site-footer {
  width: 100%;
  background: rgba(34, 96, 171, 0.95);
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  margin: 0;
  font-size: 0.7rem;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}


/* Social Media Links */

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-right: 0.5rem;
}


.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.social-icon {
  display: block;
  width: 35px;
  height: auto;
}

/*audioelemte*/
.audio-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

.player {
  width: 100%;
}

.audio-box audio {
  width: 100%;
}

.download-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem 1.5rem;
  background: #2260ab;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  box-sizing: border-box;
  width: 50%;
}

/* WICHTIG: Den <p> Tag innerhalb des Buttons zentrieren, da er das Kindelement ist */
.download-btn p {
    font-size: 12px;
    margin: 0 !important; /* Entfernt standardmäßige <p>-Margins */
    display: inline-block; /* Ermöglicht die korrekte Flex-Ausrichtung */
}

.download-btn:hover {
    background: #154ec2;
}

.responsiv-logo {
    max-width: 200px;
}



/* Tablet Modus und größer, es brauchen nur Werte eingegeben werden, welche sich auf diesen Bildschirmgrößen auswirken */
/* Tablet, mittlere Bildschirme */

@media (min-width: 768px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 15px;
  }

  li {
    font-size: 15px;
    line-height: 1.6;
  }

  .site-header {
    flex-wrap: nowrap;
    padding: 0.75rem 1.5rem;
  }

  .header-left {
    flex: 0 0 auto;
  }

  .header-nav {
    width: auto;
    margin-left: auto;
  }

  .header-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
    gap: 1rem;
  }

  .header-nav.active ul {
    flex-direction: column;
  }

  .hamburger {
    display: none;
  }

  .logo {
    height: 65px;
  }

  .site-name-line1 {
    font-size: 1rem;
  }

  .site-name-line2 {
    font-size: 0.85rem;
  }

  .main-heading {
    margin-bottom: 20px;
  }

  .scrollable-content {
    width: calc(100% - 3rem);
    margin: 2rem auto;
    box-sizing: border-box;
  }

  .columns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .three-columns .column-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .two-columns .column-item {
    min-width: 0;
  }

  .two-columns .column-item:first-child {
    flex: 0 1 30%;
    min-width: 0;
  }

  .two-columns .column-item:last-child {
    flex: 0 1 70%;
    min-width: 0;
  }

  .column-item {
    min-width: 0;
  }

  .slogan {
    min-height: 20vh;
  }

  .logo_b {
    min-height: 40vh;
  }

  .fixed-background {
    background-attachment: fixed;
  }

 
  .responsiv2 {
    max-width: 170px;
  }

  /* Spezifische Spaltenbreiten für das Layout 20%-40%-40% */
  .three-columns-204040 {
    display: grid;
    grid-template-columns: calc(20% - 20px) calc(40% - 10px) calc(40% - 10px);
    gap: 30px;
  }
  /* Einstellungen für Instagramm Icon */
  .social-icon {
  display: block;
  width: 45px;
  height: auto;
  }
  /* Einstellungen für die Abstände zwischen den Abschnitten */
  .abstand {
  height: 2px;
  width: 100%;
  }
  /* Einstellungen für die Philosophie-Überschrift */
  .philo-heading {
  min-height: 10vh;
  }
  /* Einstellungen für die Audio-Elemente */
  .audio-wrap {
    flex-direction: row;
    align-items: center;
  }

  .player {
    flex: 1;
  }

  .download-btn {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .footer-brand {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
  }

  .download-btn p {
  font-size: 15px;
  margin: 0 !important; /* Entfernt standardmäßige <p>-Margins */
  display: inline-block; /* Ermöglicht die korrekte Flex-Ausrichtung */
  }

  .responsiv-logo {
    max-width: 250px;
  }
 
}

/* Desktop Modus und größer, es brauchen nur Werte eingegeben werden, welche sich auf diesen Bildschirmgrößen auswirken */
/* Desktop, größere Bildschirme */

@media (min-width: 1024px) {
  h1 {
    font-size: 32px;
    line-height: 1.4;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 16px;
  }
  

  p{
    font-size: 16px;
  }

  li {
    font-size: 16px;
    line-height: 1.6;
  }

  .site-header {
    padding: 0.75rem 2rem;
  }

  .header-nav {
    width: auto;
    margin-left: auto;
  }

  .header-nav a {
    font-size: 0.95rem;
  }
 
  .logo {
    height: 80px;
  }

  .site-name-line1 {
    font-size: 1.4rem;
  }

  .site-name-line2 {
    font-size: 1.2rem;
  }

  main {
    padding-top: 120px;
  }

  .scrollable-content {
    width: calc(100% - 4rem);
    margin: 2rem auto;
    padding: 2rem;
  }

  .columns {
    flex-direction: row;
    gap: 30px;
  }

  .slogan {
    min-height: 20vh;
  }

  .logo_b {
    min-height: 50vh;
  }

  .responsiv {
    max-width: 230px;
  }

  .responsiv2 {
    max-width: 200px;
  }

  .responsiv-logo {
    max-width: 350px;
  }


}