:root {
  --ink: #101820;
  --ink-soft: #1d2933;
  --paper: #f3f5f6;
  --white: #ffffff;
  --muted: #65717c;
  --line: rgba(16, 24, 32, 0.14);
  --accent: #bd3e16;
  --accent-dark: #b7350e;
  --lime: #dce3e8;
  --radius: 1rem;
  --shadow: 0 1.5rem 4rem rgba(16, 24, 32, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: weight;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-size: 1rem; line-height: 1.6; background: var(--paper); }
main, section, .shell, .hero-grid > *, .cross-border > *, .form-wrap > *, .field-grid > *, .card { min-width: 0; }
h1, h2, h3, p, strong { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.shell { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(16,24,32,.94); backdrop-filter: blur(14px); color: var(--white); }
.nav { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 2.35rem; height: 2.35rem; flex: 0 0 2.35rem; display: grid; place-items: center; border-radius: .55rem; background: var(--accent); font-size: .8rem; }
.nav-links { display: none; align-items: center; gap: 1.5rem; font-size: .93rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--lime); }
.nav-links a[aria-current="page"] { color: #f59a7e; }
.language { display: flex; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; font-size: .875rem; font-weight: 800; }
.language a { padding: .45rem .62rem; }
.language .active { background: var(--white); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.desktop-cta { display: none; }

.button { min-height: 3.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 0; border-radius: .65rem; padding: .75rem 1.15rem; background: var(--accent); color: var(--white); font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-dark); }
.button.secondary { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.35); }
.button.secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button.dark { background: var(--ink); }
.button.dark:hover { background: #293743; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; border-bottom: 1px solid currentColor; }

.hero { overflow: hidden; position: relative; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; right: -15rem; top: -8rem; border: 5rem solid rgba(255,255,255,.035); border-radius: 50%; pointer-events: none; }
.hero-grid { display: grid; align-items: center; gap: 2.25rem; padding-block: 2.65rem 3.25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: var(--accent); font-size: .78rem; line-height: 1.2; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.7rem; height: 2px; background: currentColor; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(1.9rem, 7.5vw, 4.65rem); line-height: 1.07; letter-spacing: -.045em; hyphens: none; overflow-wrap: normal; text-wrap: balance; }
.hero-lead { max-width: 660px; margin: 1.25rem 0 0; color: #d5dce1; font-size: clamp(1rem, 1.8vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-panel { position: relative; min-height: 17rem; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: linear-gradient(145deg, #26333c, #17232c); }
.hero-image { width: 100%; height: 100%; min-height: 17rem; display: block; object-fit: cover; object-position: center; }
.hero-image-placeholder { width: calc(100% - 2rem); min-height: 14rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.25rem; border: 1px dashed rgba(255,255,255,.48); border-radius: .55rem; color: #d9e0e4; }
.hero-image-placeholder strong { display: block; margin-top: .35rem; color: var(--white); font-size: 1.35rem; line-height: 1.25; }
.hero-image-placeholder > span:last-child { font-size: .9rem; }
.placeholder-kicker { font-size: .75rem; font-weight: 800; letter-spacing: .15em; color: #bac6cd; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr; }
.trust-item { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

section { scroll-margin-top: 5.5rem; }
.section { padding-block: 4.25rem; }
.section.alt { background: var(--white); }
.section.dark-section { color: var(--white); background: var(--ink); }
.section-head { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.section-head h2 { max-width: 740px; margin: 0; font-size: clamp(2rem, 7vw, 3.65rem); line-height: 1.02; letter-spacing: -.045em; }
.section-head p { max-width: 660px; margin: 0; color: var(--muted); }
.dark-section .section-head p { color: #b9c2c9; }

.cards { display: grid; gap: 1rem; }
.card { position: relative; overflow: hidden; min-height: 12rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card.accent { color: var(--white); background: #253540; border-color: transparent; box-shadow: inset 0 3px var(--accent); }
.card h3 { margin: 0 0 .6rem; font-size: 1.4rem; line-height: 1.15; }
.card p { margin: 0 0 1.4rem; color: var(--muted); }
.card.accent p { color: rgba(255,255,255,.82); }
.card-number { display: block; margin-bottom: 1.8rem; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.card.accent .card-number { color: #f59a7e; }

.formats { display: grid; }
.format-row { display: grid; gap: .6rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.format-row:last-child { border-bottom: 1px solid var(--line); }
.format-row h3, .format-row p { margin: 0; }
.format-row h3 { font-size: 1.25rem; }
.format-row p { color: var(--muted); }
.tag { justify-self: start; padding: .28rem .62rem; border-radius: 999px; background: #e9edf0; color: var(--ink-soft); font-size: .78rem; font-weight: 800; }

.process { counter-reset: step; display: grid; gap: 1.6rem; }
.step { position: relative; padding-left: 4.2rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; top: 0; color: var(--lime); font-size: 1.25rem; font-weight: 900; }
.step h3 { margin: 0 0 .35rem; font-size: 1.18rem; }
.step p { margin: 0; color: #b9c2c9; }

.cross-border { display: grid; gap: 2rem; align-items: center; }
.country-map { min-height: 17rem; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.country { position: absolute; display: grid; place-items: center; width: 10rem; height: 10rem; border-radius: 50%; font-weight: 900; letter-spacing: .08em; }
.country.hu { left: 8%; bottom: 12%; background: #385063; }
.country.at { right: 8%; top: 12%; color: var(--ink); background: #dce3e8; }
.country-map::after { content: "↔"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 3rem; font-weight: 900; }
.cross-copy h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.03; letter-spacing: -.045em; }
.cross-copy p { color: var(--muted); }

.project-placeholder { min-height: 11rem; display: grid; place-items: center; padding: 1.5rem; border: 2px dashed #aab3ba; border-radius: var(--radius); background: linear-gradient(145deg, #edf0f2, #fafafa); text-align: center; }
.project-placeholder strong { display: block; font-size: 1.2rem; }
.project-placeholder span { display: block; max-width: 42rem; margin-top: .5rem; color: var(--muted); }
.project-grid { display: grid; gap: 1rem; }
.project-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 .75rem 2.2rem rgba(16,24,32,.07); }
.project-card img { width: 100%; aspect-ratio: 3 / 4; display: block; object-fit: cover; background: #dfe4e7; }
.project-card figcaption { display: grid; gap: .15rem; padding: 1rem 1.1rem 1.1rem; }
.project-card figcaption strong { font-size: 1rem; }
.project-card figcaption span { color: var(--muted); font-size: .86rem; }

/* A magyar referenciafotóknál kizárólag a hirdetési felület kap hangsúlyt. */
html[lang="hu"] .project-card img,
html[lang="hu"] .agency-photo-strip img {
  height: clamp(8rem, 11vw, 10.5rem);
  aspect-ratio: auto;
  object-fit: cover;
}
html[lang="hu"] .project-card img[src*="project-becsi-ingatlan"] { object-position: center 67%; }
html[lang="hu"] .project-card img[src*="project-solux"] { object-position: center 60%; }
html[lang="hu"] .project-card img[src*="project-eo"] { object-position: center 64%; }
html[lang="hu"] .agency-regions { grid-template-columns: minmax(0, 1fr); }
html[lang="hu"] .agency-photo-strip {
  grid-template-columns: repeat(3, minmax(16rem, 1fr));
  overflow-x: auto;
  padding-bottom: .4rem;
  scroll-snap-type: x proximity;
}
html[lang="hu"] .agency-photo-strip img { scroll-snap-align: start; }
html[lang="hu"] .agency-photo-strip img[src*="project-becsi-ingatlan"] { object-position: center 71%; }
html[lang="hu"] .agency-photo-strip img[src*="project-solux"] { object-position: center 64%; }
html[lang="hu"] .agency-photo-strip img[src*="project-eo"] { object-position: center 69%; }

/* A német oldalon az eredeti rendszámokkal, egységes reklámközpontú kivágással. */
html[lang="de-AT"] .project-card img {
  height: clamp(10rem, 12vw, 13rem);
  aspect-ratio: auto;
  object-fit: cover;
}
html[lang="de-AT"] .agency-photo-strip img {
  height: clamp(8rem, 9vw, 11rem);
  aspect-ratio: auto;
  object-fit: cover;
}
html[lang="de-AT"] .project-card img[src*="project-eo"],
html[lang="de-AT"] .agency-photo-strip img[src*="project-eo"] { object-position: center 70%; }
html[lang="de-AT"] .project-card img[src*="project-laxenburg"],
html[lang="de-AT"] .agency-photo-strip img[src*="project-laxenburg"] { object-position: center 72%; }
html[lang="de-AT"] .project-card img[src*="project-parndorf"],
html[lang="de-AT"] .agency-photo-strip img[src*="project-parndorf"] { object-position: center 72%; }
html[lang="de-AT"] .agency-regions { grid-template-columns: minmax(0, 1fr); }
html[lang="de-AT"] .agency-photo-strip {
  grid-template-columns: repeat(3, minmax(16rem, 1fr));
  overflow-x: auto;
  padding-bottom: .4rem;
  scroll-snap-type: x proximity;
}
html[lang="de-AT"] .agency-photo-strip img { scroll-snap-align: start; }

.agency-intro { display: grid; gap: 1.5rem; align-items: start; }
.agency-intro h2, .agency-benefits h2, .agency-regions h2, .agency-cta h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.65rem); line-height: 1.03; letter-spacing: -.045em; }
.agency-intro-copy { max-width: 52rem; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.agency-intro-copy strong { display: block; margin-bottom: .7rem; color: var(--ink); font-size: 1.15em; }
.agency-benefits { display: grid; gap: 2rem; }
.benefit-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.benefit-list li { position: relative; padding: .95rem 1rem .95rem 3rem; border: 1px solid rgba(255,255,255,.16); border-radius: .75rem; background: rgba(255,255,255,.04); color: #d9e0e4; }
.benefit-list li::before { content: "✓"; position: absolute; left: 1rem; top: .9rem; color: #f59a7e; font-weight: 900; }
.agency-protection { margin-top: 1.5rem; padding: 1.4rem; border-left: 4px solid var(--accent); border-radius: .3rem var(--radius) var(--radius) .3rem; background: var(--white); color: var(--ink); }
.agency-protection h3 { margin: 0 0 .45rem; font-size: 1rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.agency-protection strong { display: block; font-size: clamp(1.35rem, 3.5vw, 2rem); line-height: 1.18; }
.agency-protection p { margin: .65rem 0 0; color: var(--muted); }
.agency-regions { display: grid; gap: 2rem; }
.region-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.region-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.region-card h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.region-card p { margin: 0; color: var(--muted); }
.agency-photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.agency-photo-strip img { width: 100%; aspect-ratio: 3 / 4; display: block; object-fit: cover; border-radius: .7rem; background: #dfe4e7; }
.agency-cta { display: grid; gap: 1.35rem; align-items: center; }
.agency-cta p { margin: .7rem 0 0; color: #c4ccd2; }
.agency-cta .button { justify-self: start; }

.faq { display: grid; gap: .7rem; }
details { border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
summary { cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 800; }
details p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--muted); }

.form-wrap { display: grid; gap: 2.5rem; }
.form-copy h2 { margin: 0; font-size: clamp(2.1rem, 8vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.form-copy p { color: #c4ccd2; }
.contact-placeholder { margin-top: 1.5rem; padding: 1rem; border: 1px dashed rgba(255,255,255,.35); border-radius: .9rem; color: #c4ccd2; font-size: .9rem; }
.contact-placeholder a, .placeholder-data a { color: var(--white); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.lead-form { display: grid; gap: 1rem; padding: 1.35rem; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.form-notice { margin: 0; padding: .9rem 1rem; border-left: 3px solid var(--accent); border-radius: .4rem; background: #f3f5f6; font-size: .9rem; line-height: 1.45; }
.form-status { margin: 0; padding: .75rem 1rem; border-radius: .5rem; background: #e9f3f0; color: #153a30; font-size: .9rem; }
.form-status[hidden] { display: none; }
.field-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 750; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .7rem .8rem; border: 1px solid #c8d0d5; border-radius: .65rem; background: var(--white); color: var(--ink); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(255,90,31,.25); border-color: var(--accent); }
.form-note { margin: 0; color: var(--muted); font-size: .875rem; }
.form-note a, .footer-links a { text-decoration: underline; text-underline-offset: .18em; }

.legal-page { min-height: 55vh; padding-block: clamp(3rem, 8vw, 6rem); background: var(--white); }
.legal-page h1 { max-width: 48rem; margin: 0 0 1rem; font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.05; }
.legal-page p { max-width: 45rem; color: var(--muted); }
.legal-page .legal-placeholder { max-width: 45rem; margin: 2rem 0; padding: 1.25rem; border: 1px dashed #aab3ba; border-radius: var(--radius); background: var(--paper); }
.legal-page .legal-placeholder p { margin: 0; }
.legal-page a:not(.button) { text-decoration: underline; text-underline-offset: .18em; }
.legal-warning { padding-left: 1rem; border-left: 3px solid var(--accent); }

.site-footer { padding-block: 2.5rem 6rem; background: #0b1117; color: var(--white); }
.footer-grid { display: grid; gap: 2rem; }
.footer-copy { color: #aeb8c0; font-size: .9rem; }
.placeholder-data { padding: .75rem; border: 1px dashed rgba(255,255,255,.25); border-radius: .75rem; color: #aeb8c0; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }

@media (min-width: 700px) {
  .shell { width: min(1160px, calc(100% - 3rem)); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item { padding: 1.25rem 1.5rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .trust-item:first-child { padding-left: 0; }
  .trust-item:last-child { border-right: 0; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .format-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; column-gap: 1.25rem; }
  .format-row .tag { grid-column: 2; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agency-intro { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .agency-benefits { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agency-cta { grid-template-columns: minmax(0, 1fr) auto; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}

@media (min-width: 1120px) {
  .nav-links { display: flex; }
  .desktop-cta { display: inline-flex; }
  .hero-grid { min-height: 36rem; grid-template-columns: minmax(0, 1.65fr) minmax(0, .75fr); gap: 2rem; padding-block: 3.25rem; }
  .form-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel { min-height: 26rem; }
  .section-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .agency-regions { grid-template-columns: minmax(0, 1fr) minmax(24rem, .8fr); }
  .step { padding: 4rem 1.2rem 0 0; border-top: 1px solid rgba(255,255,255,.2); }
  .step::before { top: .8rem; }
  .site-footer { padding-bottom: 2.5rem; }
}

@media (min-width: 900px) {
  .cross-border { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.65fr) minmax(10rem, .65fr); }
  .format-row .tag { grid-column: auto; justify-self: end; }
}

@media (max-width: 699px) {
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .agency-cta .button { width: 100%; }
  .section { padding-block: 4rem; }
  .brand { gap: .45rem; font-size: .9rem; white-space: nowrap; }
  .language a { padding: .4rem .5rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(1.65rem, 8.2vw, 1.9rem); }
}

@media (max-width: 420px) {
  .country-map { min-height: 15rem; }
  .country { width: 7.5rem; height: 7.5rem; }
  .country-map::after { font-size: 2rem; }
}

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

/* Accessible navigation and feedback without changing the established layout. */
.hero .eyebrow, .dark-section .eyebrow { color: #f59a7e; }
.mobile-menu { color: var(--white); background: transparent; border-color: rgba(255,255,255,.4); border-radius: .5rem; }
.mobile-menu summary { padding: .6rem .7rem; min-height: 44px; font-size: .875rem; }
.mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; display: grid; gap: .25rem; max-height: calc(100dvh - 5rem); overflow-y: auto; background: var(--ink); border-top: 1px solid rgba(255,255,255,.25); box-shadow: var(--shadow); }
.mobile-menu nav a { display: block; padding: .7rem 1rem; min-height: 44px; }
.mobile-menu nav a[aria-current="page"] { color: #f59a7e; }
.mobile-menu nav .button { margin-top: .5rem; }
.honeypot { display: none; }
.button:disabled { cursor: wait; opacity: .75; transform: none; }
.form-status[data-state="error"] { color: #7d2119; background: #fff0ed; }
.reference-note { max-width: 55rem; margin: 0; color: var(--muted); font-size: .9rem; }
.legal-page h2 { max-width: 48rem; margin: 2rem 0 .6rem; font-size: 1.4rem; line-height: 1.3; }
.legal-page ul { max-width: 45rem; padding-left: 1.3rem; color: var(--muted); }
:focus-visible { outline: 3px solid #3380be; outline-offset: 3px; }
@media (min-width: 1120px) { .mobile-menu { display: none; } }
@media (max-width: 420px) { .nav { flex-wrap: wrap; padding-block: .6rem; } .header-actions { margin-left: auto; } }
