/* Typographic, team and owner-photo sections. */
.hero {
  display: block;
  min-height: 560px;
  padding-top: 76px;
  padding-bottom: 74px;
}

.hero-grid { display: none; }
.hero-copy { max-width: 850px; padding-top: 20px; }
.hero h1 { max-width: 850px; }
.hero-intro { max-width: 620px; }
.hero-meta { position: static; margin-top: 47px; color: #a9bdd2; }
.hero-meta > span:first-child { color: #7cc9f0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 34px; }
.hero-copy { max-width: none; padding-top: 0; }
.hero-art { display: grid; place-items: center; min-width: 0; min-height: 0; margin: 0; }
.hero-art img { display: block; width: min(100%, 590px); height: auto; filter: drop-shadow(0 24px 36px rgba(0,0,0,.24)); }
.scroll-cue { bottom: 24px; }

.team-section { padding: 94px 0 88px; background: #fff; }
.team-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; margin-top: 30px; }
.team-inner h2,.gallery-inner h2 { font: 600 clamp(37px,4.4vw,56px)/1.12 Manrope,sans-serif; letter-spacing: -.055em; margin: 0; }
.team-inner h2 em,.gallery-inner h2 em { color: #3e82cd; font-style: normal; }
.team-lead { max-width: 380px; color: #66758a; font-size: 14px; line-height: 1.8; margin-top: 21px; }
.team-illustration { display: block; width: min(100%, 330px); height: auto; margin: 42px auto 0; }
.team-profile { display: flex; align-items: flex-start; gap: 22px; padding: 27px 28px; background: #f3f7fb; border: 1px solid #e2e9f0; }
.profile-mark { display: grid; place-items: center; flex: 0 0 61px; height: 61px; border-radius: 50%; color: #dff1ff; background: #102b49; font: 600 17px Manrope,sans-serif; letter-spacing: .05em; }
.profile-role { color: #3981ce; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.team-profile h3 { margin: 8px 0 9px; font: 600 21px Manrope,sans-serif; }
.team-profile p { margin: 0; color: #66758a; font-size: 12px; line-height: 1.75; }
.team-profile a { display: inline-block; margin-top: 17px; color: #256db4; font-size: 11px; font-weight: 700; }
.team-profile a span { margin-left: 8px; }
.crew-note { display: flex; align-items: center; gap: 18px; max-width: 680px; margin: 47px 0 0 auto; padding-top: 22px; border-top: 1px solid #dce4ed; }
.crew-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #c8d9e9; border-radius: 50%; color: #367dc2; font-size: 19px; }
.crew-note p { margin: 0; color: #66758a; font-size: 12px; line-height: 1.75; }
.crew-note b { color: #10243d; }

.gallery-section { padding: 94px 0 100px; background: #fff; }
.gallery-section[hidden] { display: none; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 28px 0 35px; }
.gallery-heading p { max-width: 340px; margin: 0 0 6px; color: #66758a; font-size: 13px; line-height: 1.8; }
.slideshow { max-width: 1000px; margin: 0 auto; }
.gallery-grid { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; max-height: none; overflow: hidden; background: #071a33; }
.gallery-track { display: flex; width: 100%; height: 100%; transform: translateX(0); will-change: transform; }
.gallery-page { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; flex: 0 0 100%; width: 100%; height: 100%; padding: 6px; }
.gallery-page.single .gallery-card { grid-column: 1 / -1; width: min(75%, 700px); justify-self: center; }
.gallery-card { min-width: 0; margin: 0; overflow: hidden; display: grid; place-items: center; background: #071a33; }
.gallery-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.slideshow-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.slideshow-controls button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #cbd8e5; border-radius: 50%; background: #fff; color: #173858; font: inherit; font-size: 18px; cursor: pointer; }
.slideshow-controls button:hover { background: #eaf3fb; }

@media(prefers-reduced-motion:reduce) {
  .gallery-track { scroll-behavior: auto; }
  .gallery-track { transition-duration: 0s !important; }
}

@media(max-width:800px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 62px 24px 60px; }
  .hero-copy { padding-top: 0; }
  .hero-meta { margin-top: 35px; }
  .hero-art { width: min(100%, 540px); margin: 6px auto 0; }
  .team-section,.gallery-section { padding: 72px 0; }
  .team-layout { grid-template-columns: 1fr; gap: 26px; }
  .crew-note { margin-top: 34px; }
  .gallery-heading { display: block; }
  .gallery-heading p { margin-top: 17px; }
  .gallery-grid { height: auto; aspect-ratio: 8 / 3; max-height: none; }
  .gallery-page { gap: 10px; padding: 4px; }
  .gallery-page.single .gallery-card { width: 88%; }
}

/* Foto nur in ruhigen, freistehenden Querstreifen zwischen Inhaltsbereichen. */
.photo-band {
  height: clamp(100px, 12vw, 155px);
  background-image:
    linear-gradient(rgba(7, 26, 51, .42), rgba(7, 26, 51, .42)),
    url("bilder/p1010247-streifen.jpg");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

@media(max-width:440px) {
  .hero { padding-top: 48px; }
  .team-profile { padding: 20px 17px; gap: 14px; }
  .profile-mark { flex-basis: 48px; height: 48px; font-size: 14px; }
  .slideshow-controls button { width: 38px; height: 38px; }
}

/* Tighten large empty stretches between and around content. */
.photo-band { height: clamp(100px, 12vw, 155px); }
.hero { min-height: 500px; }
.intro { padding-top: 82px; padding-bottom: 78px; }
.idea-visual { display: block; width: min(100%, 320px); height: auto; margin: 48px 0 36px; }
.services { padding-top: 72px; padding-bottom: 78px; }
.team-section { padding-top: 70px; padding-bottom: 66px; }
.references { padding-top: 70px; padding-bottom: 66px; }
.gallery-section { padding-top: 70px; padding-bottom: 76px; }
.process { padding-top: 78px; padding-bottom: 78px; }
.contact { padding-top: 66px; padding-bottom: 58px; }

@media(max-width:800px) {
  .hero { min-height: 0; }
  .intro,.services,.team-section,.references,.gallery-section,.process,.contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}

@media(max-width:800px) {
  .idea-visual { width: min(78vw, 280px); margin-top: 36px; }
}

/* Align the three paragraphs with the center of the illustration. */
.intro.section-wrap { display: block; }
.intro > .section-label { margin-bottom: 0; }
.intro-feature {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  margin-top: 20px;
  margin-left: 48px;
}
.intro-feature .idea-visual { justify-self: end; width: min(100%, 320px); margin: 0; }
.intro-feature .intro-text {
  width: min(100%, 500px);
  max-width: 500px;
  align-self: center;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid #dce4ed;
}
.intro-feature .intro-text p { margin-bottom: 20px; }
.intro-feature .intro-text p:last-child { margin-bottom: 0; }
.intro-title { margin: 30px 0 0; }
.intro > .principles { margin-top: 50px; padding-top: 20px; }

@media(max-width:800px) {
  .intro-feature { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; margin-left: 0; }
  .intro-feature .idea-visual { width: min(78vw, 280px); }
  .intro-title { margin-top: 14px; }
  .intro > .principles { margin-top: 32px; }
}

/* Consistent heading sizes and a compact, year-neutral event overview. */
h1 { font-size: 40px !important; }
.intro h2,.services h2,.process h2,.contact h2,.references h2,
.team-inner h2,.gallery-inner h2 { font-size: 34px !important; }
.service-card h3,.steps h3,.team-profile h3,.reference-list h3 { font-size: 18px !important; }
.reference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}
.reference-list article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-height: 175px;
  padding: 20px 22px;
  border: 1px solid #d7e0e9;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}
.reference-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}
.reference-list h3 { margin: 0; }
.reference-year {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 4px;
  background: #eaf2fa;
  font: 700 12px Verdana, Arial, sans-serif;
  letter-spacing: 0;
}
.reference-list p { font-size: 14px; }
.reference-type {
  justify-self: auto;
  margin-top: auto;
  padding-top: 0;
  font-size: 12px;
}
.scroll-cue,.crew-icon,.service-card>a { display: none !important; }

@media(max-width:700px) {
  h1 { font-size: 34px !important; }
  .intro h2,.services h2,.process h2,.contact h2,.references h2,
  .team-inner h2,.gallery-inner h2 { font-size: 30px !important; }
  .reference-list { grid-template-columns: 1fr; }
  .reference-list article { min-height: 0; }
}

/* A restrained Verdana type system with four sizes across the page. */
html, body, body * {
  font-family: Verdana, Arial, sans-serif !important;
}

body,
.hero-intro,
.intro-text,
.services-heading p,
.service-card p,
.references-heading p,
.reference-list p,
.team-lead,
.team-profile p,
.crew-note p,
.gallery-heading p,
.steps p,
.contact-inner > p,
.contact-details b,
.contact-details a,
.contact-details span {
  font-size: 14px;
}

.nav,
.nav-cta,
.button,
.text-link,
.eyebrow,
.section-label,
.hero-meta,
.principles span,
.service-number,
.reference-year,
.reference-type,
.reference-footnote,
.profile-role,
.team-profile a,
.gallery-card figcaption,
.steps article > span,
.contact-details small,
footer {
  font-size: 12px;
}

h1,
.intro h2,
.services h2,
.process h2,
.contact h2,
.references h2,
.team-inner h2,
.gallery-inner h2 {
  font-size: 44px;
}

.service-card h3,
.steps h3,
.team-profile h3,
.reference-list h3 {
  font-size: 18px;
}

.brand { font-size: 14px; }
.brand small { font-size: 12px; }
.site-header { height: 112px; }
.brand img { width: 148px; height: 96px; object-fit: contain; }
.footer-brand { font-size: 12px; }
.footer-brand span { font-size: 12px; }
.principles i { display: block; width: 8px; height: 8px; flex: 0 0 8px; margin-top: 4px; border-radius: 50%; background: #3981ce; }
.profile-mark { font-size: 18px; }
.crew-icon { font-size: 18px; }

@media(max-width:800px) {
  .site-header { height: 90px; }
  .nav { top: 90px; }
  .brand img { width: 125px; height: 81px; }
  h1,
  .intro h2,
  .services h2,
  .process h2,
  .contact h2,
  .references h2,
  .team-inner h2,
  .gallery-inner h2 {
    font-size: 36px;
  }
}

/* Final small-screen layout for phones. */
@media (max-width: 800px) {
  html { scroll-padding-top: 78px; }
  body { overflow-x: hidden; }
  .site-header {
    height: 76px;
    padding: 0 18px;
    position: sticky;
    top: 0;
  }
  .brand img { width: 112px; height: 70px; }
  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    touch-action: manipulation;
  }
  .nav {
    display: none !important;
    top: 76px;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 18px 22px 24px;
    gap: 4px;
  }
  .nav.open { display: flex !important; }
  .nav > a:not(.nav-cta) { padding: 13px 4px; }
  .nav-cta { margin-top: 8px; padding: 14px 16px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 42px 22px 42px;
    overflow: visible;
  }
  .hero-copy { width: 100%; min-width: 0; overflow: visible; }
  .hero h1 { font-size: clamp(32px, 8.4vw, 40px) !important; line-height: 1.12; }
  .hero-intro { display: block; max-height: none; overflow: visible; font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 14px 20px; }
  .hero-art { width: 100%; min-height: 320px; }
  .hero-meta { flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .section-wrap { padding-left: 22px; padding-right: 22px; }
  .intro-feature { grid-template-columns: minmax(0, 1fr); }
  .intro-feature .idea-visual { justify-self: center; width: min(76vw, 270px); }
  .intro-feature .intro-text { width: 100%; }
  .principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .services-heading, .references-heading, .gallery-heading { display: block; }
  .services-heading p, .references-heading p, .gallery-heading p { margin: 16px 0 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; }
  .service-card { min-width: 0; min-height: 235px; padding: 20px 14px !important; border-bottom: 1px solid rgba(255,255,255,.16); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(n+3) { border-bottom: 0; }
  .reference-list { grid-template-columns: minmax(0, 1fr); }
  .reference-list article { min-width: 0; padding: 18px; }
  .reference-card-heading { flex-wrap: wrap; }
  .team-layout { grid-template-columns: minmax(0, 1fr); }
  .team-profile { min-width: 0; }
  .gallery-grid { aspect-ratio: 1.35 / 1; }
  .gallery-page { gap: 8px; }
  .gallery-page.single .gallery-card { width: 100%; }
  .gallery-card img { object-fit: cover; }
  .process-heading { align-items: flex-start; margin-bottom: 30px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps article { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .steps article:last-child { border-bottom: 0; }
  .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 42px; }
  footer { flex-wrap: wrap; padding: 20px 22px; }
  .photo-band { height: clamp(64px, 18vw, 100px); }
  a, button { -webkit-tap-highlight-color: rgba(45,117,220,.16); }
}

@media (max-width: 480px) {
  .section-wrap { padding-left: 18px; padding-right: 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .hero-copy, .hero-intro, .hero h1 { max-width: 100%; }
  h1,
  .intro h2, .services h2, .process h2, .contact h2, .references h2,
  .team-inner h2, .gallery-inner h2 { font-size: clamp(29px, 8vw, 34px) !important; }
  .hero h1 { font-size: clamp(31px, 9vw, 37px) !important; }
  .hero-art { min-height: 270px; transform: scale(.88); transform-origin: top center; margin-bottom: -24px; }
  .hero-actions .button { min-height: 48px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card,
  .service-card:nth-child(2),
  .service-card:nth-child(n+3) {
    min-height: 0;
    padding: 20px 4px !important;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  .service-card:last-child { border-bottom: 0; }
  .service-icon { margin: 14px 0 12px; }
  .team-profile { gap: 12px; padding: 18px 14px; }
  .profile-mark { flex-basis: 44px; height: 44px; }
  .gallery-grid { aspect-ratio: 1 / 1; }
  .gallery-page { grid-template-columns: minmax(0, 1fr); }
  .gallery-page .gallery-card:nth-child(n+2) { display: none; }
  .contact-details { grid-template-columns: minmax(0, 1fr); }
}
