hebammekrystyna/static/styles/style.css

231 lines
3.9 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Quicksand:wght@400;500;700&display=swap');
:root {
--rosa-1: #f8dbe7;
--rosa-2: #fbeaf1;
--blau-1: #e7f2ff;
--blau-2: #d8ebff;
--text: #4b4650;
--accent-rosa: #bf6f8c;
--accent-blau: #6f8eae;
--card: rgba(255, 255, 255, 0.85);
--shadow: 0 12px 30px rgba(86, 110, 140, 0.16);
--radius: 24px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--text);
font-family: "Quicksand", Arial, sans-serif;
background: linear-gradient(135deg, var(--rosa-1), var(--blau-2));
min-height: 100vh;
}
h1, h2, h3 {
font-family: "Handlee", cursive;
}
.page-wrap {
max-width: 1180px;
margin: 0 auto;
padding: 22px 20px 40px;
}
.main-nav {
background: var(--card);
padding: 14px 20px;
border-radius: var(--radius);
margin-bottom: 26px;
box-shadow: var(--shadow);
text-align: center;
}
.main-nav a {
display: inline-block;
margin: 0 14px;
text-decoration: none;
font-weight: 700;
color: var(--accent-blau);
font-size: 1rem;
}
.main-nav a:hover {
color: var(--accent-rosa);
}
.hero-header {
display: grid;
grid-template-columns: 180px 1fr 220px;
gap: 28px;
align-items: center;
background: var(--card);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 28px 30px;
margin-bottom: 28px;
}
.hero-logo {
display: flex;
align-items: center;
justify-content: center;
}
.logo {
max-width: 150px;
width: 100%;
height: auto;
display: block;
}
.hero-text-block {
min-width: 0;
}
.eyebrow {
display: inline-block;
margin-bottom: 14px;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255,255,255,0.65);
color: var(--accent-rosa);
font-weight: 700;
font-size: 0.95rem;
}
h1 {
font-size: clamp(2.2rem, 4vw, 3.8rem);
color: #6f5f6b;
line-height: 1.08;
margin: 0 0 18px;
}
.hero-motto {
font-size: 1.22rem;
line-height: 1.75;
margin: 0;
}
.note-region {
margin-top: 16px;
font-weight: 700;
color: var(--accent-blau);
}
.hero-photo {
display: flex;
justify-content: center;
align-items: center;
}
.profile {
width: 220px;
height: 260px;
object-fit: cover;
object-position: center 20%; /* verschiebt Fokus nach oben */
border-radius: 22px;
}
.info-card,
.legal-card {
background: var(--card);
padding: 30px;
border-radius: var(--radius);
box-shadow: var(--shadow);
margin-bottom: 28px;
}
.section-title {
font-size: 2rem;
margin-bottom: 10px;
}
.section-subtitle {
margin-bottom: 20px;
line-height: 1.75;
}
.services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 18px;
}
details {
background: var(--card);
border-radius: var(--radius);
box-shadow: var(--shadow);
overflow: hidden;
}
summary {
padding: 18px;
font-weight: 700;
cursor: pointer;
list-style: none;
color: var(--accent-blau);
}
summary::-webkit-details-marker {
display: none;
}
summary::after {
content: "+";
float: right;
color: var(--accent-rosa);
font-size: 1.4rem;
line-height: 1;
}
details[open] summary::after {
content: "";
}
.detail-content {
padding: 0 18px 18px;
line-height: 1.75;
}
.contact-block {
font-size: 1.08rem;
line-height: 1.9;
}
.contact-block a,
.legal-card a {
color: var(--accent-blau);
text-decoration: none;
font-weight: 700;
}
.footer {
text-align: center;
margin-top: 40px;
color: #777;
}
@media (max-width: 980px) {
.hero-header {
grid-template-columns: 1fr;
text-align: center;
}
.hero-logo,
.hero-photo {
justify-content: center;
}
.profile {
width: 150px;
height: 150px;
}
.services-grid {
grid-template-columns: 1fr;
}
}