/* Draft refinement: original brand assets and layouts that preserve mobile images. */
img { max-width: 100%; }
.brand { flex-shrink: 0; }
.brand img { filter: none; mix-blend-mode: normal; }
.header { gap: 24px; }
.header nav { gap: clamp(16px, 1.65vw, 28px); }
.header nav a { white-space: nowrap; }
.header nav a[aria-current="page"] { color: var(--orange); }
.header-cta { flex-shrink: 0; }
.hero { background: #141b1d; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.service-number, .plus { flex-shrink: 0; }
.service-list h3 { line-height: 1.12; }
.contact-person .team-link { font-size: 16px; line-height: 1.5; border-bottom: 1px solid #9b3919; padding: 12px 0; margin-top: 22px; }
.contact-person .team-link span { font-size: 22px; }
.team-section { min-height: 65svh; }
.team-back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 36px; font-size: 16px; color: #53604f; }
.team-back:hover { color: #a53310; }
.team-page .section-heading { margin-bottom: 48px; }
.team-page h1 { font-size: clamp(54px, 7vw, 100px); line-height: .98; margin: 22px 0 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #bfc7bc; }
.team-card { padding: 36px; min-width: 0; border-top: 3px solid var(--orange); }
.team-card + .team-card { border-left: 1px solid #bfc7bc; }
.team-role { min-height: 52px; font-size: 16px; color: #566151; }
.team-card h2 { font-size: clamp(32px, 3.5vw, 52px); margin: 26px 0 30px; line-height: 1.1; }
.team-email { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #bfc7bc; padding-top: 20px; font-size: clamp(16px, 1.4vw, 21px); overflow-wrap: anywhere; }
.team-email span { color: #a53310; font-size: 25px; flex-shrink: 0; }
.team-email:hover, .team-general-links a:hover { color: #a53310; }
.team-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 16px; }
.team-phones a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 18px; }
.team-phones a:hover { color: #a53310; }
.phone-country { font-size: 14px; min-width: 30px; color: #566151; }
.team-general { display: flex; justify-content: space-between; gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid #bfc7bc; }
.team-general h2 { font-size: 32px; margin: 14px 0 8px; }
.team-general p:not(.eyebrow) { color: #566151; font-size: 16px; }
.team-general-links { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.team-general-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }

@media (min-width: 901px) and (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-administration { grid-column: 1 / -1; }
  .team-card.team-administration { border-left: 0; }
}

@media (max-width: 1600px) {
  .header { height: 84px; gap: 20px; padding-inline: 6%; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 6%; background: #1b2122; border-bottom: 1px solid #697169; z-index: 40; max-height: calc(100svh - 84px); overflow-y: auto; }
  .header nav.open { display: flex; flex-direction: column; gap: 0; }
  .header nav a { display: flex; align-items: center; min-height: 48px; font-size: 18px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; flex-shrink: 0; width: 44px; height: 44px; padding: 9px; margin: 0; }
  .menu-toggle span { width: 26px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 0; height: auto; min-height: 0; max-height: none; }
  .hero-image { position: static; width: 100%; height: auto; object-fit: contain; z-index: auto; }
  .hero-shade { display: none; }
  .hero-content { padding: 34px 6% 40px; }
  .hero h1 { font-size: clamp(42px, 11.3vw, 84px); line-height: .98; margin: 24px 0; }
  .hero-description { max-width: none; }
  .hero-bottom { position: static; margin-inline: 6%; padding: 18px 0; font-size: 12px; letter-spacing: .04em; gap: 16px; }
  .hero-bottom span:last-child { display: block; }
  .hero-corner { display: none; }
  .project-open { aspect-ratio: auto; overflow: visible; }
  .project-open > img { width: 100%; height: auto; object-fit: contain; }
  .project-open:hover > img { transform: none; }
  .project-photo-count { position: static; justify-content: space-between; padding: 12px 16px; }
  .portfolio-downloads { min-width: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card + .team-card { border-left: 0; }
  .team-role { min-height: 0; }
  .team-general { flex-direction: column; gap: 20px; }
}

@media (max-width: 550px) {
  html { scroll-padding-top: 24px; }
  .header { height: 78px; padding-inline: 6%; gap: 12px; }
  .header .brand img { width: clamp(170px, 51vw, 220px); }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-content { padding-top: 28px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .055em; }
  .hero .eyebrow > span { flex-shrink: 0; width: 16px; }
  .hero h1 { font-size: clamp(36px, 11.3vw, 62px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { padding: 16px 18px; gap: 12px; font-size: 16px; }
  .hero-actions .text-link { min-height: 44px; justify-content: space-between; }
  .hero-bottom { flex-wrap: wrap; }
  .hero-description br { display: none; }
  .metrics > div { min-width: 0; padding-right: 12px; }
  .metrics strong { font-size: clamp(28px, 8vw, 42px); }
  .metrics > div > span { font-size: 14px; }
  .section-heading h2, .quality h2, .certification-section .section-heading h2 { font-size: clamp(36px, 10.4vw, 52px); }
  .section-top .eyebrow { font-size: 12px; }
  .service-list h3 { font-size: clamp(24px, 7.2vw, 32px); }
  .service-body { padding-left: 0; }
  .service-list summary { align-items: flex-start; }
  .service-number { padding-top: 5px; }
  .production-grid { grid-template-columns: 1fr; }
  .production-grid article { min-height: 0; padding: 26px; border: 0; border-bottom: 1px solid #bdc4bc; }
  .production-grid article:last-child { border-bottom: 0; }
  .production-grid h3 { font-size: 36px; }
  .card-index { margin-bottom: 22px; }
  .production-grid p { margin-bottom: 24px; }
  .card-label { font-size: 12px; }
  .config-layout form { padding: 24px 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .field input, .field select { font-size: 16px; min-height: 48px; }
  .shape-choices label > span { min-height: 48px; }
  .config-submit { gap: 12px; }
  .drawing-header { flex-wrap: wrap; }
  .drawing-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .drawing-stats > div:last-child { grid-column: 1 / -1; }
  .drawing-stats strong { font-size: 23px; white-space: normal; }
  .drawing-stats span, .form-note { font-size: 14px; }
  .contact h2 { font-size: clamp(42px, 12vw, 64px); }
  .contact-email { display: flex; overflow-wrap: anywhere; font-size: clamp(17px, 4.7vw, 23px); }
  .contact-email span { flex-shrink: 0; }
  .contact-person { padding-left: 0; border-left: 0; border-top: 1px solid #b9431b; padding-top: 24px; }
  .contact-person > a { min-height: 44px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-top p { font-size: 14px; }
  .footer-top .back-top { min-height: 44px; align-items: center; }
  .certificate-document { padding: 22px 18px; }
  .certificate-detail dl { grid-template-columns: minmax(0, 1fr); }
  .certificate-detail h3 { font-size: 32px; }
  .quality-strip { grid-template-columns: minmax(0, 1fr); font-size: 14px; }
  .portfolio-download-actions .button { white-space: normal; }
  .gallery-media figure > img { height: auto; max-height: 55svh; object-fit: contain; }
  .gallery-controls > button { width: 48px; height: 48px; }
  .team-back { margin-bottom: 26px; }
  .team-page h1 { font-size: clamp(48px, 14vw, 68px); }
  .team-card { padding: 26px 20px; }
  .team-card h2 { font-size: 35px; margin: 22px 0 26px; }
  .team-email { font-size: 16px; gap: 10px; }
  .team-general-links { font-size: 16px; }
}

.header nav .nav-configurator { display: none; }
@media (max-width: 550px) { .header nav .nav-configurator { display: flex; color: #ff9069; border-top: 1px solid #46504b; margin-top: 10px; padding-top: 10px; } }

/* Language editions share the same brand, navigation and legal information. */
.header { gap: 16px; }
.language-switch { display: flex; flex-shrink: 0; align-items: center; gap: 2px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; font-size: 13px; color: #c7cdc9; border-bottom: 2px solid transparent; }
.language-switch a:hover { color: white; }
.language-switch a[aria-current="true"] { color: #ff9069; border-color: var(--orange); }
.language-switch a:focus-visible { outline: 2px solid #ff9069; outline-offset: 2px; }
.footer-legal { display: flex; padding: 12px 0; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #c7cdc9; text-decoration: underline; text-underline-offset: 4px; }
.footer-legal a:hover { color: #ff9069; }
.legal-page h1 { font-size: clamp(48px, 7vw, 100px); line-height: 1.05; margin: 22px 0 60px; }
.legal-page h2 { font-size: 24px; line-height: 1.3; margin-bottom: 24px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7%; border-top: 1px solid #bfc7bc; padding-top: 36px; }
.legal-company { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; font-weight: 600; margin-bottom: 36px; }
.legal-page dl { margin: 0; }
.legal-page dl > div { margin-bottom: 24px; }
.legal-page dt { font-size: 14px; color: #566151; margin-bottom: 8px; }
.legal-page dd { font-size: 17px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.legal-contact { margin-top: 24px; padding-top: 32px; border-top: 1px solid #bfc7bc; }
.legal-contact p { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin: 10px 0; }
.legal-contact p > span:first-child { color: #566151; font-size: 14px; min-width: 220px; }
.legal-contact a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.legal-delivery { font-size: 16px; overflow-wrap: anywhere; }
html[lang="de"] .production-grid h3, html[lang="de"] .team-card h2 { hyphens: auto; overflow-wrap: anywhere; }
html[lang="de"] .metrics > div > span { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 1600px) {
  .header nav { max-height: calc(100svh - 124px); }
}
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-page h1 { margin-bottom: 40px; }
}
@media (max-width: 550px) {
  .header { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 120px; padding-block: 10px 4px; gap: 0 12px; }
  .header .brand { grid-column: 1; grid-row: 1; }
  .header .menu-toggle { grid-column: 2; grid-row: 1; }
  .header .language-switch { grid-column: 1 / -1; grid-row: 2; justify-content: flex-end; }
  .language-switch a { min-width: 44px; }
  .legal-page h1 { font-size: clamp(42px, 12vw, 66px); }
  .legal-contact p { display: block; margin-bottom: 20px; }
  .legal-contact p > span:first-child { display: block; min-width: 0; margin-bottom: 6px; }
}

/* Company social profiles: TikTok first, shared by all language editions. */
.footer-social{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid #3c463b}
.footer-social .eyebrow{color:#b2bcb2}
.social-links{display:flex;gap:12px;flex-wrap:wrap}
.social-link{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:48px;padding:10px 18px;border:1px solid #6b756b;font-size:15px;font-weight:600;line-height:1.4;color:#f3f4f2;transition:background .2s,border-color .2s,color .2s}
.social-link span{font-size:22px;line-height:1}
.social-link:first-child{background:var(--orange);border-color:var(--orange);color:var(--ink)}
.social-link:hover{border-color:var(--orange);color:var(--orange)}
.social-link:first-child:hover{background:#ff784a;border-color:#ff784a;color:var(--ink)}
@media(max-width:500px){.footer-social{align-items:stretch;flex-direction:column;gap:16px}.social-links{width:100%;gap:10px}.social-link{flex:1;gap:12px;padding:10px 14px}}

/* Social icons stay visible beside the language switch, including on phones. */
.header-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}
.header-social{border-left:1px solid #3c463b;padding-left:10px}
.social-icons{display:flex;align-items:center;gap:2px}
.social-icon-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#f3f4f2;transition:color .2s,background .2s}
.social-icon-link:hover{color:var(--orange);background:#ffffff08}
.social-icon{display:block;width:22px;height:22px;flex-shrink:0;fill:currentColor}
.social-link{gap:12px}
.social-link .social-icon{width:20px;height:20px}
.social-link .social-name{font-size:15px;line-height:1.4}
.social-link .social-arrow{margin-left:auto}
@media(max-width:900px){
  .header-cta{display:none}
  .header nav .nav-configurator{display:flex;color:#ff9069;border-top:1px solid #46504b;margin-top:10px;padding-top:10px}
}
@media(max-width:700px){
  .header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:120px;padding-block:10px 4px;gap:0 12px}
  .header .brand{grid-column:1;grid-row:1}
  .header .menu-toggle{grid-column:2;grid-row:1}
  .header .header-tools{grid-column:1 / -1;grid-row:2;justify-content:space-between;width:100%}
  .header .language-switch{justify-content:flex-start}
  .language-switch a{min-width:44px}
}
@media(max-width:500px){.social-link{gap:8px;padding:10px}}

/* Route enquiries to the relevant team member. */
.contact-team { min-width: 0; padding-left: 36px; border-left: 1px solid #9b3919; }
.contact-team > .eyebrow { margin: 0 0 12px; line-height: 1.7; }
.contact-route { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; min-height: 88px; border-bottom: 1px solid #9b3919; transition: padding .2s, background .2s; }
.contact-route > span:first-child { min-width: 0; }
.contact-route strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.contact-route-name { display: block; margin-top: 6px; font-size: 16px; }
.contact-route-arrow { font-size: 27px; flex-shrink: 0; }
.contact-route:hover { background: #ffffff1a; padding-left: 10px; padding-right: 10px; }
.contact-route:focus-visible { outline: 2px solid #141718; outline-offset: 4px; }
.team-card[id] { scroll-margin-top: 30px; }
.team-card:target { background: #fff5eb; outline: 2px solid var(--orange); outline-offset: -2px; }
@media (max-width: 700px) {
  .contact-team { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid #9b3919; }
  .contact-route strong { font-size: 21px; }
}

.gallery-more { margin-top: 28px; }
.gallery-more .button { white-space: normal; }
