/*
 Theme Name:   OceanWP Child
 Description:  Child Theme des high-performance WP-Theme OceanWP
 Author:       Philipp Limbeck
 Author URI:   https://insyde.at/
 Template:     oceanwp
 Version:      1.0
 Text Domain:  oceanwp-child
*/

/* overwrite general settings of oceanwp for focus of links (black border) */
#main a:focus,
#site-header a:focus,
#footer a:focus{
	outline: 0px !important;
}



/********************************************/
/* LOKALE SCHRIFTARTEN                      */
/********************************************/

/* DM Sans – Normal */

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('/wp-content/themes/oceanwp-child/assets/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
}

/* Cormorant Garamond – Normal */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/wp-content/themes/oceanwp-child/assets/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2');
}

/* Cormorant Garamond – Italic */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('/wp-content/themes/oceanwp-child/assets/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2');
}


/********************************************/
/* CSS VARIABLEN                            */
/********************************************/

/* Fonts */
:root {
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
}

/* Farben */

:root {
	--farbe-dunkelblau: #0b1d3a; /* Text-Highlights auf hell, Überschriften */
	--farbe-blau: #4f7dc7; /* Hintergrund, Text-Highlights auf dunkel, Buttons, Links */
	--farbe-hellblau: #a9dcfb; /* Highlight */
	--farbe-graublau: #4b5d78; /* Fließtext */
	--farbe-offwhite: #f3f6fa /* Kacheln, Hintergrund */
}

a:hover {
  opacity: .75;
}

/* Header Abstände */

:root {
    --header-top: 18px;
    --topbar-height: 38px;
    --header-height: 74px;
    --header-spacing: 40px;
}


/********************************************/
/* MENÜ – PROJEKT ANFRAGEN                  */
/********************************************/

#site-navigation-wrap .dropdown-menu {
    display: flex;
    align-items: center;
}

#site-navigation-wrap .dropdown-menu > li.menu-projekt {
    display: flex;
    align-items: center;
    margin-left: 24px;
}


#site-navigation-wrap .dropdown-menu > li.menu-projekt > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 45px;
    padding: 0 24px;
    background: var(--farbe-blau);
    color: #fff;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease;
}

#site-navigation-wrap .dropdown-menu > li.menu-projekt > a::after {
    content: '\2192';
    font-size: 22px;
    font-weight: 400;
}

#site-navigation-wrap .dropdown-menu > li.menu-projekt > a:hover {
    background: var(--farbe-dunkelblau);
    color: #fff;
}

/* Hover & aktiver Menüpunkt mit Underline */

#site-navigation-wrap .dropdown-menu > li:not(.menu-projekt) > a {
    text-decoration: none;
    text-underline-offset: 10px;
    text-decoration-thickness: 2.5px;
    text-decoration-color: #4F7EC7;
}

#site-navigation-wrap .dropdown-menu > li:not(.menu-projekt) > a:hover,
#site-navigation-wrap .dropdown-menu > li.current-menu-item:not(.menu-projekt) > a,
#site-navigation-wrap .dropdown-menu > li.current-menu-ancestor:not(.menu-projekt) > a {
    color: #4F7EC7;
    text-decoration-line: underline;
}


/********************************************/
/* HEADER – FLOATING NAVIGATION             */
/********************************************/

#top-bar-wrap,
#site-header,
.home #top-bar-wrap,
.home #site-header {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    float: none;
}

#top-bar-wrap,
.home #top-bar-wrap {
    margin-top: 18px;
    margin-bottom: 0;
}

#site-header,
.home #site-header {
    margin-top: 0;
    margin-bottom: 0;
}

/* Top Bar */

#top-bar-wrap {
    background: var(--farbe-offwhite) !important;
    border-radius: 18px 18px 0 0;
    position: relative;
    z-index: 11;
}

#top-bar {
    width: 100%;
    max-width: none;
    height: 38px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Header */

#site-header {
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 12px 36px rgba(11, 29, 58, 0.16);
}

#site-header-inner {
    width: 100%;
    max-width: none;
    padding: 0 28px;
}


/* Navigation */

#site-navigation-wrap .dropdown-menu > li > a {
    line-height: 74px;
}

#site-navigation-wrap .dropdown-menu > li.menu-projekt > a {
    line-height: 1;
}


/* Logo */

#site-logo #site-logo-inner {
    height: 74px;
}

#site-logo #site-logo-inner a img {
    max-width: 150px;
    max-height: 45px;
}


/********************************************/
/* HEADER – ÜBER DEM CONTENT                */
/********************************************/

.home #wrap {
    position: relative;
}

.home #top-bar-wrap,
.home #site-header {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 48px);
    max-width: 1920px;
}

.home #top-bar-wrap {
    top: 18px;
    z-index: 101;
}

.home #site-header {
    top: 56px;
    z-index: 100;
}


@media (max-width: 959px) {

    .home #site-header {
        top: 12px;
        width: calc(100% - 24px);
        margin: 0 auto;
    }

}


/********************************************/
/* HEADER – TRANSPARENT WRAPPER             */
/********************************************/

.home #wrap {
    position: relative;
}


@media (max-width: 959px) {

    #top-bar-wrap {
        display: none;
    }

    #site-header,
    .home #site-header {
        width: calc(100% - 24px);
        border-radius: 18px;
        margin: 12px auto 0;
    }

    .home #site-header {
        top: 0;
        left: 12px;
        right: 12px;
        margin: 12px 0 0;
    }

    #site-header-inner {
        padding: 0 16px;
    }

    #site-logo #site-logo-inner {
        height: 62px;
    }

    #site-logo #site-logo-inner a img {
        max-width: 120px;
    }
}



/* Top Bar Inhalt */

#top-bar-wrap {
    background: #EEF3FB;
}

#top-bar {
    width: 100%;
    max-width: none;
    height: 38px;
    padding: 0 28px;
    box-sizing: border-box;
}

#top-bar-inner,
#top-bar-content,
#top-bar-content .topbar-content {
    display: block;
    width: 100%;
    float: none;
}

#top-bar-inner {
    flex: 1;
}

#top-bar-content .insyde-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#top-bar-content .insyde-topbar-contact {
    margin-left: auto;
    letter-spacing: normal;
}

#top-bar-content .insyde-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


.insyde-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    color: var(--farbe-dunkelblau);
}


/* Linker Bereich */

.insyde-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.insyde-topbar-divider {
    width: 1px;
    height: 11px;
    background: var(--farbe-dunkelblau);
}


/* Rechter Bereich */

.insyde-topbar-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--farbe-dunkelblau);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.insyde-topbar-contact span {
    color: var(--farbe-blau);
    font-size: 12px;
    font-weight: 600;
}

.insyde-topbar-contact:hover {
    color: var(--farbe-blau);
}

/******************************************/
/* STARTSEITE                             */
/******************************************/

div.blaue-zeile {
	background-color: var(--farbe-blau);
	padding-top: 180px;
	padding-bottom: 30px;
}

div.blaue-zeile p,
div.blaue-zeile a,
div.blaue-zeile h1 {
	color: #fff;
}

div.blaue-zeile p {
	font-size: 19px;
	line-height: 1.55;
}

span.subheadline-h1 {
	color: var(--farbe-hellblau);
	text-transform: uppercase;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.14em;
}