/* plus-jakarta-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* plus-jakarta-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* plus-jakarta-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* plus-jakarta-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* ========================================
   Root Variablen
======================================== */
:root {
  --color-primary: #14161A;
  --color-primary-hover: #222834;
  --color-secondary: #6F8295;
  --color-secondary-hover: #4b5f74;
  --color-text: #14161A;
  --color-black: #14161A;
  --color-bg: #fff;
  --color-grey: #5a5d5f;
  --color-grey-hover: #3f4448;

  --font-std: "Plus Jakarta Sans", sans-serif;
  --font-weight-text: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  --font-weight-extrabold: 700;

  --ease-standard: cubic-bezier(.22,.61,.36,1);
  --transition-standard: 0.35s var(--ease-standard);
}

* {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-std);
  font-weight: var(--font-weight-text);
}

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

a,
button{
  transition:
    background-color var(--transition-standard),
    color var(--transition-standard),
    transform var(--transition-standard),
    border-color var(--transition-standard),
    box-shadow var(--transition-standard),
    opacity var(--transition-standard);
}

body,html{ margin:0; overflow-x:hidden; }

body {
	position: relative;
	background-color: var(--color-bg);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(201, 211, 217, 0.3) 0%,
		rgba(201, 211, 217, 0) 60%
	);
	pointer-events: none;
	z-index: -1;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; /* verhindert Zeilenumbruch */
  border: 0 !important;
}

p {
  font-size: 1.625rem;
  line-height: 1.4;
}

a{color: var(--color-secondary) }
a:hover{color: var(--color-secondary-hover) }


.nopic_padding_top{
  padding-top: 4rem !important;
}

.nopic_padding_bottom{
  padding-bottom:0 !important;
}

/* ========================================
   Header
======================================== */
.header {
	position: relative;
	z-index: 89;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2.2rem 6%;
}

/* Logo */
.header__logo img {
	display: block;
	height: auto;
	max-width: 160px;
}

/* Navigation */
.nav {
	display: flex;
	align-items: center;
}

.nav__list {
	display: flex;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__link {
	text-decoration: none;
	color: var(--color-text);
	font-size: 1rem;
	position: relative;
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 1px;
	background: var(--color-text);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition-standard);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
	transform: scaleX(1);
}

/* Actions */
.header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Button */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 15px;
	text-decoration: none;
	font-size: 0.95rem;
	border: 1px solid transparent;
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1px;
}

.btn--primary:hover {
	background: var(--color-primary-hover);
  color:#fff;
}

/* Phone */
.header__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	text-decoration: none;
}

.header__phone svg{
  margin:3px 0 0 0px;
}

.header__phone:hover {
	background: var(--color-primary);
	color: #fff;
}

strong, strong div{ font-weight: var(--font-weight-extrabold); }

/* ========================================
   Hero Section
======================================== */
.section--hero {
	padding-left: 2%;
	padding-right: 2%;
}

.hero {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

/* Image */
.hero__media {
	position: relative;
	width: 100%;
	height: 830px;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Overlay */
.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

/* Content */
.hero__content {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 3% 3% 4% 4%;
	max-width: 800px;
	color: #fff;
}

/* Title */
.hero__title {
	font-size: 4rem;
	line-height: 1.1;
	margin: 0 0 1rem 0;
	font-weight: var(--font-weight-extrabold);
}

.hero__title span {
	font-weight: var(--font-weight-extrabold);
}

/* Text */
.hero__text {
	font-size: 1.25rem;
	line-height: 1.5;
	max-width: 600px;
	margin: 0;
}

.hero__text strong {
	font-weight: var(--font-weight-bold);
}


/* ========================================
   Intro Section
======================================== */
.section--intro {
	padding-left: 6%;
	padding-right: 6%;
	padding-top: 6rem;
	padding-bottom: 6rem;
}

/* Layout */
.intro {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 4rem;
	align-items: stretch;
}

.intro__right {
	display: flex;
	align-items: flex-end;
}

/* Left */
.intro__title {
	font-size: 3rem;
	line-height: 1.2;
	margin: 0 0 3rem 0;
	max-width: 700px;
  font-weight: var(--font-weight-bold);
}

.intro__title div {
	font-size: 3rem;
	line-height: 1.2;
	margin: 0 0 0 0;
	max-width: 700px;
  font-weight: var(--font-weight-bold);
}

/* Line */
.intro__line {
	width: 3px;
	height: 120px;
	background: var(--color-secondary);
	opacity: 0.5;
  margin-top:3rem;
}

/* Right → Text styling direkt auf p */
.intro__right p {
	position: relative;
	font-size: 1.5rem;
	line-height: 1.6;
	margin: 0;
	padding-left: 2rem;
	max-width: 700px;
}

/* Dot */
.intro__dot {
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-secondary);
}


/* ========================================
   About Section
======================================== */
.section--about {
	padding-left: 6%;
	padding-right: 6%;
	padding-top: 6rem;
	padding-bottom: 6rem;
}

/* Layout */
.about {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 6rem;
	align-items: center;
}

/* Image */
.about__media {
	border-radius: 24px;
	overflow: hidden;
}

.about__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* Text (vererbt!) */
.about__content p {
	font-size: 1.5rem;
	line-height: 1.6;
	margin: 0 0 2rem 0;
}

/* Button spacing */
.about__actions {
	margin-top: 1rem;
}


/* ========================================
   Projects Header
======================================== */
.section--projects {
	padding-left: 6%;
	padding-right: 6%;
	padding-top: 6rem;
	padding-bottom: 2rem; /* weniger Abstand → Boxen folgen direkt */
}

/* Layout */
.projects-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
}

