/* --------------------------------------------------
   FONTS
-------------------------------------------------- */

/* --------------------------------------------------
   JOST
-------------------------------------------------- */

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* --------------------------------------------------
   MONTSERRAT
-------------------------------------------------- */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------
   ORBITRON
-------------------------------------------------- */

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* --------------------------------------------------
   ROOT VARIABLES
-------------------------------------------------- */

:root {
    --blue: #486994;
    --beige: #FFF2D9;
    --dark: #2E3238;
    --grey: #E6EBEB;
    --soft: #C4D6D7;
    --muted-blue: #8FB1BE;
    --sand: #FFE3BA;
    --white: #fff;

    --radius: 4px;
    --shadow: 0 22px 70px rgba(46, 50, 56, .13);
}


/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--dark);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

img,
video,
iframe {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}


/* --------------------------------------------------
   HEADER
-------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;

    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(72, 105, 148, .14);
}

.site-header-inner {
    max-width: 1280px;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 12px 10px;
    margin-left: auto;
    margin-right: auto;

}

.brand img {
    width: 116px;
    height: auto;
}

.header-cta {
    font-family: Jost, sans-serif;
    text-decoration: none;
    text-transform: uppercase;

    background: var(--blue);
    color: #fff;

    border-radius: 4px;

    padding: 7px 16px;

    font-weight: 600;
    letter-spacing: .02em;
}


/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */

.section-pad {
    padding: 54px 18px;
}

.hero-copy, .section-pad-inner {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;

}


/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;

    background: #486994;

    color: white;
/*
    min-height: calc(100svh - 73px);
*/
    display: grid;
    align-content: center;
    gap: 24px;
    padding-top: 60px;
    padding-bottom: 60px;
}
/*
.hero::before {
    content: "";

    position: absolute;
    inset: auto -70px -110px auto;

    width: 260px;
    height: 260px;

    border-radius: 50%;
    border: 30px solid rgba(196, 214, 215, .33);
}

.hero > * {
    position: relative;
}
*/

/* --------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------- */

.eyebrow,
.section-kicker {
    font-family: Jost, sans-serif;

    text-transform: uppercase;
    letter-spacing: .16em;

    font-size: .76rem;
    font-weight: 600;

    color: var(--sand);
}

h1 { 
    
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;

    font-size: clamp(2.25rem, 11vw, 5rem);
    line-height: 1.05;
    letter-spacing: 0.04em;

    max-width: 11ch;
    overflow-wrap: break-word;
    word-break: normal;
    text-transform: uppercase;
}

h2,
h3 {
    font-family: Jost, sans-serif;
    line-height: 1.04;
    font-weight: 400;
    margin: 0 0 14px;

    color: inherit;
}

h2 {
    font-size: clamp(1.8rem, 8vw, 3.1rem);
    letter-spacing: -.04em;
}

h3 {
    font-size: 1.24rem;
}

.lead {
    font-size: 1.05rem;
    max-width: 34rem;

    color: rgba(255, 255, 255, .86);

    margin: 0 0 20px 0;
}


/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.hero-actions,
.cta-row {
    display: grid;
    gap: 12px;
}

.button,
.markdown-body p > a:only-child,
.contact-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 14px 18px;

    border-radius: 4px;

    font-family: Jost, sans-serif;
    font-weight: 800 !important;
    letter-spacing: .04em;

    text-decoration: none;
    text-transform: uppercase;
}

.primary,
.markdown-body p:nth-of-type(2) > a:only-child {
    background: var(--white);
    color: var(--blue);
}

.secondary,
.markdown-body p:nth-of-type(3) > a:only-child {
    border: 1.5px solid rgba(255, 255, 255, .58);

    color: #fff;
    background: transparent;
}


/* --------------------------------------------------
   VIDEO CARD
-------------------------------------------------- */

.video-card {
    aspect-ratio: 16 / 10;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .16),
            rgba(255, 255, 255, .04)
        );

    border: 1px solid rgba(255, 255, 255, .22);

    box-shadow: var(--shadow);

    display: grid;
    place-items: center;

    padding: 26px;
    text-align: center;
}

.play {
    width: 70px;
    height: 70px;

    border-radius: 50%;

    background: var(--sand);
    color: var(--blue);

    display: grid;
    place-items: center;

    margin: 0 auto 14px;

    font-size: 30px;
}


/* --------------------------------------------------
   TRUST STRIP
-------------------------------------------------- */

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.trust-strip span {
    padding: 8px 11px;

    border-radius: 4px;

    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);

    font-size: .82rem;
}


/* --------------------------------------------------
   MARKDOWN CONTENT
-------------------------------------------------- */
#editable-content {

    background-image: url("/assets/images/Foundation-Grid-GNX2.webp");
    background-color: #FFFFFF;

    background-position: center 260px;

    background-repeat: no-repeat;

    margin: 30px;
}

