/* ==========================================
   rh-renderings
   Main Stylesheet
   ========================================== */

/* 01. Reset */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 02. Variables */

:root {
  --bg: #070b0d;
  --bg-soft: #0d1316;
  --bg-card: #10181c;

  --text: #f4f7f8;
  --text-muted: #aeb8bd;

  --line: rgba(255, 255, 255, 0.12);
  --accent: #00b7c7;
  --accent-dark: #078b96;

  --container: 1280px;
}

/* 03. Base */

html {
  scroll-behavior: smooth;
}

body {
 font-family: "Manrope", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 04. Layout */

.container {
  width: min(100% - 80px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-label,
.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 560px;
  font-size: clamp(48px, 7vw, 86px);
}

h2 {
  max-width: 560px;
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

p {
  color: var(--text-muted);
}

/* 05. Header */

.site-header .container {
  width: min(100% - 96px, 1600px);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
background: transparent;
border-bottom: 1px solid rgba(255,255,255,0.05);
backdrop-filter: none;
 transition: background-color .45s ease,
                backdrop-filter .45s ease,
                border-color .45s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
  transition: opacity .3s ease;
}

.logo:hover img {
  opacity: .85;
}

.main-nav {
  display: flex;
  gap: 54px;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  color: var(--text);
  transition: color .25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .28s ease;
}

.main-nav a:hover {
  color: var(--accent);
	}
.main-nav a:hover::after {
  width: 45px;
}

/* 06. Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 220px;
  min-height: 58px;
  padding: 0 32px;
  border-radius: 4px;
  font-weight: 700;
  transition:
    transform .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.button::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
	
}

.button-primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-dark)
  );
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 183, 199, 0.2);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 183, 199, 0.75);
  background: rgba(0, 183, 199, 0.06);
}

/* 07. Hero */



.hero {
  position: relative;
  min-height: 100vh;
  padding: 300px 0 140px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7, 11, 13, 1) 0%, rgba(7,11,13,0.97) 35%, rgba(7,11,13,0.60) 55%, rgba(7, 11, 13, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 11, 13, 0.95) 0%, rgba(7, 11, 13, 0.15) 45%, rgba(7, 11, 13, 0.25) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: 70% center;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-image {
  display: none;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(64px, 6.6vw, 108px);
  font-weight: 300;
  letter-spacing: -0.055em;
}

.hero h1::after {
  content: "";
  display: block;
  width: 105px;
  height: 4px;
  margin-top: 42px;
  background: var(--accent);
}

.hero-text {
  max-width: 590px;
  margin-top: 34px;
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 30px;
  margin-top: 48px;
}

.scroll-indicator {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--text-muted);
}

.scroll-mouse {
  position: relative;
  width: 25px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
}

.scroll-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.scroll-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  25% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 13px);
  }
}

/* 08. Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-card {
  min-height: 210px;
  padding: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  transition:
    transform .25s ease,
    border-color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
 
  background: rgba(255, 255, 255, 0.018);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.service-card h3 {
  margin-bottom: 22px;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.service-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2);



}

.service-title h3{
    margin:0;
}


.service-card p {
  line-height: 1.65;
}

/* 09. Portfolio */

.portfolio-section .container {
  position: relative;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 34px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 4px;
  background: var(--bg-card);
}

.portfolio-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item-wide {
  grid-column: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(7, 11, 13, 0) 40%,
      rgba(7, 11, 13, 0.88) 100%
    );
  opacity: 0;
  transition: opacity .3s ease;
}

.portfolio-overlay h3 {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 600;
}

.portfolio-overlay p {
  color: var(--text-muted);
  font-size: 14px;
}

.portfolio-item:hover img {
  transform: scale(1.035);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}


/* 10. Arbeitsweise */

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: start;
}

.about-heading h2 {
  max-width: 540px;
}

.about-content {
  max-width: 620px;
}

.about-content > p {
  font-size: 18px;
  line-height: 1.75;
}

.about-intro {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 24px !important;
  line-height: 1.5 !important;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.about-fact {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-fact strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 500;
}

.about-fact span {
  display: block;
  max-width: 190px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}



/* Statement */

.statement-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.statement-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;

  min-height: 720px;
  padding-top: 80px;
  padding-bottom: 80px;
}


/* Grafik links */

.statement-visual {
  position: relative;
  min-height: 560px;
  overflow: visible;
}

.statement-visual-image {
  position: absolute;

  width: 700px;
  max-width: none;
  height: auto;

  top: 50%;
  right: 50%;

  transform: translate(48%, -50%);
}


/* Text rechts */

.statement-content {
  position: relative;
  z-index: 2;
}

.statement-content .section-label {
  margin-bottom: 26px;
}

