/*
Theme Name: Enfold Child
Description: Child Theme für Enfold
Version: 1.0
Author: Jan-Philipp Koehler
Template: enfold
*/

/* Hier kommt dein eigenes CSS rein */

/* ===============================
   Geogrotesque Webfont
================================ */

@font-face {
  font-family: 'Geogrotesque';
  src: url('/wp-content/themes/enfold-child/fonts/geogrotesque-regular.woff2') format('woff2'),
       url('/wp-content/themes/enfold-child/fonts/geogrotesque-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geogrotesque';
  src: url('/wp-content/themes/enfold-child/fonts/geogrotesque-bold.woff2') format('woff2'),
       url('/wp-content/themes/enfold-child/fonts/geogrotesque-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* ===============================
   Globale Schriftdefinition
================================ */

html, body {
  font-family: 'Geogrotesque', sans-serif !important;
  }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Geogrotesque', sans-serif !important;
  font-weight: 700;
}

body {
    font-size: 20px !important;
    line-height: 1.6;
}

/* Überschriften */
.hero-headline h1 {
    color: #ffffff !important;
    font-size: 75px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.headline-white h1,
.headline-white h2,
.headline-white h3,
.headline-white h4,
.headline-white h5 {
    color: #ffffff !important;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
	background-color: #16bae7;
}


/* Weiße Textbox */
.white-box {
    background-color: #ffffff !important;
    color: #000000 !important;
    padding: 30px !important;
    border-radius: 8px;
}

/* Überschriften in der Box schwarz */
.white-box h1,
.white-box h2,
.white-box h3,
.white-box h4,
.white-box h5,
.white-box h6 {
    color: #000000 !important;
}

/* Farbverläufe */
.blue-gradient {
    background: linear-gradient(to bottom, #65a6ff 0%, #89f7fe 100%);
    position: relative;
    overflow: hidden;
	font-size: 25px;
	color: #ffffff;
	width: 75%;
	Padding: 25px;
}

.blue-gradient::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

/* Alle Headlines in blue-gradient weiß */
.blue-gradient h1,
.blue-gradient h2,
.blue-gradient h3,
.blue-gradient h4,
.blue-gradient h5,
.blue-gradient h6 {
    color: #ffffff !important;
}

/* Weißer Button */
.white-button a,
a.white-button {
    background-color: #ffffff !important;
    color: #000000 !important;
    text-transform: uppercase;
    font-weight: 700;
	font-size: 50px;
    padding: 16px 32px;
    border-radius: 4px;
    border: 2px solid #ffffff;
    display: inline-block;
    text-decoration: none;
}


/* DESKTOP */
.side-logo {
    position: fixed;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
	}

.side-logo svg {
    width: 150px;
    height: auto;
	/* optional: dünner weißer Rahmen */
    stroke: #ffffff;        /* weiße Linie */
    stroke-width: 0,5px;      /* Linienstärke */
    stroke-linejoin: round; /* saubere Ecken */
    stroke-linecap: round;  /* saubere Linienenden */
}

.side-button {
	background-color: #16bae7 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 4px;
    border: 2px solid #ffffff;
    display: inline-block;
    text-decoration: none;
}

/* Standardfarbe (Original aus SVG) */
.side-logo svg path,
.side-logo svg circle,
.side-logo svg rect,
.side-logo svg text {
    fill: #16bae7;  /* Standardfarbe */
    transition: fill 0.3s ease;  /* sanfter Übergang */
}

/* Weiß-Farbe, wenn über Hero */
.side-logo.over-hero svg path,
.side-logo.over-hero svg circle,
.side-logo.over-hero svg rect,
.side-logo.over-hero svg text {
    fill: #fff !important;
}

@media only screen and (min-width: 768px) {

.container.av-logo-container{
display:none;
}

}

@media only screen and (min-width: 768px) {

/* Abstand zwischen den Menüelementen */
#avia-menu > li{
    margin: 0 8px;
}

/* Menüboxen */
#avia-menu > li > a {
    width: 175px;
	background: #ffffff;       /* weißer Hintergrund */
    color: #000 !important;    /* schwarze Schrift */
    font-size: 25px;           /* größere Schrift */
    padding: 18px 25px;        /* größere Boxen */
    border: none !important;   /* keine schwarze Umrandung */
    border-radius: 8px;        /* optional: leichte Abrundung */
    display: block;
    line-height: 1.5 !important;
    height: auto !important;
    text-align: center;
    font-weight: 400;
    text-transform: uppercase;
}

/* Hover Effekt */
#avia-menu > li > a:hover {
    background: #000;          /* schwarzer Hintergrund beim Hover */
    color: #fff !important;    /* weiße Schrift beim Hover */
}
/* -----------------------------
MEGA-MENU ZU KLASSISCHEM DROPDOWN
-------------------------------*/

/* Mega-Menü Container auf feste Breite */
#header .avia_mega_div {
    width: 175px !important;   /* Breite Dropdown */
    left: auto !important;     /* Position links automatisch */
}

/* Untermenü auf Block-Layout setzen */
#header .avia_mega_div .sub-menu {
    display: block !important;
}

/* Mega-Menu Spalten deaktivieren */
#header .avia_mega_div .sub-menu li {
    float: none !important;    /* keine Spalten mehr */
    width: 100% !important;    /* volle Breite */
    display: block !important; /* untereinander */
}

/* Links im Dropdown */
#header .avia_mega_div .sub-menu a {
    display: block;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
    color: #000 !important;
	font-weight: 400;
}

/* Hover Effekt für Dropdown */
#header .avia_mega_div .sub-menu a:hover {
    background: #000;
    color: #fff !important;
}

/* Alle Mega-Menü-Punkte auf gleiche Ebene */
#header .avia_mega_div .sub-menu li,
#header .avia_mega_div .sub-menu li span.mega_menu_title {
    margin: 0 !important;       /* Abstand entfernen */
    padding: 0 !important;      /* Padding entfernen */
    text-indent: 0 !important;  /* Keine Einrückung */
    float: none !important;     
    width: 100% !important;
    display: block !important;
}

/* Links im Dropdown */
#header .avia_mega_div .sub-menu li a {
    padding-left: 6px !important; /* optional minimaler Abstand */
    display: block;
    text-align: left;
}
}


/* Wrapper */
.avia-data-table-wrap.avia_responsive_table {
    background: #ffffff;
}

/* Tabelle */
.avia-data-table-wrap.avia_responsive_table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: #000000;
}

/* Zellen allgemein */
.avia-data-table-wrap.avia_responsive_table td,
.avia-data-table-wrap.avia_responsive_table th {
    text-align: left;
    border: none;
    padding: 8px 12px;
    background: #ffffff;
    color: #000000;
	font-size: 20px;
}

/* Burger Menü sichtbar machen */
.av-burger-overlay-inner a {
    color: #000 !important;
    font-size: 22px;
    text-transform: uppercase;
}

.av-burger-overlay {
    background: #ffffff !important;
}

.av-image-caption-overlay {
    display: flex;
    align-items: flex-end;   /* nach unten schieben */
    justify-content: center; /* horizontal mittig */
}

.av-image-caption-overlay-position,
.av-image-caption-overlay-center {
    position: static !important;
    transform: none !important;
    width: 100%;
}

.av-image-caption-overlay-center {
    text-align: center;
    color: #fff;
    padding: 10px;
}

/* optional: schöner Hintergrund unten */
.av-image-caption-overlay-center p {
    display: inline-block;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    margin: 0;
    border-radius: 4px;
}