.editable-content {
    display: grid;
    gap: 18px;
    background: rgba(255, 255, 255, .60);
}

.editable-content h1 {
    display: none;
}

.editable-content h2 {
    margin-top: 34px;
    color: var(--blue);
    text-align: center;
}

.editable-content h2.h2_headline_negative {
    margin-top: 34px;
    color: var(--blue);
    text-align: center;
}
.editable-content h3 {
    color: var(--dark);
    margin-top: 8px;
}

.editable-content p {
    margin: 0;
    color: #2E3238;
}

.editable-content blockquote {
    margin: 8px 0 18px;
    padding: 20px;

    border-radius: var(--radius);

    background: var(--grey);
    border: 1px solid rgba(72, 105, 148, .14);

    color: var(--dark);
}

.geothermal_problems, .geothermal_solutions {
    margin-left: auto;
    margin-right: auto;
    width: 400px;
}

.geothermal_solutions h3 {
    color: var(--blue);
    font-size: 1.8rem;
    font-family: Jost, sans-serif;
    line-height: 1.04;
    font-weight: 400;
    margin: 0;

}

.geothermal_problems p, .geothermal_solutions p {
    margin-left: 36px;
}

.headline_solutions {
    display: flex;
    vertical-align: center;
    margin-top: 15px;
}

.geothermal_problems h3 {
    color: var(--blue);
    font-size: 1.8rem;
    font-family: Jost, sans-serif;
    line-height: 1.04;
    font-weight: 400;
    margin: 0;

}

.headline_negative {
    display: flex;
    vertical-align: center;
    margin-top: 15px;
}

#hidden_champion {
    margin: 30px;
}

#hidden_champion h2 {
    margin-top: 94px;
    color: var(--blue);
    text-align: center;
}

#hidden_champion p {
    text-align: center;
}


/* --------------------------------------------------
   Positive ICON
-------------------------------------------------- */

.headline_positive_img {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: #486994;
    mask-image: url("/assets/images/square-check-solid-full.svg");
    mask-repeat: no-repeat;
    mask-position: top;
    mask-size: contain;
    margin-top: -1px;
    margin-right: 3px;
}


/* --------------------------------------------------
   Negative ICON
-------------------------------------------------- */

.headline_negative_img {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: red;
    mask-image: url("/assets/images/square-xmark-solid-full.svg");
    mask-repeat: no-repeat;
    mask-position: top;
    mask-size: contain;
    margin-top: -1px;
    margin-right: 3px;
}




/* --------------------------------------------------
   INFO GRIDS
-------------------------------------------------- */

.problem-grid,
.fit-grid {
    display: grid;
    gap: 14px;
}

.info-card {
    padding: 22px;

    border-radius: var(--radius);

    background: var(--white);

    border: 1px solid rgba(72, 105, 148, .16);

    box-shadow: 0 14px 44px rgba(46, 50, 56, .08);
}

.x-anchor {
    height: 1px;
}


/* --------------------------------------------------
   CONTACT SECTION
-------------------------------------------------- */

.contact {
    display: grid;
    gap: 20px;
background: #486994;    
color: white;
}

.contact p {
    color: rgba(255, 255, 255, .84);
}

.contact-card {
    display: grid;
    gap: 12px;

    padding: 18px;

    border-radius: var(--radius);
}

.contact-card a {
    background: #fff;
    color: var(--blue);
}

/* Kontaktbuttons */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* SVG-Icons */
.contact-btn img,
.contact-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: -3px;
  margin-right: -8px;
}

/* Für Inline-SVGs */
.contact-btn svg {
  fill: #486994;
  stroke: #486994;
}

/* Für PNG/SVG-Dateien als <img> */
.contact-btn img {
  opacity: 0.9;
}


/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.footer-inner {
    max-width: 1280px;

    background: #2d4a6b;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 10px;
    margin-left: auto;
    margin-right: auto;

}


footer {
    padding: 30px 18px;

    background: #2d4a6b;

    color: rgba(255, 255, 255, .72);

    font-size: .86rem;
}

footer img {
    filter: brightness(0) invert(1);

    width: 96px;
    height: auto;
}


/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (min-width: 780px) {

    .section-pad {
        padding:
            76px
            max(34px, calc((100vw - 1120px) / 2));
    }

    .site-header {
        padding-inline:
            max(24px, calc((100vw - 1120px) / 2));
    }

    .hero {
        grid-template-columns: 1.05fr .95fr;
        align-items: center;
    }

    .hero-copy {
        max-width: 620px;
    }

    .hero-actions,
    .cta-row {
        display: flex;
    }

    #editable-content, #hidden_champion  {
        max-width: 980px;
        margin: 60px auto;
    }

    .problem-grid,
    .fit-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact {
        grid-template-columns: 1.1fr .9fr;
        align-items: center;
    }
}
