/* =================================================
   Gordian Code GmbH — Site Theme
   ================================================= */

:root {
    --gc-red:   #cc0000;
    --gc-gold:  #b08000;
    --gc-dark:  #333333;
    --gc-text:  #555555;
    --gc-light: #f8f8f8;
}

html, body {
    font-family: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--gc-dark);
    margin: 0;
    padding: 0;
}

h1:focus { outline: none; }

a, .btn-link { color: var(--gc-gold); }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid                             { outline: 1px solid red; }
.validation-message                  { color: red; }

/* =================================================
   Hero Carousel
   ================================================= */
.gc-hero {
    position: relative;
    width: 100%;
    height: 56.25vw;   /* 16:9 – passt sich der Fensterbreite an */
    max-height: 70vh;  /* aber nie mehr als 70% der Fensterhöhe */
    min-height: 320px;
    overflow: hidden;
    background-color: #333;
}

.gc-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #333;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}

.gc-hero-slide.active { opacity: 1; }

.gc-hero-text h1 {
    color: white;
    font-size: 2.1rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.gc-hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    font-weight: 300;
    margin: 0.35rem 0 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.gc-carousel-indicators {
    position: absolute;
    bottom: 1.1rem;
    right: 1.5rem;
    display: flex;
    gap: 0.45rem;
    z-index: 10;
}

.gc-carousel-indicators button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    cursor: pointer;
    padding: 0;
    opacity: 0.65;
    transition: background 0.2s, opacity 0.2s;
}

.gc-carousel-indicators button.active {
    background: white;
    opacity: 1;
}

/* =================================================
   Page Sections
   ================================================= */
.gc-section { padding: 2.5rem 0; }

.gc-heading-gold {
    color: var(--gc-gold) !important;
    font-weight: 400;
    margin-bottom: 1.25rem;
    font-size: 1.8rem;
}

/* =================================================
   Service Tiles
   ================================================= */
.gc-service-tile {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.gc-tile-image {
    position: relative;
    width: 100%;
    padding-top: 70%;
    background-color: #444;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.35s ease;
    overflow: hidden;
}

.gc-service-tile:hover .gc-tile-image {
    filter: grayscale(20%);
    transform: scale(1.03);
}

.gc-tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.68) 100%);
    padding: 1rem 1.1rem;
}

.gc-tile-name {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* =================================================
   Warum Gordian Code
   ================================================= */
.gc-why-section { padding-bottom: 3.5rem; }

.gc-why-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    font-size: 1rem;
    color: var(--gc-text);
}