/* Left */
.projects-head__title {
	font-size: 3rem;
	line-height: 1.2;
  font-weight: var(--font-weight-extrabold) !important;
	margin: 0 0 0.5rem 0;
	max-width: 700px;
}

.projects-head__title div {
  	font-size: 3rem;
    line-height: 1.2;
    font-weight: var(--font-weight-extrabold) !important;
    margin: 0 0 0 0;
    max-width: 100%;
}


/* Subtitle → vererbt */
.projects-head__left p {
	font-size: 1.2rem;
	color: var(--color-secondary);
	margin: 0;
}

.projects-head__left > p > div {
	font-size: 1.2rem;
	color: var(--color-secondary);
	margin: 0;
}

/* Right */
.projects-head__right {
	display: flex;
	align-items: center;
}

/* Button Icon */
.btn__icon {
	display: inline-flex;
	margin-left: 0.5rem;
}

/* ========================================
   Projects Grid
======================================== */
.projects-grid {
	display: grid;
  margin-top:80px;
	gap: 3rem;

	/* MAGIC → passt sich automatisch an */
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Card */
.project-card {
	display: flex;
	flex-direction: column;
}

/* Image */
.project-card__media {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	display: block;
}

.project-card__media img {
	width: 100%;
	height: 265px;
	object-fit: cover;
	display: block;
	transition: transform var(--transition-standard);
}

/* Hover Zoom */
.project-card:hover img {
	transform: scale(1.05);
}

/* Badge */
.project-card__badge {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	background: #fff;
	color: var(--color-text);
  font-weight: var(--font-weight-bold);
	padding: 0.4rem 0.9rem;
	border-radius: 10px;
	font-size: 1rem;
}

/* Title */
.project-card__title {
	font-size: 1.4rem;
	margin: 1rem 0 0.5rem 0;
}

/* Text (vererbt!) */
.project-card p {
	margin: 0;
	font-size: 1rem;
  font-weight: var(--font-weight-text);
	line-height: 1.4;
}


/* ========================================
   Services Section
======================================== */
.section--services {
	padding-left: 2%;
	padding-right: 2%;
	padding-top: 6rem;
	padding-bottom: 6rem;
}

/* Container Box */
.services {
	background: linear-gradient(
		135deg,
		var(--color-primary),
		var(--color-primary-hover)
	);
	border-radius: 30px;
	padding: 3rem 4% 4rem 4%;
	color: #fff;
}

/* Head */
.services__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3rem;
}

.services__title {
	font-size: 2.5rem;
  font-weight: var(--font-weight-extrabold);
	margin: 0;
	color: #fff;
}

/* Secondary Button */
.btn--secondary {
	background: var(--color-grey);
  font-weight: var(--font-weight-medium);
	color: #fff;
}

.btn--secondary:hover {
	background: var(--color-grey-hover);
}

/* Grid */
.services__grid {
	display: grid;
	gap: 3rem;

	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Item */
.service-item {
	max-width: 480px;
}

/* Title */
.service-item__title {
	font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
	margin: 0 0 1rem 0;
	color: #fff;
}

/* Text (vererbt!) */
.service-item p {
	font-size: 1.125rem;
	line-height: 1.4;
	margin: 0;
	color: var(--color-bg);
}


/* ========================================
   Footer
======================================== */
.footer {
	background: linear-gradient(
		135deg,
		var(--color-primary),
		var(--color-primary-hover)
	);
	color: #fff;
	padding: 6rem 6%;
}

/* Top Layout */
.footer__top {
	display: grid;
	grid-template-columns: 1fr 1fr 1.5fr;
	gap: 4rem;
	margin-bottom: 4rem;
}

/* Nav */
.footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer__nav li {
	margin-bottom: 0.7rem;
}

.footer__nav a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
  font-size:1.3rem;
}

