/* =====================================================================
   Umzugsrechner – Umzug Strauch GmbH
   Farben aus dem Logo: Strauch-Blau + Schwarz.
   ===================================================================== */

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-latin-wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--blue: #0069b4;
	--blue-deep: #00568f;
	--blue-soft: #dceaf7;
	--blue-line: #b9d4ec;
	--blue-text: #075585;
	--teal: #0f766e;
	--black: #1b2740;
	--text: #1b2740;
	--muted: #5a6885;
	--line: #dce6f2;
	--bg: #ffffff;
	--surface: #fff;
	--surface-2: #f6f9fc;
	--warn: #9a5200;
	--warn-bg: #fff3df;
	--ok: #0f766e;
	--error: #c63652;
	--error-bg: #fbe9ed;

	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow: 0 20px 48px -24px rgba(27, 39, 64, .28), 0 2px 8px -2px rgba(27, 39, 64, .1);
	--focus: 0 0 0 3px #fff, 0 0 0 5px var(--blue);
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
	font-feature-settings: 'cv11', 'ss01';
}

img { max-width: 100%; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.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;
}

.icon {
	width: 1.15em; height: 1.15em; flex: none;
	fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Kopf und Fuß ---------- */

.site-header {
	background: var(--surface);
	border-bottom: 4px solid var(--blue);
}
.site-header__inner {
	max-width: 1160px; margin: 0 auto; padding: 14px 16px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__logo img { display: block; width: 210px; height: auto; }
.site-header__contact { display: flex; gap: 8px; }
/* Seitentitel mittig zwischen Logo und Kontakt – nur auf großen Bildschirmen. */
.site-header__title {
	flex: 1; margin: 0; text-align: center;
	font-size: 1.6rem; font-weight: 750; letter-spacing: -0.015em; color: var(--text);
}
.site-header__title::after {
	content: ''; display: block; width: 56px; height: 3px; margin: 6px auto 0;
	border-radius: 3px; background: var(--blue);
}
@media (max-width: 1023px) { .site-header__title { display: none; } }
.contact-link {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px; border-radius: 999px;
	text-decoration: none; font-weight: 600; font-size: .95rem;
	color: var(--text); border: 1.5px solid var(--line);
}
.contact-link:hover { border-color: var(--blue); color: var(--blue); }
.contact-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-link--wa { color: #0a7a3d; }

/* ---------- Titelbild ---------- */

.hero { background: #e9f1f8; }
.hero__img {
	display: block; width: 100%; height: auto;
	max-height: 560px; object-fit: cover; object-position: left center;
}
/* Auf schmalen Bildschirmen den linken Bildteil mit der Überschrift größer zeigen. */
@media (max-width: 760px) {
	.hero__img { height: 240px; max-height: none; }
}

/* ---------- Einleitung „So funktioniert's“ ---------- */

.intro { padding: 56px 16px 40px; }
.intro__inner { max-width: 1040px; margin: 0 auto; text-align: center; }
.intro__title {
	margin: 0 auto; max-width: 22em; color: #0b3c73; text-wrap: balance;
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.25; font-weight: 750; letter-spacing: -0.015em;
}
.intro__lead { margin: 12px auto 0; max-width: 60ch; color: var(--muted); font-size: 1.05rem; }
.intro__steps {
	list-style: none; margin: 36px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left;
}
.intro__step {
	background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px;
}
.intro__step p { margin: 6px 0 0; color: var(--muted); }
.intro__icon {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
	border-radius: 50%; background: var(--blue-soft); color: var(--blue);
}
.intro__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.intro__step-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; font-weight: 750; color: var(--text); }
.intro__num {
	display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700;
}
@media (max-width: 760px) {
	.intro { padding: 36px 16px 24px; }
	.intro__steps { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
	.intro__step { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; padding: 18px; }
	.intro__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
	.intro__icon svg { width: 24px; height: 24px; }
}

/* ---------- Häufige Fragen ---------- */

.faq { padding: 64px 16px 16px; }
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq__title {
	margin: 0 0 24px; text-align: center; color: #0b3c73;
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.25; font-weight: 750; letter-spacing: -0.015em;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 4px; cursor: pointer; list-style: none;
	font-weight: 650; font-size: 1.05rem; color: var(--text);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230069b4' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .2s;
}
.faq__item[open] > .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--blue); }
.faq__a { margin: 0; padding: 0 4px 20px; color: var(--muted); max-width: 70ch; }

.proto-banner {
	background: var(--warn-bg); color: var(--warn);
	text-align: center; font-size: .85rem; font-weight: 500; padding: 8px 16px;
}

.link-button {
	background: none; border: 0; padding: 0; cursor: pointer;
	color: var(--blue); text-decoration: underline; font-size: inherit;
}


/* ---------- Fortschritt ---------- */

.progress {
	max-width: 1160px; margin: 0 auto; padding: 24px 16px 8px;
}
.progress__mobile { display: none; margin: 0 0 8px; font-size: .9rem; font-weight: 700; color: var(--teal); }
.progress__mobile strong { color: var(--text); }
.progress__bar { display: none; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.progress__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(7, 1fr);
}
.progress__item { position: relative; }
.progress__item + .progress__item::before {
	content: ''; position: absolute; top: 25px; right: calc(50% + 22px); left: calc(-50% + 22px);
	height: 2px; background: var(--line);
}
.progress__item.is-done + .progress__item::before,
.progress__item.is-done + .is-current::before { background: var(--teal); }
.progress__btn {
	width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 10px 4px; border: 0; background: none;
	font-size: .8rem; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.3;
}
button.progress__btn { cursor: pointer; }
button.progress__btn:hover .progress__label { color: var(--blue); text-decoration: underline; }
.progress__num {
	width: 30px; height: 30px; flex: none; border-radius: 50%;
	display: grid; place-items: center;
	font-size: .8rem; font-weight: 700;
	background: var(--surface); border: 2px solid var(--line); color: var(--muted);
	transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.progress__num .icon { width: 14px; height: 14px; stroke-width: 3; }
.is-done .progress__btn { color: var(--text); }
.is-done .progress__num { background: var(--teal); border-color: var(--teal); color: #fff; }
.is-current .progress__btn { color: var(--text); font-weight: 700; }
.is-current .progress__num { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }

/* ---------- Grundlayout ---------- */

.layout {
	max-width: 1160px; margin: 0 auto; padding: 16px 16px 0;
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start;
}
.layout--done { grid-template-columns: minmax(0, 720px); justify-content: center; padding-top: 48px; }
.content { min-width: 0; }
.sidebar { position: sticky; top: 16px; }

.step-head { margin-bottom: 20px; }
.step-title {
	margin: 0; color: var(--black);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2;
	font-weight: 750; letter-spacing: -0.02em;
}
.step-title:focus { outline: none; box-shadow: none; }
.step-lead { margin: 8px 0 0; color: var(--muted); max-width: 62ch; font-size: 1.05rem; }

.step-nav {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px;
	border-radius: var(--radius-pill); border: 1.5px solid transparent;
	font-weight: 650; font-size: 1rem; cursor: pointer; text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--secondary { background: var(--blue-soft); color: var(--blue-deep); }
.btn--secondary:hover { border-color: var(--blue-line); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--large { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn--small { min-height: 36px; padding: 6px 12px; font-size: .88rem; }
.btn--icon { width: 46px; padding: 0; }

.icon-btn {
	width: 40px; height: 40px; display: grid; place-items: center;
	border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--muted); cursor: pointer;
}
.icon-btn:hover { color: var(--error); border-color: var(--error); }

/* ---------- Formulare ---------- */

.panel {
	background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
	padding: 20px; margin-bottom: 16px;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel__head .panel__title { margin: 0; }
.panel__title {
	display: inline-flex; align-items: center; gap: 6px;
	margin: 0 0 14px; padding: 5px 14px; border-radius: var(--radius-pill);
	background: var(--blue-soft); color: var(--blue-text); font-size: .95rem; font-weight: 700;
}
.panel__title .icon { color: var(--blue-text); width: 16px; height: 16px; }

.grid { display: grid; gap: 0 14px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--address { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.grid--address .field--zip { grid-column: 1 / 2; max-width: 160px; }
.grid--address .field--city { grid-column: 1 / -1; }
@media (min-width: 640px) {
	.grid--address { grid-template-columns: minmax(0, 3fr) minmax(90px, 1fr) minmax(110px, 1.2fr) minmax(0, 3fr); }
	.grid--address .field--zip { grid-column: auto; max-width: none; }
	.grid--address .field--city { grid-column: auto; }
}
.grid--own { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--own .field--wide { grid-column: 1 / -1; }

.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--black); padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.field__input {
	width: 100%; min-height: 46px; padding: 10px 12px;
	border: 1.5px solid transparent; border-radius: var(--radius-sm);
	background: var(--blue-soft); font-size: 1rem;
	transition: background-color .15s, border-color .15s;
}
textarea.field__input { resize: vertical; min-height: 90px; }
.field__input:hover { border-color: var(--blue-line); }
.field__input:focus { outline: none; background-color: var(--surface); border-color: var(--blue); }
.field__hint { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: var(--error); }
.has-error .field__input { border-color: var(--error); background: var(--error-bg); }
.has-error .segment span { border-color: var(--error); }

select.field__input {
	appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6977' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}

/* Segmentierte Auswahl */
.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segment { position: relative; }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment span {
	display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px;
	border: 1.5px solid var(--line); border-radius: var(--radius-pill);
	background: var(--surface); font-weight: 600; font-size: .95rem; cursor: pointer;
}
.segment input:hover + span { border-color: var(--blue); }
.segment input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.segment input:focus-visible + span { box-shadow: var(--focus); }

/* Schalter */
.toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; position: relative; min-height: 44px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__track {
	width: 48px; height: 28px; flex: none; border-radius: 99px; background: #c4cfda; position: relative;
	transition: background-color .15s;
}
.toggle__track::after {
	content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
	background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s;
}
.toggle input:checked + .toggle__track { background: var(--blue); }
.toggle input:checked + .toggle__track::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__track { box-shadow: var(--focus); }
.toggle__label { font-weight: 600; }

/* Checkbox (Datenschutz) */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }

/* Hinweise */
.note {
	display: flex; gap: 10px; align-items: flex-start;
	margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-sm);
	background: var(--blue-soft); color: var(--blue-deep); font-size: .92rem;
}
.note .icon { margin-top: 2px; }

/* ---------- Schritt 1: Umzugsgut ---------- */

.search { position: relative; margin-bottom: 14px; }
.search > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search__input {
	width: 100%; min-height: 50px; padding: 12px 14px 12px 44px;
	border: 1.5px solid transparent; border-radius: var(--radius-pill); background: var(--blue-soft); font-size: 1rem;
}
.search__input:focus { outline: none; background: var(--surface); border-color: var(--blue); }

.rooms { margin: 0 -16px 18px; scroll-margin-top: 12px; }
.rooms__scroll {
	display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 8px;
	scrollbar-width: thin; scroll-snap-type: x proximity;
}
@media (min-width: 960px) {
	.rooms { margin: 0 0 18px; }
	.rooms__scroll { flex-wrap: wrap; overflow: visible; padding: 4px 0; }
}
.room-select { display: none; }
@media (max-width: 959px) {
	.rooms { margin: 0 0 18px; }
	.rooms__scroll { display: none; }
	.room-select { display: block; }
}
.room-select__label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.room-select__row { display: flex; gap: 8px; }
.room-select__input { flex: 1; min-width: 0; font-weight: 650; border-radius: var(--radius-pill); padding-left: 18px; }
.room-select__nav {
	width: 46px; height: 46px; flex: none; display: grid; place-items: center;
	border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--blue); cursor: pointer;
}
.room-select__nav:disabled { color: #b8c4d0; cursor: default; }
.room-select__nav:not(:disabled):hover { border-color: var(--blue); }
.room-select__nav--next .icon { transform: rotate(180deg); }

.room-chip {
	flex: none; display: inline-flex; align-items: center; gap: 8px; scroll-snap-align: start;
	min-height: 40px; padding: 7px 14px; border-radius: 99px;
	border: 1.5px solid var(--line); background: var(--surface);
	font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap;
}
.room-chip:hover { border-color: var(--blue); }
.room-chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.room-chip.is-active .room-chip__count { background: #fff; color: var(--blue); }
.room-chip__count {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px;
	display: grid; place-items: center; font-size: .78rem; font-weight: 700;
	background: var(--blue); color: #fff;
}

.inventory { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; }
.room-title { margin: 14px 0 10px; font-size: 1.3rem; font-weight: 800; color: var(--black); letter-spacing: -0.015em; scroll-margin-top: 16px; }
.room-title:focus { outline: none; box-shadow: none; }
.list-note { margin: 14px 0 6px; color: var(--muted); font-size: .9rem; }

.items { list-style: none; margin: 0; padding: 0; }
.item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.item:last-child { border-bottom: 0; }
.item__main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.item__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item__name { font-weight: 600; color: var(--black); }
.item.is-selected .item__name { color: var(--blue-deep); }
.item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .85rem; color: var(--muted); }
.item__controls { display: flex; align-items: center; gap: 8px; flex: none; }
.item__montage { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.item__montage .field { margin: 0; }

.tag {
	display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px;
	background: var(--blue-soft); color: var(--blue-deep); font-size: .75rem; font-weight: 650;
}
.tag .icon { width: 13px; height: 13px; }
.tag--warn { background: var(--warn-bg); color: var(--warn); }

.stepper {
	display: inline-flex; align-items: center;
	border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.stepper.is-active { border-color: var(--blue); }
.stepper__btn {
	width: 42px; height: 42px; display: grid; place-items: center;
	border: 0; background: none; color: var(--blue); cursor: pointer; border-radius: 8px;
}
.stepper__btn:disabled { color: #b8c4d0; cursor: default; }
.stepper__btn:not(:disabled):hover { background: var(--blue-soft); }
.stepper__value {
	width: 44px; height: 42px; border: 0; text-align: center; font-weight: 700; font-size: 1rem;
	background: none; -moz-appearance: textfield;
}
.stepper__value::-webkit-outer-spin-button, .stepper__value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.is-active .stepper__value { color: var(--blue-deep); }

.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-check span {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
	border: 1.5px dashed var(--blue-line); border-radius: 99px; font-size: .88rem; font-weight: 600;
	color: var(--blue-deep); cursor: pointer;
}
.chip-check .icon { width: 14px; height: 14px; stroke-width: 3; opacity: 0; margin-left: -4px; transition: opacity .1s; }
.chip-check input:checked + span { background: var(--blue-soft); border-style: solid; border-color: var(--blue); }
.chip-check input:checked + span .icon { opacity: 1; }
.chip-check input:focus-visible + span { box-shadow: var(--focus); }

.add-own {
	width: 100%; display: flex; align-items: center; gap: 12px; margin: 16px 0;
	padding: 14px 18px; border: 1.5px dashed var(--blue-line); border-radius: var(--radius);
	background: transparent; color: var(--blue-deep); text-align: left; cursor: pointer; font-size: .95rem;
}
.add-own:hover { background: var(--blue-soft); border-color: var(--blue); }
.add-own > .icon { width: 22px; height: 22px; }

.own-form { margin: 16px 0; padding: 16px; border-radius: var(--radius-sm); background: var(--blue-soft); }
.own-form__title { margin: 0 0 12px; font-size: 1rem; color: var(--black); }
.own-form__calc { margin: 0 0 12px; font-weight: 600; color: var(--blue-deep); }
.own-form__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.own-form .btn--ghost { background: var(--surface); }

.next-room {
	display: block; width: 100%; margin-top: 4px; padding: 14px 16px; text-align: center;
	border: 0; border-radius: var(--radius-pill); background: var(--blue-soft); color: var(--text); cursor: pointer; font-size: .95rem;
}
.next-room:hover { background: var(--blue-soft); color: var(--blue-deep); }

.empty { padding: 24px 0; text-align: center; }
.empty p { margin: 4px 0; }
.empty .btn { margin-top: 12px; }

/* ---------- Schritt 2: Fotos ---------- */

.dropzone {
	display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
	padding: 36px 20px; border: 2px dashed var(--blue-line); border-radius: var(--radius);
	background: var(--surface); cursor: pointer;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background: var(--blue-soft); }
.dropzone:focus-within { box-shadow: var(--focus); }
.dropzone.is-busy { cursor: progress; opacity: .7; }
.dropzone__icon { width: 40px; height: 40px; color: var(--blue); stroke-width: 1.6; }
.dropzone__title { font-weight: 700; font-size: 1.1rem; color: var(--black); }
.dropzone__hint { color: var(--muted); font-size: .9rem; }

.photos { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo__remove {
	position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center; border: 0; cursor: pointer;
	background: rgba(0, 0, 0, .65); color: #fff;
}
.photo__remove:hover { background: var(--error); }
.photos--small { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin-bottom: 8px; }

/* ---------- Schritt 5: Leistungen ---------- */

.service-group {
	background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 4px 20px; margin-bottom: 16px;
}
.group-title { margin: 18px 0 4px; font-size: 1.15rem; font-weight: 800; color: var(--black); }
.service {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; align-items: start;
	padding: 18px 0; border-top: 1px solid var(--line);
}
.group-title + .service { border-top: 0; }
.service__name { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--black); }
.service__desc { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.service__hint { display: flex; gap: 6px; margin: 8px 0 0; font-size: .85rem; color: var(--warn); }
.service__hint .icon { margin-top: 2px; }
.service__control .field { margin: 0; }
.service--stack { grid-template-columns: 1fr; }
.service__count { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.service__info { margin: 0; font-size: .92rem; max-width: 300px; }
.service__info .link-button { display: block; margin-top: 4px; }
.service__extra { grid-column: 1 / -1; }
.service__extra > .field { max-width: 420px; margin-bottom: 0; }
.service.is-on .service__name { color: var(--blue-deep); }
@media (max-width: 720px) {
	.service { grid-template-columns: 1fr; }
}

.subpanel { margin-top: 8px; padding: 6px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.subpanel__title { margin: 12px 0 0; font-size: .95rem; color: var(--black); }
.items--compact .item { padding: 10px 0; }

/* ---------- Schritt 7: Übersicht ---------- */

.sum-section {
	background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px 20px; margin-bottom: 12px;
}
.sum-section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.sum-section__title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--black); }
.sum-section p { margin: 4px 0; }
.sum-total { font-size: 1.05rem; }
.sum-total strong { color: var(--blue-deep); font-size: 1.25rem; }
.sum-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.sum-table td, .sum-table th { padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.sum-room th { padding-top: 14px; font-size: .9rem; color: var(--blue-deep); }
.sum-qty { width: 44px; font-weight: 700; }
.sum-num { text-align: right; white-space: nowrap; color: var(--muted); padding-left: 12px !important; }
.sum-sub { display: block; color: var(--muted); font-size: .88rem; }
.sum-label { display: block; font-weight: 700; font-size: .9rem; color: var(--black); margin-top: 8px; }
.sum-address { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum-address:last-child { border-bottom: 0; }
.sum-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 16px; margin: 0; }
.sum-dl dt { font-weight: 600; }
.sum-dl dd { margin: 0; color: var(--muted); }
.sum-list { margin: 4px 0; padding-left: 20px; }
.panel--final { margin-top: 20px; }

/* ---------- Danke ---------- */

.done { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; }
.done__mark {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
	background: var(--ok); color: #fff;
}
.done__mark .icon { width: 30px; height: 30px; stroke-width: 3; }
.done .note { margin-top: 20px; }
.done__ref { margin: 14px 0 0; font-size: 1.05rem; }

.send-error {
	display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px;
	border-radius: var(--radius-sm); background: var(--error-bg); color: var(--error); border: 1px solid #f1c3cd;
}
.send-error .icon { margin-top: 3px; }
.send-error ul { margin: 6px 0; padding-left: 18px; }
.send-error p { margin: 6px 0 0; color: var(--text); }
.send-error:focus { outline: none; box-shadow: var(--focus); }
.btn:disabled { opacity: .65; cursor: progress; }
.field--street { position: relative; }
.ac-list {
	position: absolute; z-index: 30; left: 0; top: calc(100% - 4px); width: max(100%, min(440px, calc(100vw - 48px)));
	margin: 0; padding: 6px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.has-error .ac-list { top: calc(100% - 26px); }
.ac-option { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.ac-option:hover, .ac-option[aria-selected="true"] { background: var(--blue-soft); }
.ac-option__main { font-weight: 600; }
.ac-option__sub { font-size: .85rem; color: var(--muted); }
.ac-google { padding: 6px 12px 2px; font-size: .72rem; color: var(--muted); text-align: right; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Ladung (Seitenleiste) ---------- */

.load {
	background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px;
}
.load__title { margin: 0 0 12px; font-size: 1rem; font-weight: 750; color: var(--black); }
.truck { display: block; width: 100%; height: auto; margin-bottom: 8px; }
.truck__box { fill: var(--surface); stroke: var(--black); stroke-width: 3; }
.truck__load { fill: var(--blue); }
.truck__cab { fill: var(--black); }
.truck__window { fill: #cfe2f3; }
.truck__chassis { fill: var(--black); }
.truck__wheel { fill: var(--black); }
.truck__hub { fill: #9aa7b4; }
.truck__multi { fill: #fff; font-weight: 800; font-size: 22px; font-family: var(--font); }
.load__volume { margin: 4px 0 0; line-height: 1; color: var(--black); }
.load__m3 { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.load__unit { font-size: 1.3rem; font-weight: 700; }
.load__re { margin: 6px 0 14px; color: var(--muted); font-size: .9rem; }
.load__truck {
	display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; padding: 10px 12px;
	border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; font-size: .92rem;
}
.load__truck .icon { margin-top: 2px; }
.load__fact { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .88rem; color: var(--text); }
.load__fact--warn { color: var(--warn); }

/* ---------- Mobile Leiste ---------- */

.mbar { display: none; }

@media (max-width: 959px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { display: none; }
	.step-nav { display: none; }
	.progress__list { display: none; }
	.progress__mobile, .progress__bar { display: block; }
	.progress { padding-top: 16px; }
	html { scroll-padding-bottom: calc(var(--mbar-h) + 24px); }
	body { padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom)); }
	.mbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		min-height: var(--mbar-h); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--surface); border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(0, 40, 80, .08);
	}
	.mbar__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
	.mbar__m3 { font-size: 1.3rem; font-weight: 800; color: var(--blue); }
	.mbar__truck { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mbar__actions { display: flex; gap: 8px; flex: none; }
	.layout--done { padding-top: 24px; }
}

@media (max-width: 600px) {
	.site-header__logo img { width: 150px; }
	.contact-link span { display: none; }
	.contact-link { padding: 10px; }
	.grid--2 { grid-template-columns: 1fr; }
	.grid--own { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.panel, .service-group, .sum-section { padding-left: 16px; padding-right: 16px; }
	.inventory { padding: 4px 14px 14px; }
	.item__main { align-items: flex-start; }
	.stepper__btn { width: 40px; }
	.stepper__value { width: 36px; }
	.sum-dl { grid-template-columns: 1fr; }
	.sum-dl dd { margin-bottom: 6px; }
}

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

.noscript { max-width: 720px; margin: 40px auto; padding: 16px; }

.app {
	max-width: 1160px; margin: 24px auto 0;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 8px 12px 28px;
}
@media (max-width: 1192px) { .app { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 600px) { .app { margin: 12px 8px 0; padding: 4px 0 20px; } }

/* ---------- Hilfe-Popups (Vorlage Umzug Strauch) ---------- */

.pp {
	width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
	padding: 0; border: 0; border-radius: var(--radius); background: transparent; overflow: visible;
}
.pp::backdrop { background: rgba(15, 32, 52, .45); }
.pp[open] { animation: pp-in .22s ease-out; }
@keyframes pp-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pp-card {
	position: relative; max-height: calc(100dvh - 24px); overflow-y: auto;
	padding: 36px 32px 22px; text-align: center;
	background: var(--surface); color: var(--text);
	border-radius: var(--radius); border-top: 6px solid var(--blue);
	box-shadow: 0 14px 45px rgba(0, 43, 73, .15);
}
.pp-card:focus { outline: none; }
.pp-close {
	position: absolute; right: 8px; top: 8px; width: 44px; height: 44px;
	border: 0; background: transparent; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.pp-close:hover { background: var(--blue-soft); color: var(--text); }
.pp-logo { display: block; width: 245px; max-width: 85%; height: auto; margin: 0 auto 28px; }
.pp-label { margin: 0 0 12px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.pp-title { margin: 0 0 14px; font-size: 1.7rem; line-height: 1.2; font-weight: 750; color: var(--text); text-wrap: balance; }
.pp-text { margin: 0 0 24px; font-size: .95rem; line-height: 1.65; color: var(--muted); }
.pp-contacts { display: grid; gap: 10px; text-align: left; }
.pp-contact {
	display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 13px 16px;
	border-radius: var(--radius-sm); background: #f1f7fc; border: 1px solid #dbe8f2;
	color: var(--text); text-decoration: none;
}
.pp-contact:hover { border-color: var(--blue); }
.pp-contact__icon { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-contact strong { display: block; margin-bottom: 2px; font-size: .95rem; }
.pp-contact small { display: block; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.pp-contact--whatsapp { background: #eff9f2; border-color: #d4eadd; }
.pp-contact--whatsapp:hover { border-color: #1e9e52; }
.pp-contact--whatsapp .pp-contact__icon { stroke: #1e9e52; }
.pp-return {
	margin-top: 18px; min-height: 44px; padding: 0 12px; border: 0; background: transparent;
	color: var(--muted); text-decoration: underline; font-size: .85rem; cursor: pointer;
}
.pp-return:hover { color: var(--text); }
@media (max-width: 400px) {
	.pp-card { padding: 32px 20px 18px; }
	.pp-title { font-size: 1.5rem; }
}

/* ---------- Footer (wie www.umzug-strauch.de) ---------- */

.site-footer { margin-top: 72px; color: #7e91aa; font-size: 1rem; }
.sf-contacts { background: #072137; padding: 0 16px; }
.sf-grid {
	list-style: none; margin: 0 auto; padding: 44px 0 48px; max-width: 1160px;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
	border-top: 6px solid #1c3a52;
}
.sf-item { display: flex; align-items: flex-start; gap: 18px; color: inherit; text-decoration: none; border-radius: var(--radius-sm); }
.sf-icon {
	width: 40px; height: 40px; flex: none; margin-top: 2px;
	fill: none; stroke: #7f91aa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
	transition: stroke .15s;
}
.sf-item strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.1rem; font-weight: 600; }
.sf-item span span { display: block; line-height: 1.55; }
.sf-item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.sf-item:hover .sf-icon { stroke: #fff; }
.sf-item:focus-visible { box-shadow: 0 0 0 3px #072137, 0 0 0 5px #fff; }

.sf-bottom { background: #05182b; padding: 0 16px; }
.sf-bottom__inner {
	max-width: 1160px; margin: 0 auto; padding: 22px 0;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.sf-copy { margin: 0; }
.sf-copy a { color: #a9b8ca; font-weight: 600; text-decoration: none; }
.sf-copy a:hover { color: #fff; text-decoration: underline; }
.sf-legal { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-legal a, .sf-reset {
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
	border: 1px solid #1c3a52; border-radius: var(--radius-pill);
	background: transparent; color: #a9b8ca; font-size: .88rem; font-weight: 500; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.sf-legal a:hover, .sf-reset:hover { background: #0f2c45; border-color: #2b4c66; color: #fff; }
.sf-legal a:focus-visible, .sf-reset:focus-visible, .sf-copy a:focus-visible { box-shadow: 0 0 0 2px #05182b, 0 0 0 4px #fff; }

.to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 15;
	width: 52px; height: 52px; display: grid; place-items: center;
	border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 43, 73, .3); transition: background-color .15s, transform .15s;
}
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: var(--blue-deep); transform: translateY(-2px); }
.to-top[hidden] { display: none; }
/* Platz für den „Nach oben“-Knopf, damit er die Links nicht verdeckt. */
@media (min-width: 960px) { .sf-bottom__inner { padding-right: 84px; } }

@media (max-width: 959px) {
	.sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
	.to-top { display: none !important; }
}
@media (max-width: 600px) {
	.site-footer { margin-top: 48px; }
	.sf-grid { grid-template-columns: 1fr; padding: 32px 0 36px; gap: 24px; }
	.sf-icon { width: 34px; height: 34px; }
	.sf-bottom__inner { flex-direction: column; align-items: flex-start; }
}
