/*
    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-v1-latin-regular.woff2') format('woff2');
  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: 28px;
  line-height: 1.35;
}

h2 {
  font-size: 20px;
}

h3, h4 {
  font-size: 16px;
  line-height: 1.2;
}

p {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.65;
  margin: 0 0 1rem 0;
}

li {
  font-size: 14px;
  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: 120px;
}

.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;
  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;
  margin-bottom: 20px;
  color: #000;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
}

.slogan {
  min-height: 16vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

.logob {
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
}

.responsiv {
  width: 100%;
  height: auto;
  max-width: 150px;
  display: block;
  margin: 0 auto;
}

.responsiv_bilder {
  width: 100%;
  height: auto;
  max-width: 250px;
  display: block;
  margin: 0 auto;
}

/* 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: 600px;
}

.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: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  box-shadow: none;
}

/* Tablet Modus und größer, es brauchen nur Werte eingegeben werden, welche sich auf diesen Bildschirmgrößen auswirken */
@media (min-width: 768px) {
  h1 {
    font-size: 34px;
  }

  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 {
    display: flex;
    flex-direction: column;
  }

  .hamburger {
    display: none;
  }

  .logo {
    height: 65px;
  }

  .site-name-line1 {
    font-size: 1rem;
  }

  .site-name-line2 {
    font-size: 0.85rem;
  }

  main {
    padding-top: 100px;
  }

  .scrollable-content {
    padding: 1.5rem;
    margin: 1.5rem;
  }

  .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:first-child {
    flex: 3 1 0;
  }

  .two-columns .column-item:last-child {
    flex: 7 1 0;
  }

  .column-item {
    min-width: 0;
  }

  .slogan {
    min-height: 20vh;
  }

  .logob {
    min-height: 40vh;
  }

  .fixed-background {
    background-attachment: fixed;
  }

  .responsiv {
    max-width: 250px;
  }

  .responsiv_bilder {
    max-width: 250px;
  }
}

/* Desktop, größere Bildschirme */
@media (min-width: 1024px) {
  h1 {
    font-size: 36px;
    line-height: 1.4;
  }

  h2 {
    font-size: 30px;
  }

  h3, h4 {
    font-size: 20px;
  }

  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;
  }
  .header-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
    gap: 1rem;
  }

  .header-nav.active ul {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .logo {
    height: 80px;
  }

  .site-name-line1 {
    font-size: 1.4rem;
  }

  .site-name-line2 {
    font-size: 1.2rem;
  }

  main {
    padding-top: 120px;
  }

  .scrollable-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
  }

  .columns {
    flex-direction: row;
    gap: 30px;
  }

  .slogan {
    min-height: 20vh;
  }

  .logob {
    min-height: 50vh;
  }

  .responsiv {
    max-width: 350px;
  }

  .responsiv_bilder {
    max-width: 350px;
  }
}