/*
Theme Name:     Hello Elementor Child Hohn
Template:       hello-elementor
Theme URI:      https://anwalt-insolvenzrecht-hohn.de/
Description:    Child Theme für Hello Elementor für anwalt-insolvenzrecht-hohn.de
Author:         Philip Hilgendorf
Author URI:     https://philip-hilgendorf.de/
Version:        1.0.0
Text Domain:    hello-elementor-child-hohn
*/

@import url("../hello-elementor/style.css");

html a {color: #00c8ff;}

/* === HEADER === */

.aih-header {
  background-color: #1f1f1f;
  padding: 0;
}

.aih-header__row {
  display: flex;
  justify-content: space-between;
  align-items: center; /* <<< zentriert vertikal */
  flex-wrap: wrap;
  min-height: 90px; /* einheitliche Höhe */
  padding: 0 20px;
}

/* Logo-Bild */
.aih-header__logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

/* Optional: Logo-Fallback-Text */
.aih-header__fallback-logo {
  font-family: Georgia, serif;
  font-size: 1.7em;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
}

.aih-header__fallback-logo span {
  font-style: italic;
  display: block;
}

/* Menü */
.aih-header__nav {
    justify-content: end;
}
.aih-header__menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.aih-header__menu li {
  position: relative;
}

/* Hauptlinks */
.aih-header__menu li > a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Hover */
.aih-header__menu li > a:hover {
  color: #aaaaaa;
}

/* Untermenü */
.aih-header__menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2b2b2b;
  padding: 10px 0;
  list-style: none;
  min-width: 150px;
}

.aih-header__menu li:hover > ul {
  display: block;
}

.aih-header__menu li ul li a {
  padding: 10px 15px;
  display: block;
  color: #fff;
  font-weight: 400;
}

.aih-header__menu li ul li a:hover {
  background-color: #333;
  color: #ddd;
}
/* === MOBILE === */

.aih-header__menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

i.fas {
  font-family: 'fontawesome', sans-serif;
  font-style: normal;
  font-size: 24px;
}
/*
i.fa-regular {
  font-family: 'fontawesome', sans-serif;
  font-style: normal;
  font-size: 24px;
}*/

@media (max-width: 768px) {
  .aih-header__row {
    flex-direction: row;
    align-items: center;
  }

  .aih-header__menu-toggle {
    display: block;
    margin-left: auto;
  }

  .aih-header__nav {
    width: 100%;
    order: 3;
    display: none;
  }

  .aih-header__nav.active {
    display: block;
    margin-top: 15px;
  }

  .aih-header__menu {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }

  .aih-header__menu li ul {
    position: static;
    display: none;
    padding-left: 20px;
  }

  .aih-header__menu li.open > ul {
    display: block;
  }
}