.gc-why-check {
    color: var(--gc-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 0.8rem;
    flex-shrink: 0;
    line-height: 1.5;
}

/* =================================================
   Subpages (Karriere, Kontakt, Impressum, Leistungen)
   ================================================= */
.gc-page-header {
    background-color: var(--gc-light);
    padding: 2.5rem 0 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.gc-page-header h1 {
    color: var(--gc-gold);
    font-weight: 400;
    margin: 0;
}

.gc-page-content { padding-bottom: 3rem; }

/* =================================================
   WiFive! Landing Page
   ================================================= */

/* Hero */
.gc-wifive-hero {
    position: relative;
    width: 100%;
    min-height: 45vh;
    background-image: url('/images/hero-wifive.jpg');
    background-color: #12122a;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.gc-wifive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.gc-wifive-hero-text {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.gc-wifive-title {
    color: white;
    font-size: 3rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.gc-wifive-claim {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0.3rem 0 0.15rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.gc-wifive-sub {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero – Network Providers */
.gc-np-hero {
    position: relative;
    width: 100%;
    min-height: 45vh;
    background-image: url('/images/hero-np.jpg');
    background-color: #1a1209;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.gc-np-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.gc-np-hero-text {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

/* Section 2 – Challenge (Network Providers) */
.gc-np-challenge {
    background: var(--gc-light);
    padding: 4rem 0;
}

/* Section 3 – Approach (Network Providers) */
.gc-np-approach {
    background: white;
    padding: 5rem 0;
}

/* Hero – Hotels & Hospitality */
.gc-hotels-hero {
    position: relative;
    width: 100%;
    min-height: 45vh;
    background-image: url('/images/hero-hotels.jpg');
    background-color: #1a1209;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.gc-hotels-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.gc-hotels-hero-text {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

/* SVG-Logo / Hand */
.gc-wifive-logo-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--gc-light);
}

.gc-wifive-logo-img {
    width: min(440px, 78vw);
    height: auto;
}

.gc-wifive-logo-caption {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--gc-muted, #888);
    letter-spacing: 0.04em;
}

/* Branch Section */
.gc-wifive-branch {
    padding-bottom: 4rem;
}

/* Branch Cards */
.gc-branch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--gc-dark);
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    padding: 2.5rem 2rem;
    width: 100%;
    background: white;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gc-branch-card:hover {
    border-color: var(--gc-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    color: var(--gc-dark);
    text-decoration: none;
}

.gc-branch-icon {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.gc-branch-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gc-gold);
    margin-bottom: 0.75rem;
}

.gc-branch-desc {
    color: var(--gc-text);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 1.75rem;
}

.gc-branch-btn {
    display: inline-block;
    background-color: var(--gc-gold);
    color: white;
    padding: 0.45rem 1.6rem;
    font-size: 0.88rem;
    border-radius: 2px;
    transition: background-color 0.2s;
    margin-top: auto;
}

.gc-branch-card:hover .gc-branch-btn {
    background-color: var(--gc-dark);
}

.gc-np-opportunities {
    padding: 6rem 0 3rem;
}

/* =================================================
   FreeRADIUS
   ================================================= */

/* Hero */
.gc-fr-hero {
    position: relative;
    width: 100%;
    min-height: 35vh;
    background-image: url('/images/hero-4.png');
    background-color: #0d1f2d;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.gc-fr-hero-text {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

/* AAA Services */
.gc-fr-services {
    background: var(--gc-light, #f9f7f3);
    padding: 5rem 0;
}

.gc-fr-service-card {
    background: white;
    border-radius: 4px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gc-fr-service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gc-gold);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gc-fr-service-lead {
    font-size: 0.92rem;
    color: var(--gc-text);
    margin-bottom: 1rem;
}

.gc-fr-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gc-fr-service-list li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--gc-text);
}

.gc-fr-service-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gc-gold);
    font-weight: 700;
}

/* rlm_wifive Highlight */
.gc-fr-rlm {
    background-color: #0d1f2d;
    padding: 5rem 0;
}

.gc-fr-rlm .gc-heading-gold {
    margin-bottom: 1.5rem;
}

.gc-fr-rlm p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin-bottom: 1rem;
}


/* Breadcrumb on sub-pages */
.gc-wifive-breadcrumb {
    font-size: 0.85rem;
    margin: 0 0 0.25rem;
    opacity: 0.75;
}

/* =================================================
   Kontakt
   ================================================= */
.gc-contact-img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.gc-contact-table {
    border-collapse: collapse;
    width: 100%;
}

.gc-contact-table tbody tr + tr td {
    padding-top: 1.3rem;
}

.gc-contact-label {
    color: #999;
    font-size: 0.88rem;
    white-space: nowrap;
    padding-right: 1.5rem;
    vertical-align: top;
    width: 130px;
}

.gc-contact-link {
    color: var(--gc-red) !important;
    font-weight: 600;
    text-decoration: none;
}

.gc-contact-link:hover {
    text-decoration: underline;
}

/* =================================================
   Impressum
   ================================================= */
.gc-lang-tabs .nav-link {
    color: var(--gc-gold);
    border: 1px solid var(--gc-gold);
    border-radius: 2px;
    font-size: 0.82rem;
    padding: 0.3rem 0.85rem;
    margin-right: 0.3rem;
}

.gc-lang-tabs .nav-link.active {
    background-color: var(--gc-gold);
    color: white;
    border-color: var(--gc-gold);
}

.gc-lang-tabs .nav-link:hover:not(.active) {
    background-color: rgba(176, 128, 0, 0.08);
}

.gc-imp-heading {
    color: var(--gc-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.gc-imp-hr {
    border-color: #e0e0e0;
    margin: 2rem 0;
}

.gc-imp-image {
    max-width: 45%;
    height: auto;
    filter: grayscale(100%);
}

@media (max-width: 767px) {
    .gc-imp-image {
        float: none !important;
        max-width: 100%;
        margin-left: 0 !important;
        margin-bottom: 1.5rem;
    }
}

/* =================================================
   Hotels & Hospitality – Sections
   ================================================= */

/* Section 1 – Intro */
.gc-hotels-intro {
    background: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.gc-hotels-intro-text {
    font-size: 1.15rem;
    color: var(--gc-text);
    max-width: 680px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

.gc-hotels-intro-taglines {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gc-dark);
    margin-bottom: 0.5rem;
}

.gc-hotels-intro-claim {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--gc-gold);
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

/* CTA Button */
.gc-btn-gold {
    display: inline-block;
    background-color: var(--gc-gold);
    color: white;
    padding: 0.65rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.gc-btn-gold:hover {
    background-color: var(--gc-dark);
    color: white;
    text-decoration: none;
}

/* Section 2 – Problem */
.gc-hotels-problem {
    background: var(--gc-light);
    padding: 4rem 0;
}

.gc-hotels-problem-lead {
    font-size: 1rem;
    color: var(--gc-text);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.gc-hotels-problem-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.gc-hotels-problem-list li {
    padding: 0.4rem 0 0.4rem 1.8rem;
    position: relative;
    color: var(--gc-text);
    font-size: 1rem;
}

.gc-hotels-problem-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--gc-red);
    font-weight: 700;
}

/* Advantage / Benefit List */
.gc-advantage-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.gc-advantage-list li {
    padding: 0.4rem 0 0.4rem 1.8rem;
    position: relative;
    color: var(--gc-text);
    font-size: 1rem;
}

.gc-advantage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2a9d5c;
    font-weight: 700;
}

/* Section 3 – Solution */
.gc-hotels-solution {
    background: white;
    padding: 5rem 0;
}

.gc-hotels-solution-logo {
    width: min(320px, 72vw);
    height: auto;
}

.gc-hotels-solution-text h2 {
    color: var(--gc-dark);
    font-weight: 400;
    font-size: 1.9rem;
    margin-bottom: 1.25rem;
}

.gc-hotels-solution-text p {
    color: var(--gc-text);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

/* Section 4 – Advantages Tiles */
.gc-hotels-advantages {
    background: var(--gc-light);
    padding: 4rem 0;
}

.gc-adv-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
}

.gc-adv-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 0.75rem;
}

.gc-adv-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gc-gold);
    margin-bottom: 0.5rem;
}

