:root {
    --petrol-950: #0d3532;
    --petrol-900: #123f3b;
    --petrol-800: #19534d;
    --green-600: #2f7d62;
    --green-100: #e8f4ef;
    --green-050: #f2f8f5;
    --ink: #20312f;
    --muted: #62716f;
    --border: #d8e3e0;
    --surface: #fff;
    --background: #f4f7f6;
    --warning: #9a5b00;
    --warning-bg: #fff7e6;
    --error: #a12622;
    --error-bg: #fff0ef;
    --success: #246b4f;
    --success-bg: #edf8f3;
    --focus: #f1b82d;
    --shadow: 0 10px 30px rgba(18, 63, 59, 0.07);
}

* { box-sizing: border-box; }

html { background: var(--background); }
html.has-modal { overflow: hidden; }

body {
    min-height: 100vh;
    margin: 0;
    background: var(--background);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img, svg { max-width: 100%; }

a {
    color: var(--petrol-800);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover { color: var(--green-600); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 9px 13px;
    border-radius: 7px;
    background: var(--surface);
    color: var(--petrol-950);
    box-shadow: var(--shadow);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* Header und Hauptnavigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 3px 14px rgba(18, 63, 59, 0.05);
}

.site-header__inner {
    width: min(1080px, calc(100% - 36px));
    min-height: 58px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 0 0 auto;
    color: var(--petrol-900);
    text-decoration: none;
}

.site-brand:hover { color: var(--petrol-900); }

.site-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--petrol-900);
    color: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 800;
}

.site-brand__text {
    min-width: 0;
    line-height: 1.1;
}

.site-brand__text strong {
    font-size: 17px;
    letter-spacing: -0.01em;
}

.site-header .nav-links {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    flex-wrap: wrap;
}

.site-header .nav-links a {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"] {
    background: var(--green-100);
    color: var(--petrol-950);
}

.site-header .nav-links a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--green-600);
}

.site-header .nav-links a:active {
    background: var(--petrol-800);
    color: #fff;
}

/* Gemeinsame Inhaltsflaechen */
.site-main { width: 100%; flex: 1 0 auto; }

.container {
    width: min(1080px, calc(100% - 36px));
    margin: 32px auto;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow-wrap: anywhere;
}

.container > :first-child { margin-top: 0; }
.container > :last-child { margin-bottom: 0; }

h1, h2, h3 {
    color: var(--petrol-900);
    line-height: 1.25;
    text-wrap: balance;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(29px, 4vw, 38px);
    letter-spacing: -0.025em;
    text-align: left;
}

h2 {
    margin: 30px 0 12px;
    font-size: clamp(22px, 3vw, 27px);
}

h3 {
    margin: 25px 0 10px;
    font-size: clamp(18px, 2.4vw, 21px);
}

p { margin: 0 0 16px; }

ul, ol {
    margin: 0 0 20px;
    padding-left: 1.45rem;
}

li + li { margin-top: 7px; }

