/* Georg Ohlinger GmbH – Entwurf der Upwell GmbH */

@font-face {
  font-family: "Aleo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/aleo-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Aleo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/aleo-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Aleo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/aleo-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Aleo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/aleo-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Aleo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/aleo-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Aleo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/aleo-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --red: #b62c2c;        /* Signet im Logo, h1/h2 im Original-CSS */
  --red-deep: #8f2222;   /* Hover */
  --black: #000000;      /* Überschriften (Original-CSS h3–h5) */
  --grey: #4d4d4d;       /* Schriftzug im Logo – Fließtext */
  --grey-soft: #6b6b6b;  /* Bildunterschriften, Nebeninfos */
  --line: #dddddd;       /* Linien (Original-CSS) */
  --mist: #f3f3f3;       /* Flächen (Original-CSS .wp-caption) */
  --white: #ffffff;
  --wrap: 1320px;
  --gut: 24px;
  --font: "Aleo", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--grey);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red-deep); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--black); font-weight: 700; line-height: 1.15; margin: 0; hyphens: manual; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.nb { white-space: nowrap; }
.sub { font-style: italic; color: var(--grey); }

/* Entwurfsleiste */
.draftbar {
  background: #fff5c2;
  color: #3d3a2a;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  padding: 7px var(--gut);
  border-bottom: 1px solid #eadc8f;
}

/* Kopf */
.head { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.logo { flex: none; display: block; }
.logo img { width: 250px; height: 55px; }
.nav { display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--black); text-decoration: none; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--red); border-bottom-color: var(--red); }
.menu { display: none; }

/* Hero */
.hero { padding: 56px 0 0; }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 40px; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.0; letter-spacing: -0.015em; }
.hero-claim { font-size: 1.1875rem; color: var(--grey); max-width: 34em; }
.hero-claim strong { color: var(--black); font-weight: 700; }
.roof {
  --pitch: 20%;
  background: var(--red);
  padding-top: 7px;
  clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%);
  line-height: 0;
}
.roof img {
  width: 100%;
  aspect-ratio: 2000 / 910;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--mist);
  clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%);
}
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; padding: 48px 0 88px; }
.intro .big { font-size: clamp(1.25rem, 2.1vw, 1.625rem); line-height: 1.45; color: var(--black); }
.intro-side p { max-width: 34em; }
.facts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 22px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts span:first-child { color: var(--grey-soft); }
.facts span:last-child { color: var(--black); text-align: right; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border: 2px solid var(--red); color: var(--white); background: var(--red); text-decoration: none; font-weight: 700; border-radius: 3px; }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.btn.ghost { background: transparent; color: var(--red); }
.btn.ghost:hover { background: var(--red); color: var(--white); }