.footer__nav a:hover {
	color: #fff;
}

.footer__nav a.active-trigger-foot {
	color: #fff;
}

/* Contact */
.footer__contact p {
	margin: 0 0 1.5rem 0;
	font-size: 1.3rem;
	line-height: 1.6;
}

.footer__contact a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
}

.footer__contact a:hover {
	color: #fff;
}

/* Right */
.footer__headline {
	font-size: 2rem;
  font-weight: var(--font-weight-bold);
	line-height: 1.3;
	margin: 0 0 2rem 0;
}

/* Social */
.footer__social {
	display: flex;
	gap: 1rem;
}

.footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	border-radius: 16px;
	background: rgba(255,255,255,0.85);
	color: var(--color-primary);
	text-decoration: none;
	font-size: 1.2rem;
}

.footer__social a:hover {
	background: #fff;
}

/* Bottom */
.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
  p {font-size:1.4rem;}
}

/* Legal */
.footer__legal {
	display: flex;
	gap: 2rem;
}

.footer__legal a {
	color: rgba(255,255,255,0.8);
	text-decoration: underline;
  font-size:1.4rem;
}

.footer__legal a:hover {
	color: #fff;
}

.footer__social svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* Split Container */
.split {
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
}

/* Line Wrapper (Mask) */
.split-line {
	display: block;
	overflow: hidden;
}

/* Inhalt der Line */
.split-line > div {
	display: block;
}

/* ========================================
   Subwelcome Section
======================================== */
.section--subwelcome {
	padding: 60px 6%;
}

/* Wrapper */
.subwelcome {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Headline */
.subwelcome__title {
	max-width: 80%;
  margin-bottom:0;
}

.subwelcome__title div {
	font-size: 3rem;
  font-weight: var(--font-weight-extrabold);
	line-height: 1.2;
  margin-bottom:0;
}

/* Text Block */
.subwelcome__text {
	max-width: 100%;
}

.subwelcome__text p {
	position: relative;
	font-size: 1.5rem;
	line-height: 1.6;
	max-width: 80%;
  margin:0;
  color:var(--color-secondary);
}

/* Small Hero Variante */
.section--hero-small .hero {
	height: 400px;
	min-height: 400px;
}

/* Content etwas kompakter */
.section--hero-small .hero__content {
	padding: 0 4% 60px 4%;
}

.section--hero-small .hero__title {
	font-size: clamp(2rem, 3vw, 2.8rem);
}

.section--hero-small .hero__text {
	font-size: 1.3rem;
	max-width: 600px;
}


/* ========================================
   Video Text Section
======================================== */
.section--video-text {
	padding: 6rem 6%;
}

.video-text {
	display: grid;
	grid-template-columns: 0.35fr 1fr;
	gap: 5rem;
	align-items: center;
}

.video-text__media {
	aspect-ratio: 9 / 16;
	border-radius: 24px;
	overflow: hidden;
	background: var(--color-primary);
}

.video-text__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-text__title {
	font-size: 3rem;
	line-height: 1.2;
	margin: 0 0 2rem 0;
	font-weight: var(--font-weight-extrabold) !important;
	max-width: 70%;
}

.video-text__content p {
	font-size: 1.5rem;
	line-height: 1.6;
	margin: 0 0 2rem 0;
	max-width: 70%;
}


/* ========================================
   Text Section
======================================== */
.section--text {
	padding-left: 6%;
	padding-right: 6%;
	padding-top: 6rem;
	padding-bottom: 6rem;
}

/* Wrapper */
.text-block {
	max-width: 100%;
}

/* Text (vererbt!) */
.text-block p {
	max-width: 100%;
	font-size: 1.5rem;
	line-height: 1.6;
	margin: 0 0 2rem 0;
}

/* Actions */
.text-block__actions {
	margin-top: 1rem;
}

/* ========================================
   Contact Section
======================================== */
.section--contact {
	padding: 6rem 6%;
}

/* Layout */
.contact {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 4rem;
	align-items: start;
}

/* Title */
.contact__title div {
	font-size: 2.5rem;
	margin-bottom: 2rem;
  font-weight: var(--font-weight-extrabold);
}

/* Form Grid */
.form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.form__field {
	display: flex;
	flex-direction: column;
}

.form__field--full {
	grid-column: 1 / -1;
}

/* Labels */
.form label {
	font-size: 0.9rem;
	margin-bottom: 0.4rem;
	color: var(--color-grey);
}

/* Inputs */
.form input,
.form textarea {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-secondary);
	border-radius: 10px;
	font-size: 1rem;
	background: transparent;
}

