﻿/*
Theme Name: PfD Child Theme
Template: Divi
Version: 1.0
*/

/* ==============================
   GLOBAL BASICS
============================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}
/* Menu Logo */

#main-content {
    padding-top: 50px;
}
#main-header {
    overflow: visible;
    box-shadow: none;
    border-bottom: none;
}

#logo {
    max-height: 95px;
    transform: translateY(24px);
    position: relative;
    z-index: 9999;
}

/* Sticky Header */
.et-fixed-header #logo {
    max-height: 58px;
    transform: translateY(0);
}#main-header {
    box-shadow: none;
    border-bottom: none;
}

#main-header:after {
    display: none;
}

/* Dynamische Divi-Titel mobil sauber umbrechen */
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3 {
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}

@media (max-width: 767px) {
    h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    h2 {
        font-size: 26px;
        line-height: 1.3;
    }
}

/* ==============================
   MAINTENANCE SCREEN
   Nur aktiv auf maintenance.php
============================== */

.pfd-maintenance {
    margin: 0;
    padding: 0;
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #4a4a4a;
    font-family: Arial, Helvetica, sans-serif;
}

.pfd-maintenance-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 30px;
    text-align: center;
}

.pfd-maintenance-logo {
    width: min(680px, 90vw);
    max-height: 42vh;
    height: auto;
    display: block;
}

.pfd-maintenance-line {
    width: min(520px, 80vw);
    height: 1px;
    background: #d8d8d8;
    margin: 30px 0 24px;
}

.pfd-maintenance p {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    margin: 0;
}