/* Zwei Gewerke */
.duo { background: var(--mist); padding: 80px 0; }
.duo h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 18em; margin-bottom: 40px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-item { display: block; text-decoration: none; color: var(--grey); background: var(--white); }
.duo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e6e6e6; }
.duo-body { padding: 24px 26px 28px; }
.duo-body h3 { font-size: 1.875rem; margin-bottom: 6px; }
.duo-body p { margin-bottom: 14px; }
.duo-more { color: var(--red); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.duo-item:hover h3 { color: var(--red); }

/* Abschnitte */
.sec { padding: 96px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 24px 64px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); letter-spacing: -0.01em; }
.sec-head .sub { font-size: 1.25rem; margin-top: 10px; }
.sec-lead p { max-width: 36em; }
.sec-lead .lead { font-size: 1.25rem; color: var(--black); line-height: 1.5; }
.person { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.person img { width: 96px; height: 144px; object-fit: cover; background: var(--mist); flex: none; }
.person p { margin: 0; }
.person .sub { font-size: inherit; margin: 0; }
.team-sec .note-box { background: var(--white); }
.person strong { color: var(--black); }
.contact-line { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Listen mit Signet-Quadrat */
.ticks { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 4px 28px; margin: 18px 0 4px; }
.ticks li { position: relative; padding: 5px 0 5px 22px; color: var(--black); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.92em; width: 9px; height: 9px; background: var(--red); border-radius: 2px; }
.ticks.one { grid-template-columns: 1fr; }
.small-head { color: var(--black); font-weight: 700; margin: 22px 0 4px; }

/* Arbeitsblätter (Leistungszeilen) */
.sheets { border-bottom: 1px solid var(--line); }
.sheet { display: grid; grid-template-columns: 15rem minmax(0, 1fr) minmax(0, 26rem); gap: 24px 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.sheet-title h3 { font-size: 1.75rem; }
.sheet-title .sub { margin-top: 8px; line-height: 1.45; }
.sheet-text p { max-width: 38em; }
.sheet figure, .sheet .spec { margin: 0; }
.sheet figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
figcaption { font-style: italic; font-size: 0.9375rem; color: var(--grey-soft); margin-top: 8px; line-height: 1.4; }
.steps { list-style: none; counter-reset: st; margin: 14px 0 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 2.25rem 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--black); }
.steps li::before { content: counter(st); color: var(--red); font-weight: 700; }
details.proj { margin-top: 20px; border: 1px solid var(--line); background: var(--white); }
details.proj summary { cursor: pointer; padding: 12px 16px; color: var(--black); font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
details.proj summary::-webkit-details-marker { display: none; }
details.proj summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.4rem; line-height: 1; }
details.proj[open] summary::after { content: "–"; }
details.proj .proj-body { padding: 0 16px 16px; }
details.proj .ticks { margin-top: 6px; }

/* Technische Daten */
.spec { border: 1px solid var(--line); background: var(--white); padding: 22px 24px; }
.spec h4 { font-size: 1.125rem; margin-bottom: 10px; }
.spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { color: var(--grey-soft); padding-right: 18px; }
.spec dd { color: var(--black); font-weight: 700; text-align: right; }
.spec .ticks { grid-template-columns: 1fr; margin-top: 14px; }

/* Mobilkran – dunkles Band */
.crane { background: var(--grey); color: #ececec; padding: 96px 0; }
.crane h2 { color: var(--white); font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.crane .sub { color: #ececec; font-size: 1.25rem; margin-top: 10px; }
.crane-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.crane-text p { max-width: 34em; margin-top: 22px; }
.crane .spec { background: transparent; border-color: #7a7a7a; margin-top: 28px; }
.crane .spec h4 { color: var(--white); }
.crane .spec dl, .crane .spec dt, .crane .spec dd { border-color: #7a7a7a; }
.crane .spec dt { color: #d6d6d6; }
.crane .spec dd { color: var(--white); }
.crane .ticks li, .crane .small-head { color: var(--white); }
.crane .ticks li::before { background: var(--white); }
.crane-pics { display: grid; gap: 20px; }
.crane-pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #5c5c5c; }
.crane figcaption { color: #d6d6d6; }

/* Impressionen */
.gallery-sec { background: var(--mist); }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 18px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e3e3e3; }

/* Unternehmen */
.firm-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.firm-grid h3 { font-size: 1.5rem; margin-bottom: 18px; }
.timeline { list-style: none; border-left: 2px solid var(--line); margin-left: 4px; }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.45em; width: 12px; height: 12px; background: var(--white); border: 2px solid var(--red); border-radius: 2px; }
.timeline .year { display: block; color: var(--red); font-weight: 700; font-size: 1.125rem; line-height: 1.3; margin-bottom: 2px; }
.timeline p { margin: 0; max-width: 36em; }
.firm-side figure { margin: 0 0 32px; }
.firm-side figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mist); }
.quals { list-style: none; border-top: 1px solid var(--line); }
.quals li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.quals strong { display: block; color: var(--black); }
.note-box { margin-top: 28px; padding: 20px 22px; background: var(--mist); }
.note-box h4 { font-size: 1.125rem; margin-bottom: 6px; }

/* Team */
.team-sec { background: var(--mist); }
.team-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; }
.team-cols h3 { font-size: 1.375rem; margin-bottom: 10px; }
.team { list-style: none; border-top: 1px solid #d3d3d3; }
.team li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) minmax(0, 9.5rem); gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid #d3d3d3; align-items: baseline; }
.team .n { color: var(--black); font-weight: 700; }
.team .s { color: var(--grey-soft); text-align: right; font-size: 0.9375rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px 72px; align-items: start; }
.addr { font-style: normal; font-size: 1.25rem; line-height: 1.55; color: var(--black); }
.addr strong { font-size: 1.5rem; }
.addr-lines { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.addr-lines li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.addr-lines span:first-child { color: var(--grey-soft); }
.addr-lines span:last-child { color: var(--black); }
.people { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.people li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.people .n { display: block; color: var(--black); font-weight: 700; font-size: 1.125rem; }
.people .r { display: block; font-style: italic; }
.people .t { display: block; margin-top: 6px; }
.people .m { display: block; color: var(--black); }
.people-head { font-size: 1.5rem; margin-bottom: 16px; }

/* Fuß */
.foot { background: var(--mist); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }
.foot-grid img { width: 200px; height: 44px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a, .foot-legal a { color: var(--black); text-decoration: none; }
.foot-nav a:hover, .foot-legal a:hover { color: var(--red); text-decoration: underline; }
.foot-legal { display: flex; gap: 20px; }
.foot-small { margin-top: 28px; color: var(--grey-soft); }

/* Rechtliche Seiten */
.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(2.25rem, 4.4vw, 3.25rem); margin-bottom: 32px; }
.legal { max-width: 44rem; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 6px; }
.legal p { margin: 0 0 6px; }
.legal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.legal dt { color: var(--grey-soft); }
.legal dd { margin: 0; color: var(--black); }
.hint { max-width: 44rem; margin: 40px 0 24px; padding: 16px 20px; background: #fff5c2; border-left: 4px solid #e2c43a; color: #3d3a2a; }
.back { font-weight: 700; }

/* Tablet */
@media (max-width: 1080px) {
  .sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
  .sheet-title { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 4px 18px; }
  .nav a { font-size: 0.9375rem; }
}

/* Handy */
@media (max-width: 860px) {
  :root { --gut: 16px; }
  body { font-size: 1rem; }
  .head .wrap { min-height: 72px; gap: 12px; }
  .logo img { width: 200px; height: 44px; }
  .nav { display: none; }
  .menu { display: block; position: static; }
  .menu summary { list-style: none; cursor: pointer; border: 2px solid var(--black); color: var(--black); padding: 7px 12px; font-weight: 700; border-radius: 3px; line-height: 1.2; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--black); color: var(--white); }
  .menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 6px var(--gut) 14px; display: grid; }
  .menu nav a { color: var(--black); text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .hero { padding-top: 36px; }
  .hero-text, .intro, .sec-head, .crane-grid, .firm-grid, .team-cols, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { margin-bottom: 28px; gap: 18px; }
  .roof { --pitch: 14%; padding-top: 5px; }
  .roof img { aspect-ratio: 4 / 3; }
  .intro { padding: 32px 0 64px; gap: 24px; }
  .duo { padding: 56px 0; }
  .duo-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .duo h2 { margin-bottom: 28px; }
  .sec, .crane { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .sheet { grid-template-columns: minmax(0, 1fr); padding: 32px 0; gap: 18px; }
  .sheet figure, .sheet .spec { order: -1; }
  .sheet-title { order: -2; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .gallery li:first-child { grid-column: 1 / -1; }
  figcaption { font-size: 0.875rem; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .team li { grid-template-columns: minmax(0, 1fr) auto; }
  .team .f { grid-column: 1 / -1; grid-row: 2; font-size: 0.9375rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .addr-lines li { grid-template-columns: 5.5rem 1fr; }
}
@media (max-width: 420px) {
  .logo img { width: 182px; height: 40px; }
  .ticks { grid-template-columns: minmax(0, 1fr); }
}