.gc-adv-desc {
    font-size: 0.92rem;
    color: var(--gc-text);
    margin: 0;
    line-height: 1.6;
}

/* Section 5 – Use Cases */
.gc-hotels-usecase {
    background: white;
    padding: 4rem 0;
}

.gc-hotels-usecase-list {
    list-style: none;
    padding: 0;
    column-count: 2;
    column-gap: 2rem;
    max-width: 500px;
}

.gc-hotels-usecase-list li {
    padding: 0.35rem 0 0.35rem 1.6rem;
    position: relative;
    color: var(--gc-text);
    font-size: 1rem;
}

.gc-hotels-usecase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gc-gold);
    font-weight: 700;
}

/* Section 6 – Trust */
.gc-hotels-trust {
    background: var(--gc-dark);
    padding: 4rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.gc-hotels-trust-inner {
    max-width: 680px;
}

.gc-hotels-trust .gc-heading-gold {
    color: var(--gc-gold) !important;
}

.gc-hotels-trust p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.gc-hotels-trust .gc-advantage-list li {
    color: rgba(255, 255, 255, 0.85);
}

.gc-hotels-trust .gc-advantage-list li::before {
    color: #5ecb90;
}

/* CTA Section */
.gc-hotels-cta {
    background: white;
    padding: 5rem 0;
    text-align: center;
    border-top: 3px solid var(--gc-gold);
}

.gc-hotels-cta h2 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--gc-dark);
    margin-bottom: 0.75rem;
}

.gc-hotels-cta p {
    font-size: 1rem;
    color: var(--gc-text);
    margin-bottom: 1.75rem;
}

@media (max-width: 575px) {
    .gc-hotels-usecase-list {
        column-count: 1;
    }
}

/* =================================================
   Blazor Framework Styles (nicht entfernen)
   ================================================= */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    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DU0NyAyNTkuNzg2IDg3LjMwMDUgMjU5Ljc4NiA4OS43OTIxIDI1OS43ODYgOTIuMjgzNyAyNjEuMDQ5IDkzLjUyOTUgMjYzLjU3NiA5My41Mjk1IDI2Ni4xMTYgOTMuNTI5NSAyNjcuMzg3IDkyLjI4MzcgMjY3LjM4NyA4OS43OTIxIDI2Ny4zODcgODcuMzAwNSAyNjYuMTE2IDg2LjA1NDcgMjYzLjU3NiA4Ni4wNTQ3WiIgZmlsbD0iI0ZGRTUwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9nPjwvc3ZnPg==) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after { content: "An error has occurred." }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code { color: #c02d76; }

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}
