:root {
  --red: #e43b32;
  --blue: #2f5ea8;
  --green: #49f20b;
  --ink: #111214;
  --paper: #f6f6f3;
  --muted: #62676d;
  --border: #d8d9d5;
  --white: #fff;
  --shadow-blue: rgba(12, 30, 58, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 7px; color: white; background: var(--red); font-size: .94rem; font-weight: 800; box-shadow: 0 10px 24px rgba(228, 59, 50, .2); transition: transform .18s ease, filter .18s ease; }
.button:hover, .button:focus-visible { filter: brightness(.94); transform: translateY(-2px); }
.button-outline { color: white; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.07); box-shadow: none; }
.button-secondary { color: var(--ink); background: #ecece8; box-shadow: none; }
.button-danger { background: #a82020; box-shadow: none; }
.button-small { min-height: 38px; padding: 0 13px; font-size: .8rem; }

.site-header { position: relative; z-index: 20; min-height: 84px; display: grid; grid-template-columns: minmax(240px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 28px; padding: 15px clamp(20px, 5vw, 76px); background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(17,18,20,.12); }
.brand-link { justify-self: start; }
.brand-logo { width: clamp(220px, 21vw, 330px); height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 34px); font-size: .9rem; font-weight: 700; }
.desktop-nav a { position: relative; padding: 12px 0; white-space: nowrap; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--red); transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .desktop-nav a[aria-current="page"]::after { right: 0; }
.header-cta { justify-self: end; }

.hero { position: relative; min-height: calc(100svh - 84px); display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; overflow: hidden; color: white; background: var(--ink); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 80% 40%, rgba(228,59,50,.24), transparent 32%), linear-gradient(112deg, #111214 0 57%, #183760 57% 71%, #2f5ea8 71% 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; opacity: .17; background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 40%, #000 72%); }
.hero-content { position: relative; z-index: 3; width: min(790px, 100%); padding: clamp(68px, 9vw, 126px) 30px 158px clamp(20px, 7vw, 108px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: .82rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 38px; height: 4px; background: var(--green); }
h1 { max-width: 850px; margin: 0; font-size: clamp(3.5rem, 7.8vw, 7.4rem); line-height: .9; letter-spacing: -.07em; font-weight: 900; }
h1 span { display: block; color: #ef443a; }
.hero-copy { max-width: 650px; margin: 30px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.primary-cta, .button-outline { min-height: 52px; }
.hero-visual { position: relative; z-index: 2; align-self: stretch; min-height: 680px; pointer-events: none; }
.hero-burst { position: absolute; width: min(44vw, 660px); aspect-ratio: 1; left: 45%; top: 47%; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-conic-gradient(from 5deg, rgba(73,242,11,.18) 0 2deg, transparent 2deg 10deg); filter: drop-shadow(0 0 44px rgba(73,242,11,.12)); }
.hero-mascot { position: absolute; z-index: 2; width: min(37vw, 610px); max-width: none; left: 45%; bottom: 78px; transform: translateX(-50%); filter: drop-shadow(0 30px 22px rgba(0,0,0,.44)); }
.hero-stamp { position: absolute; z-index: 4; right: clamp(20px, 5vw, 70px); top: 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 150px; height: 150px; margin: 0; padding: 18px; border: 3px solid var(--green); border-radius: 50%; color: white; background: rgba(17,18,20,.86); text-align: center; transform: rotate(8deg); box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.hero-stamp b { color: var(--green); font-size: 1.7rem; line-height: 1; letter-spacing: -.05em; }
.hero-stamp span { display: flex; flex-direction: column; gap: 1px; font-size: .72rem; font-weight: 900; line-height: 1.1; letter-spacing: .11em; text-transform: uppercase; }
.hero-stamp em { color: rgba(255,255,255,.72); font-size: .61rem; font-style: normal; letter-spacing: .15em; }
.hero-facts { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); color: white; background: rgba(14,16,19,.86); border-top: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); }
.hero-facts span { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 20px clamp(20px, 5vw, 76px); border-right: 1px solid rgba(255,255,255,.16); font-size: .9rem; font-weight: 750; }
.hero-facts b { color: var(--red); font-size: .73rem; letter-spacing: .08em; }

.section { padding: clamp(82px, 10vw, 150px) clamp(20px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); column-gap: 70px; align-items: end; margin-bottom: 60px; }
.section-kicker { grid-column: 1 / -1; margin: 0 0 18px; color: var(--red); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker.light { color: #ff756e; }
.section-heading h2, .company-copy h2, .contact-copy h2, .campaign-copy h2 { margin: 0; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: .96; letter-spacing: -.06em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.service-card { min-height: 315px; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 42px); background: rgba(255,255,255,.55); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.service-card:hover { position: relative; z-index: 1; transform: translateY(-4px); background: white; box-shadow: inset 0 4px 0 var(--green), 0 18px 50px rgba(17,18,20,.09); }
.service-card-top { display: flex; justify-content: space-between; color: var(--blue); font-size: .78rem; font-weight: 900; }
.service-card-top b { color: #8d9196; }
.service-card h3 { margin: 48px 0 12px; font-size: 1.35rem; }
.service-card p { margin: 0 0 26px; color: var(--muted); line-height: 1.65; }
.service-card a, .text-link, .campaign-link, .footer-link { display: inline-flex; width: fit-content; margin-top: auto; font-size: .88rem; font-weight: 850; }

.campaign { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr); color: white; background: var(--ink); }
.campaign-art { position: relative; min-height: 680px; display: flex; align-items: center; margin: 0; overflow: hidden; background: #780500; }
.campaign-art img { width: 100%; height: auto; object-fit: contain; }
.campaign-art figcaption { position: absolute; left: 22px; bottom: 22px; padding: 9px 12px; color: rgba(255,255,255,.82); background: rgba(17,18,20,.8); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.campaign-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 130px) clamp(28px, 6vw, 92px); }
.campaign-copy > p:not(.section-kicker) { margin: 28px 0 36px; color: rgba(255,255,255,.66); font-size: 1.02rem; line-height: 1.7; }
.campaign-areas { margin: 0 0 38px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.campaign-areas li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 15px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.campaign-areas span { color: var(--green); font-size: .72rem; }
.campaign-areas small { color: rgba(255,255,255,.5); }
.campaign-link { color: #ff756e; }

.company-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: clamp(60px, 10vw, 160px); background: white; }
.company-copy > p:not(.section-kicker) { max-width: 690px; margin: 30px 0; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.text-link { color: var(--red); }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.process-list > li > span { color: var(--blue); font-size: .76rem; font-weight: 850; }
.process-list h3 { margin: 0 0 7px; font-size: 1.18rem; }
.process-list p { margin: 0; color: var(--muted); line-height: 1.55; }

.contact-section { display: grid; grid-template-columns: minmax(330px, .72fr) minmax(520px, 1.28fr); gap: clamp(46px, 7vw, 108px); align-items: start; padding: clamp(82px, 10vw, 145px) clamp(20px, 7vw, 108px); color: white; background: var(--blue); }
.contact-copy > p:not(.section-kicker) { margin: 26px 0 0; color: rgba(255,255,255,.76); font-size: 1.04rem; line-height: 1.7; }
.brief-list { display: flex; flex-wrap: wrap; gap: 13px 24px; margin: 28px 0 34px; padding: 0; list-style: none; font-size: .9rem; font-weight: 750; }
.contact-panel { position: relative; margin-top: 112px; padding-top: 146px; }
.contact-mascot { position: absolute; z-index: 0; width: 270px; top: -106px; right: 8px; filter: drop-shadow(0 12px 12px rgba(12,30,58,.3)); }
.contact-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 46px); color: var(--ink); background: white; border-radius: 4px; box-shadow: 18px 18px 0 var(--shadow-blue); font-style: normal; }
.contact-card .brand-logo { width: min(100%, 315px); margin-bottom: 8px; }
.contact-card p { margin: 0; line-height: 1.55; }
.contact-card p span { padding-left: 22px; }
.contact-card a { font-weight: 750; word-break: break-word; }

.inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding: clamp(28px, 4.5vw, 58px); color: var(--ink); background: white; border-radius: 4px; box-shadow: 18px 18px 0 var(--shadow-blue); }
.form-heading { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.form-heading span { color: var(--red); font-size: .75rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.form-heading h3 { margin: 9px 0 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.05em; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label, .setup-form label, .admin-form label, .admin-upload-form label { display: flex; flex-direction: column; gap: 8px; font-size: .84rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea, .setup-form input, .setup-form select, .admin-form input, .admin-form textarea, .admin-upload-form input { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #cfd1d3; border-radius: 3px; color: var(--ink); background: #f8f8f6; font-size: 1rem; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .setup-form input:focus, .admin-form input:focus, .admin-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,94,168,.16); }
.form-field textarea { min-height: 148px; line-height: 1.55; resize: vertical; }
.privacy-check { display: flex; gap: 11px; color: #575c63; font-size: .82rem; line-height: 1.5; }
.privacy-check input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px; }
.privacy-check a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.form-submit { display: flex; align-items: center; gap: 18px; }
.form-submit small { max-width: 310px; color: #696e74; font-size: .74rem; line-height: 1.45; }
.turnstile-wrap { min-height: 66px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.flash { grid-column: 1 / -1; padding: 14px 16px; border-left: 4px solid var(--blue); color: var(--ink); background: #eef3fb; line-height: 1.5; }
.flash-success { border-color: #29943c; background: #edf8ef; }
.flash-error { border-color: #b62222; background: #fff0f0; }

.subpage-hero { position: relative; min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); align-items: center; overflow: hidden; color: white; background: linear-gradient(112deg, #111214 0 58%, #183760 58% 72%, #2f5ea8 72% 100%); isolation: isolate; }
.subpage-hero-copy { padding: clamp(70px, 9vw, 132px) 30px clamp(82px, 10vw, 145px) clamp(20px, 7vw, 108px); }
.subpage-hero-copy > p:last-child { max-width: 660px; margin: 30px 0 0; color: rgba(255,255,255,.74); font-size: 1.08rem; line-height: 1.7; }
.subpage-mascot { position: relative; align-self: stretch; min-height: 650px; }
.subpage-mascot img { position: absolute; width: min(38vw, 590px); max-width: none; left: 44%; bottom: -38%; transform: translateX(-50%); filter: drop-shadow(0 30px 25px rgba(0,0,0,.4)); }
.team-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: clamp(80px, 10vw, 145px) clamp(20px, 7vw, 108px); background: white; }
.team-member-card { overflow: hidden; border: 1px solid var(--border); background: var(--paper); }
.team-member-visual { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; color: white; background: var(--blue); }
.team-member-visual img { width: 100%; height: 100%; object-fit: cover; }
.team-member-visual span { display: grid; place-items: center; width: 112px; height: 112px; border: 3px solid white; border-radius: 50%; font-size: 2rem; font-weight: 900; }
.team-member-copy { padding: 28px; }
.team-member-copy > p { margin: 0 0 8px; color: var(--red); font-size: .73rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.team-member-copy h2 { margin: 0 0 18px; font-size: 1.7rem; }
.team-member-copy div { color: var(--muted); line-height: 1.65; }
.team-disciplines { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(20px, 7vw, 108px) clamp(80px, 10vw, 145px); background: white; }
.team-disciplines article { padding: 36px; border: 1px solid var(--border); border-right: 0; }
.team-disciplines article:last-child { border-right: 1px solid var(--border); }
.team-disciplines span { color: var(--blue); font-size: .73rem; font-weight: 850; }
.team-disciplines h3 { margin: 35px 0 12px; font-size: 1.25rem; }
.team-disciplines p { margin: 0; color: var(--muted); line-height: 1.65; }

.reference-hero { padding: clamp(90px, 12vw, 170px) clamp(20px, 7vw, 108px); color: white; background: var(--ink); }
.reference-hero h1 { max-width: 1050px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 38px); padding: clamp(42px, 6vw, 86px) clamp(20px, 7vw, 108px) clamp(82px, 10vw, 145px); background: white; }
.project-card { min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--border); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover, .project-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(17,18,20,.12); }
.project-card-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.project-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-card-visual img { transform: scale(1.035); }
.project-card-visual span { position: absolute; right: 13px; bottom: 13px; padding: 7px 10px; color: white; background: rgba(17,18,20,.82); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.project-card-copy { min-height: 178px; display: flex; flex-direction: column; padding: 25px; }
.project-card-copy > p { display: -webkit-box; margin: 0 0 10px; overflow: hidden; font-size: 1.28rem; font-weight: 850; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.project-card-copy > div { display: -webkit-box; margin: 0 0 20px; overflow: hidden; color: var(--muted); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.project-card-copy > strong { margin-top: auto; color: var(--red); font-size: .84rem; }
.projects-empty { grid-column: 1 / -1; margin: 0; padding: 40px; color: var(--muted); background: var(--paper); text-align: center; }
.project-detail-hero { padding: clamp(80px, 10vw, 145px) clamp(20px, 7vw, 108px); color: white; background: linear-gradient(112deg, #111214 0 69%, #2f5ea8 69% 100%); }
.project-detail-hero h1 { max-width: 1100px; }
.project-detail-hero div > p:not(.eyebrow) { max-width: 820px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: 1.06rem; line-height: 1.75; }
.project-detail-hero a { display: inline-flex; margin-top: 34px; color: #ff756e; font-size: .88rem; font-weight: 850; }
.project-detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); padding: clamp(42px, 6vw, 86px) clamp(20px, 7vw, 108px) clamp(82px, 10vw, 145px); background: white; }
.project-detail-gallery a { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.project-detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project-detail-gallery a:hover img, .project-detail-gallery a:focus-visible img { transform: scale(1.025); }

.client-logo-band { display: grid; grid-template-columns: minmax(280px, .52fr) minmax(560px, 1.48fr); gap: clamp(40px, 6vw, 95px); align-items: center; padding: clamp(58px, 7vw, 92px) clamp(20px, 7vw, 108px); background: white; border-top: 1px solid var(--border); }
.client-logo-heading h2 { max-width: 520px; margin: 0; font-size: clamp(2rem, 3.4vw, 3.7rem); line-height: 1; letter-spacing: -.055em; }
.client-logo-band > img { width: 100%; height: auto; mix-blend-mode: multiply; }

.site-footer { padding: clamp(62px, 8vw, 110px) clamp(20px, 7vw, 108px) 28px; color: #e9eaec; background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr auto auto; align-items: end; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-top .brand-logo { width: min(100%, 340px); }
.footer-top p { margin: 0; color: rgba(255,255,255,.58); line-height: 1.6; }
.footer-page-links { display: flex; gap: 20px; color: rgba(255,255,255,.7); font-size: .84rem; font-weight: 750; }
.footer-link { color: #ff756e; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 28px; color: rgba(255,255,255,.48); font-size: .78rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }

/* Rechtliche Seiten */
.legal-hero { padding: clamp(82px, 10vw, 145px) clamp(20px, 7vw, 108px); color: white; background: linear-gradient(112deg, #111214 0 72%, #2f5ea8 72% 100%); }
.legal-hero h1 { max-width: 1050px; }
.legal-hero p:last-child { max-width: 720px; margin: 26px 0 0; color: rgba(255,255,255,.7); font-size: 1.04rem; line-height: 1.7; }
.legal-page-shell { padding: clamp(58px, 8vw, 112px) clamp(20px, 7vw, 108px); background: white; }
.legal-document { width: min(880px, 100%); }
.legal-document h2 { margin: 52px 0 15px; padding-top: 8px; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document p, .legal-document li { color: #4f545a; line-height: 1.75; }
.legal-document p { margin: 0 0 18px; }
.legal-document ul { margin: 0 0 22px; padding-left: 22px; }
.legal-document a { color: var(--blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.legal-document strong { color: var(--ink); }
.legal-document address { margin: 0 0 20px; color: #4f545a; font-style: normal; line-height: 1.75; }
.legal-document .legal-note { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--border); color: #777c82; font-size: .82rem; }

/* Einrichtung und Verwaltung */
.setup-body, .admin-body { min-height: 100vh; background: #ecece8; }
.setup-shell { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 50px 0 90px; }
.setup-logo { width: min(430px, 85vw); margin-bottom: 45px; }
.setup-intro, .admin-title { margin-bottom: 35px; }
.setup-intro h1, .admin-title h1, .admin-login-card h1 { max-width: 850px; margin: 0; font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: .94; letter-spacing: -.06em; }
.setup-intro > p:last-child, .admin-title > p:last-child { max-width: 700px; color: var(--muted); line-height: 1.65; }
.admin-kicker { margin: 0 0 13px; color: var(--red); font-size: .73rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.setup-form, .setup-card, .admin-panel, .admin-login-card { padding: clamp(24px, 4vw, 46px); background: white; box-shadow: 12px 12px 0 rgba(47,94,168,.15); }
.setup-form { display: grid; gap: 28px; }
.setup-form fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 26px 0 0; border: 0; border-top: 1px solid var(--border); }
.setup-form legend { padding: 0 0 14px; font-size: 1.2rem; font-weight: 850; }
.setup-form .button { justify-self: start; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px clamp(20px, 5vw, 70px); background: white; border-bottom: 1px solid var(--border); }
.admin-header img { width: min(320px, 60vw); }
.admin-header nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: .88rem; font-weight: 750; }
.admin-main { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: clamp(50px, 8vw, 100px) 0; }
.admin-login-card { max-width: 560px; margin: 30px auto; }
.admin-form { display: grid; gap: 18px; margin-top: 28px; }
.admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-wide { grid-column: 1 / -1; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.admin-dashboard-card { padding: 42px; color: white; background: var(--blue); transition: transform .2s ease; }
.admin-dashboard-card:nth-child(2) { background: var(--red); }
.admin-dashboard-card:hover { transform: translateY(-4px); }
.admin-dashboard-card span { font-size: 3.2rem; font-weight: 900; }
.admin-dashboard-card h2 { margin: 35px 0 10px; font-size: 1.8rem; }
.admin-dashboard-card p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }
.admin-panel { margin-bottom: 35px; }
.admin-panel > h2 { margin: 0 0 26px; }
.admin-upload-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: end; }
.admin-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 24px; }
.admin-image-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); background: var(--paper); cursor: grab; }
.admin-image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-image-card > div:not(.admin-card-actions) { padding: 18px; }
.admin-image-card p { margin: 0 0 7px; font-weight: 750; }
.admin-image-card span { color: var(--muted); font-size: .77rem; }
.admin-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 0 18px 18px; }
.is-hidden { opacity: .48; }
.is-dragging { opacity: .35; outline: 3px solid var(--green); }
.admin-team-list { display: grid; gap: 25px; margin-bottom: 24px; }
.admin-team-card { display: grid; grid-template-columns: 160px 1fr auto; gap: 22px; padding: 22px; border: 1px solid var(--border); background: var(--paper); cursor: grab; }
.admin-team-photo { display: grid; place-items: center; min-height: 160px; color: white; background: var(--blue); }
.admin-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.admin-team-photo span { font-weight: 900; }
.admin-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.admin-project-list { display: grid; gap: 30px; margin-bottom: 28px; }
.admin-project-card { overflow: hidden; border: 1px solid var(--border); background: var(--paper); cursor: grab; }
.admin-project-summary { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 24px; padding: 18px; color: white; background: var(--ink); }
.admin-project-summary img { width: 170px; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-project-summary div { display: flex; flex-direction: column; gap: 7px; }
.admin-project-summary strong { font-size: 1.2rem; }
.admin-project-summary span { color: rgba(255,255,255,.62); font-size: .8rem; }
.admin-project-edit { padding: 24px; margin: 0; cursor: default; }
.admin-project-images { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 24px 24px; }
.admin-project-image { position: relative; overflow: hidden; border: 2px solid transparent; background: white; }
.admin-project-image.is-cover { border-color: var(--green); }
.admin-project-image > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.admin-project-image > span { position: absolute; left: 7px; top: 7px; padding: 5px 7px; color: white; background: rgba(17,18,20,.82); font-size: .66rem; font-weight: 800; }
.admin-project-image > div { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
.admin-project-card > .admin-card-actions { padding: 0 24px 24px; }
.admin-order-form { margin-top: 25px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; gap: 8px 24px; }
  .desktop-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 28px; overflow-x: auto; scrollbar-width: none; }
  .desktop-nav::-webkit-scrollbar { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding-bottom: 555px; }
  .hero-visual { position: absolute; inset: auto 0 0; min-height: 590px; }
  .hero-mascot { width: min(74vw, 500px); left: 68%; bottom: 160px; }
  .hero-burst { width: min(80vw, 600px); left: 66%; top: 37%; }
  .hero-stamp { top: 16%; right: 9%; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts span { min-height: 58px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .campaign { grid-template-columns: 1fr; }
  .campaign-art { min-height: 56vw; }
  .company-section, .contact-section { grid-template-columns: 1fr; }
  .contact-panel { max-width: 620px; }
  .inquiry-form { max-width: 800px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-page-links { justify-self: end; }
  .footer-link { grid-column: 1 / -1; }
  .subpage-hero { grid-template-columns: 1fr; min-height: 940px; }
  .subpage-hero-copy { align-self: start; padding-bottom: 430px; }
  .subpage-mascot { position: absolute; inset: auto 0 0; min-height: 510px; }
  .subpage-mascot img { width: min(70vw, 480px); left: 68%; bottom: -38%; }
  .team-directory { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-project-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo-band { grid-template-columns: 1fr; }
  .client-logo-heading h2 { max-width: 760px; }
  .admin-upload-form { grid-template-columns: 1fr; }
  .admin-gallery { grid-template-columns: repeat(2, 1fr); }
  .admin-team-card { grid-template-columns: 140px 1fr; }
  .admin-team-card > .admin-card-actions { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { min-height: 74px; padding-block: 13px; }
  .header-cta { display: none; }
  .brand-logo { width: min(70vw, 250px); }
  .desktop-nav { gap: 23px; font-size: .84rem; }
  .hero { min-height: 980px; }
  .hero-content { align-self: start; padding-top: 58px; padding-bottom: 480px; }
  .hero-visual { min-height: 560px; }
  .hero-mascot { width: 410px; left: 64%; bottom: 160px; }
  .hero-burst { width: 520px; left: 65%; top: 38%; }
  .hero-stamp { width: 120px; height: 120px; top: 27%; right: 14px; padding: 13px; }
  .hero-stamp b { font-size: 1.25rem; }
  .hero-stamp span { font-size: .58rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 76px; }
  .service-grid { grid-template-columns: 1fr; }
  .campaign-art { min-height: 66vw; }
  .campaign-art figcaption { display: none; }
  .campaign-copy { padding-inline: 20px; }
  .campaign-areas li { grid-template-columns: 30px 1fr; }
  .campaign-areas small { grid-column: 2; }
  .contact-section { padding-block: 76px; }
  .brief-list { display: grid; }
  .contact-panel { margin-top: 100px; padding-top: 130px; }
  .contact-mascot { width: 215px; top: -96px; right: 2px; }
  .contact-card { box-shadow: 10px 10px 0 var(--shadow-blue); }
  .inquiry-form { grid-template-columns: 1fr; padding: 26px 20px; box-shadow: 10px 10px 0 var(--shadow-blue); }
  .form-field-wide, .form-heading { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-page-links { justify-self: start; }
  .footer-bottom { flex-direction: column; }
  .subpage-hero { min-height: 850px; }
  .subpage-hero-copy { padding-top: 70px; padding-bottom: 390px; }
  .subpage-mascot img { width: 390px; left: 62%; bottom: -35%; }
  .team-directory, .team-disciplines { grid-template-columns: 1fr; }
  .team-disciplines article { border-right: 1px solid var(--border); border-bottom: 0; }
  .team-disciplines article:last-child { border-bottom: 1px solid var(--border); }
  .projects-grid, .project-detail-gallery { grid-template-columns: 1fr; }
  .project-card-copy { min-height: 160px; }
  .admin-project-summary { grid-template-columns: 100px 1fr; }
  .admin-project-summary img { width: 100px; }
  .admin-project-images { grid-template-columns: 1fr; }
  .client-logo-band { padding-block: 56px; }
  .setup-form fieldset, .admin-form-grid, .admin-dashboard-grid, .admin-gallery { grid-template-columns: 1fr; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-team-card { grid-template-columns: 1fr; }
  .admin-team-card > .admin-card-actions { grid-column: auto; }
  .admin-edit-form { grid-template-columns: 1fr; }
  .admin-wide { grid-column: auto; }
}

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