/* CSS */
html { 
	height: 100%; 
	scroll-behavior: smooth;
}
body {
	margin: 0;
	height: 100%;
	display: grid;
	place-items: center;
	line-height: 1.5;
	color: #0c0c0c;
}

p {
	margin: 0;
}

h2, .h2 {
	font-size: 1.75rem;
	font-weight: 500;
}

h3, .h3 {
	font-size: 1.25rem;
	font-weight: 500;
}

p + p {
	margin-block-start: 1rem;
}

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

	&:hover {
		text-decoration: underline;
	}
}



main > section {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 0 1rem;
}





.logo {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 4rem;
}

.logo a {
	display: block;
	width: min(100%, 21.5rem);
	height: 8rem;
	background: center center / 100% auto no-repeat url(../img/tax-tornado-logo-steuerberater-philipp-blanke.png);
	overflow: hidden;
	text-indent: -200%;
}

.logo span {
	display: none;
}




h1 + section,
.person {
	display: flex;
	flex-flow: row;
	gap: 6rem;
}

.name strong {
	display: inline-block;
	padding-block-end: .5rem;
	font-weight: 600;
}

.name:after {
	content: "";
	display: block;
	width: 12rem;
	height: 6rem;
	background: center center / 100% auto no-repeat url(../img/steuerberater-philipp-blanke-signatur.png);
	margin-block-start: 1.5rem;
}

@media screen and (max-width: 55rem) {
	.logo {
		margin: 0;
		justify-content: center;
	}
	main > section {
		display: grid;
		place-items: unset;
	}
	h1 + section,
	.person {
		display: flex;
		flex-flow: column;
		justify-content: flex-start;
		gap: 1em;
		text-align: center;
	}
	.name:after {
		width: 8rem;
		background-position: top center;
		margin-inline: auto;
	}
	.address {
		margin-block: 1rem 3rem;
	}
}

.address {
	text-align: left;
}



.icon {
	position: relative;
	line-height: 2rem;
	margin-inline-start: 3rem;
}
.icon:before {
	position: absolute;
	left: -3rem;
	content: "";
	border-radius: 50%;
	display: block;
	width: 2rem;
	height: 2rem;
	background: #fff center center / 66% auto no-repeat;
	filter: invert(1);
}

.phone:before {
	background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"/></svg>');
}

.mail:before {
	background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"/></svg>');
}

.place:before {
	background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5"/></svg>');
}

.linkedin:before {
	background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M6.94 5a2 2 0 1 1-4-.002 2 2 0 0 1 4 .002M7 8.48H3V21h4zm6.32 0H9.34V21h3.94v-6.57c0-3.66 4.77-4 4.77 0V21H22v-7.93c0-6.17-7.06-5.94-8.72-2.91z"/></svg>');
}





.footer {
	position: absolute;
	top: calc(100% - 4rem);
	padding: 1rem;
}


#impressum {
	max-width: 60rem;
	margin: 0 auto;
}

@media screen and (max-width: 55rem) {
	.footer {
		position: fixed;
		padding: .25rem 1rem;
		background-color: #fff;
		top: unset;
		bottom: 0;
		width: 100%;
		text-align: center;
		font-size: .9rem;
	}
	#impressum {
		font-size: .9rem;
		margin: 0 auto 4rem;
	}
}