.form input:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--color-primary);
}

/* Consent */
.form__consent {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	margin-top: 1.5rem;
}

.form__consent label {
	font-size: 0.9rem;
	line-height: 1.4;
}

.form__consent a {
	text-decoration: underline;
}

/* Actions */
.form__actions {
	margin-top: 1.5rem;
}

/* Right Side */
.contact__info {
	padding-top: 4rem;
}

.contact__info-title {
	margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: var(--font-weight-extrabold);
}

.contact__info p {
	margin: 0 0 1.5rem 0;
	font-size: 1.5rem;
	line-height: 1.6;
}

/* Grid */
.services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

/* Card */
.service-item a {
	display: block;
	padding: 1.5rem;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	background: transparent;
}

/* Hover Effekt (sehr subtil) */
.service-item a:hover {
	background: rgba(255,255,255,0.1);
}

/* Title */
.service-item__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

/* Arrow */
.service-item__arrow {
	opacity: 0;
	transform: translateX(-6px);
	transition: var(--transition-standard);
}

/* Hover → Arrow rein */
.service-item a:hover .service-item__arrow {
	opacity: 1;
	transform: translateX(0);
}

.title__services__sub{
  margin-bottom:50px;
  margin-left:1.5rem;
}

/* ========================================
   Burger Button
======================================== */
.burger {
	position: fixed;
	top: 40px;
	right: 20px;
	z-index: 1000;

	width: 56px;
	height: 56px;
	border-radius: 50%;

	background: var(--color-primary);
	border: none;
	cursor: pointer;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

/* Lines */
.burger span {
	width: 20px;
	height: 2px;
	background: #fff;
	display: block;
	transition: var(--transition-standard);
}

/* Active State → X */
.burger.is-active span:nth-child(1) {
	transform: translateY(4px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
	transform: translateY(-4px) rotate(-45deg);
}


/* ========================================
   Offcanvas Menu
======================================== */
.offcanvas {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 33vw;

	padding: 120px 40px;

	background: var(--color-primary);
	backdrop-filter: blur(20px);

	transform: translateX(100%);
	transition: transform 0.4s var(--ease-standard);

	z-index: 900;
}

/* Active */
.offcanvas.is-open {
	transform: translateX(0);
}


/* Nav */
.offcanvas__nav {
	list-style: none;
	padding: 0;
	margin: 0;

	display: flex;
	flex-direction: column;
	gap: 20px;
}

.offcanvas__nav a {
	color: #fff;
	text-decoration: none;
	font-size: 1.5rem;
	position: relative;
}

/* Hover Effekt */
.offcanvas__nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 1px;
	background: #fff;
	transition: var(--transition-standard);
}

.offcanvas__nav a:hover::after {
	width: 100%;
}

.menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 22, 26, 0.25);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);

	opacity: 0;
	pointer-events: none;

	transition: opacity 0.3s var(--ease-standard);
	z-index: 90;
}

/* aktiv */
.menu-overlay.is-active {
	opacity: 1;
	pointer-events: all;
}

