/*
 Theme Name: phi Child
 Theme URI: https://phi.de
 Description: Child-Theme für phi – Branding, Vorlagen, Öffnungszeiten
 Author: phi Medien Systeme GmbH
 Template: twentytwentyfive
 Version: 1.0.0
*/

/* ========== Fonts ========== */
@font-face {
    font-family: "Clash Display";
    src: url("assets/fonts/ClashDisplay-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Clash Display";
    src: url("assets/fonts/ClashDisplay-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "General Sans";
    src: url("assets/fonts/GeneralSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "General Sans";
    src: url("assets/fonts/GeneralSans-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ========== Globals ========== */
body {
    font-family: "General Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1a1a1a;
}
.phi-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

/* ========== Typography ========== */
.phi-h1, .phi-page-wrap h1 {
    font-family: "Clash Display", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000;
}
.phi-h2, .phi-page-wrap h2 {
    font-family: "Clash Display", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}
.phi-h3, .phi-page-wrap h3 {
    font-family: "Clash Display", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000;
}
.phi-page-wrap p {
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* ========== Hero ========== */
.phi-hero {
    background: linear-gradient(135deg, #000029 0%, #000051 100%);
    color: #fff;
    padding: 80px 24px;
    text-align: left;
}
.phi-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}
.phi-hero .phi-h1,
.phi-hero h1 {
    color: #fff;
    margin-bottom: 1rem;
}
.phi-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
}

/* ========== Buttons ========== */
.phi-btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: "Clash Display", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}
.phi-btn-primary {
    background: #183eeb;
    color: #fff;
    box-shadow: 0 4px 20px rgba(24, 62, 235, 0.4);
}
.phi-btn-primary:hover {
    background: #0f2fc7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(24, 62, 235, 0.45);
}
.phi-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.phi-btn-outline:hover {
    background: #fff;
    color: #000051;
    color: #fff;
}
.phi-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1rem;
}
.phi-btn-group .phi-btn { margin-top: 0; }

/* ========== Cards ========== */
.phi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 1.5rem;
}
.phi-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 28px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.phi-card:hover {
    border-color: #183eeb;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.phi-card .phi-h3,
.phi-card h3 { margin-top: 0; }
.phi-card p { margin-bottom: 1rem; }
.phi-card .phi-btn { margin-top: 0.5rem; }

/* ========== Location / Öffnungszeiten ========== */
.phi-location-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 28px;
    margin: 32px 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}
.phi-location-status {
    font-family: "Clash Display", system-ui, sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 999px;
    display: inline-block;
}
.phi-location-status.is-open {
    background: rgba(0, 200, 100, 0.12);
    color: #00a855;
}
.phi-location-status.is-closed {
    background: rgba(220, 60, 60, 0.12);
    color: #c03939;
}
.phi-location-info,
.phi-opening-hours {
    font-size: 14px;
    line-height: 1.6;
}
.phi-location-info a {
    color: #183eeb;
    text-decoration: none;
}
.phi-location-info a:hover { text-decoration: underline; }

/* ========== Section spacing ========== */
.phi-section {
    margin-bottom: 3rem;
}
.phi-section:last-child { margin-bottom: 0; }

/* ========== Lists ========== */
.phi-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}
.phi-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.phi-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: #183eeb;
    border-radius: 50%;
}

/* ========== Links ========== */
.phi-page-wrap a:not(.phi-btn) {
    color: #183eeb;
    text-decoration: none;
}
.phi-page-wrap a:not(.phi-btn):hover { text-decoration: underline; }