hr {
    width: 100%;
    margin: 22px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

/* Buttons, Aktionslinks und Textlinks */
.action-link,
.action-button {
    min-height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.action-link {
    margin: 5px 8px 5px 0;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: var(--petrol-900);
    text-decoration: none;
}

.action-link:hover {
    background: transparent;
    color: var(--petrol-950);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.action-link--primary,
.action-link--secondary {
    padding: 10px 15px;
    border: 1px solid;
    text-decoration: none;
}

.action-link--primary {
    border-color: var(--petrol-900);
    background: var(--petrol-900);
    color: #fff;
}

.action-link--primary:hover {
    border-color: var(--green-600);
    background: var(--green-600);
    color: #fff;
}

.action-link--secondary {
    border-color: #a8c1bb;
    background: var(--surface);
    color: var(--petrol-900);
}

.action-link--secondary:hover {
    border-color: var(--green-600);
    background: var(--green-100);
    color: var(--petrol-950);
}

.action-link--danger {
    padding: 10px 15px;
    border: 1px solid #deb0ad;
    background: var(--surface);
    color: var(--error);
    text-decoration: none;
}

.action-link--danger:hover {
    border-color: var(--error);
    background: var(--error-bg);
    color: var(--error);
}

.action-link--primary:hover,
.action-link--secondary:hover,
.action-link--danger:hover { text-decoration: none; }

.back-link {
    font-size: 14px;
    font-weight: 650;
}

.text-link-button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--petrol-800);
    font: inherit;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
}

.text-link-button:hover { color: var(--green-600); }

.action-button {
    align-self: flex-start;
    min-width: 140px;
    padding: 10px 18px;
    border: 1px solid var(--petrol-900);
    background: var(--petrol-900);
    color: #fff;
    font-size: 16px;
}

.action-button:hover {
    border-color: var(--green-600);
    background: var(--green-600);
    color: #fff;
    transform: translateY(-1px);
}

/* Formulare */
.public-form {
    width: min(100%, 520px);
    margin: 8px auto 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--green-050);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contract-form {
    width: 100%;
    max-width: none;
    margin-top: 32px;
    padding: clamp(20px, 3vw, 30px);
    gap: 18px;
}

.contract-form__section {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.contract-form__section legend {
    width: 100%;
    margin: 0 0 10px;
    padding: 0 0 7px;
    border-bottom: 1px solid var(--border);
    color: var(--petrol-900);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
}

.contract-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.contract-form__grid--address {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field--span-2 { grid-column: span 2; }

.contract-form__confirmation {
    padding: 16px;
    border: 1px solid #c9dcd7;
    border-radius: 10px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.contract-form__confirmation .form-check { flex: 1 1 auto; }
.contract-form__confirmation .action-button { flex: 0 0 auto; }

.form-required-note {
    width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.form-required-marker { color: var(--error); }

.form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-field__label {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #b8c8c4;
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control:hover { border-color: #7da098; }

.form-control:focus {
    border-color: var(--petrol-800);
    box-shadow: 0 0 0 3px rgba(47, 125, 98, 0.14);
}

.form-control--textarea { min-height: 120px; resize: vertical; }

.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-check__input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: var(--petrol-800);
    cursor: pointer;
}

.form-check__label {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.form-check--centered { justify-content: center; }

.form-check--centered .form-check__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-separator { margin: 4px 0 0; }

/* Meldungen */
.form-message {
    width: 100%;
    margin: 0 0 22px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 9px;
    font-weight: 700;
}

.form-message--centered { text-align: center; }

.form-message--error {
    border-color: #e1aaa7;
    background: var(--error-bg);
    color: var(--error);
}

.form-message--success {
    border-color: #a9d2c0;
    background: var(--success-bg);
    color: var(--success);
}

.feedback { width: 100%; padding: 4px 0; text-align: center; }

.feedback__title { margin: 0 0 16px; text-align: center; }

.feedback__text,
.feedback__meta { margin: 12px auto; }

.feedback--warning {
    padding: 18px;
    border: 1px solid #e4c88e;
    border-radius: 12px;
    background: var(--warning-bg);
}

.feedback--warning .feedback__title { color: var(--warning); }
.feedback--error .feedback__title { color: var(--error); }
.feedback--success .feedback__title { color: var(--success); }

.feedback__actions {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.feedback__actions--stacked { flex-direction: column; }
.feedback__actions .action-link { margin: 0; }
.feedback__form { margin: 0; }

/* Vertragstext nur in der Browseransicht */
.contract-content { width: 100%; padding-top: 2px; }

.notice-box,
.contract-box {
    width: 100%;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 11px;
}

.notice-box {
    border: 1px solid #e4c88e;
    background: var(--warning-bg);
}

.notice-box > :last-child { margin-bottom: 0; }

.contract-box {
    border: 1px solid var(--border);
    background: #fbfcfc;
}

.contract-content section {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.contract-content section:first-child { border-top: 0; }
.contract-content h3 { margin-top: 0; }
.contract-content ol,
.contract-content ul { margin-bottom: 0; }

/* Dokumente, Garagenplan und News */
.garage-plan-trigger { margin: 4px 0 0; }

.garage-plan-dialog {
    width: min(1120px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(7, 37, 34, 0.28);
}

.garage-plan-dialog[open] {
    display: flex;
    flex-direction: column;
}

.garage-plan-dialog::backdrop {
    background: rgba(8, 35, 32, 0.62);
}

.garage-plan-dialog__header {
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.garage-plan-dialog__header h2 {
    margin: 0;
    font-size: 21px;
}

.garage-plan-dialog__header form { margin: 0; }

.garage-plan-dialog__close { margin: 0; }

.garage-plan-dialog__viewport {
    min-height: 0;
    padding: 12px;
    overflow: auto;
    background: var(--green-050);
    overscroll-behavior: contain;
    touch-action: pan-x pan-y pinch-zoom;
}

.garage-plan-dialog__viewport img {
    width: 1030px;
    max-width: none;
    height: auto;
    margin: 0 auto;
    display: block;
}

.document-list {
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.document-list li { margin: 0; }

.document-list a {
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--green-050);
    color: var(--petrol-900);
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
}

.document-list a:hover {
    border-color: var(--green-600);
    background: var(--green-100);
}

.news-list {
    width: 100%;
    display: grid;
    gap: 12px;
}

.news-item {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 7px 22px rgba(18, 63, 59, 0.05);
}

.news-item h2,
.news-item h3 {
    margin: 2px 0 7px;
    font-size: 18px;
}

.news-item p {
    margin: 0 0 8px;
    color: #435653;
    font-size: 15px;
    line-height: 1.5;
}

.news-item .action-link {
    margin: 0;
    padding: 7px 0;
    background: transparent;
    color: var(--petrol-800);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.news-item .action-link:hover {
    background: transparent;
    color: var(--green-600);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.news-date {
    display: block;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

/* Kompakte Startseite */
.home-page {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: 30px 0 48px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3.5vw, 32px);
    border: 1px solid #cfdfdb;
    border-radius: 20px;
    background: linear-gradient(135deg, #edf7f4 0%, #f8fbfa 70%);
    box-shadow: var(--shadow);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -125px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(47, 125, 98, 0.07);
    pointer-events: none;
}

.home-eyebrow {
    margin: 0 0 7px;
    color: var(--green-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-hero h1 {
    position: relative;
    max-width: 680px;
    margin: 0 0 8px;
    color: var(--petrol-900);
    font-size: clamp(29px, 3.8vw, 38px);
    line-height: 1.1;
    text-align: left;
    z-index: 1;
}

.home-hero__intro {
    position: relative;
    max-width: 720px;
    margin: 0;
    color: #435653;
    font-size: 16px;
    z-index: 1;
}

.home-services,
.home-timeline,
.home-news { margin-top: 30px; }

.section-heading { margin-bottom: 16px; }

.section-heading h2 {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 27px);
}

.section-heading--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading__link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--petrol-800);
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    position: relative;
    min-height: 132px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 7px 22px rgba(18, 63, 59, 0.055);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.service-card--primary {
    border-top: 3px solid var(--green-600);
    padding-top: 14px;
}

.service-card:hover {
    border-color: #96bbb1;
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(18, 63, 59, 0.11);
    transform: translateY(-2px);
}

.service-card__icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: var(--green-100);
    color: var(--petrol-800);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.service-card__content {
    padding-right: 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-card__content strong {
    color: var(--petrol-900);
    font-size: 17px;
    line-height: 1.25;
}

.service-card__content span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.service-card__arrow {
    position: absolute;
    right: 19px;
    bottom: 17px;
    color: var(--green-600);
    font-size: 21px;
    font-weight: 700;
}

.annual-timeline {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    box-shadow: 0 6px 18px rgba(18, 63, 59, 0.04);
}

.annual-timeline::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: #cfdfdb;
}

.annual-timeline__item {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 36px auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.annual-timeline__icon {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    margin: 0;
    border: 2px solid #a8c9bf;
    border-radius: 50%;
    background: var(--surface);
    color: var(--green-600);
    display: grid;
    place-items: center;
}

.annual-timeline__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.annual-timeline__content {
    padding: 0;
    text-align: left;
}

.annual-timeline__content strong,
.annual-timeline__content > span {
    display: block;
}

.annual-timeline__content strong {
    color: var(--petrol-900);
    font-size: 15px;
    line-height: 1.25;
}

.annual-timeline__content > span {
    margin-top: 0;
    color: var(--green-600);
    font-size: 13px;
    font-weight: 750;
}

.home-news .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.home-news .news-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.home-news .news-item .action-link {
    margin-top: auto;
    align-self: flex-start;
}

.home-news .section-heading__link {
    margin: 0;
    padding: 7px 0;
    background: transparent;
    color: var(--petrol-800);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.home-news .section-heading__link:hover {
    background: transparent;
    color: var(--green-600);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: #eaf1ef;
}

.site-footer__inner {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: 15px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

.site-footer__brand,
.site-footer__copyright { margin: 0; }

.site-footer__brand {
    color: var(--petrol-900);
    font-weight: 800;
}

.site-footer__copyright {
    grid-column: 2;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.footer-links {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    min-height: 36px;
    color: var(--petrol-900);
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

/* Tablet */
@media (max-width: 960px) {
    .site-header__inner {
        padding: 7px 0 6px;
        flex-direction: column;
        gap: 5px;
    }

    .site-brand { flex-basis: auto; }

    .site-header .nav-links {
        width: 100%;
        justify-content: center;
    }

    .contract-form__confirmation {
        align-items: stretch;
        flex-direction: column;
    }

    .home-page { padding-top: 20px; }

    .annual-timeline { padding: 14px 12px; }

    .annual-timeline::before { top: 30px; }

    .annual-timeline__item {
        padding: 0 8px;
        grid-template-columns: 32px auto;
        gap: 8px;
    }

    .annual-timeline__icon {
        width: 32px;
        height: 32px;
    }

    .annual-timeline__icon svg {
        width: 17px;
        height: 17px;
    }

    .annual-timeline__content strong { font-size: 14px; }
    .annual-timeline__content > span { font-size: 12px; }
}

/* Smartphone */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .site-header { position: static; }

    .site-header__inner,
    .home-page,
    .site-footer__inner {
        width: min(calc(100% - 24px), 1080px);
    }

    .site-header__inner {
        padding: 7px 0 6px;
        gap: 5px;
    }

    .site-brand__mark {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 15px;
    }

    .site-header .nav-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
    }

    .site-header .nav-links a {
        min-height: 44px;
        padding: 7px 5px;
        font-size: 13px;
    }

    .container {
        width: min(calc(100% - 24px), 1080px);
        margin: 14px auto;
        padding: 18px 15px;
        border-radius: 14px;
    }

    h1 { margin-bottom: 16px; font-size: 25px; }
    h2 { margin-top: 21px; font-size: 21px; }
    h3 { margin-top: 19px; font-size: 18px; }

    .home-page { padding: 14px 0 27px; }

    .home-hero {
        padding: 16px;
        border-radius: 14px;
    }

    .home-hero::after { display: none; }

    .home-hero h1 { font-size: 25px; }

    .home-services,
    .home-timeline,
    .home-news { margin-top: 20px; }

    .section-heading { margin-bottom: 11px; }

    .home-eyebrow {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .service-card,
    .service-card--primary {
        min-height: 0;
        padding: 14px;
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) 20px;
        align-items: center;
        gap: 11px;
    }

    .service-card__icon {
        width: 30px;
        height: 30px;
        margin: 0;
    }

    .service-card__content {
        padding: 0;
        gap: 2px;
    }

    .service-card__content strong { font-size: 17px; }

    .service-card__arrow {
        position: static;
        justify-self: end;
    }

    .annual-timeline { padding: 8px 5px; }

    .annual-timeline::before {
        top: 22px;
        left: 16.66%;
        right: 16.66%;
        width: auto;
        height: 2px;
    }

    .annual-timeline__item {
        padding: 0 3px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
    }

    .annual-timeline__icon {
        width: 28px;
        height: 28px;
    }

    .annual-timeline__icon svg {
        width: 15px;
        height: 15px;
    }

    .annual-timeline__content { text-align: center; }

    .annual-timeline__content strong { font-size: 13px; }
    .annual-timeline__content > span { font-size: 11px; }

    .section-heading--row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .home-news .news-list { grid-template-columns: 1fr; }

    .news-item { padding: 15px; }

    .public-form {
        padding: 15px;
        gap: 11px;
    }

    .form-control { min-height: 44px; padding: 8px 10px; }

    .contract-form { margin-top: 22px; }

    .contract-form__grid,
    .contract-form__grid--address {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .form-field--span-2 { grid-column: auto; }

    .contract-form__confirmation {
        padding: 14px;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .contract-content section { padding: 15px 0; }

    .notice-box,
    .contract-box { padding: 14px; margin-bottom: 15px; }

    .garage-plan-trigger { width: 100%; }

    .garage-plan-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 12px;
    }

    .garage-plan-dialog__header { padding: 9px 10px; }
    .garage-plan-dialog__header h2 { font-size: 18px; }
    .garage-plan-dialog__viewport { padding: 6px; }
    .garage-plan-dialog__viewport img { width: 760px; }

    .action-button { width: 100%; }

    .section-heading__link,
    .footer-links a { min-height: 44px; }

    .feedback__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .feedback__actions .action-link,
    .feedback__actions .action-button,
    .feedback__actions .feedback__form { width: 100%; }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 12px 0;
        text-align: center;
    }

    .site-footer__copyright,
    .footer-links { grid-column: 1; }

    .footer-links { justify-content: center; }
}

@media (max-width: 380px) {
    .site-brand__text strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
