/* GSELL TORTECH – Stylesheet */
:root {
  --orange: #ff7800;
  --silver: #e8e9eb;
  --muted: #ced0d3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: #101214; color: var(--silver); font: 17px/1.55 Arial, Helvetica, sans-serif; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
h2 { font-weight: 800; font-style: italic; font-size: 34px; line-height: 1.2; margin: 0 0 18px; }
.orange { color: var(--orange); }

.page {
  max-width: 1200px; margin: auto; box-shadow: 0 0 60px #0008;
  background: radial-gradient(ellipse at 80% 0, #373c42 0, transparent 52%),
              repeating-linear-gradient(125deg, #ffffff02 0 1px, transparent 1px 4px), #181b1f;
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 30px 8px; border-bottom: 7px solid var(--orange); }
.brand { display: block; width: 52%; }
.logo { display: block; width: 520px; max-width: 100%; height: auto; }
.contact-top { line-height: 1.4; }
.contact-top a { display: block; text-decoration: none; font-size: 22px; font-weight: 700; }
.contact-top .phone { font-size: 36px; }
.contact-top address { font-size: 19px; font-style: normal; padding-left: 39px; }

nav { display: flex; justify-content: flex-end; min-height: 54px; background: linear-gradient(#31353a, #111315); border-bottom: 2px solid #b5b8bc; }
nav a { padding: 13px 27px; text-decoration: none; font-weight: bold; border-left: 1px solid #ffffff15; }
nav a:hover, nav a:first-child { background: linear-gradient(#ff9d12, #ff6600); color: #fff; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 58% 42%; min-height: 350px; overflow: hidden; border-bottom: 5px solid var(--orange);
  background: radial-gradient(ellipse at 48% 70%, #b16f3866, transparent 55%), linear-gradient(120deg, #171c22, #242f3a); }
.hero-copy { padding: 40px 0 25px 45px; z-index: 1; }
.hero-copy::after { content: ""; display: block; width: 85%; height: 5px; margin-top: 24px; background: var(--orange); border-radius: 100%; box-shadow: 0 0 15px #ff780088; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; font-style: italic; line-height: 1.15; margin: 8px 0 20px; letter-spacing: -1px; text-shadow: 2px 3px 5px #0008; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 27px; font-style: italic; font-weight: 700; line-height: 1.35; max-width: 590px; margin: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; align-self: stretch; border-left: 3px solid var(--orange); transform: skew(-7deg); transform-origin: bottom; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(6, 1fr); padding: 23px 16px 20px; border-bottom: 5px solid var(--orange); background: #101316c9; }
.service { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 13px; text-align: center; font-size: 18px; line-height: 1.15; border-right: 2px solid var(--orange); text-decoration: none; }
.service:last-child { border: 0; }
.service-icon { font-size: 47px; line-height: 1.2; margin-bottom: 8px; color: #fff; }

/* Einblicke / Galerie */
.work { padding: 18px 24px 25px; border-bottom: 4px solid var(--orange); }
.work > div:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; margin-bottom: 25px; }
.work > div:first-child h2, .work > div:first-child > p { grid-column: 1; }
.work > div:first-child .checklist { grid-column: 2; grid-row: 1 / 4; margin-top: 0; }
.work h2 span { color: var(--orange); }
.work p { font-size: 20px; line-height: 1.3; }
.work .project-note { color: #bfc3c8; font-size: 14px; line-height: 1.5; }
.checklist { list-style: none; padding: 0; margin-bottom: 0; font-size: 20px; }
.checklist li { padding: 6px 0; }
.checklist li::before { content: "☑"; font-size: 26px; line-height: 1; color: var(--orange); padding-right: 12px; }

.project-group { margin: 30px 0 36px; }
.project-group:last-child { margin-bottom: 0; }
.project-group h3 { font-size: 23px; line-height: 1.3; margin: 0 0 17px; padding-left: 13px; border-left: 4px solid var(--orange); color: var(--silver); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-content: start; }
.project { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; line-height: 0; background: #30353a;
  border: 2px solid var(--orange); border-radius: 18px; font: inherit; color: inherit; text-align: left; cursor: zoom-in; }
.project img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #111519; }
.project-caption { flex: 1; padding: 9px 10px; font-size: 14px; line-height: 1.35; background: #1b1f24; }

.lightbox { max-width: 95vw; max-height: 95vh; padding: 15px; color: #fff; background: #121518; border: 1px solid var(--orange); border-radius: 10px; }
.lightbox::backdrop { background: #000d; }
.lightbox img { display: block; width: auto; height: auto; max-width: min(85vw, 100%); max-height: 76vh; object-fit: contain; margin: auto; }
.lightbox button { display: block; margin: 0 0 12px auto; padding: 8px 14px; font-size: 16px; color: #111; background: var(--orange); border: 0; border-radius: 4px; cursor: pointer; }
.lightbox p { margin: 12px 0 0; text-align: center; }

/* Vorteile */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 12px; border-bottom: 2px solid #adb0b3; }
.trust div { text-align: center; border-right: 2px solid var(--orange); padding: 0 14px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.trust div:last-child { border: 0; }
.trust b { display: block; font-size: 35px; margin-bottom: 9px; color: var(--orange); }

/* Über mich */
.about { padding: 45px 36px; border-bottom: 4px solid var(--orange); }
.about p { color: var(--muted); }
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 35px; align-items: start; }
.eyebrow { margin: 0 0 15px; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--orange); }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%; border: 2px solid var(--orange); border-radius: 15px; }
.portrait figcaption { font-size: 14px; padding-top: 10px; }
.about .motto { font-size: 23px; font-weight: 700; font-style: italic; color: var(--orange); }

/* Kontakt / Footer */
.contact { display: flex; justify-content: space-between; gap: 25px; padding: 35px 36px; }
.contact h2 { font-size: 30px; }
.contact address { font-style: normal; }
.contact a { text-underline-offset: 4px; }
.cta { display: inline-block; padding: 12px 18px; background: var(--orange); border-radius: 5px; color: #111; text-decoration: none; font-weight: 700; }
footer { padding: 16px 36px; border-top: 1px solid #777; font-size: 13px; color: #c0c3c7; }

/* Rechtliche Seiten */
.legal h3 { margin: 28px 0 6px; font-size: 20px; color: var(--silver); }
.legal p, .legal li { color: var(--muted); }
.legal .todo { background: #ff780022; border-left: 4px solid var(--orange); padding: 2px 8px; color: var(--silver); }

@media (max-width: 800px) {
  h2 { font-size: 30px; }
  .top { padding: 10px 18px; gap: 15px; }
  .contact-top a { font-size: 15px; }
  .contact-top .phone { font-size: 22px; }
  .contact-top address { font-size: 13px; padding-left: 0; }
  nav { justify-content: center; flex-wrap: wrap; }
  nav a { padding: 12px 16px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 25px; }
  .hero h1 { font-size: 39px; }
  .hero p { font-size: 23px; }
  .hero-image { height: 230px; transform: none; border: 0; border-top: 2px solid var(--orange); }
  .services { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .service { font-size: 15px; }
  .service:nth-child(3) { border-right: 0; }
  .work { padding: 24px 20px; }
  .work > div:first-child { display: block; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .project-caption { font-size: 12px; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .trust div { font-size: 17px; }
  .trust div:nth-child(2) { border: 0; }
  .about { padding: 30px 22px; }
  .about h2 { font-size: 29px; }
  .about-layout { grid-template-columns: 1fr; gap: 22px; }
  .portrait { max-width: 280px; }
  .contact { flex-direction: column; padding: 30px 22px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .project-caption { font-size: 14px; }
}
@media (max-width: 430px) {
  .top { flex-direction: column; align-items: stretch; }
  .brand { width: 100%; max-width: 390px; margin: auto; }
  .contact-top { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; text-align: center; }
  .contact-top address { width: 100%; }
  .hero h1 { font-size: 34px; }
  .hero-copy { padding: 23px 20px; }
  nav a { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