.statement-content h2 {
  margin: 0;

  font-size: clamp(52px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.08;
}

.statement-text {
  max-width: 680px;
  margin-top: 36px;

  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}
/* 12. Kontakt */

.contact-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;

  min-height: 820px;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Textbereich */

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-inner h2 {
  max-width: 850px;
  margin-top: 20px;

  font-size: clamp(46px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-text {
  max-width: 680px;
  margin-top: 34px;

  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}


/* Button + Telefonnummer */

.contact-actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 46px;
}

.contact-phone {
  color: var(--text-muted);
  font-size: 16px;
  transition: color .25s ease;
}

.contact-phone:hover {
  color: var(--text);
}


/* Grafik rechts */

.contact-visual {
  position: relative;
  min-height: 650px;
  overflow: visible;
}

.contact-visual-image {
  position: absolute;

  width: clamp(700px, 48vw, 950px);
  max-width: none;
  height: auto;

  top: 50%;
  left: 50%;

  transform: translate(-48%, -50%);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(19,22,27,1.00);
}

.footer-inner {
  padding-top: 70px;
  padding-bottom: 35px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  display: block;
  height: 30px;
  width: auto;
  opacity: 0.9;
  transition: opacity .25s ease;
}

.footer-brand:hover img {
  opacity: 1;
}

.footer-top-link {
  color: var(--text-muted);
  font-size: 15px;
  transition: color .25s ease;
}

.footer-top-link:hover {
  color: var(--text);
}

.footer-top-link span {
  margin-left: 8px;
}

.footer-middle {
  margin-top: 35px;
}

.footer-middle p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 65px;
  padding-top: 24px;

  border-top: 1px solid var(--line);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color .25s ease;
}

.footer-legal a:hover {
  color: var(--text);
}

.site-header.scrolled {
    background: rgba(7,11,13,.70);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ==========================================
   Legal Pages
   ========================================== */

.legal-page {
  min-height: calc(100vh - 300px);
  padding: 180px 0 120px;
}

.legal-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 70px;

  font-size: clamp(52px, 6vw, 82px);
  font-weight: 300;
  letter-spacing: -0.045em;
}

.legal-page h1::after {
  content: "";
  display: block;

  width: 80px;
  height: 3px;

  margin-top: 30px;

  background: var(--accent);
}

.legal-content {
  max-width: 760px;
}

.legal-block {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal-block:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-block h2 {
  max-width: none;
  margin-bottom: 18px;

  font-size: 22px;
  font-weight: 500;
}

.legal-block p {
  font-size: 16px;
  line-height: 1.8;
}

.legal-block strong {
  color: var(--text);
  font-weight: 600;
}

.legal-block a {
  color: var(--text);
  transition: color .25s ease;
}

.legal-block a:hover {
  color: var(--accent);
}

.legal-header {
  background: rgba(7, 11, 13, .85);
  backdrop-filter: blur(10px);
}
.legal-block p + p {
  margin-top: 18px;
}

.legal-list {
  margin: 20px 0;
  padding-left: 22px;

  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.legal-list li {
  padding-left: 6px;
}

.legal-list li::marker {
  color: var(--accent);
}

/* 12. Responsive */
@media (max-height: 950px) and (min-height: 821px) and (min-width: 901px) {

  .hero {
    padding-top: 240px;
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: clamp(62px, 6vw, 92px);
  }

  .hero h1::after {
    margin-top: 34px;
  }

  .hero-text {
    margin-top: 30px;
    font-size: 20px;
  }

  .hero-actions {
    margin-top: 38px;
  }
}

@media (max-height: 820px) and (min-width: 901px) {

  .hero {
    padding-top: 190px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(58px, 5.5vw, 84px);
  }

  .hero h1::after {
    margin-top: 28px;
  }

  .hero-text {
    margin-top: 26px;
    font-size: 19px;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .scroll-indicator {
    bottom: 18px;
  }

}

@media (max-width: 1230px) {

  .scroll-indicator {
    display: none;
  }

}

@media (max-width: 900px) {
	
	  .site-header .container {
    width: min(100% - 40px, 1600px);
  }

  .header-inner {
    height: 68px;
  }

  .logo img {
    height: 34px;
  }

  .main-nav {
    display: none;
  }
	
	  .legal-page {
    padding: 140px 0 80px;
  }

  .legal-page h1 {
    margin-bottom: 50px;
  }

  .legal-nav {
    display: flex;
  }
	
  .container {
    width: min(100% - 40px, var(--container));
  }


	
	  .hero {
    min-height: 100svh;
    padding: 170px 0 110px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(52px, 9vw, 76px);
  }

  .hero-text {
    max-width: 560px;
    font-size: 19px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }



 




  .service-grid,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .portfolio-item {
    min-height: 240px;
  }
	

}

@media (max-width: 600px) {
	.portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
    margin-top: 28px;
  }

  .portfolio-item,
  .portfolio-item-large,
  .portfolio-item-wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
	
	  .portfolio-overlay {
    display: none;
  }
	
	  .section {
    padding: 60px 0;
  }

  .service-grid {
    gap: 16px;
    margin-top: 28px;
  }

  .service-card {
    min-height: 0;
    padding: 34px 28px;
  }

  .service-title {
    gap: 14px;
    margin-bottom: 22px;
  }

  .service-title h3 {
    font-size: 20px;
    line-height: 1.15;
  }

  .service-icon {
    width: 17px;
    height: 17px;
  }

  .service-card p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero {
    min-height: auto;
    padding: 115px 0 100px;
  }

  .hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(7, 11, 13, .58) 0%,
        rgba(7, 11, 13, .85) 45%,
        rgba(7, 11, 13, 1) 100%
      ),
      url("../images/hero.jpg");

    background-position: 65% center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -0.045em;
  }

  .hero h1::after {
    width: 70px;
    height: 3px;
    margin-top: 28px;
  }

  .hero-text {
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 38px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .scroll-indicator {
    display: none;
  }

}
@media (max-width: 480px) {

  .site-header .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    height: 64px;
  }

  .logo img {
    height: 31px;
  }

}

@media (max-width: 380px) {

  .service-card {
    padding: 30px 24px;
  }

  .service-title h3 {
    font-size: 19px;
  }

}


