/* 1a-translator.at – ein Stylesheet, keine externen Ressourcen (Fonts: Systemschriften) */
:root {
  --red: #e10713;
  --red-dark: #b30510;
  --ink: #1c1c1e;
  --text: #33363b;
  --muted: #6b6f76;
  --line: #e4e4e7;
  --soft: #f6f5f3;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .06);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-underline-offset: .15em; }
a:hover { color: var(--red); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Kopfzeile */
.topbar { background: var(--ink); color: #d4d4d8; font-size: .875rem; }
.topbar .wrap { display: flex; gap: 1.25rem; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #e4e4e7; text-decoration: none; }
.topbar a:hover { color: #fff; }
.langs { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: .15rem; }
.langs a { display: block; padding: .15rem .45rem; border-radius: 6px; font-weight: 600; font-size: .8rem; letter-spacing: .04em; }
.langs a[aria-current] { background: var(--red); color: #fff; }

header.site { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: baseline; font-size: 1.65rem; font-weight: 400; letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo .l1 { color: #8a8d93; font-weight: 300; }
.logo .dot { width: .3em; height: .3em; background: var(--red); border-radius: 50%; margin: 0 .06em 0 .08em; align-self: baseline; }
.logo.small { font-size: 1.35rem; margin-bottom: .5rem; }

nav#nav { margin-left: auto; }
nav#nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
nav#nav li { position: relative; }
nav#nav a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem; }
nav#nav a:hover { background: var(--soft); }
nav#nav li.active > a { color: var(--red-dark); }
nav#nav a[aria-current="page"] { color: var(--red); }
nav#nav .sub { list-style: none; margin: 0; padding: .4rem; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
nav#nav .has-sub:hover .sub, nav#nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: .55rem; font: 600 .95rem var(--font); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .8rem; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .js .menu-btn { display: inline-flex; }
  .js nav#nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter) 1rem; }
  .js nav#nav.open { display: block; }
  nav#nav > ul { flex-direction: column; }
  .js nav#nav > ul { gap: 0; }
  nav#nav .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  html:not(.js) header.site .wrap { flex-wrap: wrap; padding-bottom: .5rem; }
  html:not(.js) nav#nav > ul { flex-direction: row; flex-wrap: wrap; }
  .topbar .wrap { gap: .25rem 1rem; padding-top: .35rem; padding-bottom: .35rem; }
}

/* Abschnitte */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--ink); color: #d4d4d8; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem; }
.lead { font-size: 1.18rem; color: var(--text); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--soft), #fff); }
.hero h1 { margin-bottom: .35em; }
.hero .sub-title { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted); margin-bottom: 1.4rem; }
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; max-width: 26ch; }
.page-head p { color: var(--muted); font-size: 1.15rem; margin: 0; max-width: 60ch; }

.photo { margin: 0; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.photo figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.photo.portrait img { aspect-ratio: 4 / 5; }
.photo.wide img { aspect-ratio: 3 / 2; }

.badges { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }
.badges img { height: 78px; width: auto; }
.badges a img { height: 46px; }

.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 999px; font-weight: 650; text-decoration: none; border: 2px solid var(--red); background: var(--red); color: #fff; transition: .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.section.dark .btn.ghost { color: #fff; border-color: #55575c; }
.section.dark .btn.ghost:hover { border-color: #fff; }

/* Leistungs-Karten */
.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { width: 56px; height: 56px; margin-bottom: 1rem; }
.card h3 { margin-bottom: .4em; }
.card p { flex: 1; }
.card a.more { font-weight: 650; text-decoration: none; }
.card a.more::after { content: " →"; }

.chips { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .95rem; font-weight: 550; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50%; background: var(--red); }
.links li { margin-bottom: .35rem; }

/* Galerie */
.gallery { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.gallery a { display: block; position: relative; border-radius: 12px; overflow: hidden; background: var(--soft); color: #fff; text-decoration: none; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery span { position: absolute; inset: auto 0 0 0; padding: 2.2rem .8rem .7rem; font-size: .85rem; line-height: 1.35; background: linear-gradient(transparent, rgb(0 0 0 / .78)); opacity: 0; transition: .25s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); }
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; }
@media (hover: none) { .gallery span { opacity: 1; } }

.lightbox { border: 0; padding: 0; background: rgb(12 12 14 / .96); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(12 12 14 / .6); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4rem 1.5rem; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; border-radius: 8px; }
.lightbox figcaption { color: #e4e4e7; margin-top: .9rem; text-align: center; max-width: 70ch; }
.lightbox button { position: fixed; background: rgb(255 255 255 / .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .22); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lightbox figure { padding: 3.5rem .5rem 1rem; } .lb-prev, .lb-next { top: auto; bottom: 12px; translate: none; } }

/* Referenzen */
.clients { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.clients li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.clients h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.clients a { font-size: .9rem; word-break: break-word; }
.clients p { margin: .5rem 0 0; font-size: .95rem; color: var(--muted); }

/* Kontakt */
.contact-card .org { font-weight: 700; color: var(--ink); }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0 0 1rem; }
.contact-card dt { color: var(--muted); }
.contact-card dd { margin: 0; }
.contact-card h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }

/* Fusszeile */
footer.site { background: var(--ink); color: #b9bbc0; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
footer.site .wrap:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
footer.site a { color: #e4e4e7; }
footer.site .logo { color: #fff; }
footer.site .muted, footer.site .contact-card dt { color: #8d9096; }
footer.site .contact-card .org, footer.site h3 { color: #fff; }
footer.site .legal { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
footer.site .copy { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #36383d; color: #8d9096; font-size: .85rem; }
@media (max-width: 720px) { footer.site .wrap:first-child { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, header.site nav, .menu-btn, footer.site, .gallery, .lightbox { display: none !important; } }
