/* Sehnlichst – Marketing, Text & Grafik
   Schriften lokal eingebunden (keine Verbindung zu Google) */

@font-face { font-family: "Arvo"; src: url("../fonts/arvo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Arvo"; src: url("../fonts/arvo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --tuerkis: #0fa095;
  --gelb: #f6d547;
  --petrol: #055c5e;
  --petrol-dunkel: #044a4c;
  --text: #262626;
  --text-2: #555555;
  --linie: #e3e5e5;
  --hell: #f4f6f6;
  --weiss: #ffffff;
  --breite: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--tuerkis); text-decoration: none; }
a:hover { color: var(--petrol); }
p { margin: 0 0 16px; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 28px; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.kopf .logo img { height: 44px; width: auto; }
.kopf nav { display: flex; gap: 32px; }
.kopf nav a {
  font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent;
}
.kopf nav a:hover { color: var(--petrol); border-bottom-color: var(--gelb); }

/* Einstieg */
.hero {
  position: relative; overflow: hidden;
  background: #f2f2f2 url("../img/raum-bg.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.2); }
.hero .wrap { position: relative; display: flex; align-items: flex-end; justify-content: space-between; min-height: 540px; }
.hero-text { align-self: center; padding: 72px 0; }
.claim {
  font-family: "Arvo", Georgia, serif; font-weight: 400;
  font-size: clamp(36px, 6.2vw, 64px); line-height: 1.12; letter-spacing: .17em;
  margin: 0 0 22px;
}
.claim span { display: block; }
.claim .c1 { color: var(--tuerkis); }
.claim .c2 { color: #e9c22f; }
.claim .c3 { color: var(--petrol); }
.unterzeile { font-size: 20px; font-weight: 500; margin: 0; color: var(--text); }
.unterzeile::before { content: ""; display: block; width: 44px; height: 4px; background: var(--gelb); margin-bottom: 18px; }
.portrait {
  height: 480px; width: auto;
  mix-blend-mode: multiply;   /* weißer Bildhintergrund verschmilzt mit dem Raum */
  margin-right: -10px;
}

/* Abschnitte */
section.block { padding: 104px 0; }
section.block.grau { background: var(--hell); }
.titel {
  font-family: "Raleway", Arial, sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--tuerkis); margin: 0 0 14px;
}
.leitsatz {
  font-family: "Arvo", Georgia, serif; font-weight: 400;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.35; color: var(--petrol);
  max-width: 760px; margin: 0 0 56px;
}

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.leistung h3 {
  font-family: "Arvo", Georgia, serif; font-weight: 400;
  font-size: 21px; color: var(--petrol); margin: 0 0 12px;
}
.leistung h3::before {
  content: ""; display: block; width: 36px; height: 4px; background: var(--gelb); margin-bottom: 18px;
}
.leistung p { color: var(--text-2); margin: 0; }

/* Arbeiten */
.arbeiten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.arbeit { margin: 0; }
.arbeit .bild { aspect-ratio: 1 / 1; overflow: hidden; background: var(--weiss); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.arbeit img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.arbeit:hover img { transform: scale(1.035); }
.arbeit figcaption { padding-top: 16px; line-height: 1.45; }
.arbeit strong { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.arbeit span { display: block; font-size: 14px; color: var(--text-2); margin-top: 2px; }

/* Kunden */
.kunden { margin-top: 88px; }
.kunden .titel { color: var(--text-2); margin-bottom: 20px; }
.logos { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); }
.logo-feld {
  position: relative; height: 120px; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--weiss);
}
.logo-feld img { width: min(85%, 150px); height: auto; transition: opacity .25s ease; }
.logo-feld img.farbe { position: absolute; opacity: 0; }
.logo-feld:hover img.farbe { opacity: 1; }
.logo-feld:hover img.grau { opacity: 0; }

/* Über mich */
.ueber { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: start; }
.ueber .leitsatz { margin-bottom: 28px; }
.ueber-text p { color: var(--text-2); }
.presse { background: var(--weiss); border-top: 4px solid var(--gelb); padding: 28px 30px 12px; }
.presse .titel { color: var(--petrol); margin-bottom: 18px; }
.presse ul { list-style: none; margin: 0; padding: 0; }
.presse li { margin: 0 0 16px; line-height: 1.5; font-size: 15px; color: var(--text-2); }
.presse li strong { display: block; color: var(--text); font-weight: 700; font-size: 16px; }

/* Kontakt */
.kontakt { background: var(--petrol); color: var(--weiss); }
.kontakt .titel { color: var(--gelb); }
.kontakt .leitsatz { color: var(--weiss); margin-bottom: 48px; }
.kontakt-daten { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 32px 40px; font-size: 18px; line-height: 1.55; }
.kontakt-daten a { color: var(--weiss); border-bottom: 2px solid var(--gelb); }
.kontakt-daten a:hover { color: var(--gelb); }
.kontakt-daten .label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.kontakt-daten address { font-style: normal; }

/* Fußzeile */
.fuss { background: var(--petrol-dunkel); color: rgba(255,255,255,.65); font-size: 13px; padding: 26px 0; }
.fuss .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.fuss nav { display: flex; gap: 24px; }
.fuss a { color: rgba(255,255,255,.85); }
.fuss a:hover { color: var(--gelb); }

/* Rechtstexte */
.recht { padding: 80px 0 104px; }
.recht .wrap { max-width: 800px; }
.recht h1 { font-family: "Arvo", Georgia, serif; font-weight: 400; color: var(--petrol); font-size: 36px; letter-spacing: .1em; margin: 0 0 36px; }
.recht h2 { font-size: 17px; font-weight: 700; color: var(--text); margin: 36px 0 8px; }
.recht p, .recht li, .recht address { font-size: 16px; color: var(--text-2); }
.recht address { font-style: normal; }

/* Tablet */
@media (max-width: 960px) {
  .portrait { height: 440px; }
  .leistungen { grid-template-columns: 1fr; gap: 36px; max-width: 640px; }
  .arbeiten { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .ueber { grid-template-columns: 1fr; gap: 40px; }
  .kontakt-daten { grid-template-columns: 1fr 1fr; justify-content: start; }
}

/* Handy */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .kopf .wrap { height: auto; flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 4px; gap: 4px; }
  .kopf .logo img { height: 36px; }
  .kopf nav { gap: 0; justify-content: space-between; width: 100%; }
  .kopf nav a { font-size: 10.5px; letter-spacing: 1.2px; white-space: nowrap; }
  html { scroll-padding-top: 100px; }
  .hero .wrap { flex-direction: column; align-items: flex-start; min-height: 0; }
  .hero-text { padding: 48px 0 8px; }
  .unterzeile { font-size: 18px; }
  .portrait { height: 300px; align-self: flex-end; margin-right: -20px; }
  section.block { padding: 64px 0; }
  .leitsatz { margin-bottom: 36px; }
  .arbeiten { gap: 28px 14px; }
  .arbeit strong { font-size: 14px; }
  .arbeit span { font-size: 12.5px; }
  .kunden { margin-top: 64px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-feld { height: 96px; }
  .kontakt-daten { grid-template-columns: 1fr; }
  .fuss .wrap { flex-direction: column; }
}

/* Ungerade Logo-Anzahl sauber auffüllen */
@media (max-width: 960px) {
  .logo-feld:last-child { grid-column: span 2; }
}

/* Hero-Knopf */
.knopf {
  display: inline-block; margin-top: 30px;
  background: var(--petrol); color: var(--weiss);
  font-size: 13px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  padding: 15px 28px; border-bottom: 3px solid var(--gelb);
  transition: background .2s ease;
}
.knopf:hover { background: var(--tuerkis); color: var(--weiss); }

/* Gelb im Claim etwas besser lesbar machen */
.claim .c2 { color: #ecc62e; text-shadow: 0 0 1px rgba(5,92,94,.55), 0 1px 0 rgba(5,92,94,.25); }

/* Projektbeschreibungen */
.arbeit figcaption p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); margin: 6px 0 8px; }
.arbeit figcaption span { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tuerkis); margin: 0; }

/* Einblenden beim Scrollen */
.einblenden {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--verzoegerung, 0ms);
}
.einblenden.sichtbar { opacity: 1; transform: none; }
.portrait.einblenden { transform: translateX(40px); transition-duration: 1s; }
.portrait.einblenden.sichtbar { transform: none; }

@media (max-width: 640px) {
  .arbeit figcaption p { font-size: 13px; }
  .arbeit figcaption span { font-size: 10.5px; letter-spacing: .8px; }
}

/* Bildband unter dem Hero */
.band { padding: 28px 0; background: var(--weiss); overflow: hidden; }
.band-spur { display: flex; gap: 20px; width: max-content; animation: band-lauf 60s linear infinite; }
.band:hover .band-spur, .band:focus-within .band-spur { animation-play-state: paused; }
.band-kachel { position: relative; flex: 0 0 auto; width: 420px; height: 336px; overflow: hidden; background: var(--hell); }
.band-kachel::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--linie); pointer-events: none; }
.band-kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.band-kachel span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(5,92,94,.88), rgba(5,92,94,0));
  color: var(--weiss); font-size: 14px; font-weight: 700; letter-spacing: .5px;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.band-kachel:hover img { transform: scale(1.04); }
.band-kachel:hover span, .band-kachel:focus span { opacity: 1; transform: none; }
@keyframes band-lauf { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }

/* Ohne Bewegung oder auf dem Handy: wischen statt laufen */
@media (prefers-reduced-motion: reduce) {
  .band { overflow-x: auto; scroll-snap-type: x mandatory; }
  .band-spur { animation: none; padding: 0 28px; }
  .band-kachel { scroll-snap-align: start; }
  .band-kachel[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) {
  .band { padding: 16px 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .band::-webkit-scrollbar { display: none; }
  .band-spur { animation: none; gap: 12px; padding: 0 20px; }
  .band-kachel { width: 80vw; height: 64vw; scroll-snap-align: center; }
  .band-kachel[aria-hidden="true"] { display: none; }
  .band-kachel span { opacity: 1; transform: none; font-size: 13px; padding: 32px 14px 12px; }
  .portrait { height: 280px; }
}
@media (max-width: 960px) and (min-width: 641px) {
  .band-kachel { width: 340px; height: 272px; }
}
