/* =========================================
   Layout: 70 / 30
========================================= */

.gu-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

.gu-page-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); /* 70 / 30 */
    gap: 32px;
    align-items: flex-start;
}

/* Stack on mobile */
@media (max-width: 960px) {
    .gu-page-inner {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Left side: main content
========================================= */

.gu-left {
    display: block;
}

.gu-details .gu-title {
    margin-top: 0 !important;
    margin-bottom: 8px;
    text-align: left;
	color: #fff;
}

/* Main image under title */
.gu-main-image-wrap {
    margin: 12px 0 20px;
}

.gu-main-image,
.gu-plan-image {
    width: 100%;
    display: block;
    border-radius: 16px;
}

/* Generic sections (white cards) */
.gu-section {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.gu-section-title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
}

/* Lageplan image inside card */
.gu-plan-image-wrap {
    margin-top: 6px;
}

.gu-plan-image {
    border-radius: 12px;
}

/* Description */
.gu-description {
    font-size: 0.95rem;
}

/* =========================================
   Feature chips (Garagenausstattung)
========================================= */

.gu-section-features {
    padding-bottom: 4px;
}

.gu-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
	padding: 18px 1px;
}

.gu-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f7;
    font-size: 0.9rem;
}

.gu-chip-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* text: label above, value below */
.gu-chip-text {
    display: flex;
    flex-direction: column;
}

.gu-chip-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.gu-chip-value {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Icon variants */
.gu-chip-icon-size {
    background: #e6f0ff;
}
.gu-chip-icon-size::before {
    content: "↔";
}

.gu-chip-icon-area {
    background: #e8f7ff;
}
.gu-chip-icon-area::before {
    content: "▢";
}

.gu-chip-icon-power {
    background: #ffece5;
}
.gu-chip-icon-power::before {
    content: "⚡";
}

.gu-chip-icon-extra {
    background: #f1f1f1;
}
.gu-chip-icon-extra::before {
    content: "+";
}

/* =========================================
   Pricing card (Preisangaben)
========================================= */

.gu-section-pricing .gu-price-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.gu-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f7;
}

.gu-price-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gu-price-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.gu-price-text {
    display: flex;
    flex-direction: column;
}

.gu-price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

.gu-price-value {
    font-size: 0.9rem;
    font-weight: 500;
}

/* icon colors: month / year */
.gu-price-icon-month {
    background: #e6f0ff;
}
.gu-price-icon-month::before {
    content: "⏱";
}

.gu-price-icon-year {
    background: #e8f7ff;
}
.gu-price-icon-year::before {
    content: "📆";
}

/* yearly badge: green -5% */
.gu-price-row-year .gu-price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #24b36b;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================
   Right side: sticky column (form + other)
========================================= */

.gu-right-inner {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* disable sticky on small screens */
@media (max-width: 960px) {
    .gu-right-inner {
        position: static;
    }
}

.gu-form-box {
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    font-size: 0.95rem;
	margin-top: 70px;
}

.gu-form-box h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* WPForms styling inside form box */
.gu-form-box div.wpforms-container-full,
.gu-form-box div.wpforms-container-full * {
    text-transform: capitalize !important;
}

.gu-form-box div.wpforms-container-full .wpforms-field {
    margin-bottom: 5px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.gu-form-box div.wpforms-container-full .wpforms-submit-container {
    margin-top: 8px !important;
}

/* inputs */
.gu-form-box .wpforms-field input[type="text"],
.gu-form-box .wpforms-field input[type="email"],
.gu-form-box .wpforms-field input[type="tel"],
.gu-form-box .wpforms-field textarea,
.gu-form-box .wpforms-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #d0d4e0;
}

.gu-form-box .wpforms-submit {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* =========================================
   Other garages list (below form)
========================================= */

.gu-other-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    font-size: 0.9rem;
}

.gu-other-title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.gu-other-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gu-other-item + .gu-other-item {
    border-top: 1px solid #e0e4f0;
    margin-top: 6px;
    padding-top: 6px;
}

.gu-other-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gu-other-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.gu-other-name {
    font-weight: 500;
}

.gu-other-price {
    font-weight: 600;
    white-space: nowrap;
}

.gu-other-meta {
    margin-top: 2px;
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gu-other-meta-item::before {
    content: "• ";
}
/* =========================================
   GARAGES ARCHIVE (/garages/)
   (cards in a grid)
========================================= */

/* Page container */
body.post-type-archive-garage .gu-archive-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
}

/* Header with title + optional intro */
body.post-type-archive-garage .gu-archive-header {
    margin-bottom: 20px;
}

body.post-type-archive-garage .gu-archive-title {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: 600;
	color: #fff;
}

body.post-type-archive-garage .gu-archive-intro {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.85;
	color: #fff;
}

/* Grid of cards */
body.post-type-archive-garage .gu-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

/* Single card */
body.post-type-archive-garage .gu-archive-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* link wraps full card */
body.post-type-archive-garage .gu-archive-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image */
body.post-type-archive-garage .gu-archive-image-wrap {
    max-height: 160px;
    overflow: hidden;
}

body.post-type-archive-garage .gu-archive-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Card body */
body.post-type-archive-garage .gu-archive-body {
    padding: 10px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Title */
body.post-type-archive-garage .gu-archive-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Small meta row: size / m² */
body.post-type-archive-garage .gu-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    opacity: 0.8;
}

body.post-type-archive-garage .gu-archive-meta-item::before {
    content: "• ";
}

/* Inline chips for quick features (area, power, etc.) */
body.post-type-archive-garage .gu-archive-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

body.post-type-archive-garage .gu-archive-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f7;
    font-size: 0.78rem;
}

body.post-type-archive-garage .gu-archive-chip-icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* icons */
body.post-type-archive-garage .gu-archive-chip-icon-area {
    background: #e8f7ff;
}
body.post-type-archive-garage .gu-archive-chip-icon-area::before {
    content: "▢";
}

body.post-type-archive-garage .gu-archive-chip-icon-power {
    background: #ffece5;
}
body.post-type-archive-garage .gu-archive-chip-icon-power::before {
    content: "⚡";
}

/* Price row at bottom */
body.post-type-archive-garage .gu-archive-price-row {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

body.post-type-archive-garage .gu-archive-price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

body.post-type-archive-garage .gu-archive-price-value {
    font-weight: 600;
    white-space: nowrap;
}

