/*
  Global stylesheet: design tokens, reset, typography and the handful of
  utility classes shared across every page (.wrapper, .btn, ...).
  Everything specific to one component lives in that component's own
  <ComponentName>.razor.css scoped stylesheet instead, so it is only ever
  loaded/considered next to the markup it styles.
*/

:root {
    --color-primary: #258525; /* topbar, footer-bottom, links */
    --color-accent: #37a236; /* buttons, small-title, advies-box */
    --color-heading: #272626; /* headings, hover states */
    --color-footer-dark: #2a2a2a; /* footer-top background */
    --color-body: #333333;
    --color-muted: #6c6b6b;
    --color-border: #e3e3e3;
    --color-surface-alt: #f6f6f6;
    --font-family-base: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --wrapper-max-width: 1400px;
    --radius-base: 5px;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4.5rem;
    /* #4AA732 sampled directly from the All About Mobility charging-pillar
     photo; --brand-green-dark is a darker shade of the same hue for
     contrast (e.g. header gradient, button text). */
    --brand-green-dark: #37821F;
    --brand-green: #4AA732;
    --brand-amber: #E8B93A;
    --brand-red: #C0392B;
    --text: #1F2A24;
    --text-muted: #55635B;
    --bg: #F5F7F5;
    --card-bg: #FFFFFF;
    --border: #DCE3DE;
    --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: var(--font-family-base);
    font-size: 16px;
    background: #fff;
    color: var(--color-body);
    /*background: var(--bg);
    color: var(--text);*/
    line-height: 1.5;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-heading);
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.375rem;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 2.1875rem;
  }
}

p {
  margin: 0 0 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
/*a {
    color: var(--brand-green-dark);
}
*/
a:hover,
a:focus-visible {
  color: var(--color-heading);
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* Layout container used by every section */
.wrapper {
  max-width: var(--wrapper-max-width);
  width: 92%;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* Generic vertical rhythm for a page section. The ContentRow component
   layers its own scoped rules for the flex/grid split on top of this same
   class name - this bare rule is what applies when "content-row" is used
   directly in a page for a one-off section (e.g. the contact form, the
   homepage blog teaser) that doesn't need the full ContentRow component. */
.content-row {
  padding: 2rem 0;
}

.small-title {
  display: block;
  color: var(--color-accent);
  font-size: 1.125rem;
  margin: 0 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  min-width: 220px;
  padding: 17px 20px;
  border: none;
  border-radius: var(--radius-base);
  background: var(--color-accent);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-heading);
  color: #fff;
}

.read-more {
  font-weight: 700;
}

/* Accessibility helpers */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -3rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.fab-panel__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: none;
    color: #B9C2BC;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.fab-panel__cta {
    display: block;
    text-align: center;
    background: var(--brand-green);
    color: #fff;
    font-weight: 700;
    padding: 12px;
    font-size: 0.88rem;
    text-decoration: none;
}


.choice__arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: #B9C2BC;
}