@media only screen and (min-width: 20px) and (max-width: 600px) {

	.section--about, .section--text, .section--video-text, .section--intro, .section--projects{
		padding-bottom: 3rem;
		padding-top:3rem;
	}

		.video-text__title {
		max-width: 100%;
		font-size: 2.4rem;
		hyphens: auto;
	}

	.video-text__content p {
		max-width: 100%;
	}

	.video-text {
  grid-template-columns: 1fr;
	}

  .header__actions > .btn--primary{
    display:none;
  }

  .text-block p {
    margin-bottom:0px;
  }

  .contact__title div{
    margin-bottom: 0;
  }

  .subwelcome__title div, .projects-head__title div, .services__title, .contact__title div, .intro__title div {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .form{
    margin-top: 0;
  }

  .about__content p {
  hyphens: auto;
  }

  .subwelcome__title {
    max-width: 100%;
  }

  .about {
    gap: 3rem;
  }

  .nav__list {
    display:none;
  }

  .header__inner {
    padding: 2.2rem 100px 2.2rem 6%;
  }

  .hero__content {
    padding: 3% 3% 8% 4%;
  }

  .burger{
    top: 35px;
  }

  .offcanvas {
    width: 60vw;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro__title {
    max-width: 100%;
  }

  .intro__line {
    width: 120px;
    height: 3px;
  }

  .intro__right p {
    max-width:100%;
  }

  .hero__media {
    height: 730px;
  }

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

  .services__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .service-item {
    max-width: 100%;
  }
  .services__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .footer__top > *:last-child {
    grid-column: 1 / -1;
  }

  .footer__headline {
    font-size: 1.6rem;
  }

  .footer__bottom {
    & p {
      font-size: 1rem;
    }
  }

  .footer__legal a {
    font-size: 1rem;
  }

  .projects-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 2rem;
  }

  .project-card__media img {
    height: 320px;
  }

  .projects-grid {
    gap: 5rem;
  }

}

@media only screen and (min-width: 20px) and (max-width: 400px) {
    .subwelcome__title div, .projects-head__title div, .services__title, .contact__title div, .intro__title div {
      font-size: 2rem;
      line-height: 1.3;
    }

    .text-block p {
      font-size: 1.3rem;
      line-height: 1.6;
    }

    .form {
      margin-top: 0;
    }
}

@media only screen and (min-width: 600px) and (max-width: 900px) {

	.video-text__title {
		max-width: 100%;
	}

	.video-text__content p {
		max-width: 100%;
	}

	.video-text {
  grid-template-columns: 1fr 1fr;
	}

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .form{
    margin-top: -40px;
  }

  .about__content p {
  hyphens: auto;
  }

  .subwelcome__title {
    max-width: 100%;
  }

  .about {
    gap: 3rem;
  }

  .nav__list {
    display:none;
  }

  .header__inner {
    padding: 2.2rem 100px 2.2rem 6%;
  }

  .hero__content {
    padding: 3% 3% 8% 4%;
  }

  .burger{
    top: 35px;
  }

  .offcanvas {
    width: 60vw;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro__title {
    max-width: 100%;
  }

  .intro__line {
    width: 120px;
    height: 3px;
  }

  .intro__right p {
    max-width:100%;
  }

  .hero__media {
    height: 730px;
  }

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

  .services__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .service-item {
    max-width: 100%;
  }

  .services__head {
    margin-bottom: 4rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__top > *:last-child {
    grid-column: 1 / -1;
  }

  .footer__headline {
    font-size: 1.6rem;
  }

  .footer__bottom {
    & p {
      font-size: 1rem;
    }
  }

  .footer__legal a {
    font-size: 1rem;
  }

  .projects-head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 2rem;
  }

  .project-card__media img {
    height: 320px;
  }

  .projects-grid {
    gap: 5rem;
  }

}

@media only screen and (min-width: 900px) and (max-width: 1225px) {

.video-text__title {
	max-width: 100%;
}

.video-text__content p {
	max-width: 100%;
}

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .form{
    margin-top: -40px;
  }

  .about__content p {
  hyphens: auto;
  }

  .subwelcome__title {
    max-width: 100%;
  }

  .about {
    gap: 3rem;
  }

  .nav__list {
    display:none;
  }

  .header__inner {
    padding: 2.2rem 12% 2.2rem 6%;
  }

  .burger{
    top: 35px;
  }

  .offcanvas {
    width: 60vw;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro__title {
    max-width: 100%;
  }

  .intro__line {
    width: 120px;
    height: 3px;
  }

  .intro__right p {
    max-width: 80%;
  }

  .hero__media {
    height: 730px;
  }

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

  .services__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .service-item {
    max-width: 100%;
  }

  .services__head {
    margin-bottom: 4rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1.8fr 1.5fr;
  }

  .footer__headline {
    font-size: 1.6rem;
  }

  .footer__bottom {
    & p {
      font-size: 1rem;
    }
  }

  .footer__legal a {
    font-size: 1rem;
  }

}



@media only screen and (min-width: 1225px) and (max-width: 1400px) {

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }

  .contact {
    grid-template-columns: 2fr 1fr;
  }

  .form{
    margin-top: -40px;
  }

  .about__content p {
  hyphens: auto;
  }

  .subwelcome__title {
    max-width: 100%;
  }

  .about {
    gap: 3rem;
  }

  .nav__list {
    gap: 1.8rem;
  }

  .offcanvas {
    width: 40vw;
  }

}

@media only screen and (min-width: 600px) and (max-width: 830px) {
	.video-text__title {
		max-width: 100%;
	}

	.video-text__content p {
		max-width: 100%;
	}

	.video-text {
  grid-template-columns: 1fr;
	}
}