.gate-skip {
    margin-top: 22px;
    background: none;
    border: none;
    color: #9AA39C;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

/* ===== Option 2: FloatingReportButton ===== */

.fab-wrap {
    position: fixed;
    right: 20px;
    bottom: 13px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.fab-button {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: var(--brand-green);
    box-shadow: 0 10px 26px rgba(74, 167, 50, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .fab-button img {
        width: 34px;
        height: 34px;
    }

.fab-panel {
    width: 300px;
    max-width: calc(100vw - 40px);
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(20, 30, 25, 0.22);
    border: 1px solid var(--border);
    overflow: hidden;
}

.fab-panel__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px 14px 16px;
    position: relative;
}

    .fab-panel__header img {
        width: 40px;
        height: 40px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .fab-panel__header strong {
        display: block;
        font-size: 0.92rem;
        color: var(--text);
    }
    .fab-panel__header img {
        width: 40px;
        height: 40px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .fab-panel__header strong {
        display: block;
        font-size: 0.92rem;
        color: var(--text);
    }

    .fab-panel__header span {
        display: block;
        font-size: 0.78rem;
        color: var(--text-muted);
        margin-top: 2px;
    }

  


.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: linear-gradient(120deg, var(--brand-green-dark), var(--brand-green));
    color: #fff;
}

.iframeContainer {
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.site-header__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.brand__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand small {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.9;
}

.content {
    flex: 1;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.hero {
    text-align: center;
    margin-bottom: 28px;
}

.hero__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.hero p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.form-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin: 0 auto;
}

.report-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 760px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .field label {
        font-weight: 600;
        font-size: 0.92rem;
    }

    .field input[type="text"],
    .field input[type="email"],
    .field input[type="tel"],
    .field select,
    .field textarea {
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 10px 12px;
        font-size: 1rem;
        font-family: inherit;
    }

        .field input:focus,
        .field select:focus,
        .field textarea:focus {
            outline: 2px solid var(--brand-green);
            outline-offset: 1px;
        }

.field--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

    .field--checkbox label {
        font-weight: 400;
    }

    .field--checkbox input {
        margin-top: 3px;
    }

.section-title {
    margin: 8px 0 -4px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 1.05rem;
    color: var(--brand-green-dark);
}

.report-form > .section-title:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.radio-group--stacked {
    flex-direction: column;
    gap: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 0.94rem;
    cursor: pointer;
}

    .radio-option input {
        margin: 0;
    }

.field-hint {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.field-hint--warning {
    color: var(--brand-red);
    background: #FCEBE9;
    border: 1px solid #F1C4BE;
    border-radius: 8px;
    padding: 10px 12px;
}

.file-list {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.privacy-doc h2 {
    color: var(--brand-green-dark);
    font-size: 1.1rem;
    margin: 26px 0 8px;
}

.privacy-doc p, .privacy-doc li {
    color: #33413A;
    line-height: 1.6;
}

.privacy-doc ul {
    margin: 6px 0;
    padding-left: 22px;
}

.contact-fields {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .contact-fields legend {
        font-weight: 600;
        padding: 0 6px;
    }

.validation-message {
    color: var(--brand-red);
    font-size: 0.85rem;
}

.alert {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.92rem;
}

.alert--error {
    background: #FCEBE9;
    color: var(--brand-red);
    border: 1px solid #F1C4BE;
}

.notice {
    background: var(--card-bg);
    border: 2px solid var(--brand-green);
    border-radius: 8px;
    padding: 18px 16px;
    margin: 20px auto;
    max-width: 760px;
    font-size: 0.95rem;
    line-height: 1.6;
}

    .notice p {
        margin: 8px 0;
    }

        .notice p:first-child {
            margin-top: 0;
            color: darkred;
        }

    .notice a {
        color: darkred;
        text-decoration: underline;
    }

.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
}

.btn--primary {
    background: var(--brand-green-dark);
    color: #fff;
}

    .btn--primary:disabled {
        opacity: 0.6;
        cursor: default;
    }

.btn--secondary {
    background: #fff;
    border: 1px solid var(--brand-green-dark);
    color: var(--brand-green-dark);
}

.confirmation {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

    .confirmation h2 {
        margin-top: 0;
        color: var(--brand-green-dark);
    }

.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Option 1: LandingChoiceGate ===== */

.gate-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 25, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.gate-card {
    background: var(--card-bg);
    width: 560px;
    max-width: 100%;
    border-radius: 18px;
    padding: 40px 40px 30px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
    margin-top: 10%;
}

.gate-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.gate-card h2 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    color: var(--text);
}

.gate-sub {
    margin: 0 0 26px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gate-choices {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.choice {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, background .15s;
}

.choice__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.choice--issue .choice__icon {
    background: #FDF1DA;
    color: #C9891F;
}

.choice--site .choice__icon {
    background: #EAF5E6;
    color: var(--brand-green-dark);
}

.choice--issue {
    border-color: #F0D9A8;
    background: #FFFBF3;
}

.choice--site {
    border-color: #D9ECD2;
    background: #FAFDF8;
}

.choice__text h3 {
    margin: 0 0 2px;
    font-size: 1.02rem;
    color: var(--text);
}

.choice__text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.choice__arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: #B9C2BC;
}

.gate-skip {
    margin-top: 22px;
    background: none;
    border: none;
    color: #9AA39C;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

/* ===== Option 2: FloatingReportButton ===== */

.fab-wrap {
    position: fixed;
    right: 20px;
    bottom: 13px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.fab-button {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: var(--brand-green);
    box-shadow: 0 10px 26px rgba(74, 167, 50, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .fab-button img {
        width: 34px;
        height: 34px;
    }

.fab-panel {
    width: 300px;
    max-width: calc(100vw - 40px);
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(20, 30, 25, 0.22);
    border: 1px solid var(--border);
    overflow: hidden;
}

.fab-panel__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px 14px 16px;
    position: relative;
}

    .fab-panel__header img {
        width: 40px;
        height: 40px;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .fab-panel__header strong {
        display: block;
        font-size: 0.92rem;
        color: var(--text);
    }

    .fab-panel__header span {
        display: block;
        font-size: 0.78rem;
        color: var(--text-muted);
        margin-top: 2px;
    }

.fab-panel__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: none;
    color: #B9C2BC;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.fab-panel__cta {
    display: block;
    text-align: center;
    background: var(--brand-green);
    color: #fff;
    font-weight: 700;
    padding: 12px;
    font-size: 0.88rem;
    text-decoration: none;
}

/* ============================================================================
   Header scroll animation - dynamically applied by site.js
   ============================================================================
   These styles must be global (not scoped) because JavaScript adds the
   is-scrolled class at runtime, and scoped CSS won't apply to dynamically
   added classes without the scope attribute.

   Using !important to ensure these override any scoped CSS rules.
*/
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: box-shadow;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.site-header .navigation-row-inner {
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.site-header.is-scrolled .navigation-row-inner {
    padding: 0.5rem 0 !important;
}

.site-header .topbar {
    will-change: transform, opacity;
}

    .site-header.is-scrolled .topbar {
        transform: scaleY(0) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        display: none !important;
    }

.site-header .logo img {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: width;
}

.site-header.is-scrolled .logo img {
    width: 160px !important;
}
